Class Question
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite<Question,Question.Builder>
-
- com.streamlayer.interactive.common.Question
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,QuestionOrBuilder
public final class Question extends com.google.protobuf.GeneratedMessageLite<Question,Question.Builder> implements QuestionOrBuilder
Protobuf typestreamlayer.interactive.Question
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classQuestion.BuilderProtobuf typestreamlayer.interactive.Question-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType,BuilderType>,BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite,Type extends java.lang.Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm
-
-
Field Summary
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description booleancontainsOverrides(java.lang.String key)path, valueprotected java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)java.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 subscriptionsQuestionAigetAi().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"];QuestionAnswerOrBuildergetAnswersOrBuilder(int index)repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];java.util.List<? extends QuestionAnswerOrBuilder>getAnswersOrBuilderList()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"];static QuestiongetDefaultInstance()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"];TagOrBuildergetTagsOrBuilder(int index)repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];java.util.List<? extends TagOrBuilder>getTagsOrBuilderList()repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];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 subscriptionsbooleanhasAi().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"];static Question.BuildernewBuilder()static Question.BuildernewBuilder(Question prototype)static QuestionparseDelimitedFrom(java.io.InputStream input)static QuestionparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionparseFrom(byte[] data)static QuestionparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionparseFrom(com.google.protobuf.ByteString data)static QuestionparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionparseFrom(com.google.protobuf.CodedInputStream input)static QuestionparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionparseFrom(java.io.InputStream input)static QuestionparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static QuestionparseFrom(java.nio.ByteBuffer data)static QuestionparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Question>parser()-
Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeTo
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TYPE_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SUBJECT_FIELD_NUMBER
public static final int SUBJECT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OPTIONS_FIELD_NUMBER
public static final int OPTIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
APPEARANCE_FIELD_NUMBER
public static final int APPEARANCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SPONSORSHIP_FIELD_NUMBER
public static final int SPONSORSHIP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NOTIFICATION_FIELD_NUMBER
public static final int NOTIFICATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANSWERS_FIELD_NUMBER
public static final int ANSWERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_FIELD_NUMBER
public static final int STATUS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
POSITION_FIELD_NUMBER
public static final int POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MARKET_CLOSED_FIELD_NUMBER
public static final int MARKET_CLOSED_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_AT_FIELD_NUMBER
public static final int ACTIVATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ANSWER_SET_AT_FIELD_NUMBER
public static final int ANSWER_SET_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
OVERRIDES_FIELD_NUMBER
public static final int OVERRIDES_FIELD_NUMBER
- See Also:
- Constant Field Values
-
EVENT_ID_FIELD_NUMBER
public static final int EVENT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STREAM_TIMESTAMP_FIELD_NUMBER
public static final int STREAM_TIMESTAMP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
TAGS_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BYPASS_NOTIFICATIONS_FIELD_NUMBER
public static final int BYPASS_NOTIFICATIONS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
IMPORT_ID_FIELD_NUMBER
public static final int IMPORT_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATION_TRIGGER_COUNT_FIELD_NUMBER
public static final int ACTIVATION_TRIGGER_COUNT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SOURCE_FIELD_NUMBER
public static final int SOURCE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
AI_FIELD_NUMBER
public static final int AI_FIELD_NUMBER
- See Also:
- Constant Field Values
-
HAS_TRIGGERS_FIELD_NUMBER
public static final int HAS_TRIGGERS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
CREATED_AT_FIELD_NUMBER
public static final int CREATED_AT_FIELD_NUMBER
- See Also:
- Constant Field Values
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PROMOTION_FIELD_NUMBER
public static final int PROMOTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
BACKGROUND_IMAGE_FIELD_NUMBER
public static final int BACKGROUND_IMAGE_FIELD_NUMBER
- See Also:
- Constant Field Values
-
STATUS_POSITION_FIELD_NUMBER
public static final int STATUS_POSITION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_BY_FIELD_NUMBER
public static final int ACTIVATED_BY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_BY_TRIGGER_ID_FIELD_NUMBER
public static final int ACTIVATED_BY_TRIGGER_ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ACTIVATED_BY_TRIGGER_NAME_FIELD_NUMBER
public static final int ACTIVATED_BY_TRIGGER_NAME_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
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.
-
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.
-
getType
public QuestionType getType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Specified by:
getTypein interfaceQuestionOrBuilder- Returns:
- The type.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getAnswersList
public java.util.List<QuestionAnswer> getAnswersList()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersListin interfaceQuestionOrBuilder
-
getAnswersOrBuilderList
public java.util.List<? extends QuestionAnswerOrBuilder> getAnswersOrBuilderList()
repeated .streamlayer.interactive.QuestionAnswer answers = 8 [json_name = "answers"];
-
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
-
getAnswersOrBuilder
public QuestionAnswerOrBuilder getAnswersOrBuilder(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.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];- Specified by:
getStatusin interfaceQuestionOrBuilder- Returns:
- The status.
-
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.
-
getMarketClosed
public boolean getMarketClosed()
bool market_closed = 11 [json_name = "marketClosed"];- Specified by:
getMarketClosedin interfaceQuestionOrBuilder- Returns:
- The marketClosed.
-
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.
-
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.
-
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
-
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
-
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.
-
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.
-
getTagsList
public java.util.List<Tag> getTagsList()
repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];- Specified by:
getTagsListin interfaceQuestionOrBuilder
-
getTagsOrBuilderList
public java.util.List<? extends TagOrBuilder> getTagsOrBuilderList()
repeated .streamlayer.interactive.Tag tags = 17 [json_name = "tags"];
-
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
-
getTagsOrBuilder
public TagOrBuilder getTagsOrBuilder(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.
-
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.
-
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.
-
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.
-
getSource
public QuestionSource getSource()
.streamlayer.interactive.QuestionSource source = 21 [json_name = "source"];- Specified by:
getSourcein interfaceQuestionOrBuilder- Returns:
- The source.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
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.
-
getActivatedBy
public ActivatedBy getActivatedBy()
optional .streamlayer.interactive.ActivatedBy activated_by = 29 [json_name = "activatedBy"];- Specified by:
getActivatedByin interfaceQuestionOrBuilder- Returns:
- The activatedBy.
-
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.
-
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.
-
parseFrom
public static Question parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Question parseFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Question parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Question parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseDelimitedFrom
public static Question parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Question parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
- Throws:
java.io.IOException
-
parseFrom
public static Question parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
- Throws:
java.io.IOException
-
newBuilder
public static Question.Builder newBuilder()
-
newBuilder
public static Question.Builder newBuilder(Question prototype)
-
dynamicMethod
protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)- Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<Question,Question.Builder>
-
getDefaultInstance
public static Question getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Question> parser()
-
-