Class QuestionOptions

    • 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()