Interface QuestionOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder
    All Known Implementing Classes:
    Question, Question.Builder

    public interface QuestionOrBuilder
    extends com.google.protobuf.MessageLiteOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods Deprecated Methods 
      Modifier and Type Method Description
      boolean containsOverrides​(java.lang.String key)
      path, value
      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"];
      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"];
      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"];
      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"];
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        getDefaultInstanceForType, isInitialized
    • Method Detail

      • getId

        java.lang.String getId()
        string id = 1 [json_name = "id"];
        Returns:
        The id.
      • getIdBytes

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

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

        QuestionType getType()
        .streamlayer.interactive.QuestionType type = 2 [json_name = "type"];
        Returns:
        The type.
      • hasSubject

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

        java.lang.String getSubject()
        optional string subject = 3 [json_name = "subject"];
        Returns:
        The subject.
      • getSubjectBytes

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

        boolean hasOptions()
        .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
        Returns:
        Whether the options field is set.
      • getOptions

        QuestionOptions getOptions()
        .streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
        Returns:
        The options.
      • hasAppearance

        boolean hasAppearance()
        .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
        Returns:
        Whether the appearance field is set.
      • getAppearance

        QuestionAppearance getAppearance()
        .streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
        Returns:
        The appearance.
      • hasSponsorship

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

        Sponsorship getSponsorship()
        .streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
        Returns:
        The sponsorship.
      • hasNotification

        boolean hasNotification()
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
        Returns:
        Whether the notification field is set.
      • getNotification

        QuestionNotification getNotification()
        .streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
        Returns:
        The notification.
      • getAnswersList

        java.util.List<QuestionAnswer> getAnswersList()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • getAnswers

        QuestionAnswer getAnswers​(int index)
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • getAnswersCount

        int getAnswersCount()
        repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
      • getStatusValue

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

        QuestionStatus getStatus()
        .streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];
        Returns:
        The status.
      • hasPosition

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

        int getPosition()
        optional uint32 position = 10 [json_name = "position"];
        Returns:
        The position.
      • getMarketClosed

        boolean getMarketClosed()
        bool market_closed = 11 [json_name = "marketClosed"];
        Returns:
        The marketClosed.
      • getActivatedAt

        java.lang.String getActivatedAt()
        string activated_at = 12 [json_name = "activatedAt"];
        Returns:
        The activatedAt.
      • getActivatedAtBytes

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

        java.lang.String getAnswerSetAt()
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Returns:
        The answerSetAt.
      • getAnswerSetAtBytes

        com.google.protobuf.ByteString getAnswerSetAtBytes()
        string answer_set_at = 13 [json_name = "answerSetAt"];
        Returns:
        The bytes for answerSetAt.
      • getOverridesCount

        int getOverridesCount()
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • containsOverrides

        boolean containsOverrides​(java.lang.String key)
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • getOverrides

        @Deprecated
        java.util.Map<java.lang.String,​java.lang.Boolean> getOverrides()
        Deprecated.
        Use getOverridesMap() instead.
      • getOverridesMap

        java.util.Map<java.lang.String,​java.lang.Boolean> getOverridesMap()
         path, value
         
        map<string, bool> overrides = 14 [json_name = "overrides"];
      • getOverridesOrDefault

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

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

        java.lang.String getEventId()
        string event_id = 15 [json_name = "eventId"];
        Returns:
        The eventId.
      • getEventIdBytes

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

        boolean hasStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
        Returns:
        Whether the streamTimestamp field is set.
      • getStreamTimestamp

        com.google.protobuf.Timestamp getStreamTimestamp()
        .google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];
        Returns:
        The streamTimestamp.
      • getTagsList

        java.util.List<Tag> getTagsList()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • getTags

        Tag getTags​(int index)
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • getTagsCount

        int getTagsCount()
        repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
      • hasBypassNotifications

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

        BypassNotifications getBypassNotifications()
        .streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];
        Returns:
        The bypassNotifications.
      • getImportId

        java.lang.String getImportId()
        string import_id = 19 [json_name = "importId"];
        Returns:
        The importId.
      • getImportIdBytes

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

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

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

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

        QuestionSource getSource()
        .streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];
        Returns:
        The source.
      • hasAi

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

        QuestionAi getAi()
        .streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
        Returns:
        The ai.
      • hasHasTriggers

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

        boolean getHasTriggers()
        optional bool has_triggers = 23 [json_name = "hasTriggers"];
        Returns:
        The hasTriggers.
      • getCreatedAt

        java.lang.String getCreatedAt()
        string created_at = 24 [json_name = "createdAt"];
        Returns:
        The createdAt.
      • getCreatedAtBytes

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

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

        java.lang.String getName()
        optional string name = 25 [json_name = "name"];
        Returns:
        The name.
      • getNameBytes

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

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

        Promotion getPromotion()
        .streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];
        Returns:
        The promotion.
      • hasBackgroundImage

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

        BackgroundImage getBackgroundImage()
        .streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];
        Returns:
        The backgroundImage.
      • hasStatusPosition

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

        int getStatusPosition()
        optional uint32 status_position = 28 [json_name = "statusPosition"];
        Returns:
        The statusPosition.
      • hasActivatedBy

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

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

        ActivatedBy getActivatedBy()
        optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];
        Returns:
        The activatedBy.
      • hasActivatedByTriggerId

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

        java.lang.String getActivatedByTriggerId()
        optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];
        Returns:
        The activatedByTriggerId.
      • getActivatedByTriggerIdBytes

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

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

        java.lang.String getActivatedByTriggerName()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Returns:
        The activatedByTriggerName.
      • getActivatedByTriggerNameBytes

        com.google.protobuf.ByteString getActivatedByTriggerNameBytes()
        optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];
        Returns:
        The bytes for activatedByTriggerName.