Class QuestionOptions

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  QuestionOptions.Builder
      Protobuf type streamlayer.interactive.QuestionOptions
      static class  QuestionOptions.FactoidOptions
      Protobuf type streamlayer.interactive.QuestionOptions.FactoidOptions
      static interface  QuestionOptions.FactoidOptionsOrBuilder  
      static class  QuestionOptions.OptionsCase  
      static class  QuestionOptions.PollOptions
      Protobuf type streamlayer.interactive.QuestionOptions.PollOptions
      static interface  QuestionOptions.PollOptionsOrBuilder  
      static class  QuestionOptions.PredictionOptions
      Protobuf type streamlayer.interactive.QuestionOptions.PredictionOptions
      static interface  QuestionOptions.PredictionOptionsOrBuilder  
      static class  QuestionOptions.PromotionOptions
      Protobuf type streamlayer.interactive.QuestionOptions.PromotionOptions
      static interface  QuestionOptions.PromotionOptionsOrBuilder  
      static class  QuestionOptions.TriviaOptions
      Protobuf type streamlayer.interactive.QuestionOptions.TriviaOptions
      static interface  QuestionOptions.TriviaOptionsOrBuilder  
      static class  QuestionOptions.TweetOptions
      Protobuf type streamlayer.interactive.QuestionOptions.TweetOptions
      static interface  QuestionOptions.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
      • Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • Method Summary

      All Methods Static Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)  
      static QuestionOptions getDefaultInstance()  
      QuestionOptions.FactoidOptions getFactoid()
      .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
      QuestionOptions.OptionsCase getOptionsCase()  
      QuestionOptions.PollOptions getPoll()
      .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
      QuestionOptions.PredictionOptions getPrediction()
      .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
      QuestionOptions.PromotionOptions getPromotion()
      .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
      QuestionOptions.TriviaOptions getTrivia()
      .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
      QuestionOptions.TweetOptions getTweet()
      .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
      boolean hasFactoid()
      .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
      boolean hasPoll()
      .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
      boolean hasPrediction()
      .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
      boolean hasPromotion()
      .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
      boolean hasTrivia()
      .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
      boolean hasTweet()
      .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
      static QuestionOptions.Builder newBuilder()  
      static QuestionOptions.Builder newBuilder​(QuestionOptions prototype)  
      static QuestionOptions parseDelimitedFrom​(java.io.InputStream input)  
      static QuestionOptions parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static QuestionOptions parseFrom​(byte[] data)  
      static QuestionOptions parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static QuestionOptions parseFrom​(com.google.protobuf.ByteString data)  
      static QuestionOptions parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static QuestionOptions parseFrom​(com.google.protobuf.CodedInputStream input)  
      static QuestionOptions parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static QuestionOptions parseFrom​(java.io.InputStream input)  
      static QuestionOptions parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static QuestionOptions parseFrom​(java.nio.ByteBuffer data)  
      static QuestionOptions parseFrom​(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, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • hasPoll

        public boolean hasPoll()
        .streamlayer.interactive.QuestionOptions.PollOptions poll = 1 [json_name = "poll"];
        Specified by:
        hasPoll in interface QuestionOptionsOrBuilder
        Returns:
        Whether the poll field is set.
      • hasTrivia

        public boolean hasTrivia()
        .streamlayer.interactive.QuestionOptions.TriviaOptions trivia = 2 [json_name = "trivia"];
        Specified by:
        hasTrivia in interface QuestionOptionsOrBuilder
        Returns:
        Whether the trivia field is set.
      • hasPrediction

        public boolean hasPrediction()
        .streamlayer.interactive.QuestionOptions.PredictionOptions prediction = 3 [json_name = "prediction"];
        Specified by:
        hasPrediction in interface QuestionOptionsOrBuilder
        Returns:
        Whether the prediction field is set.
      • hasFactoid

        public boolean hasFactoid()
        .streamlayer.interactive.QuestionOptions.FactoidOptions factoid = 4 [json_name = "factoid"];
        Specified by:
        hasFactoid in interface QuestionOptionsOrBuilder
        Returns:
        Whether the factoid field is set.
      • hasTweet

        public boolean hasTweet()
        .streamlayer.interactive.QuestionOptions.TweetOptions tweet = 5 [json_name = "tweet"];
        Specified by:
        hasTweet in interface QuestionOptionsOrBuilder
        Returns:
        Whether the tweet field is set.
      • hasPromotion

        public boolean hasPromotion()
        .streamlayer.interactive.QuestionOptions.PromotionOptions promotion = 6 [json_name = "promotion"];
        Specified by:
        hasPromotion in interface QuestionOptionsOrBuilder
        Returns:
        Whether the promotion field is set.
      • 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
      • dynamicMethod

        protected final java.lang.Object dynamicMethod​(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method,
                                                       java.lang.Object arg0,
                                                       java.lang.Object arg1)
        Specified by:
        dynamicMethod in class com.google.protobuf.GeneratedMessageLite<QuestionOptions,​QuestionOptions.Builder>
      • parser

        public static com.google.protobuf.Parser<QuestionOptions> parser()