Class ExtendedQuestion.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<ExtendedQuestion,ExtendedQuestion.Builder>
-
- com.streamlayer.interactive.common.ExtendedQuestion.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ExtendedQuestionOrBuilder,java.lang.Cloneable
- Enclosing class:
- ExtendedQuestion
public static final class ExtendedQuestion.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ExtendedQuestion,ExtendedQuestion.Builder> implements ExtendedQuestionOrBuilder
Protobuf typestreamlayer.interactive.ExtendedQuestion
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description ExtendedQuestion.BuilderaddAllAnswers(java.lang.Iterable<? extends ExtendedQuestionAnswer> values)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderaddAnswers(int index, ExtendedQuestionAnswer value)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderaddAnswers(int index, ExtendedQuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderaddAnswers(ExtendedQuestionAnswer value)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderaddAnswers(ExtendedQuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderclearActivatedAt()string activated_at = 12 [json_name = "activatedAt"];ExtendedQuestion.BuilderclearAnswers()repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuilderclearAnswerSetAt()string answer_set_at = 13 [json_name = "answerSetAt"];ExtendedQuestion.BuilderclearAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];ExtendedQuestion.BuilderclearBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];ExtendedQuestion.BuilderclearEventId()string event_id = 14 [json_name = "eventId"];ExtendedQuestion.BuilderclearId()string id = 1 [json_name = "id"];ExtendedQuestion.BuilderclearMarketClosed()bool market_closed = 11 [json_name = "marketClosed"];ExtendedQuestion.BuilderclearNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];ExtendedQuestion.BuilderclearOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];ExtendedQuestion.BuilderclearPosition()uint32 position = 10 [json_name = "position"];ExtendedQuestion.BuilderclearSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];ExtendedQuestion.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];ExtendedQuestion.BuilderclearSubject()string subject = 3 [json_name = "subject"];ExtendedQuestion.BuilderclearType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];java.lang.StringgetActivatedAt()string activated_at = 12 [json_name = "activatedAt"];com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 12 [json_name = "activatedAt"];ExtendedQuestionAnswergetAnswers(int index)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];intgetAnswersCount()repeated .streamlayer.interactive.ExtendedQuestionAnswer 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<ExtendedQuestionAnswer>getAnswersList()repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];QuestionAppearancegetAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];BypassNotificationsgetBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];java.lang.StringgetEventId()string event_id = 14 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 14 [json_name = "eventId"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];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"];intgetPosition()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"];java.lang.StringgetSubject()string subject = 3 [json_name = "subject"];com.google.protobuf.ByteStringgetSubjectBytes()string subject = 3 [json_name = "subject"];QuestionTypegetType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];intgetTypeValue().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];booleanhasAppearance().streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];booleanhasBypassNotifications().streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];booleanhasOptions().streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];booleanhasSponsorship().streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];ExtendedQuestion.BuildermergeAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];ExtendedQuestion.BuildermergeBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];ExtendedQuestion.BuildermergeNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];ExtendedQuestion.BuildermergeOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];ExtendedQuestion.BuildermergeSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];ExtendedQuestion.BuilderremoveAnswers(int index)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuildersetActivatedAt(java.lang.String value)string activated_at = 12 [json_name = "activatedAt"];ExtendedQuestion.BuildersetActivatedAtBytes(com.google.protobuf.ByteString value)string activated_at = 12 [json_name = "activatedAt"];ExtendedQuestion.BuildersetAnswers(int index, ExtendedQuestionAnswer value)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuildersetAnswers(int index, ExtendedQuestionAnswer.Builder builderForValue)repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];ExtendedQuestion.BuildersetAnswerSetAt(java.lang.String value)string answer_set_at = 13 [json_name = "answerSetAt"];ExtendedQuestion.BuildersetAnswerSetAtBytes(com.google.protobuf.ByteString value)string answer_set_at = 13 [json_name = "answerSetAt"];ExtendedQuestion.BuildersetAppearance(QuestionAppearance value).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];ExtendedQuestion.BuildersetAppearance(QuestionAppearance.Builder builderForValue).streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];ExtendedQuestion.BuildersetBypassNotifications(BypassNotifications value).streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];ExtendedQuestion.BuildersetBypassNotifications(BypassNotifications.Builder builderForValue).streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];ExtendedQuestion.BuildersetEventId(java.lang.String value)string event_id = 14 [json_name = "eventId"];ExtendedQuestion.BuildersetEventIdBytes(com.google.protobuf.ByteString value)string event_id = 14 [json_name = "eventId"];ExtendedQuestion.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];ExtendedQuestion.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];ExtendedQuestion.BuildersetMarketClosed(boolean value)bool market_closed = 11 [json_name = "marketClosed"];ExtendedQuestion.BuildersetNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];ExtendedQuestion.BuildersetNotification(QuestionNotification.Builder builderForValue).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];ExtendedQuestion.BuildersetOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];ExtendedQuestion.BuildersetOptions(QuestionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];ExtendedQuestion.BuildersetPosition(int value)uint32 position = 10 [json_name = "position"];ExtendedQuestion.BuildersetSponsorship(Sponsorship value).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];ExtendedQuestion.BuildersetSponsorship(Sponsorship.Builder builderForValue).streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];ExtendedQuestion.BuildersetStatus(QuestionStatus value).streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];ExtendedQuestion.BuildersetStatusValue(int value).streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];ExtendedQuestion.BuildersetSubject(java.lang.String value)string subject = 3 [json_name = "subject"];ExtendedQuestion.BuildersetSubjectBytes(com.google.protobuf.ByteString value)string subject = 3 [json_name = "subject"];ExtendedQuestion.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceExtendedQuestionOrBuilder- Returns:
- The bytes for id.
-
setId
public ExtendedQuestion.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 ExtendedQuestion.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The type.
-
setType
public ExtendedQuestion.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 ExtendedQuestion.Builder clearType()
.streamlayer.interactive.QuestionType type = 2 [json_name = "type"];- Returns:
- This builder for chaining.
-
getSubject
public java.lang.String getSubject()
string subject = 3 [json_name = "subject"];- Specified by:
getSubjectin interfaceExtendedQuestionOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
string subject = 3 [json_name = "subject"];- Specified by:
getSubjectBytesin interfaceExtendedQuestionOrBuilder- Returns:
- The bytes for subject.
-
setSubject
public ExtendedQuestion.Builder setSubject(java.lang.String value)
string subject = 3 [json_name = "subject"];- Parameters:
value- The subject to set.- Returns:
- This builder for chaining.
-
clearSubject
public ExtendedQuestion.Builder clearSubject()
string subject = 3 [json_name = "subject"];- Returns:
- This builder for chaining.
-
setSubjectBytes
public ExtendedQuestion.Builder setSubjectBytes(com.google.protobuf.ByteString value)
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 interfaceExtendedQuestionOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];- Specified by:
getOptionsin interfaceExtendedQuestionOrBuilder- Returns:
- The options.
-
setOptions
public ExtendedQuestion.Builder setOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
setOptions
public ExtendedQuestion.Builder setOptions(QuestionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
mergeOptions
public ExtendedQuestion.Builder mergeOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 4 [json_name = "options"];
-
clearOptions
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- Whether the appearance field is set.
-
getAppearance
public QuestionAppearance getAppearance()
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];- Specified by:
getAppearancein interfaceExtendedQuestionOrBuilder- Returns:
- The appearance.
-
setAppearance
public ExtendedQuestion.Builder setAppearance(QuestionAppearance value)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
setAppearance
public ExtendedQuestion.Builder setAppearance(QuestionAppearance.Builder builderForValue)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
mergeAppearance
public ExtendedQuestion.Builder mergeAppearance(QuestionAppearance value)
.streamlayer.interactive.QuestionAppearance appearance = 5 [json_name = "appearance"];
-
clearAppearance
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- Whether the sponsorship field is set.
-
getSponsorship
public Sponsorship getSponsorship()
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];- Specified by:
getSponsorshipin interfaceExtendedQuestionOrBuilder- Returns:
- The sponsorship.
-
setSponsorship
public ExtendedQuestion.Builder setSponsorship(Sponsorship value)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
setSponsorship
public ExtendedQuestion.Builder setSponsorship(Sponsorship.Builder builderForValue)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
mergeSponsorship
public ExtendedQuestion.Builder mergeSponsorship(Sponsorship value)
.streamlayer.interactive.Sponsorship sponsorship = 6 [json_name = "sponsorship"];
-
clearSponsorship
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
getNotificationin interfaceExtendedQuestionOrBuilder- Returns:
- The notification.
-
setNotification
public ExtendedQuestion.Builder setNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
setNotification
public ExtendedQuestion.Builder setNotification(QuestionNotification.Builder builderForValue)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
mergeNotification
public ExtendedQuestion.Builder mergeNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
clearNotification
public ExtendedQuestion.Builder clearNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
getAnswersList
public java.util.List<ExtendedQuestionAnswer> getAnswersList()
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersListin interfaceExtendedQuestionOrBuilder
-
getAnswersCount
public int getAnswersCount()
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersCountin interfaceExtendedQuestionOrBuilder
-
getAnswers
public ExtendedQuestionAnswer getAnswers(int index)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];- Specified by:
getAnswersin interfaceExtendedQuestionOrBuilder
-
setAnswers
public ExtendedQuestion.Builder setAnswers(int index, ExtendedQuestionAnswer value)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
setAnswers
public ExtendedQuestion.Builder setAnswers(int index, ExtendedQuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public ExtendedQuestion.Builder addAnswers(ExtendedQuestionAnswer value)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public ExtendedQuestion.Builder addAnswers(int index, ExtendedQuestionAnswer value)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public ExtendedQuestion.Builder addAnswers(ExtendedQuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
addAnswers
public ExtendedQuestion.Builder addAnswers(int index, ExtendedQuestionAnswer.Builder builderForValue)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
addAllAnswers
public ExtendedQuestion.Builder addAllAnswers(java.lang.Iterable<? extends ExtendedQuestionAnswer> values)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
clearAnswers
public ExtendedQuestion.Builder clearAnswers()
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
removeAnswers
public ExtendedQuestion.Builder removeAnswers(int index)
repeated .streamlayer.interactive.ExtendedQuestionAnswer answers = 8 [json_name = "answers"];
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];- Specified by:
getStatusValuein interfaceExtendedQuestionOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The status.
-
setStatus
public ExtendedQuestion.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 ExtendedQuestion.Builder clearStatus()
.streamlayer.interactive.QuestionStatus status = 9 [json_name = "status"];- Returns:
- This builder for chaining.
-
getPosition
public int getPosition()
uint32 position = 10 [json_name = "position"];- Specified by:
getPositionin interfaceExtendedQuestionOrBuilder- Returns:
- The position.
-
setPosition
public ExtendedQuestion.Builder setPosition(int value)
uint32 position = 10 [json_name = "position"];- Parameters:
value- The position to set.- Returns:
- This builder for chaining.
-
clearPosition
public ExtendedQuestion.Builder clearPosition()
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 interfaceExtendedQuestionOrBuilder- Returns:
- The marketClosed.
-
setMarketClosed
public ExtendedQuestion.Builder setMarketClosed(boolean value)
bool market_closed = 11 [json_name = "marketClosed"];- Parameters:
value- The marketClosed to set.- Returns:
- This builder for chaining.
-
clearMarketClosed
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The activatedAt.
-
getActivatedAtBytes
public com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 12 [json_name = "activatedAt"];- Specified by:
getActivatedAtBytesin interfaceExtendedQuestionOrBuilder- Returns:
- The bytes for activatedAt.
-
setActivatedAt
public ExtendedQuestion.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 ExtendedQuestion.Builder clearActivatedAt()
string activated_at = 12 [json_name = "activatedAt"];- Returns:
- This builder for chaining.
-
setActivatedAtBytes
public ExtendedQuestion.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 interfaceExtendedQuestionOrBuilder- Returns:
- The answerSetAt.
-
getAnswerSetAtBytes
public com.google.protobuf.ByteString getAnswerSetAtBytes()
string answer_set_at = 13 [json_name = "answerSetAt"];- Specified by:
getAnswerSetAtBytesin interfaceExtendedQuestionOrBuilder- Returns:
- The bytes for answerSetAt.
-
setAnswerSetAt
public ExtendedQuestion.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 ExtendedQuestion.Builder clearAnswerSetAt()
string answer_set_at = 13 [json_name = "answerSetAt"];- Returns:
- This builder for chaining.
-
setAnswerSetAtBytes
public ExtendedQuestion.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.
-
getEventId
public java.lang.String getEventId()
string event_id = 14 [json_name = "eventId"];- Specified by:
getEventIdin interfaceExtendedQuestionOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 14 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfaceExtendedQuestionOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public ExtendedQuestion.Builder setEventId(java.lang.String value)
string event_id = 14 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public ExtendedQuestion.Builder clearEventId()
string event_id = 14 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public ExtendedQuestion.Builder setEventIdBytes(com.google.protobuf.ByteString value)
string event_id = 14 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
hasBypassNotifications
public boolean hasBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];- Specified by:
hasBypassNotificationsin interfaceExtendedQuestionOrBuilder- Returns:
- Whether the bypassNotifications field is set.
-
getBypassNotifications
public BypassNotifications getBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];- Specified by:
getBypassNotificationsin interfaceExtendedQuestionOrBuilder- Returns:
- The bypassNotifications.
-
setBypassNotifications
public ExtendedQuestion.Builder setBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
-
setBypassNotifications
public ExtendedQuestion.Builder setBypassNotifications(BypassNotifications.Builder builderForValue)
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
-
mergeBypassNotifications
public ExtendedQuestion.Builder mergeBypassNotifications(BypassNotifications value)
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
-
clearBypassNotifications
public ExtendedQuestion.Builder clearBypassNotifications()
.streamlayer.interactive.BypassNotifications bypass_notifications = 15 [json_name = "bypassNotifications"];
-
-