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 [json_name = "activatedAt"];
      com.google.protobuf.ByteString getActivatedAtBytes()
      string activated_at = 12 [json_name = "activatedAt"];
      ActivatedBy getActivatedBy()
      optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
      java.lang.String getActivatedByTriggerId()
      optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
      com.google.protobuf.ByteString getActivatedByTriggerIdBytes()
      optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
      java.lang.String getActivatedByTriggerName()
      optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
      com.google.protobuf.ByteString getActivatedByTriggerNameBytes()
      optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
      int getActivatedByValue()
      optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
      int getActivationTriggerCount()
      numbers of activation subscriptions
      QuestionAi getAi()
      .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
      QuestionAnswer getAnswers​(int index)
      repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      int getAnswersCount()
      repeated .streamlayer.interactive.QuestionAnswer 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<QuestionAnswer> getAnswersList()
      repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      QuestionAnswerOrBuilder getAnswersOrBuilder​(int index)
      repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      java.util.List<? extends QuestionAnswerOrBuilder> getAnswersOrBuilderList()
      repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      QuestionAppearance getAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      BackgroundImage getBackgroundImage()
      .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
      BypassNotifications getBypassNotifications()
      .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
      java.lang.String getCreatedAt()
      string created_at = 24 [json_name = "createdAt"];
      com.google.protobuf.ByteString getCreatedAtBytes()
      string created_at = 24 [json_name = "createdAt"];
      static Question getDefaultInstance()  
      java.lang.String getEventId()
      string event_id = 15 [json_name = "eventId"];
      com.google.protobuf.ByteString getEventIdBytes()
      string event_id = 15 [json_name = "eventId"];
      boolean getHasTriggers()
      optional bool has_triggers = 23 [json_name = "hasTriggers"];
      java.lang.String getId()
      string id = 1 [json_name = "id"];
      com.google.protobuf.ByteString getIdBytes()
      string id = 1 [json_name = "id"];
      java.lang.String getImportId()
      string import_id = 19 [json_name = "importId"];
      com.google.protobuf.ByteString getImportIdBytes()
      string import_id = 19 [json_name = "importId"];
      boolean getMarketClosed()
      bool market_closed = 11 [json_name = "marketClosed"];
      java.lang.String getName()
      optional string name = 25 [json_name = "name"];
      com.google.protobuf.ByteString getNameBytes()
      optional string name = 25 [json_name = "name"];
      QuestionNotification getNotification()
      .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      QuestionOptions getOptions()
      .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      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()
      optional uint32 position = 10 [json_name = "position"];
      Promotion getPromotion()
      .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
      QuestionSource getSource()
      .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
      int getSourceValue()
      .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
      Sponsorship getSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      QuestionStatus getStatus()
      .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
      int getStatusPosition()
      optional uint32 status_position = 28 [json_name = "statusPosition"];
      int getStatusValue()
      .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
      com.google.protobuf.Timestamp getStreamTimestamp()
      .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      java.lang.String getSubject()
      optional string subject = 3 [json_name = "subject"];
      com.google.protobuf.ByteString getSubjectBytes()
      optional string subject = 3 [json_name = "subject"];
      Tag getTags​(int index)
      repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      int getTagsCount()
      repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      java.util.List<Tag> getTagsList()
      repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      TagOrBuilder getTagsOrBuilder​(int index)
      repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      java.util.List<? extends TagOrBuilder> getTagsOrBuilderList()
      repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      QuestionType getType()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      int getTypeValue()
      .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
      boolean hasActivatedBy()
      optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
      boolean hasActivatedByTriggerId()
      optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
      boolean hasActivatedByTriggerName()
      optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
      boolean hasActivationTriggerCount()
      numbers of activation subscriptions
      boolean hasAi()
      .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
      boolean hasAppearance()
      .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      boolean hasBackgroundImage()
      .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
      boolean hasBypassNotifications()
      .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
      boolean hasHasTriggers()
      optional bool has_triggers = 23 [json_name = "hasTriggers"];
      boolean hasName()
      optional string name = 25 [json_name = "name"];
      boolean hasNotification()
      .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      boolean hasOptions()
      .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      boolean hasPosition()
      optional uint32 position = 10 [json_name = "position"];
      boolean hasPromotion()
      .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
      boolean hasSponsorship()
      .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      boolean hasStatusPosition()
      optional uint32 status_position = 28 [json_name = "statusPosition"];
      boolean hasStreamTimestamp()
      .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      boolean hasSubject()
      optional string subject = 3 [json_name = "subject"];
      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, 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 QuestionOrBuilder
        Returns:
        The id.
      • getIdBytes

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

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

        public QuestionType getType()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Specified by:
        getType in interface QuestionOrBuilder
        Returns:
        The type.
      • hasSubject

        public boolean hasSubject()
        optional string subject = 3 [json_name = "subject"];
        Specified by:
        hasSubject in interface QuestionOrBuilder
        Returns:
        Whether the subject field is set.
      • getSubject

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

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

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

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

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

        public Sponsorship getSponsorship()
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
        Specified by:
        getSponsorship in interface QuestionOrBuilder
        Returns:
        The sponsorship.
      • hasNotification

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

        public int getAnswersCount()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
        Specified by:
        getAnswersCount in interface QuestionOrBuilder
      • getAnswers

        public QuestionAnswer getAnswers​(int index)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
        Specified by:
        getAnswers in interface QuestionOrBuilder
      • getAnswersOrBuilder

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

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

        public QuestionStatus getStatus()
        .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
        Specified by:
        getStatus in interface QuestionOrBuilder
        Returns:
        The status.
      • hasPosition

        public boolean hasPosition()
        optional uint32 position = 10 [json_name = "position"];
        Specified by:
        hasPosition in interface QuestionOrBuilder
        Returns:
        Whether the position field is set.
      • getPosition

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

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

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

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

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

        public com.google.protobuf.ByteString getAnswerSetAtBytes()
        string answer_set_at = 13 [json_name = "answerSetAt"];
        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 [json_name = "overrides"];
        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 [json_name = "overrides"];
        Specified by:
        getOverridesMap in interface QuestionOrBuilder
      • getOverridesOrDefault

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

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

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

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

        public boolean hasStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
        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 [json_name = "streamTimestamp"];
        Specified by:
        getStreamTimestamp in interface QuestionOrBuilder
        Returns:
        The streamTimestamp.
      • getTagsList

        public java.util.List<Tag> getTagsList()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
        Specified by:
        getTagsList in interface QuestionOrBuilder
      • getTagsOrBuilderList

        public java.util.List<? extends TagOrBuilder> getTagsOrBuilderList()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • getTagsCount

        public int getTagsCount()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
        Specified by:
        getTagsCount in interface QuestionOrBuilder
      • getTags

        public Tag getTags​(int index)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
        Specified by:
        getTags in interface QuestionOrBuilder
      • getTagsOrBuilder

        public TagOrBuilder getTagsOrBuilder​(int index)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • hasBypassNotifications

        public boolean hasBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
        Specified by:
        hasBypassNotifications in interface QuestionOrBuilder
        Returns:
        Whether the bypassNotifications field is set.
      • getBypassNotifications

        public BypassNotifications getBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
        Specified by:
        getBypassNotifications in interface QuestionOrBuilder
        Returns:
        The bypassNotifications.
      • getImportId

        public java.lang.String getImportId()
        string import_id = 19 [json_name = "importId"];
        Specified by:
        getImportId in interface QuestionOrBuilder
        Returns:
        The importId.
      • getImportIdBytes

        public com.google.protobuf.ByteString getImportIdBytes()
        string import_id = 19 [json_name = "importId"];
        Specified by:
        getImportIdBytes in interface QuestionOrBuilder
        Returns:
        The bytes for importId.
      • hasActivationTriggerCount

        public boolean hasActivationTriggerCount()
         numbers of activation subscriptions
         
        optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"];
        Specified by:
        hasActivationTriggerCount in interface QuestionOrBuilder
        Returns:
        Whether the activationTriggerCount field is set.
      • getActivationTriggerCount

        public int getActivationTriggerCount()
         numbers of activation subscriptions
         
        optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"];
        Specified by:
        getActivationTriggerCount in interface QuestionOrBuilder
        Returns:
        The activationTriggerCount.
      • getSourceValue

        public int getSourceValue()
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Specified by:
        getSourceValue in interface QuestionOrBuilder
        Returns:
        The enum numeric value on the wire for source.
      • getSource

        public QuestionSource getSource()
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Specified by:
        getSource in interface QuestionOrBuilder
        Returns:
        The source.
      • hasAi

        public boolean hasAi()
        .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
        Specified by:
        hasAi in interface QuestionOrBuilder
        Returns:
        Whether the ai field is set.
      • getAi

        public QuestionAi getAi()
        .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
        Specified by:
        getAi in interface QuestionOrBuilder
        Returns:
        The ai.
      • hasHasTriggers

        public boolean hasHasTriggers()
        optional bool has_triggers = 23 [json_name = "hasTriggers"];
        Specified by:
        hasHasTriggers in interface QuestionOrBuilder
        Returns:
        Whether the hasTriggers field is set.
      • getHasTriggers

        public boolean getHasTriggers()
        optional bool has_triggers = 23 [json_name = "hasTriggers"];
        Specified by:
        getHasTriggers in interface QuestionOrBuilder
        Returns:
        The hasTriggers.
      • getCreatedAt

        public java.lang.String getCreatedAt()
        string created_at = 24 [json_name = "createdAt"];
        Specified by:
        getCreatedAt in interface QuestionOrBuilder
        Returns:
        The createdAt.
      • getCreatedAtBytes

        public com.google.protobuf.ByteString getCreatedAtBytes()
        string created_at = 24 [json_name = "createdAt"];
        Specified by:
        getCreatedAtBytes in interface QuestionOrBuilder
        Returns:
        The bytes for createdAt.
      • hasName

        public boolean hasName()
        optional string name = 25 [json_name = "name"];
        Specified by:
        hasName in interface QuestionOrBuilder
        Returns:
        Whether the name field is set.
      • getName

        public java.lang.String getName()
        optional string name = 25 [json_name = "name"];
        Specified by:
        getName in interface QuestionOrBuilder
        Returns:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
        optional string name = 25 [json_name = "name"];
        Specified by:
        getNameBytes in interface QuestionOrBuilder
        Returns:
        The bytes for name.
      • hasPromotion

        public boolean hasPromotion()
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
        Specified by:
        hasPromotion in interface QuestionOrBuilder
        Returns:
        Whether the promotion field is set.
      • getPromotion

        public Promotion getPromotion()
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
        Specified by:
        getPromotion in interface QuestionOrBuilder
        Returns:
        The promotion.
      • hasBackgroundImage

        public boolean hasBackgroundImage()
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
        Specified by:
        hasBackgroundImage in interface QuestionOrBuilder
        Returns:
        Whether the backgroundImage field is set.
      • getBackgroundImage

        public BackgroundImage getBackgroundImage()
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
        Specified by:
        getBackgroundImage in interface QuestionOrBuilder
        Returns:
        The backgroundImage.
      • hasStatusPosition

        public boolean hasStatusPosition()
        optional uint32 status_position = 28 [json_name = "statusPosition"];
        Specified by:
        hasStatusPosition in interface QuestionOrBuilder
        Returns:
        Whether the statusPosition field is set.
      • getStatusPosition

        public int getStatusPosition()
        optional uint32 status_position = 28 [json_name = "statusPosition"];
        Specified by:
        getStatusPosition in interface QuestionOrBuilder
        Returns:
        The statusPosition.
      • hasActivatedBy

        public boolean hasActivatedBy()
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Specified by:
        hasActivatedBy in interface QuestionOrBuilder
        Returns:
        Whether the activatedBy field is set.
      • getActivatedByValue

        public int getActivatedByValue()
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Specified by:
        getActivatedByValue in interface QuestionOrBuilder
        Returns:
        The enum numeric value on the wire for activatedBy.
      • getActivatedBy

        public ActivatedBy getActivatedBy()
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Specified by:
        getActivatedBy in interface QuestionOrBuilder
        Returns:
        The activatedBy.
      • hasActivatedByTriggerId

        public boolean hasActivatedByTriggerId()
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Specified by:
        hasActivatedByTriggerId in interface QuestionOrBuilder
        Returns:
        Whether the activatedByTriggerId field is set.
      • getActivatedByTriggerId

        public java.lang.String getActivatedByTriggerId()
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Specified by:
        getActivatedByTriggerId in interface QuestionOrBuilder
        Returns:
        The activatedByTriggerId.
      • getActivatedByTriggerIdBytes

        public com.google.protobuf.ByteString getActivatedByTriggerIdBytes()
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Specified by:
        getActivatedByTriggerIdBytes in interface QuestionOrBuilder
        Returns:
        The bytes for activatedByTriggerId.
      • hasActivatedByTriggerName

        public boolean hasActivatedByTriggerName()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Specified by:
        hasActivatedByTriggerName in interface QuestionOrBuilder
        Returns:
        Whether the activatedByTriggerName field is set.
      • getActivatedByTriggerName

        public java.lang.String getActivatedByTriggerName()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Specified by:
        getActivatedByTriggerName in interface QuestionOrBuilder
        Returns:
        The activatedByTriggerName.
      • getActivatedByTriggerNameBytes

        public com.google.protobuf.ByteString getActivatedByTriggerNameBytes()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Specified by:
        getActivatedByTriggerNameBytes in interface QuestionOrBuilder
        Returns:
        The bytes for activatedByTriggerName.
      • 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()