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 booleancontainsOverrides(java.lang.String key)path, valuejava.lang.StringgetActivatedAt()string activated_at = 12 [json_name = "activatedAt"];com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 12 [json_name = "activatedAt"];ActivatedBygetActivatedBy()optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];java.lang.StringgetActivatedByTriggerId()optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];com.google.protobuf.ByteStringgetActivatedByTriggerIdBytes()optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];java.lang.StringgetActivatedByTriggerName()optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];com.google.protobuf.ByteStringgetActivatedByTriggerNameBytes()optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];intgetActivatedByValue()optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];intgetActivationTriggerCount()numbers of activation subscriptionsintgetAdGroupId()optional uint32 ad_group_id = 34 [json_name = "adGroupId"];AdUnitgetAdUnit().streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];intgetAdUnitValue().streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];QuestionAigetAi().streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];QuestionAnswergetAnswers(int index)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];intgetAnswersCount()repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];java.lang.StringgetAnswerSetAt()string answer_set_at = 13 [json_name = "answerSetAt"];com.google.protobuf.ByteStringgetAnswerSetAtBytes()string answer_set_at = 13 [json_name = "answerSetAt"];java.util.List<QuestionAnswer>getAnswersList()repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];QuestionAppearancegetAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];BackgroundImagegetBackgroundImage().streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];BypassNotificationsgetBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];java.lang.StringgetCreatedAt()string created_at = 24 [json_name = "createdAt"];com.google.protobuf.ByteStringgetCreatedAtBytes()string created_at = 24 [json_name = "createdAt"];java.lang.StringgetEventId()string event_id = 15 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 15 [json_name = "eventId"];booleangetHasTriggers()optional bool has_triggers = 23 [json_name = "hasTriggers"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetImportId()string import_id = 19 [json_name = "importId"];com.google.protobuf.ByteStringgetImportIdBytes()string import_id = 19 [json_name = "importId"];booleangetMarketClosed()bool market_closed = 11 [json_name = "marketClosed"];java.lang.StringgetName()optional string name = 25 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()optional string name = 25 [json_name = "name"];QuestionNotificationgetNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionOptionsgetOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];java.util.Map<java.lang.String,java.lang.Boolean>getOverrides()Deprecated.intgetOverridesCount()path, valuejava.util.Map<java.lang.String,java.lang.Boolean>getOverridesMap()path, valuebooleangetOverridesOrDefault(java.lang.String key, boolean defaultValue)path, valuebooleangetOverridesOrThrow(java.lang.String key)path, valueintgetPosition()optional uint32 position = 10 [json_name = "position"];PromotiongetPromotion().streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];QuestionSourcegetSource().streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];intgetSourceValue().streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];SponsorshipgetSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];intgetStatusPosition()optional uint32 status_position = 28 [json_name = "statusPosition"];intgetStatusValue().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];com.google.protobuf.TimestampgetStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];java.lang.StringgetSubject()optional string subject = 3 [json_name = "subject"];com.google.protobuf.ByteStringgetSubjectBytes()optional string subject = 3 [json_name = "subject"];TaggetTags(int index)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];intgetTagsCount()repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];java.util.List<Tag>getTagsList()repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];java.lang.StringgetTemplateId()optional string template_id = 32 [json_name = "templateId"];com.google.protobuf.ByteStringgetTemplateIdBytes()optional string template_id = 32 [json_name = "templateId"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasActivatedBy()optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];booleanhasActivatedByTriggerId()optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];booleanhasActivatedByTriggerName()optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];booleanhasActivationTriggerCount()numbers of activation subscriptionsbooleanhasAdGroupId()optional uint32 ad_group_id = 34 [json_name = "adGroupId"];booleanhasAi().streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];booleanhasAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];booleanhasBackgroundImage().streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];booleanhasBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];booleanhasHasTriggers()optional bool has_triggers = 23 [json_name = "hasTriggers"];booleanhasName()optional string name = 25 [json_name = "name"];booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];booleanhasOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];booleanhasPosition()optional uint32 position = 10 [json_name = "position"];booleanhasPromotion().streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];booleanhasSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];booleanhasStatusPosition()optional uint32 status_position = 28 [json_name = "statusPosition"];booleanhasStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];booleanhasSubject()optional string subject = 3 [json_name = "subject"];booleanhasTemplateId()optional string template_id = 32 [json_name = "templateId"];
-
-
-
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.UsegetOverridesMap()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.
-
hasTemplateId
boolean hasTemplateId()
optional string template_id = 32 [json_name = "templateId"];- Returns:
- Whether the templateId field is set.
-
getTemplateId
java.lang.String getTemplateId()
optional string template_id = 32 [json_name = "templateId"];- Returns:
- The templateId.
-
getTemplateIdBytes
com.google.protobuf.ByteString getTemplateIdBytes()
optional string template_id = 32 [json_name = "templateId"];- Returns:
- The bytes for templateId.
-
getAdUnitValue
int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];- Returns:
- The enum numeric value on the wire for adUnit.
-
getAdUnit
AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];- Returns:
- The adUnit.
-
hasAdGroupId
boolean hasAdGroupId()
optional uint32 ad_group_id = 34 [json_name = "adGroupId"];- Returns:
- Whether the adGroupId field is set.
-
getAdGroupId
int getAdGroupId()
optional uint32 ad_group_id = 34 [json_name = "adGroupId"];- Returns:
- The adGroupId.
-
-