Class Question

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, QuestionOrBuilder

    public final class Question
    extends com.google.protobuf.GeneratedMessageLite<Question,​Question.Builder>
    implements QuestionOrBuilder
    Protobuf type streamlayer.interactive.Question
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      static class  Question.Builder
      Protobuf type streamlayer.interactive.Question
      • 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 Deprecated Methods 
      Modifier and Type Method Description
      boolean containsOverrides​(java.lang.String key)
      path, value
      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;
      com.google.protobuf.ByteString getActivatedAtBytes()
      string activated_at = 12;
      QuestionAnswer getAnswers​(int index)
      repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      int getAnswersCount()
      repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      java.lang.String getAnswerSetAt()
      string answer_set_at = 13;
      com.google.protobuf.ByteString getAnswerSetAtBytes()
      string answer_set_at = 13;
      java.util.List<QuestionAnswer> getAnswersList()
      repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      QuestionAnswerOrBuilder getAnswersOrBuilder​(int index)
      repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      java.util.List<? extends QuestionAnswerOrBuilder> getAnswersOrBuilderList()
      repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      QuestionAppearance getAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5;
      static Question getDefaultInstance()  
      java.lang.String getEventId()
      string event_id = 15;
      com.google.protobuf.ByteString getEventIdBytes()
      string event_id = 15;
      java.lang.String getId()
      string id = 1;
      com.google.protobuf.ByteString getIdBytes()
      string id = 1;
      boolean getMarketClosed()
      bool market_closed = 11;
      QuestionNotification getNotification()
      .streamlayer.interactive.QuestionNotification notification = 7;
      QuestionOptions getOptions()
      .streamlayer.interactive.QuestionOptions options = 4;
      java.util.Map<java.lang.String,​java.lang.Boolean> getOverrides()
      Deprecated.
      int getOverridesCount()
      path, value
      java.util.Map<java.lang.String,​java.lang.Boolean> getOverridesMap()
      path, value
      boolean getOverridesOrDefault​(java.lang.String key, boolean defaultValue)
      path, value
      boolean getOverridesOrThrow​(java.lang.String key)
      path, value
      int getPosition()
      uint32 position = 10;
      Sponsorship getSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6;
      QuestionStatus getStatus()
      .streamlayer.interactive.QuestionStatus status = 9;
      int getStatusValue()
      .streamlayer.interactive.QuestionStatus status = 9;
      com.google.protobuf.Timestamp getStreamTimestamp()
      .google.protobuf.Timestamp stream_timestamp = 16;
      java.lang.String getSubject()
      string subject = 3;
      com.google.protobuf.ByteString getSubjectBytes()
      string subject = 3;
      QuestionType getType()
      .streamlayer.interactive.QuestionType type = 2;
      int getTypeValue()
      .streamlayer.interactive.QuestionType type = 2;
      boolean hasAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5;
      boolean hasNotification()
      .streamlayer.interactive.QuestionNotification notification = 7;
      boolean hasOptions()
      .streamlayer.interactive.QuestionOptions options = 4;
      boolean hasSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6;
      boolean hasStreamTimestamp()
      .google.protobuf.Timestamp stream_timestamp = 16;
      static Question.Builder newBuilder()  
      static Question.Builder newBuilder​(Question prototype)  
      static Question parseDelimitedFrom​(java.io.InputStream input)  
      static Question parseDelimitedFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Question parseFrom​(byte[] data)  
      static Question parseFrom​(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Question parseFrom​(com.google.protobuf.ByteString data)  
      static Question parseFrom​(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Question parseFrom​(com.google.protobuf.CodedInputStream input)  
      static Question parseFrom​(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Question parseFrom​(java.io.InputStream input)  
      static Question parseFrom​(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static Question parseFrom​(java.nio.ByteBuffer data)  
      static Question parseFrom​(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)  
      static com.google.protobuf.Parser<Question> 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

      • getId

        public java.lang.String getId()
        string id = 1;
        Specified by:
        getId in interface QuestionOrBuilder
        Returns:
        The id.
      • getIdBytes

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

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

        public java.lang.String getSubject()
        string subject = 3;
        Specified by:
        getSubject in interface QuestionOrBuilder
        Returns:
        The subject.
      • getSubjectBytes

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

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

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

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

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

        public java.util.List<? extends QuestionAnswerOrBuilder> getAnswersOrBuilderList()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8;
      • getAnswersCount

        public int getAnswersCount()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8;
        Specified by:
        getAnswersCount in interface QuestionOrBuilder
      • getAnswersOrBuilder

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

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

        public int getPosition()
        uint32 position = 10;
        Specified by:
        getPosition in interface QuestionOrBuilder
        Returns:
        The position.
      • getMarketClosed

        public boolean getMarketClosed()
        bool market_closed = 11;
        Specified by:
        getMarketClosed in interface QuestionOrBuilder
        Returns:
        The marketClosed.
      • getActivatedAt

        public java.lang.String getActivatedAt()
        string activated_at = 12;
        Specified by:
        getActivatedAt in interface QuestionOrBuilder
        Returns:
        The activatedAt.
      • getActivatedAtBytes

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

        public java.lang.String getAnswerSetAt()
        string answer_set_at = 13;
        Specified by:
        getAnswerSetAt in interface QuestionOrBuilder
        Returns:
        The answerSetAt.
      • getAnswerSetAtBytes

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

        public boolean containsOverrides​(java.lang.String key)
         path, value
         
        map<string, bool> overrides = 14;
        Specified by:
        containsOverrides in interface QuestionOrBuilder
      • getOverridesMap

        public java.util.Map<java.lang.String,​java.lang.Boolean> getOverridesMap()
         path, value
         
        map<string, bool> overrides = 14;
        Specified by:
        getOverridesMap in interface QuestionOrBuilder
      • getOverridesOrDefault

        public boolean getOverridesOrDefault​(java.lang.String key,
                                             boolean defaultValue)
         path, value
         
        map<string, bool> overrides = 14;
        Specified by:
        getOverridesOrDefault in interface QuestionOrBuilder
      • getOverridesOrThrow

        public boolean getOverridesOrThrow​(java.lang.String key)
         path, value
         
        map<string, bool> overrides = 14;
        Specified by:
        getOverridesOrThrow in interface QuestionOrBuilder
      • getEventId

        public java.lang.String getEventId()
        string event_id = 15;
        Specified by:
        getEventId in interface QuestionOrBuilder
        Returns:
        The eventId.
      • getEventIdBytes

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

        public boolean hasStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16;
        Specified by:
        hasStreamTimestamp in interface QuestionOrBuilder
        Returns:
        Whether the streamTimestamp field is set.
      • getStreamTimestamp

        public com.google.protobuf.Timestamp getStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16;
        Specified by:
        getStreamTimestamp in interface QuestionOrBuilder
        Returns:
        The streamTimestamp.
      • parseFrom

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

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

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

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

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

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

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

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

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

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

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

        public static Question 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<Question,​Question.Builder>
      • getDefaultInstance

        public static Question getDefaultInstance()
      • parser

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