Class Question.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Question,Question.Builder>
-
- com.streamlayer.interactive.common.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 typestreamlayer.interactive.Question
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Question.BuilderaddAllAnswers(java.lang.Iterable<? extends QuestionAnswer> values)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderaddAllTags(java.lang.Iterable<? extends Tag> values)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderaddAnswers(int index, QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderaddAnswers(int index, QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderaddAnswers(QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderaddAnswers(QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderaddTags(int index, Tag value)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderaddTags(int index, Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderaddTags(Tag value)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderaddTags(Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderclearActivatedAt()string activated_at = 12 [json_name = "activatedAt"];Question.BuilderclearActivatedBy()optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];Question.BuilderclearActivatedByTriggerId()optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];Question.BuilderclearActivatedByTriggerName()optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];Question.BuilderclearActivationTriggerCount()numbers of activation subscriptionsQuestion.BuilderclearAdGroupId()optional uint32 ad_group_id = 34 [json_name = "adGroupId"];Question.BuilderclearAdUnit().streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];Question.BuilderclearAi().streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];Question.BuilderclearAnswers()repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderclearAnswerSetAt()string answer_set_at = 13 [json_name = "answerSetAt"];Question.BuilderclearAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Question.BuilderclearBackgroundImage().streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];Question.BuilderclearBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];Question.BuilderclearCreatedAt()string created_at = 24 [json_name = "createdAt"];Question.BuilderclearEventId()string event_id = 15 [json_name = "eventId"];Question.BuilderclearHasTriggers()optional bool has_triggers = 23 [json_name = "hasTriggers"];Question.BuilderclearId()string id = 1 [json_name = "id"];Question.BuilderclearImportId()string import_id = 19 [json_name = "importId"];Question.BuilderclearMarketClosed()bool market_closed = 11 [json_name = "marketClosed"];Question.BuilderclearName()optional string name = 25 [json_name = "name"];Question.BuilderclearNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Question.BuilderclearOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Question.BuilderclearOverrides()Question.BuilderclearPosition()optional uint32 position = 10 [json_name = "position"];Question.BuilderclearPromotion().streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];Question.BuilderclearSource().streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];Question.BuilderclearSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Question.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];Question.BuilderclearStatusPosition()optional uint32 status_position = 28 [json_name = "statusPosition"];Question.BuilderclearStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];Question.BuilderclearSubject()optional string subject = 3 [json_name = "subject"];Question.BuilderclearTags()repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuilderclearTemplateId()optional string template_id = 32 [json_name = "templateId"];Question.BuilderclearType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];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"];Question.BuildermergeAi(QuestionAi value).streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];Question.BuildermergeAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Question.BuildermergeBackgroundImage(BackgroundImage value).streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];Question.BuildermergeBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];Question.BuildermergeNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Question.BuildermergeOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Question.BuildermergePromotion(Promotion value).streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];Question.BuildermergeSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Question.BuildermergeStreamTimestamp(com.google.protobuf.Timestamp value).google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];Question.BuilderputAllOverrides(java.util.Map<java.lang.String,java.lang.Boolean> values)path, valueQuestion.BuilderputOverrides(java.lang.String key, boolean value)path, valueQuestion.BuilderremoveAnswers(int index)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuilderremoveOverrides(java.lang.String key)path, valueQuestion.BuilderremoveTags(int index)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuildersetActivatedAt(java.lang.String value)string activated_at = 12 [json_name = "activatedAt"];Question.BuildersetActivatedAtBytes(com.google.protobuf.ByteString value)string activated_at = 12 [json_name = "activatedAt"];Question.BuildersetActivatedBy(ActivatedBy value)optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];Question.BuildersetActivatedByTriggerId(java.lang.String value)optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];Question.BuildersetActivatedByTriggerIdBytes(com.google.protobuf.ByteString value)optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];Question.BuildersetActivatedByTriggerName(java.lang.String value)optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];Question.BuildersetActivatedByTriggerNameBytes(com.google.protobuf.ByteString value)optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];Question.BuildersetActivatedByValue(int value)optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];Question.BuildersetActivationTriggerCount(int value)numbers of activation subscriptionsQuestion.BuildersetAdGroupId(int value)optional uint32 ad_group_id = 34 [json_name = "adGroupId"];Question.BuildersetAdUnit(AdUnit value).streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];Question.BuildersetAdUnitValue(int value).streamlayer.interactive.AdUnit ad_unit = 33 [json_name = "adUnit"];Question.BuildersetAi(QuestionAi value).streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];Question.BuildersetAi(QuestionAi.Builder builderForValue).streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];Question.BuildersetAnswers(int index, QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuildersetAnswers(int index, QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Question.BuildersetAnswerSetAt(java.lang.String value)string answer_set_at = 13 [json_name = "answerSetAt"];Question.BuildersetAnswerSetAtBytes(com.google.protobuf.ByteString value)string answer_set_at = 13 [json_name = "answerSetAt"];Question.BuildersetAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Question.BuildersetAppearance(QuestionAppearance.Builder builderForValue).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Question.BuildersetBackgroundImage(BackgroundImage value).streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];Question.BuildersetBackgroundImage(BackgroundImage.Builder builderForValue).streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];Question.BuildersetBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];Question.BuildersetBypassNotifications(BypassNotifications.Builder builderForValue).streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];Question.BuildersetCreatedAt(java.lang.String value)string created_at = 24 [json_name = "createdAt"];Question.BuildersetCreatedAtBytes(com.google.protobuf.ByteString value)string created_at = 24 [json_name = "createdAt"];Question.BuildersetEventId(java.lang.String value)string event_id = 15 [json_name = "eventId"];Question.BuildersetEventIdBytes(com.google.protobuf.ByteString value)string event_id = 15 [json_name = "eventId"];Question.BuildersetHasTriggers(boolean value)optional bool has_triggers = 23 [json_name = "hasTriggers"];Question.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];Question.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];Question.BuildersetImportId(java.lang.String value)string import_id = 19 [json_name = "importId"];Question.BuildersetImportIdBytes(com.google.protobuf.ByteString value)string import_id = 19 [json_name = "importId"];Question.BuildersetMarketClosed(boolean value)bool market_closed = 11 [json_name = "marketClosed"];Question.BuildersetName(java.lang.String value)optional string name = 25 [json_name = "name"];Question.BuildersetNameBytes(com.google.protobuf.ByteString value)optional string name = 25 [json_name = "name"];Question.BuildersetNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Question.BuildersetNotification(QuestionNotification.Builder builderForValue).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Question.BuildersetOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Question.BuildersetOptions(QuestionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Question.BuildersetPosition(int value)optional uint32 position = 10 [json_name = "position"];Question.BuildersetPromotion(Promotion value).streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];Question.BuildersetPromotion(Promotion.Builder builderForValue).streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];Question.BuildersetSource(QuestionSource value).streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];Question.BuildersetSourceValue(int value).streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];Question.BuildersetSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Question.BuildersetSponsorship(Sponsorship.Builder builderForValue).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Question.BuildersetStatus(QuestionStatus value).streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];Question.BuildersetStatusPosition(int value)optional uint32 status_position = 28 [json_name = "statusPosition"];Question.BuildersetStatusValue(int value).streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];Question.BuildersetStreamTimestamp(com.google.protobuf.Timestamp value).google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];Question.BuildersetStreamTimestamp(com.google.protobuf.Timestamp.Builder builderForValue).google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];Question.BuildersetSubject(java.lang.String value)optional string subject = 3 [json_name = "subject"];Question.BuildersetSubjectBytes(com.google.protobuf.ByteString value)optional string subject = 3 [json_name = "subject"];Question.BuildersetTags(int index, Tag value)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuildersetTags(int index, Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];Question.BuildersetTemplateId(java.lang.String value)optional string template_id = 32 [json_name = "templateId"];Question.BuildersetTemplateIdBytes(com.google.protobuf.ByteString value)optional string template_id = 32 [json_name = "templateId"];Question.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];Question.BuildersetTypeValue(int value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];-
Methods inherited from class com.google.protobuf.GeneratedMessageLite.Builder
build, buildPartial, clear, clone, copyOnWrite, copyOnWriteInternal, getDefaultInstanceForType, internalMergeFrom, isInitialized, mergeFrom, mergeFrom, mergeFrom, mergeFrom
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException
-
-
-
-
Method Detail
-
getId
public java.lang.String getId()
string id = 1 [json_name = "id"];- Specified by:
getIdin interfaceQuestionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceQuestionOrBuilder- 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:
getTypeValuein interfaceQuestionOrBuilder- 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:
getTypein interfaceQuestionOrBuilder- 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:
hasSubjectin interfaceQuestionOrBuilder- Returns:
- Whether the subject field is set.
-
getSubject
public java.lang.String getSubject()
optional string subject = 3 [json_name = "subject"];- Specified by:
getSubjectin interfaceQuestionOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
optional string subject = 3 [json_name = "subject"];- Specified by:
getSubjectBytesin interfaceQuestionOrBuilder- 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:
hasOptionsin interfaceQuestionOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];- Specified by:
getOptionsin interfaceQuestionOrBuilder- Returns:
- The options.
-
setOptions
public Question.Builder setOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
setOptions
public Question.Builder setOptions(QuestionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
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:
hasAppearancein interfaceQuestionOrBuilder- Returns:
- Whether the appearance field is set.
-
getAppearance
public QuestionAppearance getAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];- Specified by:
getAppearancein interfaceQuestionOrBuilder- Returns:
- The appearance.
-
setAppearance
public Question.Builder setAppearance(QuestionAppearance value)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
setAppearance
public Question.Builder setAppearance(QuestionAppearance.Builder builderForValue)
.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:
hasSponsorshipin interfaceQuestionOrBuilder- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
public Sponsorship getSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];- Specified by:
getSponsorshipin interfaceQuestionOrBuilder- 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:
hasNotificationin interfaceQuestionOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
getNotificationin interfaceQuestionOrBuilder- Returns:
- The notification.
-
setNotification
public Question.Builder setNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
setNotification
public Question.Builder setNotification(QuestionNotification.Builder builderForValue)
.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"];
-
getAnswersList
public java.util.List<QuestionAnswer> getAnswersList()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersListin interfaceQuestionOrBuilder
-
getAnswersCount
public int getAnswersCount()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersCountin interfaceQuestionOrBuilder
-
getAnswers
public QuestionAnswer getAnswers(int index)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersin interfaceQuestionOrBuilder
-
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(QuestionAnswer.Builder builderForValue)
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:
getStatusValuein interfaceQuestionOrBuilder- 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:
getStatusin interfaceQuestionOrBuilder- 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:
hasPositionin interfaceQuestionOrBuilder- Returns:
- Whether the position field is set.
-
getPosition
public int getPosition()
optional uint32 position = 10 [json_name = "position"];- Specified by:
getPositionin interfaceQuestionOrBuilder- 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:
getMarketClosedin interfaceQuestionOrBuilder- 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:
getActivatedAtin interfaceQuestionOrBuilder- Returns:
- The activatedAt.
-
getActivatedAtBytes
public com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 12 [json_name = "activatedAt"];- Specified by:
getActivatedAtBytesin interfaceQuestionOrBuilder- 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:
getAnswerSetAtin interfaceQuestionOrBuilder- Returns:
- The answerSetAt.
-
getAnswerSetAtBytes
public com.google.protobuf.ByteString getAnswerSetAtBytes()
string answer_set_at = 13 [json_name = "answerSetAt"];- Specified by:
getAnswerSetAtBytesin interfaceQuestionOrBuilder- 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.
-
getOverridesCount
public int getOverridesCount()
Description copied from interface:QuestionOrBuilderpath, value
map<string, bool> overrides = 14 [json_name = "overrides"];- Specified by:
getOverridesCountin interfaceQuestionOrBuilder
-
containsOverrides
public boolean containsOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 14 [json_name = "overrides"];- Specified by:
containsOverridesin interfaceQuestionOrBuilder
-
clearOverrides
public Question.Builder clearOverrides()
-
removeOverrides
public Question.Builder removeOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 14 [json_name = "overrides"];
-
getOverrides
@Deprecated public java.util.Map<java.lang.String,java.lang.Boolean> getOverrides()
Deprecated.UsegetOverridesMap()instead.- Specified by:
getOverridesin interfaceQuestionOrBuilder
-
getOverridesMap
public java.util.Map<java.lang.String,java.lang.Boolean> getOverridesMap()
path, value
map<string, bool> overrides = 14 [json_name = "overrides"];- Specified by:
getOverridesMapin interfaceQuestionOrBuilder
-
getOverridesOrDefault
public boolean getOverridesOrDefault(java.lang.String key, boolean defaultValue)path, value
map<string, bool> overrides = 14 [json_name = "overrides"];- Specified by:
getOverridesOrDefaultin interfaceQuestionOrBuilder
-
getOverridesOrThrow
public boolean getOverridesOrThrow(java.lang.String key)
path, value
map<string, bool> overrides = 14 [json_name = "overrides"];- Specified by:
getOverridesOrThrowin interfaceQuestionOrBuilder
-
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:
getEventIdin interfaceQuestionOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 15 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceQuestionOrBuilder- 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:
hasStreamTimestampin interfaceQuestionOrBuilder- 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:
getStreamTimestampin interfaceQuestionOrBuilder- 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:
getTagsListin interfaceQuestionOrBuilder
-
getTagsCount
public int getTagsCount()
repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];- Specified by:
getTagsCountin interfaceQuestionOrBuilder
-
getTags
public Tag getTags(int index)
repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];- Specified by:
getTagsin interfaceQuestionOrBuilder
-
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:
hasBypassNotificationsin interfaceQuestionOrBuilder- Returns:
- Whether the bypassNotifications field is set.
-
getBypassNotifications
public BypassNotifications getBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];- Specified by:
getBypassNotificationsin interfaceQuestionOrBuilder- 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:
getImportIdin interfaceQuestionOrBuilder- Returns:
- The importId.
-
getImportIdBytes
public com.google.protobuf.ByteString getImportIdBytes()
string import_id = 19 [json_name = "importId"];- Specified by:
getImportIdBytesin interfaceQuestionOrBuilder- 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:
hasActivationTriggerCountin interfaceQuestionOrBuilder- 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:
getActivationTriggerCountin interfaceQuestionOrBuilder- 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:
getSourceValuein interfaceQuestionOrBuilder- 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:
getSourcein interfaceQuestionOrBuilder- 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:
hasAiin interfaceQuestionOrBuilder- Returns:
- Whether the ai field is set.
-
getAi
public QuestionAi getAi()
.streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];- Specified by:
getAiin interfaceQuestionOrBuilder- Returns:
- The ai.
-
setAi
public Question.Builder setAi(QuestionAi value)
.streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
-
setAi
public Question.Builder setAi(QuestionAi.Builder builderForValue)
.streamlayer.interactive.QuestionAi ai = 22 [json_name = "ai"];
-
mergeAi
public Question.Builder mergeAi(QuestionAi value)
.streamlayer.interactive.QuestionAi ai = 22 [json_name = "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:
hasHasTriggersin interfaceQuestionOrBuilder- Returns:
- Whether the hasTriggers field is set.
-
getHasTriggers
public boolean getHasTriggers()
optional bool has_triggers = 23 [json_name = "hasTriggers"];- Specified by:
getHasTriggersin interfaceQuestionOrBuilder- 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:
getCreatedAtin interfaceQuestionOrBuilder- Returns:
- The createdAt.
-
getCreatedAtBytes
public com.google.protobuf.ByteString getCreatedAtBytes()
string created_at = 24 [json_name = "createdAt"];- Specified by:
getCreatedAtBytesin interfaceQuestionOrBuilder- 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:
hasNamein interfaceQuestionOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 25 [json_name = "name"];- Specified by:
getNamein interfaceQuestionOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 25 [json_name = "name"];- Specified by:
getNameBytesin interfaceQuestionOrBuilder- 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:
hasPromotionin interfaceQuestionOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public Promotion getPromotion()
.streamlayer.interactive.Promotion promotion = 26 [json_name = "promotion"];- Specified by:
getPromotionin interfaceQuestionOrBuilder- 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:
hasBackgroundImagein interfaceQuestionOrBuilder- Returns:
- Whether the backgroundImage field is set.
-
getBackgroundImage
public BackgroundImage getBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 27 [json_name = "backgroundImage"];- Specified by:
getBackgroundImagein interfaceQuestionOrBuilder- 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:
hasStatusPositionin interfaceQuestionOrBuilder- Returns:
- Whether the statusPosition field is set.
-
getStatusPosition
public int getStatusPosition()
optional uint32 status_position = 28 [json_name = "statusPosition"];- Specified by:
getStatusPositionin interfaceQuestionOrBuilder- 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:
hasActivatedByin interfaceQuestionOrBuilder- Returns:
- Whether the activatedBy field is set.
-
getActivatedByValue
public int getActivatedByValue()
optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];- Specified by:
getActivatedByValuein interfaceQuestionOrBuilder- 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:
getActivatedByin interfaceQuestionOrBuilder- 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:
hasActivatedByTriggerIdin interfaceQuestionOrBuilder- 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:
getActivatedByTriggerIdin interfaceQuestionOrBuilder- Returns:
- The activatedByTriggerId.
-
getActivatedByTriggerIdBytes
public com.google.protobuf.ByteString getActivatedByTriggerIdBytes()
optional string activated_by_trigger_id = 30 [json_name = "activatedByTriggerId"];- Specified by:
getActivatedByTriggerIdBytesin interfaceQuestionOrBuilder- 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:
hasActivatedByTriggerNamein interfaceQuestionOrBuilder- 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:
getActivatedByTriggerNamein interfaceQuestionOrBuilder- Returns:
- The activatedByTriggerName.
-
getActivatedByTriggerNameBytes
public com.google.protobuf.ByteString getActivatedByTriggerNameBytes()
optional string activated_by_trigger_name = 31 [json_name = "activatedByTriggerName"];- Specified by:
getActivatedByTriggerNameBytesin interfaceQuestionOrBuilder- 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:
hasTemplateIdin interfaceQuestionOrBuilder- Returns:
- Whether the templateId field is set.
-
getTemplateId
public java.lang.String getTemplateId()
optional string template_id = 32 [json_name = "templateId"];- Specified by:
getTemplateIdin interfaceQuestionOrBuilder- Returns:
- The templateId.
-
getTemplateIdBytes
public com.google.protobuf.ByteString getTemplateIdBytes()
optional string template_id = 32 [json_name = "templateId"];- Specified by:
getTemplateIdBytesin interfaceQuestionOrBuilder- 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:
getAdUnitValuein interfaceQuestionOrBuilder- 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:
getAdUnitin interfaceQuestionOrBuilder- 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:
hasAdGroupIdin interfaceQuestionOrBuilder- Returns:
- Whether the adGroupId field is set.
-
getAdGroupId
public int getAdGroupId()
optional uint32 ad_group_id = 34 [json_name = "adGroupId"];- Specified by:
getAdGroupIdin interfaceQuestionOrBuilder- 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.
-
-