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;QuestionTimeline.BuilderclearId()string id = 1;QuestionTimeline.BuilderclearNotification().streamlayer.interactive.QuestionNotification notification = 7;QuestionTimeline.BuilderclearOptions().streamlayer.interactive.QuestionOptions options = 6;QuestionTimeline.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 5;QuestionTimeline.BuilderclearSubject()string subject = 3;QuestionTimeline.BuilderclearType().streamlayer.interactive.QuestionType type = 2;java.lang.StringgetActivatedAt()string activated_at = 4;com.google.protobuf.ByteStringgetActivatedAtBytes()string activated_at = 4;java.lang.StringgetId()string id = 1;com.google.protobuf.ByteStringgetIdBytes()string id = 1;QuestionNotificationgetNotification().streamlayer.interactive.QuestionNotification notification = 7;QuestionOptionsgetOptions().streamlayer.interactive.QuestionOptions options = 6;QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 5;intgetStatusValue().streamlayer.interactive.QuestionStatus status = 5;java.lang.StringgetSubject()string subject = 3;com.google.protobuf.ByteStringgetSubjectBytes()string subject = 3;QuestionTypegetType().streamlayer.interactive.QuestionType type = 2;intgetTypeValue().streamlayer.interactive.QuestionType type = 2;booleanhasNotification().streamlayer.interactive.QuestionNotification notification = 7;booleanhasOptions().streamlayer.interactive.QuestionOptions options = 6;QuestionTimeline.BuildermergeNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7;QuestionTimeline.BuildermergeOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 6;QuestionTimeline.BuildersetActivatedAt(java.lang.String value)string activated_at = 4;QuestionTimeline.BuildersetActivatedAtBytes(com.google.protobuf.ByteString value)string activated_at = 4;QuestionTimeline.BuildersetId(java.lang.String value)string id = 1;QuestionTimeline.BuildersetIdBytes(com.google.protobuf.ByteString value)string id = 1;QuestionTimeline.BuildersetNotification(QuestionNotification value).streamlayer.interactive.QuestionNotification notification = 7;QuestionTimeline.BuildersetNotification(QuestionNotification.Builder builderForValue).streamlayer.interactive.QuestionNotification notification = 7;QuestionTimeline.BuildersetOptions(QuestionOptions value).streamlayer.interactive.QuestionOptions options = 6;QuestionTimeline.BuildersetOptions(QuestionOptions.Builder builderForValue).streamlayer.interactive.QuestionOptions options = 6;QuestionTimeline.BuildersetStatus(QuestionStatus value).streamlayer.interactive.QuestionStatus status = 5;QuestionTimeline.BuildersetStatusValue(int value).streamlayer.interactive.QuestionStatus status = 5;QuestionTimeline.BuildersetSubject(java.lang.String value)string subject = 3;QuestionTimeline.BuildersetSubjectBytes(com.google.protobuf.ByteString value)string subject = 3;QuestionTimeline.BuildersetType(QuestionType value).streamlayer.interactive.QuestionType type = 2;QuestionTimeline.BuildersetTypeValue(int value).streamlayer.interactive.QuestionType type = 2;-
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;- Specified by:
getIdin interfaceQuestionTimelineOrBuilder- Returns:
- The id.
-
getIdBytes
public com.google.protobuf.ByteString getIdBytes()
string id = 1;- Specified by:
getIdBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for id.
-
setId
public QuestionTimeline.Builder setId(java.lang.String value)
string id = 1;- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
public QuestionTimeline.Builder clearId()
string id = 1;- Returns:
- This builder for chaining.
-
setIdBytes
public QuestionTimeline.Builder setIdBytes(com.google.protobuf.ByteString value)
string id = 1;- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getTypeValue
public int getTypeValue()
.streamlayer.interactive.QuestionType type = 2;- 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;- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
getType
public QuestionType getType()
.streamlayer.interactive.QuestionType type = 2;- Specified by:
getTypein interfaceQuestionTimelineOrBuilder- Returns:
- The type.
-
setType
public QuestionTimeline.Builder setType(QuestionType value)
.streamlayer.interactive.QuestionType type = 2;- 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;- Returns:
- This builder for chaining.
-
getSubject
public java.lang.String getSubject()
string subject = 3;- Specified by:
getSubjectin interfaceQuestionTimelineOrBuilder- Returns:
- The subject.
-
getSubjectBytes
public com.google.protobuf.ByteString getSubjectBytes()
string subject = 3;- Specified by:
getSubjectBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for subject.
-
setSubject
public QuestionTimeline.Builder setSubject(java.lang.String value)
string subject = 3;- Parameters:
value- The subject to set.- Returns:
- This builder for chaining.
-
clearSubject
public QuestionTimeline.Builder clearSubject()
string subject = 3;- Returns:
- This builder for chaining.
-
setSubjectBytes
public QuestionTimeline.Builder setSubjectBytes(com.google.protobuf.ByteString value)
string subject = 3;- Parameters:
value- The bytes for subject to set.- Returns:
- This builder for chaining.
-
getActivatedAt
public java.lang.String getActivatedAt()
string activated_at = 4;- Specified by:
getActivatedAtin interfaceQuestionTimelineOrBuilder- Returns:
- The activatedAt.
-
getActivatedAtBytes
public com.google.protobuf.ByteString getActivatedAtBytes()
string activated_at = 4;- Specified by:
getActivatedAtBytesin interfaceQuestionTimelineOrBuilder- Returns:
- The bytes for activatedAt.
-
setActivatedAt
public QuestionTimeline.Builder setActivatedAt(java.lang.String value)
string activated_at = 4;- Parameters:
value- The activatedAt to set.- Returns:
- This builder for chaining.
-
clearActivatedAt
public QuestionTimeline.Builder clearActivatedAt()
string activated_at = 4;- Returns:
- This builder for chaining.
-
setActivatedAtBytes
public QuestionTimeline.Builder setActivatedAtBytes(com.google.protobuf.ByteString value)
string activated_at = 4;- Parameters:
value- The bytes for activatedAt to set.- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 5;- 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;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 5;- Specified by:
getStatusin interfaceQuestionTimelineOrBuilder- Returns:
- The status.
-
setStatus
public QuestionTimeline.Builder setStatus(QuestionStatus value)
.streamlayer.interactive.QuestionStatus status = 5;- 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;- Returns:
- This builder for chaining.
-
hasOptions
public boolean hasOptions()
.streamlayer.interactive.QuestionOptions options = 6;- Specified by:
hasOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the options field is set.
-
getOptions
public QuestionOptions getOptions()
.streamlayer.interactive.QuestionOptions options = 6;- Specified by:
getOptionsin interfaceQuestionTimelineOrBuilder- Returns:
- The options.
-
setOptions
public QuestionTimeline.Builder setOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 6;
-
setOptions
public QuestionTimeline.Builder setOptions(QuestionOptions.Builder builderForValue)
.streamlayer.interactive.QuestionOptions options = 6;
-
mergeOptions
public QuestionTimeline.Builder mergeOptions(QuestionOptions value)
.streamlayer.interactive.QuestionOptions options = 6;
-
clearOptions
public QuestionTimeline.Builder clearOptions()
.streamlayer.interactive.QuestionOptions options = 6;
-
hasNotification
public boolean hasNotification()
.streamlayer.interactive.QuestionNotification notification = 7;- Specified by:
hasNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- Whether the notification field is set.
-
getNotification
public QuestionNotification getNotification()
.streamlayer.interactive.QuestionNotification notification = 7;- Specified by:
getNotificationin interfaceQuestionTimelineOrBuilder- Returns:
- The notification.
-
setNotification
public QuestionTimeline.Builder setNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7;
-
setNotification
public QuestionTimeline.Builder setNotification(QuestionNotification.Builder builderForValue)
.streamlayer.interactive.QuestionNotification notification = 7;
-
mergeNotification
public QuestionTimeline.Builder mergeNotification(QuestionNotification value)
.streamlayer.interactive.QuestionNotification notification = 7;
-
clearNotification
public QuestionTimeline.Builder clearNotification()
.streamlayer.interactive.QuestionNotification notification = 7;
-
-