Class QuestionTimeline.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<QuestionTimeline,QuestionTimeline.Builder>
-
- com.streamlayer.interactive.common.QuestionTimeline.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,QuestionTimelineOrBuilder,java.lang.Cloneable
- Enclosing class:
- QuestionTimeline
public static final class QuestionTimeline.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<QuestionTimeline,QuestionTimeline.Builder> implements QuestionTimelineOrBuilder
Protobuf typestreamlayer.interactive.QuestionTimeline
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description QuestionTimeline.BuilderclearActivatedAt()string activated_at = 4 [json_name = "activatedAt"];QuestionTimeline.BuilderclearAdUnit().streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];QuestionTimeline.BuilderclearId()string id = 1 [json_name = "id"];QuestionTimeline.BuilderclearNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionTimeline.BuilderclearOptions().streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];QuestionTimeline.BuilderclearPromotion()optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionTimeline.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];QuestionTimeline.BuilderclearSubject()string subject = 3 [json_name = "subject"];QuestionTimeline.BuilderclearType().streamlayer.interactive.QuestionType type = 2 [json_name = "type"];java.lang.StringgetActivatedAt()string activated_at = 4 [json_name = "activatedAt"];com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 4 [json_name = "activatedAt"];AdUnitgetAdUnit().streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];intgetAdUnitValue().streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];java.lang.StringgetId()string id = 1 [json_name = "id"];com.google.protobuf.ByteStringgetIdBytes()string id = 1 [json_name = "id"];QuestionNotificationgetNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionOptionsgetOptions().streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];PromotiongetPromotion()optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];intgetStatusValue().streamlayer.interactive.QuestionStatus status = 5 [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"];booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];booleanhasOptions().streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];booleanhasPromotion()optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionTimeline.BuildermergeNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionTimeline.BuildermergeOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];QuestionTimeline.BuildermergePromotion(Promotion value)optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionTimeline.BuildersetActivatedAt(java.lang.String value)string activated_at = 4 [json_name = "activatedAt"];QuestionTimeline.BuildersetActivatedAtBytes(com.google.protobuf.ByteString value)string activated_at = 4 [json_name = "activatedAt"];QuestionTimeline.BuildersetAdUnit(AdUnit value).streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];QuestionTimeline.BuildersetAdUnitValue(int value).streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];QuestionTimeline.BuildersetId(java.lang.String value)string id = 1 [json_name = "id"];QuestionTimeline.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1 [json_name = "id"];QuestionTimeline.BuildersetNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionTimeline.BuildersetNotification(QuestionNotification.Builder builderForValue).streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];QuestionTimeline.BuildersetOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];QuestionTimeline.BuildersetOptions(QuestionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];QuestionTimeline.BuildersetPromotion(Promotion value)optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionTimeline.BuildersetPromotion(Promotion.Builder builderForValue)optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];QuestionTimeline.BuildersetStatus(QuestionStatus value).streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];QuestionTimeline.BuildersetStatusValue(int value).streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];QuestionTimeline.BuildersetSubject(java.lang.String value)string subject = 3 [json_name = "subject"];QuestionTimeline.BuildersetSubjectBytes(com.google.protobuf.ByteString value)string subject = 3 [json_name = "subject"];QuestionTimeline.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2 [json_name = "type"];QuestionTimeline.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 interfaceQuestionTimelineOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1 [json_name = "id"];- Specified by:
getIdBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for id.
-
setId
public QuestionTimeline.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 QuestionTimeline.Builder clearId()
string id = 1 [json_name = "id"];- Returns:
- This builder for chaining.
-
setIdBytes
public QuestionTimeline.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 interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
public QuestionTimeline.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 interfaceQuestionTimelineOrBuilder- Returns:
- The type.
-
setType
public QuestionTimeline.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 QuestionTimeline.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 interfaceQuestionTimelineOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
string subject = 3 [json_name = "subject"];- Specified by:
getSubjectBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for subject.
-
setSubject
public QuestionTimeline.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 QuestionTimeline.Builder clearSubject()
string subject = 3 [json_name = "subject"];- Returns:
- This builder for chaining.
-
setSubjectBytes
public QuestionTimeline.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.
-
getActivatedAt
public java.lang.String getActivatedAt()
string activated_at = 4 [json_name = "activatedAt"];- Specified by:
getActivatedAtin interfaceQuestionTimelineOrBuilder- Returns:
- The activatedAt.
-
getActivatedAtBytes
public com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 4 [json_name = "activatedAt"];- Specified by:
getActivatedAtBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for activatedAt.
-
setActivatedAt
public QuestionTimeline.Builder setActivatedAt(java.lang.String value)
string activated_at = 4 [json_name = "activatedAt"];- Parameters:
value- The activatedAt to set.- Returns:
- This builder for chaining.
-
clearActivatedAt
public QuestionTimeline.Builder clearActivatedAt()
string activated_at = 4 [json_name = "activatedAt"];- Returns:
- This builder for chaining.
-
setActivatedAtBytes
public QuestionTimeline.Builder setActivatedAtBytes(com.google.protobuf.ByteString value)
string activated_at = 4 [json_name = "activatedAt"];- Parameters:
value- The bytes for activatedAt to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Specified by:
getStatusValuein interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public QuestionTimeline.Builder setStatusValue(int value)
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Specified by:
getStatusin interfaceQuestionTimelineOrBuilder- Returns:
- The status.
-
setStatus
public QuestionTimeline.Builder setStatus(QuestionStatus value)
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
clearStatus
public QuestionTimeline.Builder clearStatus()
.streamlayer.interactive.QuestionStatus status = 5 [json_name = "status"];- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];- Specified by:
hasOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];- Specified by:
getOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- The options.
-
setOptions
public QuestionTimeline.Builder setOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];
-
setOptions
public QuestionTimeline.Builder setOptions(QuestionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];
-
mergeOptions
public QuestionTimeline.Builder mergeOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];
-
clearOptions
public QuestionTimeline.Builder clearOptions()
.streamlayer.interactive.QuestionOptions options = 6 [json_name = "options"];
-
hasNotification
public boolean hasNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
hasNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];- Specified by:
getNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- The notification.
-
setNotification
public QuestionTimeline.Builder setNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
setNotification
public QuestionTimeline.Builder setNotification(QuestionNotification.Builder builderForValue)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
mergeNotification
public QuestionTimeline.Builder mergeNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
clearNotification
public QuestionTimeline.Builder clearNotification()
.streamlayer.interactive.QuestionNotification notification = 7 [json_name = "notification"];
-
hasPromotion
public boolean hasPromotion()
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];- Specified by:
hasPromotionin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the promotion field is set.
-
getPromotion
public Promotion getPromotion()
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];- Specified by:
getPromotionin interfaceQuestionTimelineOrBuilder- Returns:
- The promotion.
-
setPromotion
public QuestionTimeline.Builder setPromotion(Promotion value)
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];
-
setPromotion
public QuestionTimeline.Builder setPromotion(Promotion.Builder builderForValue)
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];
-
mergePromotion
public QuestionTimeline.Builder mergePromotion(Promotion value)
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];
-
clearPromotion
public QuestionTimeline.Builder clearPromotion()
optional .streamlayer.interactive.Promotion promotion = 8 [json_name = "promotion"];
-
getAdUnitValue
public int getAdUnitValue()
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Specified by:
getAdUnitValuein interfaceQuestionTimelineOrBuilder- Returns:
- The enum numeric value on the wire for adUnit.
-
setAdUnitValue
public QuestionTimeline.Builder setAdUnitValue(int value)
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Parameters:
value- The adUnit to set.- Returns:
- This builder for chaining.
-
getAdUnit
public AdUnit getAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Specified by:
getAdUnitin interfaceQuestionTimelineOrBuilder- Returns:
- The adUnit.
-
setAdUnit
public QuestionTimeline.Builder setAdUnit(AdUnit value)
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Parameters:
value- The enum numeric value on the wire for adUnit to set.- Returns:
- This builder for chaining.
-
clearAdUnit
public QuestionTimeline.Builder clearAdUnit()
.streamlayer.interactive.AdUnit ad_unit = 9 [json_name = "adUnit"];- Returns:
- This builder for chaining.
-
-