Interface TemplateOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
- All Known Implementing Classes:
Template,Template.Builder
public interface TemplateOrBuilder extends com.google.protobuf.MessageLiteOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsOverrides(java.lang.String key)path, 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"];
-
-
-
Method Detail
-
getId
java.lang.String getId()
string id = 1 [json_name = "id"];- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Returns:
- The bytes for id.
-
getTypeValue
int getTypeValue()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- The enum numeric value on the wire for type.
-
getType
QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- The type.
-
hasSubject
boolean hasSubject()
optional string subject = 3 [json_name = "subject"];- Returns:
- Whether the subject field is set.
-
getSubject
java.lang.String getSubject()
optional string subject = 3 [json_name = "subject"];- Returns:
- The subject.
-
getSubjectBytes
com.google.protobuf.ByteString getSubjectBytes()
optional string subject = 3 [json_name = "subject"];- Returns:
- The bytes for subject.
-
hasOptions
boolean hasOptions()
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];- Returns:
- Whether the options field is set.
-
getOptions
QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];- Returns:
- The options.
-
hasAppearance
boolean hasAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];- Returns:
- Whether the appearance field is set.
-
getAppearance
QuestionAppearance getAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];- Returns:
- The appearance.
-
hasSponsorship
boolean hasSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
Sponsorship getSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];- Returns:
- The sponsorship.
-
hasNotification
boolean hasNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Returns:
- Whether the notification field is set.
-
getNotification
QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Returns:
- The notification.
-
getAnswersList
java.util.List<QuestionAnswer> getAnswersList()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
getAnswers
QuestionAnswer getAnswers(int index)
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
getAnswersCount
int getAnswersCount()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
getOverridesCount
int getOverridesCount()
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
containsOverrides
boolean containsOverrides(java.lang.String key)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getOverrides
@Deprecated java.util.Map<java.lang.String,java.lang.Boolean> getOverrides()
Deprecated.UsegetOverridesMap()instead.
-
getOverridesMap
java.util.Map<java.lang.String,java.lang.Boolean> getOverridesMap()
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getOverridesOrDefault
boolean getOverridesOrDefault(java.lang.String key, boolean defaultValue)path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getOverridesOrThrow
boolean getOverridesOrThrow(java.lang.String key)
path, value
map<string, bool> overrides = 9 [json_name = "overrides"];
-
getTagsList
java.util.List<Tag> getTagsList()
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
getTags
Tag getTags(int index)
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
getTagsCount
int getTagsCount()
repeated .streamlayer.interactive.Tag tags = 10 [json_name = "tags"];
-
hasBypassNotifications
boolean hasBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];- Returns:
- Whether the bypassNotifications field is set.
-
getBypassNotifications
BypassNotifications getBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 11 [json_name = "bypassNotifications"];- Returns:
- The bypassNotifications.
-
hasAi
boolean hasAi()
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];- Returns:
- Whether the ai field is set.
-
getAi
QuestionAi getAi()
.streamlayer.interactive.QuestionAi ai = 12 [json_name = "ai"];- Returns:
- The ai.
-
hasHasTriggers
boolean hasHasTriggers()
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Returns:
- Whether the hasTriggers field is set.
-
getHasTriggers
boolean getHasTriggers()
optional bool has_triggers = 13 [json_name = "hasTriggers"];- Returns:
- The hasTriggers.
-
getCreatedAt
java.lang.String getCreatedAt()
string created_at = 14 [json_name = "createdAt"];- Returns:
- The createdAt.
-
getCreatedAtBytes
com.google.protobuf.ByteString getCreatedAtBytes()
string created_at = 14 [json_name = "createdAt"];- Returns:
- The bytes for createdAt.
-
hasName
boolean hasName()
optional string name = 15 [json_name = "name"];- Returns:
- Whether the name field is set.
-
getName
java.lang.String getName()
optional string name = 15 [json_name = "name"];- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
optional string name = 15 [json_name = "name"];- Returns:
- The bytes for name.
-
hasPromotion
boolean hasPromotion()
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];- Returns:
- Whether the promotion field is set.
-
getPromotion
Promotion getPromotion()
.streamlayer.interactive.Promotion promotion = 16 [json_name = "promotion"];- Returns:
- The promotion.
-
hasBackgroundImage
boolean hasBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];- Returns:
- Whether the backgroundImage field is set.
-
getBackgroundImage
BackgroundImage getBackgroundImage()
.streamlayer.interactive.BackgroundImage background_image = 17 [json_name = "backgroundImage"];- Returns:
- The backgroundImage.
-
getAdUnitValue
int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Returns:
- The enum numeric value on the wire for adUnit.
-
getAdUnit
AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 18 [json_name = "adUnit"];- Returns:
- The adUnit.
-
hasQuestionCount
boolean hasQuestionCount()
optional int32 question_count = 19 [json_name = "questionCount"];- Returns:
- Whether the questionCount field is set.
-
getQuestionCount
int getQuestionCount()
optional int32 question_count = 19 [json_name = "questionCount"];- Returns:
- The questionCount.
-
getEventIdsList
java.util.List<java.lang.String> getEventIdsList()
repeated string event_ids = 20 [json_name = "eventIds"];- Returns:
- A list containing the eventIds.
-
getEventIdsCount
int getEventIdsCount()
repeated string event_ids = 20 [json_name = "eventIds"];- Returns:
- The count of eventIds.
-
getEventIds
java.lang.String getEventIds(int index)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
getEventIdsBytes
com.google.protobuf.ByteString getEventIdsBytes(int index)
repeated string event_ids = 20 [json_name = "eventIds"];- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
-