Class Template.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<Template,Template.Builder>
-
- com.streamlayer.interactive.common.Template.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,TemplateOrBuilder,java.lang.Cloneable
- Enclosing class:
- Template
public static final class Template.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<Template,Template.Builder> implements TemplateOrBuilder
Protobuf typestreamlayer.interactive.Template
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description Template.BuilderaddAllAnswers(java.lang.Iterable<? extends QuestionAnswer> values)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderaddAllEventIds(java.lang.Iterable<java.lang.String> values)repeated string event_ids = 20 [json_name = "eventIds"];Template.BuilderaddAllTags(java.lang.Iterable<? extends Tag> values)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderaddAnswers(int index, QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderaddAnswers(int index, QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderaddAnswers(QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderaddAnswers(QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderaddEventIds(java.lang.String value)repeated string event_ids = 20 [json_name = "eventIds"];Template.BuilderaddEventIdsBytes(com.google.protobuf.ByteString value)repeated string event_ids = 20 [json_name = "eventIds"];Template.BuilderaddTags(int index, Tag value)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderaddTags(int index, Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderaddTags(Tag value)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderaddTags(Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderclearAdUnit().streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];Template.BuilderclearAi().streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];Template.BuilderclearAnswers()repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderclearAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Template.BuilderclearBackgroundImage().streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];Template.BuilderclearBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];Template.BuilderclearCreatedAt()string created_at = 14 [json_name = "createdAt"];Template.BuilderclearEventIds()repeated string event_ids = 20 [json_name = "eventIds"];Template.BuilderclearHasTriggers()optional bool has_triggers = 13 [json_name = "hasTriggers"];Template.BuilderclearId()string id = 1 [json_name = "id"];Template.BuilderclearName()optional string name = 15 [json_name = "name"];Template.BuilderclearNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Template.BuilderclearOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Template.BuilderclearOverrides()Template.BuilderclearPromotion().streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];Template.BuilderclearQuestionCount()optional int32 question_count = 19 [json_name = "questionCount"];Template.BuilderclearSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Template.BuilderclearSubject()optional string subject = 3 [json_name = "subject"];Template.BuilderclearTags()repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuilderclearType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleancontainsOverrides(java.lang.String key)path, valueAdUnitgetAdUnit().streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];intgetAdUnitValue().streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];QuestionAigetAi().streamlayer.interactive.QuestionAi ai = 12 [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.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 = 17 [json_name = "backgroundImage"];BypassNotificationsgetBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];java.lang.StringgetCreatedAt()string created_at = 14 [json_name = "createdAt"];com.google.protobuf.ByteStringgetCreatedAtBytes()string created_at = 14 [json_name = "createdAt"];java.lang.StringgetEventIds(int index)repeated string event_ids = 20 [json_name = "eventIds"];com.google.protobuf.ByteStringgetEventIdsBytes(int index)repeated string event_ids = 20 [json_name = "eventIds"];intgetEventIdsCount()repeated string event_ids = 20 [json_name = "eventIds"];java.util.List<java.lang.String>getEventIdsList()repeated string event_ids = 20 [json_name = "eventIds"];booleangetHasTriggers()optional bool has_triggers = 13 [json_name = "hasTriggers"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];java.lang.StringgetName()optional string name = 15 [json_name = "name"];com.google.protobuf.ByteStringgetNameBytes()optional string name = 15 [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, valuePromotiongetPromotion().streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];intgetQuestionCount()optional int32 question_count = 19 [json_name = "questionCount"];SponsorshipgetSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];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 = 10 [json_name = "tags"];intgetTagsCount()repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];java.util.List<Tag>getTagsList()repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasAi().streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];booleanhasAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];booleanhasBackgroundImage().streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];booleanhasBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];booleanhasHasTriggers()optional bool has_triggers = 13 [json_name = "hasTriggers"];booleanhasName()optional string name = 15 [json_name = "name"];booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];booleanhasOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];booleanhasPromotion().streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];booleanhasQuestionCount()optional int32 question_count = 19 [json_name = "questionCount"];booleanhasSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];booleanhasSubject()optional string subject = 3 [json_name = "subject"];Template.BuildermergeAi(QuestionAi value).streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];Template.BuildermergeAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Template.BuildermergeBackgroundImage(BackgroundImage value).streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];Template.BuildermergeBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];Template.BuildermergeNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Template.BuildermergeOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Template.BuildermergePromotion(Promotion value).streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];Template.BuildermergeSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Template.BuilderputAllOverrides(java.util.Map<java.lang.String,java.lang.Boolean> values)path, valueTemplate.BuilderputOverrides(java.lang.String key, boolean value)path, valueTemplate.BuilderremoveAnswers(int index)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuilderremoveOverrides(java.lang.String key)path, valueTemplate.BuilderremoveTags(int index)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuildersetAdUnit(AdUnit value).streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];Template.BuildersetAdUnitValue(int value).streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];Template.BuildersetAi(QuestionAi value).streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];Template.BuildersetAi(QuestionAi.Builder builderForValue).streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];Template.BuildersetAnswers(int index, QuestionAnswer value)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuildersetAnswers(int index, QuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];Template.BuildersetAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Template.BuildersetAppearance(QuestionAppearance.Builder builderForValue).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];Template.BuildersetBackgroundImage(BackgroundImage value).streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];Template.BuildersetBackgroundImage(BackgroundImage.Builder builderForValue).streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];Template.BuildersetBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];Template.BuildersetBypassNotifications(BypassNotifications.Builder builderForValue).streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];Template.BuildersetCreatedAt(java.lang.String value)string created_at = 14 [json_name = "createdAt"];Template.BuildersetCreatedAtBytes(com.google.protobuf.ByteString value)string created_at = 14 [json_name = "createdAt"];Template.BuildersetEventIds(int index, java.lang.String value)repeated string event_ids = 20 [json_name = "eventIds"];Template.BuildersetHasTriggers(boolean value)optional bool has_triggers = 13 [json_name = "hasTriggers"];Template.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];Template.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];Template.BuildersetName(java.lang.String value)optional string name = 15 [json_name = "name"];Template.BuildersetNameBytes(com.google.protobuf.ByteString value)optional string name = 15 [json_name = "name"];Template.BuildersetNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Template.BuildersetNotification(QuestionNotification.Builder builderForValue).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];Template.BuildersetOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Template.BuildersetOptions(QuestionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];Template.BuildersetPromotion(Promotion value).streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];Template.BuildersetPromotion(Promotion.Builder builderForValue).streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];Template.BuildersetQuestionCount(int value)optional int32 question_count = 19 [json_name = "questionCount"];Template.BuildersetSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Template.BuildersetSponsorship(Sponsorship.Builder builderForValue).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Template.BuildersetSubject(java.lang.String value)optional string subject = 3 [json_name = "subject"];Template.BuildersetSubjectBytes(com.google.protobuf.ByteString value)optional string subject = 3 [json_name = "subject"];Template.BuildersetTags(int index, Tag value)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuildersetTags(int index, Tag.Builder builderForValue)repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];Template.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];Template.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 interfaceTemplateOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceTemplateOrBuilder- Returns:
- The bytes for id.
-
setId
public Template.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 Template.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public Template.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 interfaceTemplateOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public Template.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 interfaceTemplateOrBuilder- Returns:
- The type.
-
setType
public Template.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 Template.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 interfaceTemplateOrBuilder- Returns:
- Whether the subject field is set.
-
getSubject
public java.lang.String getSubject()
optional string subject = 3 [json_name = "subject"];- Specified by:
getSubjectin interfaceTemplateOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
optional string subject = 3 [json_name = "subject"];- Specified by:
getSubjectBytesin interfaceTemplateOrBuilder- Returns:
- The bytes for subject.
-
setSubject
public Template.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 Template.Builder clearSubject()
optional string subject = 3 [json_name = "subject"];- Returns:
- This builder for chaining.
-
setSubjectBytes
public Template.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 interfaceTemplateOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];- Specified by:
getOptionsin interfaceTemplateOrBuilder- Returns:
- The options.
-
setOptions
public Template.Builder setOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
setOptions
public Template.Builder setOptions(QuestionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
mergeOptions
public Template.Builder mergeOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
clearOptions
public Template.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 interfaceTemplateOrBuilder- Returns:
- Whether the appearance field is set.
-
getAppearance
public QuestionAppearance getAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];- Specified by:
getAppearancein interfaceTemplateOrBuilder- Returns:
- The appearance.
-
setAppearance
public Template.Builder setAppearance(QuestionAppearance value)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
setAppearance
public Template.Builder setAppearance(QuestionAppearance.Builder builderForValue)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
mergeAppearance
public Template.Builder mergeAppearance(QuestionAppearance value)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
clearAppearance
public Template.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 interfaceTemplateOrBuilder- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
public Sponsorship getSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];- Specified by:
getSponsorshipin interfaceTemplateOrBuilder- Returns:
- The sponsorship.
-
setSponsorship
public Template.Builder setSponsorship(Sponsorship value)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
setSponsorship
public Template.Builder setSponsorship(Sponsorship.Builder builderForValue)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
mergeSponsorship
public Template.Builder mergeSponsorship(Sponsorship value)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
clearSponsorship
public Template.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 interfaceTemplateOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
getNotificationin interfaceTemplateOrBuilder- Returns:
- The notification.
-
setNotification
public Template.Builder setNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
setNotification
public Template.Builder setNotification(QuestionNotification.Builder builderForValue)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
mergeNotification
public Template.Builder mergeNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
clearNotification
public Template.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 interfaceTemplateOrBuilder
-
getAnswersCount
public int getAnswersCount()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersCountin interfaceTemplateOrBuilder
-
getAnswers
public QuestionAnswer getAnswers(int index)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersin interfaceTemplateOrBuilder
-
setAnswers
public Template.Builder setAnswers(int index, QuestionAnswer value)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
setAnswers
public Template.Builder setAnswers(int index, QuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public Template.Builder addAnswers(QuestionAnswer value)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public Template.Builder addAnswers(int index, QuestionAnswer value)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public Template.Builder addAnswers(QuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public Template.Builder addAnswers(int index, QuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
addAllAnswers
public Template.Builder addAllAnswers(java.lang.Iterable<? extends QuestionAnswer> values)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
clearAnswers
public Template.Builder clearAnswers()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
removeAnswers
public Template.Builder removeAnswers(int index)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
getOverridesCount
public int getOverridesCount()
Description copied from interface:TemplateOrBuilderpath, value
map<string, bool> overrides = 9 [json_name = "overrides"];- Specified by:
getOverridesCountin interfaceTemplateOrBuilder
-
containsOverrides
public boolean containsOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];- Specified by:
containsOverridesin interfaceTemplateOrBuilder
-
clearOverrides
public Template.Builder clearOverrides()
-
removeOverrides
public Template.Builder removeOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getOverrides
@Deprecated public java.util.Map<java.lang.String,java.lang.Boolean> getOverrides()
Deprecated.UsegetOverridesMap()instead.- Specified by:
getOverridesin interfaceTemplateOrBuilder
-
getOverridesMap
public java.util.Map<java.lang.String,java.lang.Boolean> getOverridesMap()
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];- Specified by:
getOverridesMapin interfaceTemplateOrBuilder
-
getOverridesOrDefault
public boolean getOverridesOrDefault(java.lang.String key, boolean defaultValue)path, value
map<string, bool> overrides = 9 [json_name = "overrides"];- Specified by:
getOverridesOrDefaultin interfaceTemplateOrBuilder
-
getOverridesOrThrow
public boolean getOverridesOrThrow(java.lang.String key)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];- Specified by:
getOverridesOrThrowin interfaceTemplateOrBuilder
-
putOverrides
public Template.Builder putOverrides(java.lang.String key, boolean value)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
putAllOverrides
public Template.Builder putAllOverrides(java.util.Map<java.lang.String,java.lang.Boolean> values)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getTagsList
public java.util.List<Tag> getTagsList()
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];- Specified by:
getTagsListin interfaceTemplateOrBuilder
-
getTagsCount
public int getTagsCount()
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];- Specified by:
getTagsCountin interfaceTemplateOrBuilder
-
getTags
public Tag getTags(int index)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];- Specified by:
getTagsin interfaceTemplateOrBuilder
-
setTags
public Template.Builder setTags(int index, Tag value)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
setTags
public Template.Builder setTags(int index, Tag.Builder builderForValue)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
addTags
public Template.Builder addTags(Tag value)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
addTags
public Template.Builder addTags(int index, Tag value)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
addTags
public Template.Builder addTags(Tag.Builder builderForValue)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
addTags
public Template.Builder addTags(int index, Tag.Builder builderForValue)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
addAllTags
public Template.Builder addAllTags(java.lang.Iterable<? extends Tag> values)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
clearTags
public Template.Builder clearTags()
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
removeTags
public Template.Builder removeTags(int index)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
hasBypassNotifications
public boolean hasBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];- Specified by:
hasBypassNotificationsin interfaceTemplateOrBuilder- Returns:
- Whether the bypassNotifications field is set.
-
getBypassNotifications
public BypassNotifications getBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];- Specified by:
getBypassNotificationsin interfaceTemplateOrBuilder- Returns:
- The bypassNotifications.
-
setBypassNotifications
public Template.Builder setBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];
-
setBypassNotifications
public Template.Builder setBypassNotifications(BypassNotifications.Builder builderForValue)
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];
-
mergeBypassNotifications
public Template.Builder mergeBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];
-
clearBypassNotifications
public Template.Builder clearBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];
-
hasAi
public boolean hasAi()
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];- Specified by:
hasAiin interfaceTemplateOrBuilder- Returns:
- Whether the ai field is set.
-
getAi
public QuestionAi getAi()
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];- Specified by:
getAiin interfaceTemplateOrBuilder- Returns:
- The ai.
-
setAi
public Template.Builder setAi(QuestionAi value)
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];
-
setAi
public Template.Builder setAi(QuestionAi.Builder builderForValue)
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];
-
mergeAi
public Template.Builder mergeAi(QuestionAi value)
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];
-
clearAi
public Template.Builder clearAi()
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];
-
hasHasTriggers
public boolean hasHasTriggers()
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Specified by:
hasHasTriggersin interfaceTemplateOrBuilder- Returns:
- Whether the hasTriggers field is set.
-
getHasTriggers
public boolean getHasTriggers()
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Specified by:
getHasTriggersin interfaceTemplateOrBuilder- Returns:
- The hasTriggers.
-
setHasTriggers
public Template.Builder setHasTriggers(boolean value)
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Parameters:
value- The hasTriggers to set.- Returns:
- This builder for chaining.
-
clearHasTriggers
public Template.Builder clearHasTriggers()
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Returns:
- This builder for chaining.
-
getCreatedAt
public java.lang.String getCreatedAt()
string created_at = 14 [json_name = "createdAt"];- Specified by:
getCreatedAtin interfaceTemplateOrBuilder- Returns:
- The createdAt.
-
getCreatedAtBytes
public com.google.protobuf.ByteString getCreatedAtBytes()
string created_at = 14 [json_name = "createdAt"];- Specified by:
getCreatedAtBytesin interfaceTemplateOrBuilder- Returns:
- The bytes for createdAt.
-
setCreatedAt
public Template.Builder setCreatedAt(java.lang.String value)
string created_at = 14 [json_name = "createdAt"];- Parameters:
value- The createdAt to set.- Returns:
- This builder for chaining.
-
clearCreatedAt
public Template.Builder clearCreatedAt()
string created_at = 14 [json_name = "createdAt"];- Returns:
- This builder for chaining.
-
setCreatedAtBytes
public Template.Builder setCreatedAtBytes(com.google.protobuf.ByteString value)
string created_at = 14 [json_name = "createdAt"];- Parameters:
value- The bytes for createdAt to set.- Returns:
- This builder for chaining.
-
hasName
public boolean hasName()
optional string name = 15 [json_name = "name"];- Specified by:
hasNamein interfaceTemplateOrBuilder- Returns:
- Whether the name field is set.
-
getName
public java.lang.String getName()
optional string name = 15 [json_name = "name"];- Specified by:
getNamein interfaceTemplateOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
optional string name = 15 [json_name = "name"];- Specified by:
getNameBytesin interfaceTemplateOrBuilder- Returns:
- The bytes for name.
-
setName
public Template.Builder setName(java.lang.String value)
optional string name = 15 [json_name = "name"];- Parameters:
value- The name to set.- Returns:
- This builder for chaining.
-
clearName
public Template.Builder clearName()
optional string name = 15 [json_name = "name"];- Returns:
- This builder for chaining.
-
setNameBytes
public Template.Builder setNameBytes(com.google.protobuf.ByteString value)
optional string name = 15 [json_name = "name"];- Parameters:
value- The bytes for name to set.- Returns:
- This builder for chaining.
-
hasPromotion
public boolean hasPromotion()
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceTemplateOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public Promotion getPromotion()
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];- Specified by:
getPromotionin interfaceTemplateOrBuilder- Returns:
- The promotion.
-
setPromotion
public Template.Builder setPromotion(Promotion value)
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];
-
setPromotion
public Template.Builder setPromotion(Promotion.Builder builderForValue)
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];
-
mergePromotion
public Template.Builder mergePromotion(Promotion value)
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];
-
clearPromotion
public Template.Builder clearPromotion()
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];
-
hasBackgroundImage
public boolean hasBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];- Specified by:
hasBackgroundImagein interfaceTemplateOrBuilder- Returns:
- Whether the backgroundImage field is set.
-
getBackgroundImage
public BackgroundImage getBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];- Specified by:
getBackgroundImagein interfaceTemplateOrBuilder- Returns:
- The backgroundImage.
-
setBackgroundImage
public Template.Builder setBackgroundImage(BackgroundImage value)
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];
-
setBackgroundImage
public Template.Builder setBackgroundImage(BackgroundImage.Builder builderForValue)
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];
-
mergeBackgroundImage
public Template.Builder mergeBackgroundImage(BackgroundImage value)
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];
-
clearBackgroundImage
public Template.Builder clearBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];
-
getAdUnitValue
public int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Specified by:
getAdUnitValuein interfaceTemplateOrBuilder- Returns:
- The enum numeric value on the wire for adUnit.
-
setAdUnitValue
public Template.Builder setAdUnitValue(int value)
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Parameters:
value- The adUnit to set.- Returns:
- This builder for chaining.
-
getAdUnit
public AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Specified by:
getAdUnitin interfaceTemplateOrBuilder- Returns:
- The adUnit.
-
setAdUnit
public Template.Builder setAdUnit(AdUnit value)
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Parameters:
value- The enum numeric value on the wire for adUnit to set.- Returns:
- This builder for chaining.
-
clearAdUnit
public Template.Builder clearAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Returns:
- This builder for chaining.
-
hasQuestionCount
public boolean hasQuestionCount()
optional int32 question_count = 19 [json_name = "questionCount"];- Specified by:
hasQuestionCountin interfaceTemplateOrBuilder- Returns:
- Whether the questionCount field is set.
-
getQuestionCount
public int getQuestionCount()
optional int32 question_count = 19 [json_name = "questionCount"];- Specified by:
getQuestionCountin interfaceTemplateOrBuilder- Returns:
- The questionCount.
-
setQuestionCount
public Template.Builder setQuestionCount(int value)
optional int32 question_count = 19 [json_name = "questionCount"];- Parameters:
value- The questionCount to set.- Returns:
- This builder for chaining.
-
clearQuestionCount
public Template.Builder clearQuestionCount()
optional int32 question_count = 19 [json_name = "questionCount"];- Returns:
- This builder for chaining.
-
getEventIdsList
public java.util.List<java.lang.String> getEventIdsList()
repeated string event_ids = 20 [json_name = "eventIds"];- Specified by:
getEventIdsListin interfaceTemplateOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
repeated string event_ids = 20 [json_name = "eventIds"];- Specified by:
getEventIdsCountin interfaceTemplateOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public java.lang.String getEventIds(int index)
repeated string event_ids = 20 [json_name = "eventIds"];- Specified by:
getEventIdsin interfaceTemplateOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
getEventIdsBytes
public com.google.protobuf.ByteString getEventIdsBytes(int index)
repeated string event_ids = 20 [json_name = "eventIds"];- Specified by:
getEventIdsBytesin interfaceTemplateOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the eventIds at the given index.
-
setEventIds
public Template.Builder setEventIds(int index, java.lang.String value)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
index- The index to set the value at.value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public Template.Builder addEventIds(java.lang.String value)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public Template.Builder addAllEventIds(java.lang.Iterable<java.lang.String> values)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public Template.Builder clearEventIds()
repeated string event_ids = 20 [json_name = "eventIds"];- Returns:
- This builder for chaining.
-
addEventIdsBytes
public Template.Builder addEventIdsBytes(com.google.protobuf.ByteString value)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
value- The bytes of the eventIds to add.- Returns:
- This builder for chaining.
-
-