Interface QuestionOptionsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
QuestionOptions,QuestionOptions.Builder
public interface QuestionOptionsOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description 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;
-
-
-
Method Detail
-
hasPoll
boolean hasPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;- Returns:
- Whether the poll field is set.
-
getPoll
QuestionOptions.PollOptions getPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1;- Returns:
- The poll.
-
hasTrivia
boolean hasTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;- Returns:
- Whether the trivia field is set.
-
getTrivia
QuestionOptions.TriviaOptions getTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2;- Returns:
- The trivia.
-
hasPrediction
boolean hasPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;- Returns:
- Whether the prediction field is set.
-
getPrediction
QuestionOptions.PredictionOptions getPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3;- Returns:
- The prediction.
-
hasFactoid
boolean hasFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;- Returns:
- Whether the factoid field is set.
-
getFactoid
QuestionOptions.FactoidOptions getFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4;- Returns:
- The factoid.
-
hasTweet
boolean hasTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;- Returns:
- Whether the tweet field is set.
-
getTweet
QuestionOptions.TweetOptions getTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5;- Returns:
- The tweet.
-
getOptionsCase
QuestionOptions.OptionsCase getOptionsCase()
-
-