Class ExtendedQuestion

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  ExtendedQuestion.Builder
      Protobuf type streamlayer.interactive.ExtendedQuestion
      • 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 Detail

      • getTypeValue

        public int getTypeValue()
        .streamlayer.interactive.QuestionType type = 2;
        Specified by:
        getTypeValue in interface ExtendedQuestionOrBuilder
        Returns:
        The enum numeric value on the wire for type.
      • hasOptions

        public boolean hasOptions()
        .streamlayer.interactive.QuestionOptions options = 4;
        Specified by:
        hasOptions in interface ExtendedQuestionOrBuilder
        Returns:
        Whether the options field is set.
      • hasAppearance

        public boolean hasAppearance()
        .streamlayer.interactive.QuestionAppearance appearance = 5;
        Specified by:
        hasAppearance in interface ExtendedQuestionOrBuilder
        Returns:
        Whether the appearance field is set.
      • hasSponsorship

        public boolean hasSponsorship()
        .streamlayer.interactive.Sponsorship sponsorship = 6;
        Specified by:
        hasSponsorship in interface ExtendedQuestionOrBuilder
        Returns:
        Whether the sponsorship field is set.
      • hasNotification

        public boolean hasNotification()
        .streamlayer.interactive.QuestionNotification notification = 7;
        Specified by:
        hasNotification in interface ExtendedQuestionOrBuilder
        Returns:
        Whether the notification field is set.
      • getAnswersOrBuilderList

        public java.util.List<? extends ExtendedQuestionAnswerOrBuilder> getAnswersOrBuilderList()
        repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8;
      • getAnswersOrBuilder

        public ExtendedQuestionAnswerOrBuilder getAnswersOrBuilder​(int index)
        repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8;
      • getStatusValue

        public int getStatusValue()
        .streamlayer.interactive.QuestionStatus status = 9;
        Specified by:
        getStatusValue in interface ExtendedQuestionOrBuilder
        Returns:
        The enum numeric value on the wire for status.
      • getActivatedAtBytes

        public com.google.protobuf.ByteString getActivatedAtBytes()
        string activated_at = 12;
        Specified by:
        getActivatedAtBytes in interface ExtendedQuestionOrBuilder
        Returns:
        The bytes for activatedAt.
      • getAnswerSetAtBytes

        public com.google.protobuf.ByteString getAnswerSetAtBytes()
        string answer_set_at = 13;
        Specified by:
        getAnswerSetAtBytes in interface ExtendedQuestionOrBuilder
        Returns:
        The bytes for answerSetAt.
      • getEventIdBytes

        public com.google.protobuf.ByteString getEventIdBytes()
        string event_id = 14;
        Specified by:
        getEventIdBytes in interface ExtendedQuestionOrBuilder
        Returns:
        The bytes for eventId.
      • parseFrom

        public static ExtendedQuestion parseFrom​(java.nio.ByteBuffer data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(java.nio.ByteBuffer data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(com.google.protobuf.ByteString data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(com.google.protobuf.ByteString data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(byte[] data)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(byte[] data,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws com.google.protobuf.InvalidProtocolBufferException
        Throws:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static ExtendedQuestion parseFrom​(java.io.InputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ExtendedQuestion parseFrom​(java.io.InputStream input,
                                                 com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ExtendedQuestion parseDelimitedFrom​(java.io.InputStream input)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseDelimitedFrom

        public static ExtendedQuestion parseDelimitedFrom​(java.io.InputStream input,
                                                          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                   throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ExtendedQuestion parseFrom​(com.google.protobuf.CodedInputStream input)
                                          throws java.io.IOException
        Throws:
        java.io.IOException
      • parseFrom

        public static ExtendedQuestion 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<ExtendedQuestion,​ExtendedQuestion.Builder>