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 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)  
      java.lang.String getActivatedAt()
      string activated_at = 12 [json_name = "activatedAt"];
      com.google.protobuf.ByteString getActivatedAtBytes()
      string activated_at = 12 [json_name = "activatedAt"];
      ExtendedQuestionAnswer getAnswers​(int index)
      repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
      int getAnswersCount()
      repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
      java.lang.String getAnswerSetAt()
      string answer_set_at = 13 [json_name = "answerSetAt"];
      com.google.protobuf.ByteString getAnswerSetAtBytes()
      string answer_set_at = 13 [json_name = "answerSetAt"];
      java.util.List<ExtendedQuestionAnswer> getAnswersList()
      repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
      ExtendedQuestionAnswerOrBuilder getAnswersOrBuilder​(int index)
      repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
      java.util.List<? extends ExtendedQuestionAnswerOrBuilder> getAnswersOrBuilderList()
      repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
      QuestionAppearance getAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      BypassNotifications getBypassNotifications()
      .streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
      static ExtendedQuestion getDefaultInstance()  
      java.lang.String getEventId()
      string event_id = 14 [json_name = "eventId"];
      com.google.protobuf.ByteString getEventIdBytes()
      string event_id = 14 [json_name = "eventId"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      boolean getMarketClosed()
      bool market_closed = 11 [json_name = "marketClosed"];
      QuestionNotification getNotification()
      .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      QuestionOptions getOptions()
      .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      int getPosition()
      uint32 position = 10 [json_name = "position"];
      Sponsorship getSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      QuestionStatus getStatus()
      .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
      int getStatusValue()
      .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
      java.lang.String getSubject()
      string subject = 3 [json_name = "subject"];
      com.google.protobuf.ByteString getSubjectBytes()
      string subject = 3 [json_name = "subject"];
      QuestionType getType()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      int getTypeValue()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      boolean hasAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      boolean hasBypassNotifications()
      .streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
      boolean hasNotification()
      .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      boolean hasOptions()
      .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      boolean hasSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      static ExtendedQuestion.Builder newBuilder()  
      static ExtendedQuestion.Builder newBuilder​(ExtendedQuestion prototype)  
      static ExtendedQuestion parseDelimitedFrom​(java.io.InputStream input)  
      static ExtendedQuestion parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ExtendedQuestion parseFrom​(byte[] data)  
      static ExtendedQuestion parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ExtendedQuestion parseFrom​(com.google.protobuf.ByteString data)  
      static ExtendedQuestion parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ExtendedQuestion parseFrom​(com.google.protobuf.CodedInputStream input)  
      static ExtendedQuestion parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ExtendedQuestion parseFrom​(java.io.InputStream input)  
      static ExtendedQuestion parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static ExtendedQuestion parseFrom​(java.nio.ByteBuffer data)  
      static ExtendedQuestion parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<ExtendedQuestion> 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, 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

      • getId

        public java.lang.String getId()
        string id = 1 [json_name = "id"];
        Specified by:
        getId in interface ExtendedQuestionOrBuilder
        Returns:
        The id.
      • getIdBytes

        public com.google.protobuf.ByteString getIdBytes()
        string id = 1 [json_name = "id"];
        Specified by:
        getIdBytes in interface ExtendedQuestionOrBuilder
        Returns:
        The bytes for id.
      • getTypeValue

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

        public java.lang.String getSubject()
        string subject = 3 [json_name = "subject"];
        Specified by:
        getSubject in interface ExtendedQuestionOrBuilder
        Returns:
        The subject.
      • getSubjectBytes

        public com.google.protobuf.ByteString getSubjectBytes()
        string subject = 3 [json_name = "subject"];
        Specified by:
        getSubjectBytes in interface ExtendedQuestionOrBuilder
        Returns:
        The bytes for subject.
      • hasOptions

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

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

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

        public boolean hasNotification()
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
        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 [json_name = "answers"];
      • getAnswersCount

        public int getAnswersCount()
        repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
        Specified by:
        getAnswersCount in interface ExtendedQuestionOrBuilder
      • getAnswersOrBuilder

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

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

        public boolean getMarketClosed()
        bool market_closed = 11 [json_name = "marketClosed"];
        Specified by:
        getMarketClosed in interface ExtendedQuestionOrBuilder
        Returns:
        The marketClosed.
      • getActivatedAt

        public java.lang.String getActivatedAt()
        string activated_at = 12 [json_name = "activatedAt"];
        Specified by:
        getActivatedAt in interface ExtendedQuestionOrBuilder
        Returns:
        The activatedAt.
      • getActivatedAtBytes

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

        public java.lang.String getAnswerSetAt()
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Specified by:
        getAnswerSetAt in interface ExtendedQuestionOrBuilder
        Returns:
        The answerSetAt.
      • getAnswerSetAtBytes

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

        public java.lang.String getEventId()
        string event_id = 14 [json_name = "eventId"];
        Specified by:
        getEventId in interface ExtendedQuestionOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

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

        public boolean hasBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
        Specified by:
        hasBypassNotifications in interface ExtendedQuestionOrBuilder
        Returns:
        Whether the bypassNotifications field is set.
      • 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>