Class QuestionOptions
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<QuestionOptions,QuestionOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionOptionsOrBuilder
public final class QuestionOptions extends com.google.protobuf.GeneratedMessageLite<QuestionOptions,QuestionOptions.Builder> implements QuestionOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestionOptions.AdCampaignsProtobuf typestreamlayer.interactive.QuestionOptions.AdCampaignsstatic interfaceQuestionOptions.AdCampaignsOrBuilderstatic classQuestionOptions.BuilderProtobuf typestreamlayer.interactive.QuestionOptionsstatic classQuestionOptions.FactoidOptionsProtobuf typestreamlayer.interactive.QuestionOptions.FactoidOptionsstatic interfaceQuestionOptions.FactoidOptionsOrBuilderstatic classQuestionOptions.GamOptionsparameters spec https://support.google.com/admanager/answer/10678356?hl=enstatic interfaceQuestionOptions.GamOptionsOrBuilderstatic classQuestionOptions.NFLShopOptionsProtobuf typestreamlayer.interactive.QuestionOptions.NFLShopOptionsstatic interfaceQuestionOptions.NFLShopOptionsOrBuilderstatic classQuestionOptions.OptionsCasestatic classQuestionOptions.PollOptionsProtobuf typestreamlayer.interactive.QuestionOptions.PollOptionsstatic interfaceQuestionOptions.PollOptionsOrBuilderstatic classQuestionOptions.PredictionOptionsProtobuf typestreamlayer.interactive.QuestionOptions.PredictionOptionsstatic interfaceQuestionOptions.PredictionOptionsOrBuilderstatic classQuestionOptions.PromotionOptionsProtobuf typestreamlayer.interactive.QuestionOptions.PromotionOptionsstatic interfaceQuestionOptions.PromotionOptionsOrBuilderstatic classQuestionOptions.ShopOptionsProtobuf typestreamlayer.interactive.QuestionOptions.ShopOptionsstatic interfaceQuestionOptions.ShopOptionsOrBuilderstatic classQuestionOptions.TriviaOptionsProtobuf typestreamlayer.interactive.QuestionOptions.TriviaOptionsstatic interfaceQuestionOptions.TriviaOptionsOrBuilderstatic classQuestionOptions.TweetOptionsProtobuf typestreamlayer.interactive.QuestionOptions.TweetOptionsstatic interfaceQuestionOptions.TweetOptionsOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
Fields Modifier and Type Field Description static intFACTOID_FIELD_NUMBERstatic intPOLL_FIELD_NUMBERstatic intPREDICTION_FIELD_NUMBERstatic intPROMOTION_FIELD_NUMBERstatic intTRIVIA_FIELD_NUMBERstatic intTWEET_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description protected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)static QuestionOptionsgetDefaultInstance()QuestionOptions.FactoidOptionsgetFactoid().streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];QuestionOptions.OptionsCasegetOptionsCase()QuestionOptions.PollOptionsgetPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];QuestionOptions.PredictionOptionsgetPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];QuestionOptions.PromotionOptionsgetPromotion().streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];QuestionOptions.TriviaOptionsgetTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];QuestionOptions.TweetOptionsgetTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];booleanhasFactoid().streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];booleanhasPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];booleanhasPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];booleanhasPromotion().streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];booleanhasTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];booleanhasTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];static QuestionOptions.BuildernewBuilder()static QuestionOptions.BuildernewBuilder(QuestionOptions prototype)static QuestionOptionsparseDelimitedFrom(java.io.InputStream input)static QuestionOptionsparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptionsparseFrom(byte[] data)static QuestionOptionsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptionsparseFrom(com.google.protobuf.ByteString data)static QuestionOptionsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptionsparseFrom(com.google.protobuf.CodedInputStream input)static QuestionOptionsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptionsparseFrom(java.io.InputStream input)static QuestionOptionsparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionOptionsparseFrom(java.nio.ByteBuffer data)static QuestionOptionsparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<QuestionOptions>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
POLL_FIELD_NUMBER
public static final int POLL_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TRIVIA_FIELD_NUMBER
public static final int TRIVIA_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PREDICTION_FIELD_NUMBER
public static final int PREDICTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FACTOID_FIELD_NUMBER
public static final int FACTOID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TWEET_FIELD_NUMBER
public static final int TWEET_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FIELD_NUMBER
public static final int PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
getOptionsCase
public QuestionOptions.OptionsCase getOptionsCase()
- Specified by:
getOptionsCasein interfaceQuestionOptionsOrBuilder
-
hasPoll
public boolean hasPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];- Specified by:
hasPollin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the poll field is set.
-
getPoll
public QuestionOptions.PollOptions getPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];- Specified by:
getPollin interfaceQuestionOptionsOrBuilder- Returns:
- The poll.
-
hasTrivia
public boolean hasTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];- Specified by:
hasTriviain interfaceQuestionOptionsOrBuilder- Returns:
- Whether the trivia field is set.
-
getTrivia
public QuestionOptions.TriviaOptions getTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];- Specified by:
getTriviain interfaceQuestionOptionsOrBuilder- Returns:
- The trivia.
-
hasPrediction
public boolean hasPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];- Specified by:
hasPredictionin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the prediction field is set.
-
getPrediction
public QuestionOptions.PredictionOptions getPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];- Specified by:
getPredictionin interfaceQuestionOptionsOrBuilder- Returns:
- The prediction.
-
hasFactoid
public boolean hasFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];- Specified by:
hasFactoidin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the factoid field is set.
-
getFactoid
public QuestionOptions.FactoidOptions getFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];- Specified by:
getFactoidin interfaceQuestionOptionsOrBuilder- Returns:
- The factoid.
-
hasTweet
public boolean hasTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];- Specified by:
hasTweetin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the tweet field is set.
-
getTweet
public QuestionOptions.TweetOptions getTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];- Specified by:
getTweetin interfaceQuestionOptionsOrBuilder- Returns:
- The tweet.
-
hasPromotion
public boolean hasPromotion()
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public QuestionOptions.PromotionOptions getPromotion()
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];- Specified by:
getPromotionin interfaceQuestionOptionsOrBuilder- Returns:
- The promotion.
-
parseFrom
public static QuestionOptions parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static QuestionOptions parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionOptions parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static QuestionOptions parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static QuestionOptions parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static QuestionOptions.Builder newBuilder()
-
newBuilder
public static QuestionOptions.Builder newBuilder(QuestionOptions prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<QuestionOptions,QuestionOptions.Builder>
-
getDefaultInstance
public static QuestionOptions getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<QuestionOptions> parser()
-
-