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 [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"];
-
-
-
Method Detail
-
hasPoll
boolean hasPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];- Returns:
- Whether the poll field is set.
-
getPoll
QuestionOptions.PollOptions getPoll()
.streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];- Returns:
- The poll.
-
hasTrivia
boolean hasTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];- Returns:
- Whether the trivia field is set.
-
getTrivia
QuestionOptions.TriviaOptions getTrivia()
.streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];- Returns:
- The trivia.
-
hasPrediction
boolean hasPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];- Returns:
- Whether the prediction field is set.
-
getPrediction
QuestionOptions.PredictionOptions getPrediction()
.streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];- Returns:
- The prediction.
-
hasFactoid
boolean hasFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];- Returns:
- Whether the factoid field is set.
-
getFactoid
QuestionOptions.FactoidOptions getFactoid()
.streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];- Returns:
- The factoid.
-
hasTweet
boolean hasTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];- Returns:
- Whether the tweet field is set.
-
getTweet
QuestionOptions.TweetOptions getTweet()
.streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];- Returns:
- The tweet.
-
hasPromotion
boolean hasPromotion()
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];- Returns:
- Whether the promotion field is set.
-
getPromotion
QuestionOptions.PromotionOptions getPromotion()
.streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];- Returns:
- The promotion.
-
getOptionsCase
QuestionOptions.OptionsCase getOptionsCase()
-
-