Class Question.Builder

  • All Implemented Interfaces:
    com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, QuestionOrBuilder, java.lang.Cloneable
    Enclosing class:
    Question

    public static final class Question.Builder
    extends com.google.protobuf.GeneratedMessageLite.Builder<Question,​Question.Builder>
    implements QuestionOrBuilder
    Protobuf type streamlayer.interactive.Question
    • 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.
      • setId

        public Question.Builder setId​(java.lang.String value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The id to set.
        Returns:
        This builder for chaining.
      • clearId

        public Question.Builder clearId()
        string id = 1 [json_name = "id"];
        Returns:
        This builder for chaining.
      • setIdBytes

        public Question.Builder setIdBytes​(com.google.protobuf.ByteString value)
        string id = 1 [json_name = "id"];
        Parameters:
        value - The bytes for id to set.
        Returns:
        This builder for chaining.
      • 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.
      • setTypeValue

        public Question.Builder setTypeValue​(int value)
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • getType

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

        public Question.Builder setType​(QuestionType value)
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Parameters:
        value - The enum numeric value on the wire for type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Question.Builder clearType()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Returns:
        This builder for chaining.
      • 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.
      • setSubject

        public Question.Builder setSubject​(java.lang.String value)
        optional string subject = 3 [json_name = "subject"];
        Parameters:
        value - The subject to set.
        Returns:
        This builder for chaining.
      • clearSubject

        public Question.Builder clearSubject()
        optional string subject = 3 [json_name = "subject"];
        Returns:
        This builder for chaining.
      • setSubjectBytes

        public Question.Builder setSubjectBytes​(com.google.protobuf.ByteString value)
        optional string subject = 3 [json_name = "subject"];
        Parameters:
        value - The bytes for subject to set.
        Returns:
        This builder for chaining.
      • 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.
      • mergeOptions

        public Question.Builder mergeOptions​(QuestionOptions value)
        .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      • clearOptions

        public Question.Builder clearOptions()
        .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
      • 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.
      • setAppearance

        public Question.Builder setAppearance​(QuestionAppearance value)
        .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      • mergeAppearance

        public Question.Builder mergeAppearance​(QuestionAppearance value)
        .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      • clearAppearance

        public Question.Builder clearAppearance()
        .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
      • 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.
      • setSponsorship

        public Question.Builder setSponsorship​(Sponsorship value)
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      • setSponsorship

        public Question.Builder setSponsorship​(Sponsorship.Builder builderForValue)
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      • mergeSponsorship

        public Question.Builder mergeSponsorship​(Sponsorship value)
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
      • clearSponsorship

        public Question.Builder clearSponsorship()
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "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.
      • setNotification

        public Question.Builder setNotification​(QuestionNotification value)
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      • mergeNotification

        public Question.Builder mergeNotification​(QuestionNotification value)
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      • clearNotification

        public Question.Builder clearNotification()
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
      • 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
      • setAnswers

        public Question.Builder setAnswers​(int index,
                                           QuestionAnswer value)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • setAnswers

        public Question.Builder setAnswers​(int index,
                                           QuestionAnswer.Builder builderForValue)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • addAnswers

        public Question.Builder addAnswers​(QuestionAnswer value)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • addAnswers

        public Question.Builder addAnswers​(int index,
                                           QuestionAnswer value)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • addAnswers

        public Question.Builder addAnswers​(int index,
                                           QuestionAnswer.Builder builderForValue)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • addAllAnswers

        public Question.Builder addAllAnswers​(java.lang.Iterable<? extends QuestionAnswer> values)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • clearAnswers

        public Question.Builder clearAnswers()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • removeAnswers

        public Question.Builder removeAnswers​(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.
      • setStatusValue

        public Question.Builder setStatusValue​(int value)
        .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • getStatus

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

        public Question.Builder setStatus​(QuestionStatus value)
        .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
        Parameters:
        value - The enum numeric value on the wire for status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Question.Builder clearStatus()
        .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
        Returns:
        This builder for chaining.
      • 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.
      • setPosition

        public Question.Builder setPosition​(int value)
        optional uint32 position = 10 [json_name = "position"];
        Parameters:
        value - The position to set.
        Returns:
        This builder for chaining.
      • clearPosition

        public Question.Builder clearPosition()
        optional uint32 position = 10 [json_name = "position"];
        Returns:
        This builder for chaining.
      • getMarketClosed

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

        public Question.Builder setMarketClosed​(boolean value)
        bool market_closed = 11 [json_name = "marketClosed"];
        Parameters:
        value - The marketClosed to set.
        Returns:
        This builder for chaining.
      • clearMarketClosed

        public Question.Builder clearMarketClosed()
        bool market_closed = 11 [json_name = "marketClosed"];
        Returns:
        This builder for chaining.
      • 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.
      • setActivatedAt

        public Question.Builder setActivatedAt​(java.lang.String value)
        string activated_at = 12 [json_name = "activatedAt"];
        Parameters:
        value - The activatedAt to set.
        Returns:
        This builder for chaining.
      • clearActivatedAt

        public Question.Builder clearActivatedAt()
        string activated_at = 12 [json_name = "activatedAt"];
        Returns:
        This builder for chaining.
      • setActivatedAtBytes

        public Question.Builder setActivatedAtBytes​(com.google.protobuf.ByteString value)
        string activated_at = 12 [json_name = "activatedAt"];
        Parameters:
        value - The bytes for activatedAt to set.
        Returns:
        This builder for chaining.
      • 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.
      • setAnswerSetAt

        public Question.Builder setAnswerSetAt​(java.lang.String value)
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Parameters:
        value - The answerSetAt to set.
        Returns:
        This builder for chaining.
      • clearAnswerSetAt

        public Question.Builder clearAnswerSetAt()
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Returns:
        This builder for chaining.
      • setAnswerSetAtBytes

        public Question.Builder setAnswerSetAtBytes​(com.google.protobuf.ByteString value)
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Parameters:
        value - The bytes for answerSetAt to set.
        Returns:
        This builder for chaining.
      • containsOverrides

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

        public Question.Builder removeOverrides​(java.lang.String key)
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • 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
      • putOverrides

        public Question.Builder putOverrides​(java.lang.String key,
                                             boolean value)
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • putAllOverrides

        public Question.Builder putAllOverrides​(java.util.Map<java.lang.String,​java.lang.Boolean> values)
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • 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.
      • setEventId

        public Question.Builder setEventId​(java.lang.String value)
        string event_id = 15 [json_name = "eventId"];
        Parameters:
        value - The eventId to set.
        Returns:
        This builder for chaining.
      • clearEventId

        public Question.Builder clearEventId()
        string event_id = 15 [json_name = "eventId"];
        Returns:
        This builder for chaining.
      • setEventIdBytes

        public Question.Builder setEventIdBytes​(com.google.protobuf.ByteString value)
        string event_id = 15 [json_name = "eventId"];
        Parameters:
        value - The bytes for eventId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setStreamTimestamp

        public Question.Builder setStreamTimestamp​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      • setStreamTimestamp

        public Question.Builder setStreamTimestamp​(com.google.protobuf.Timestamp.Builder builderForValue)
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      • mergeStreamTimestamp

        public Question.Builder mergeStreamTimestamp​(com.google.protobuf.Timestamp value)
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      • clearStreamTimestamp

        public Question.Builder clearStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
      • getTagsList

        public java.util.List<Tag> getTagsList()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
        Specified by:
        getTagsList in interface QuestionOrBuilder
      • 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
      • setTags

        public Question.Builder setTags​(int index,
                                        Tag value)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • setTags

        public Question.Builder setTags​(int index,
                                        Tag.Builder builderForValue)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • addTags

        public Question.Builder addTags​(Tag value)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • addTags

        public Question.Builder addTags​(int index,
                                        Tag value)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • addTags

        public Question.Builder addTags​(Tag.Builder builderForValue)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • addTags

        public Question.Builder addTags​(int index,
                                        Tag.Builder builderForValue)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • addAllTags

        public Question.Builder addAllTags​(java.lang.Iterable<? extends Tag> values)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • clearTags

        public Question.Builder clearTags()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • removeTags

        public Question.Builder removeTags​(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.
      • setBypassNotifications

        public Question.Builder setBypassNotifications​(BypassNotifications value)
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
      • setBypassNotifications

        public Question.Builder setBypassNotifications​(BypassNotifications.Builder builderForValue)
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
      • mergeBypassNotifications

        public Question.Builder mergeBypassNotifications​(BypassNotifications value)
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
      • clearBypassNotifications

        public Question.Builder clearBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "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.
      • setImportId

        public Question.Builder setImportId​(java.lang.String value)
        string import_id = 19 [json_name = "importId"];
        Parameters:
        value - The importId to set.
        Returns:
        This builder for chaining.
      • clearImportId

        public Question.Builder clearImportId()
        string import_id = 19 [json_name = "importId"];
        Returns:
        This builder for chaining.
      • setImportIdBytes

        public Question.Builder setImportIdBytes​(com.google.protobuf.ByteString value)
        string import_id = 19 [json_name = "importId"];
        Parameters:
        value - The bytes for importId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setActivationTriggerCount

        public Question.Builder setActivationTriggerCount​(int value)
         numbers of activation subscriptions
         
        optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"];
        Parameters:
        value - The activationTriggerCount to set.
        Returns:
        This builder for chaining.
      • clearActivationTriggerCount

        public Question.Builder clearActivationTriggerCount()
         numbers of activation subscriptions
         
        optional uint32 activation_trigger_count = 20 [json_name = "activationTriggerCount"];
        Returns:
        This builder for chaining.
      • 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.
      • setSourceValue

        public Question.Builder setSourceValue​(int value)
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Parameters:
        value - The source to set.
        Returns:
        This builder for chaining.
      • getSource

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

        public Question.Builder setSource​(QuestionSource value)
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Parameters:
        value - The enum numeric value on the wire for source to set.
        Returns:
        This builder for chaining.
      • clearSource

        public Question.Builder clearSource()
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Returns:
        This builder for chaining.
      • 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.
      • clearAi

        public Question.Builder clearAi()
        .streamlayer.interactive.QuestionAi ai = 22 [json_name = "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.
      • setHasTriggers

        public Question.Builder setHasTriggers​(boolean value)
        optional bool has_triggers = 23 [json_name = "hasTriggers"];
        Parameters:
        value - The hasTriggers to set.
        Returns:
        This builder for chaining.
      • clearHasTriggers

        public Question.Builder clearHasTriggers()
        optional bool has_triggers = 23 [json_name = "hasTriggers"];
        Returns:
        This builder for chaining.
      • 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.
      • setCreatedAt

        public Question.Builder setCreatedAt​(java.lang.String value)
        string created_at = 24 [json_name = "createdAt"];
        Parameters:
        value - The createdAt to set.
        Returns:
        This builder for chaining.
      • clearCreatedAt

        public Question.Builder clearCreatedAt()
        string created_at = 24 [json_name = "createdAt"];
        Returns:
        This builder for chaining.
      • setCreatedAtBytes

        public Question.Builder setCreatedAtBytes​(com.google.protobuf.ByteString value)
        string created_at = 24 [json_name = "createdAt"];
        Parameters:
        value - The bytes for createdAt to set.
        Returns:
        This builder for chaining.
      • 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.
      • setName

        public Question.Builder setName​(java.lang.String value)
        optional string name = 25 [json_name = "name"];
        Parameters:
        value - The name to set.
        Returns:
        This builder for chaining.
      • clearName

        public Question.Builder clearName()
        optional string name = 25 [json_name = "name"];
        Returns:
        This builder for chaining.
      • setNameBytes

        public Question.Builder setNameBytes​(com.google.protobuf.ByteString value)
        optional string name = 25 [json_name = "name"];
        Parameters:
        value - The bytes for name to set.
        Returns:
        This builder for chaining.
      • 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.
      • setPromotion

        public Question.Builder setPromotion​(Promotion value)
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
      • setPromotion

        public Question.Builder setPromotion​(Promotion.Builder builderForValue)
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
      • mergePromotion

        public Question.Builder mergePromotion​(Promotion value)
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
      • clearPromotion

        public Question.Builder clearPromotion()
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "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.
      • setBackgroundImage

        public Question.Builder setBackgroundImage​(BackgroundImage value)
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
      • setBackgroundImage

        public Question.Builder setBackgroundImage​(BackgroundImage.Builder builderForValue)
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
      • mergeBackgroundImage

        public Question.Builder mergeBackgroundImage​(BackgroundImage value)
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
      • clearBackgroundImage

        public Question.Builder clearBackgroundImage()
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "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.
      • setStatusPosition

        public Question.Builder setStatusPosition​(int value)
        optional uint32 status_position = 28 [json_name = "statusPosition"];
        Parameters:
        value - The statusPosition to set.
        Returns:
        This builder for chaining.
      • clearStatusPosition

        public Question.Builder clearStatusPosition()
        optional uint32 status_position = 28 [json_name = "statusPosition"];
        Returns:
        This builder for chaining.
      • 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.
      • setActivatedByValue

        public Question.Builder setActivatedByValue​(int value)
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Parameters:
        value - The activatedBy to set.
        Returns:
        This builder for chaining.
      • getActivatedBy

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

        public Question.Builder setActivatedBy​(ActivatedBy value)
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Parameters:
        value - The enum numeric value on the wire for activatedBy to set.
        Returns:
        This builder for chaining.
      • clearActivatedBy

        public Question.Builder clearActivatedBy()
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Returns:
        This builder for chaining.
      • 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.
      • setActivatedByTriggerId

        public Question.Builder setActivatedByTriggerId​(java.lang.String value)
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Parameters:
        value - The activatedByTriggerId to set.
        Returns:
        This builder for chaining.
      • clearActivatedByTriggerId

        public Question.Builder clearActivatedByTriggerId()
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Returns:
        This builder for chaining.
      • setActivatedByTriggerIdBytes

        public Question.Builder setActivatedByTriggerIdBytes​(com.google.protobuf.ByteString value)
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Parameters:
        value - The bytes for activatedByTriggerId to set.
        Returns:
        This builder for chaining.
      • 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.
      • setActivatedByTriggerName

        public Question.Builder setActivatedByTriggerName​(java.lang.String value)
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Parameters:
        value - The activatedByTriggerName to set.
        Returns:
        This builder for chaining.
      • clearActivatedByTriggerName

        public Question.Builder clearActivatedByTriggerName()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Returns:
        This builder for chaining.
      • setActivatedByTriggerNameBytes

        public Question.Builder setActivatedByTriggerNameBytes​(com.google.protobuf.ByteString value)
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Parameters:
        value - The bytes for activatedByTriggerName to set.
        Returns:
        This builder for chaining.
      • hasTemplateId

        public boolean hasTemplateId()
        optional string template_id = 32 [json_name = "templateId"];
        Specified by:
        hasTemplateId in interface QuestionOrBuilder
        Returns:
        Whether the templateId field is set.
      • getTemplateId

        public java.lang.String getTemplateId()
        optional string template_id = 32 [json_name = "templateId"];
        Specified by:
        getTemplateId in interface QuestionOrBuilder
        Returns:
        The templateId.
      • getTemplateIdBytes

        public com.google.protobuf.ByteString getTemplateIdBytes()
        optional string template_id = 32 [json_name = "templateId"];
        Specified by:
        getTemplateIdBytes in interface QuestionOrBuilder
        Returns:
        The bytes for templateId.
      • setTemplateId

        public Question.Builder setTemplateId​(java.lang.String value)
        optional string template_id = 32 [json_name = "templateId"];
        Parameters:
        value - The templateId to set.
        Returns:
        This builder for chaining.
      • clearTemplateId

        public Question.Builder clearTemplateId()
        optional string template_id = 32 [json_name = "templateId"];
        Returns:
        This builder for chaining.
      • setTemplateIdBytes

        public Question.Builder setTemplateIdBytes​(com.google.protobuf.ByteString value)
        optional string template_id = 32 [json_name = "templateId"];
        Parameters:
        value - The bytes for templateId to set.
        Returns:
        This builder for chaining.
      • getAdUnitValue

        public int getAdUnitValue()
        .streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];
        Specified by:
        getAdUnitValue in interface QuestionOrBuilder
        Returns:
        The enum numeric value on the wire for adUnit.
      • setAdUnitValue

        public Question.Builder setAdUnitValue​(int value)
        .streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];
        Parameters:
        value - The adUnit to set.
        Returns:
        This builder for chaining.
      • getAdUnit

        public AdUnit getAdUnit()
        .streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];
        Specified by:
        getAdUnit in interface QuestionOrBuilder
        Returns:
        The adUnit.
      • setAdUnit

        public Question.Builder setAdUnit​(AdUnit value)
        .streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];
        Parameters:
        value - The enum numeric value on the wire for adUnit to set.
        Returns:
        This builder for chaining.
      • clearAdUnit

        public Question.Builder clearAdUnit()
        .streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];
        Returns:
        This builder for chaining.
      • hasAdGroupId

        public boolean hasAdGroupId()
        optional uint32 ad_group_id = 34 [json_name = "adGroupId"];
        Specified by:
        hasAdGroupId in interface QuestionOrBuilder
        Returns:
        Whether the adGroupId field is set.
      • getAdGroupId

        public int getAdGroupId()
        optional uint32 ad_group_id = 34 [json_name = "adGroupId"];
        Specified by:
        getAdGroupId in interface QuestionOrBuilder
        Returns:
        The adGroupId.
      • setAdGroupId

        public Question.Builder setAdGroupId​(int value)
        optional uint32 ad_group_id = 34 [json_name = "adGroupId"];
        Parameters:
        value - The adGroupId to set.
        Returns:
        This builder for chaining.
      • clearAdGroupId

        public Question.Builder clearAdGroupId()
        optional uint32 ad_group_id = 34 [json_name = "adGroupId"];
        Returns:
        This builder for chaining.