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;QuestionOptions.BuilderclearOptions()QuestionOptions.BuilderclearPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1;QuestionOptions.BuilderclearPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;QuestionOptions.BuilderclearTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;QuestionOptions.BuilderclearTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;QuestionOptions.FactoidOptionsgetFactoid().streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;QuestionOptions.OptionsCasegetOptionsCase()QuestionOptions.PollOptionsgetPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1;QuestionOptions.PredictionOptionsgetPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;QuestionOptions.TriviaOptionsgetTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;QuestionOptions.TweetOptionsgetTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;booleanhasFactoid().streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;booleanhasPoll().streamlayer.interactive.QuestionOptions.PollOptions poll = 1;booleanhasPrediction().streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;booleanhasTrivia().streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;booleanhasTweet().streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;QuestionOptions.BuildermergeFactoid(QuestionOptions.FactoidOptions value).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;QuestionOptions.BuildermergePoll(QuestionOptions.PollOptions value).streamlayer.interactive.QuestionOptions.PollOptions poll = 1;QuestionOptions.BuildermergePrediction(QuestionOptions.PredictionOptions value).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;QuestionOptions.BuildermergeTrivia(QuestionOptions.TriviaOptions value).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;QuestionOptions.BuildermergeTweet(QuestionOptions.TweetOptions value).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;QuestionOptions.BuildersetFactoid(QuestionOptions.FactoidOptions value).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;QuestionOptions.BuildersetFactoid(QuestionOptions.FactoidOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;QuestionOptions.BuildersetPoll(QuestionOptions.PollOptions value).streamlayer.interactive.QuestionOptions.PollOptions poll = 1;QuestionOptions.BuildersetPoll(QuestionOptions.PollOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.PollOptions poll = 1;QuestionOptions.BuildersetPrediction(QuestionOptions.PredictionOptions value).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;QuestionOptions.BuildersetPrediction(QuestionOptions.PredictionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;QuestionOptions.BuildersetTrivia(QuestionOptions.TriviaOptions value).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;QuestionOptions.BuildersetTrivia(QuestionOptions.TriviaOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;QuestionOptions.BuildersetTweet(QuestionOptions.TweetOptions value).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;QuestionOptions.BuildersetTweet(QuestionOptions.TweetOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;-
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;- Specified by:
hasPollin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the poll field is set.
-
getPoll
public QuestionOptions.PollOptions getPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;- Specified by:
getPollin interfaceQuestionOptionsOrBuilder- Returns:
- The poll.
-
setPoll
public QuestionOptions.Builder setPoll(QuestionOptions.PollOptions value)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;
-
setPoll
public QuestionOptions.Builder setPoll(QuestionOptions.PollOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;
-
mergePoll
public QuestionOptions.Builder mergePoll(QuestionOptions.PollOptions value)
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;
-
clearPoll
public QuestionOptions.Builder clearPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;
-
hasTrivia
public boolean hasTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;- Specified by:
hasTriviain interfaceQuestionOptionsOrBuilder- Returns:
- Whether the trivia field is set.
-
getTrivia
public QuestionOptions.TriviaOptions getTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;- Specified by:
getTriviain interfaceQuestionOptionsOrBuilder- Returns:
- The trivia.
-
setTrivia
public QuestionOptions.Builder setTrivia(QuestionOptions.TriviaOptions value)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;
-
setTrivia
public QuestionOptions.Builder setTrivia(QuestionOptions.TriviaOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;
-
mergeTrivia
public QuestionOptions.Builder mergeTrivia(QuestionOptions.TriviaOptions value)
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;
-
clearTrivia
public QuestionOptions.Builder clearTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;
-
hasPrediction
public boolean hasPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;- Specified by:
hasPredictionin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the prediction field is set.
-
getPrediction
public QuestionOptions.PredictionOptions getPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;- Specified by:
getPredictionin interfaceQuestionOptionsOrBuilder- Returns:
- The prediction.
-
setPrediction
public QuestionOptions.Builder setPrediction(QuestionOptions.PredictionOptions value)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;
-
setPrediction
public QuestionOptions.Builder setPrediction(QuestionOptions.PredictionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;
-
mergePrediction
public QuestionOptions.Builder mergePrediction(QuestionOptions.PredictionOptions value)
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;
-
clearPrediction
public QuestionOptions.Builder clearPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;
-
hasFactoid
public boolean hasFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;- Specified by:
hasFactoidin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the factoid field is set.
-
getFactoid
public QuestionOptions.FactoidOptions getFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;- Specified by:
getFactoidin interfaceQuestionOptionsOrBuilder- Returns:
- The factoid.
-
setFactoid
public QuestionOptions.Builder setFactoid(QuestionOptions.FactoidOptions value)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;
-
setFactoid
public QuestionOptions.Builder setFactoid(QuestionOptions.FactoidOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;
-
mergeFactoid
public QuestionOptions.Builder mergeFactoid(QuestionOptions.FactoidOptions value)
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;
-
clearFactoid
public QuestionOptions.Builder clearFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;
-
hasTweet
public boolean hasTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;- Specified by:
hasTweetin interfaceQuestionOptionsOrBuilder- Returns:
- Whether the tweet field is set.
-
getTweet
public QuestionOptions.TweetOptions getTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;- Specified by:
getTweetin interfaceQuestionOptionsOrBuilder- Returns:
- The tweet.
-
setTweet
public QuestionOptions.Builder setTweet(QuestionOptions.TweetOptions value)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;
-
setTweet
public QuestionOptions.Builder setTweet(QuestionOptions.TweetOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;
-
mergeTweet
public QuestionOptions.Builder mergeTweet(QuestionOptions.TweetOptions value)
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;
-
clearTweet
public QuestionOptions.Builder clearTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;
-
-