Package com.streamlayer.interactive.feed
Class SyncQuestionRequest.SyncQuestionRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<SyncQuestionRequest.SyncQuestionRequestFilter,SyncQuestionRequest.SyncQuestionRequestFilter.Builder>
-
- com.streamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- SyncQuestionRequest.SyncQuestionRequestFilter
public static final class SyncQuestionRequest.SyncQuestionRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<SyncQuestionRequest.SyncQuestionRequestFilter,SyncQuestionRequest.SyncQuestionRequestFilter.Builder> implements SyncQuestionRequest.SyncQuestionRequestFilterOrBuilder
Protobuf typestreamlayer.interactive.feed.SyncQuestionRequest.SyncQuestionRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description SyncQuestionRequest.SyncQuestionRequestFilter.BuilderaddAllTypes(java.lang.Iterable<? extends QuestionType> values)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuilderaddAllTypesValue(java.lang.Iterable<java.lang.Integer> values)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuilderaddTypes(QuestionType value)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuilderaddTypesValue(int value)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuilderclearEventId()sport event idSyncQuestionRequest.SyncQuestionRequestFilter.BuilderclearTypes()if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.java.lang.StringgetEventId()sport event idcom.google.protobuf.ByteStringgetEventIdBytes()sport event idQuestionTypegetTypes(int index)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.intgetTypesCount()if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.java.util.List<QuestionType>getTypesList()if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.intgetTypesValue(int index)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.java.util.List<java.lang.Integer>getTypesValueList()if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuildersetEventId(java.lang.String value)sport event idSyncQuestionRequest.SyncQuestionRequestFilter.BuildersetEventIdBytes(com.google.protobuf.ByteString value)sport event idSyncQuestionRequest.SyncQuestionRequestFilter.BuildersetTypes(int index, QuestionType value)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.SyncQuestionRequest.SyncQuestionRequestFilter.BuildersetTypesValue(int index, int value)if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included.-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getEventId
public java.lang.String getEventId()
sport event id
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
sport event id
string event_id = 1 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setEventId(java.lang.String value)
sport event id
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder clearEventId()
sport event id
string event_id = 1 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setEventIdBytes(com.google.protobuf.ByteString value)
sport event id
string event_id = 1 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
getTypesList
public java.util.List<QuestionType> getTypesList()
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesListin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesCountin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Returns:
- The count of types.
-
getTypes
public QuestionType getTypes(int index)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setTypes(int index, QuestionType value)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addTypes(QuestionType value)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addAllTypes(java.lang.Iterable<? extends QuestionType> values)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder clearTypes()
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Returns:
- This builder for chaining.
-
getTypesValueList
public java.util.List<java.lang.Integer> getTypesValueList()
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesValueListin interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Specified by:
getTypesValuein interfaceSyncQuestionRequest.SyncQuestionRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder setTypesValue(int index, int value)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for types to set.- Returns:
- This builder for chaining.
-
addTypesValue
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addTypesValue(int value)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
public SyncQuestionRequest.SyncQuestionRequestFilter.Builder addAllTypesValue(java.lang.Iterable<java.lang.Integer> values)
if empty, only POLL, TRIVIA, PREDICTION, FACTOID and TWEET will be included. (backward compatibility)
repeated .streamlayer.interactive.QuestionType types = 2 [json_name = "types"];- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-
-