Class QuestionOptions.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions,QuestionOptions.Builder>
-
- com.streamlayer.interactive.common.QuestionOptions.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionOptionsOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionOptions
public static final class QuestionOptions.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionOptions,QuestionOptions.Builder> implements QuestionOptionsOrBuilder
Protobuf typestreamlayer.interactive.QuestionOptions
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionOptions.BuilderclearFactoid().streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];QuestionOptions.BuilderclearOptions()QuestionOptions.BuilderclearPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];QuestionOptions.BuilderclearPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];QuestionOptions.BuilderclearPromotion().streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];QuestionOptions.BuilderclearTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];QuestionOptions.BuilderclearTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];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"];QuestionOptions.BuildermergeFactoid(QuestionOptions.FactoidOptions value).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];QuestionOptions.BuildermergePoll(QuestionOptions.PollOptions value).streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];QuestionOptions.BuildermergePrediction(QuestionOptions.PredictionOptions value).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];QuestionOptions.BuildermergePromotion(QuestionOptions.PromotionOptions value).streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];QuestionOptions.BuildermergeTrivia(QuestionOptions.TriviaOptions value).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];QuestionOptions.BuildermergeTweet(QuestionOptions.TweetOptions value).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];QuestionOptions.BuildersetFactoid(QuestionOptions.FactoidOptions value).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];QuestionOptions.BuildersetFactoid(QuestionOptions.FactoidOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];QuestionOptions.BuildersetPoll(QuestionOptions.PollOptions value).streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];QuestionOptions.BuildersetPoll(QuestionOptions.PollOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];QuestionOptions.BuildersetPrediction(QuestionOptions.PredictionOptions value).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];QuestionOptions.BuildersetPrediction(QuestionOptions.PredictionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];QuestionOptions.BuildersetPromotion(QuestionOptions.PromotionOptions value).streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];QuestionOptions.BuildersetPromotion(QuestionOptions.PromotionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];QuestionOptions.BuildersetTrivia(QuestionOptions.TriviaOptions value).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];QuestionOptions.BuildersetTrivia(QuestionOptions.TriviaOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];QuestionOptions.BuildersetTweet(QuestionOptions.TweetOptions value).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];QuestionOptions.BuildersetTweet(QuestionOptions.TweetOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];-
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
-
getOptionsCase
public QuestionOptions.OptionsCase getOptionsCase()
- Specified by:
getOptionsCasein interfaceQuestionOptionsOrBuilder
-
clearOptions
public QuestionOptions.Builder clearOptions()
-
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.
-
setPoll
public QuestionOptions.Builder setPoll(QuestionOptions.PollOptions value)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
-
setPoll
public QuestionOptions.Builder setPoll(QuestionOptions.PollOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
-
mergePoll
public QuestionOptions.Builder mergePoll(QuestionOptions.PollOptions value)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
-
clearPoll
public QuestionOptions.Builder clearPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "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.
-
setTrivia
public QuestionOptions.Builder setTrivia(QuestionOptions.TriviaOptions value)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
-
setTrivia
public QuestionOptions.Builder setTrivia(QuestionOptions.TriviaOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
-
mergeTrivia
public QuestionOptions.Builder mergeTrivia(QuestionOptions.TriviaOptions value)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
-
clearTrivia
public QuestionOptions.Builder clearTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "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.
-
setPrediction
public QuestionOptions.Builder setPrediction(QuestionOptions.PredictionOptions value)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
-
setPrediction
public QuestionOptions.Builder setPrediction(QuestionOptions.PredictionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
-
mergePrediction
public QuestionOptions.Builder mergePrediction(QuestionOptions.PredictionOptions value)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
-
clearPrediction
public QuestionOptions.Builder clearPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "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.
-
setFactoid
public QuestionOptions.Builder setFactoid(QuestionOptions.FactoidOptions value)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
-
setFactoid
public QuestionOptions.Builder setFactoid(QuestionOptions.FactoidOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
-
mergeFactoid
public QuestionOptions.Builder mergeFactoid(QuestionOptions.FactoidOptions value)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
-
clearFactoid
public QuestionOptions.Builder clearFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "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.
-
setTweet
public QuestionOptions.Builder setTweet(QuestionOptions.TweetOptions value)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
-
setTweet
public QuestionOptions.Builder setTweet(QuestionOptions.TweetOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
-
mergeTweet
public QuestionOptions.Builder mergeTweet(QuestionOptions.TweetOptions value)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
-
clearTweet
public QuestionOptions.Builder clearTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "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.
-
setPromotion
public QuestionOptions.Builder setPromotion(QuestionOptions.PromotionOptions value)
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
-
setPromotion
public QuestionOptions.Builder setPromotion(QuestionOptions.PromotionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
-
mergePromotion
public QuestionOptions.Builder mergePromotion(QuestionOptions.PromotionOptions value)
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
-
clearPromotion
public QuestionOptions.Builder clearPromotion()
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
-
-