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.BuilderclearActivationTriggerCount()numbers of activation subscriptionsQuestion.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.BuilderclearBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];Question.BuilderclearEventId()string event_id = 15 [json_name = "eventId"];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.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.BuilderclearSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];Question.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];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.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"];intgetActivationTriggerCount()numbers of activation subscriptionsQuestionAnswergetAnswers(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"];BypassNotificationsgetBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];java.lang.StringgetEventId()string event_id = 15 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 15 [json_name = "eventId"];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"];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"];SponsorshipgetSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];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"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasActivationTriggerCount()numbers of activation subscriptionsbooleanhasAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];booleanhasBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 18 [json_name = "bypassNotifications"];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"];booleanhasSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];booleanhasStreamTimestamp().google.protobuf.Timestamp stream_timestamp = 16 [json_name = "streamTimestamp"];booleanhasSubject()optional string subject = 3 [json_name = "subject"];Question.BuildermergeAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];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.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.BuildersetActivationTriggerCount(int value)numbers of activation subscriptionsQuestion.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.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.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.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.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.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.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.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.
-
-