Class DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<DuplicateQuestionsRequest.DuplicateQuestionsParams,DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder>
-
- com.streamlayer.interactive.studio.DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,DuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder,java.lang.Cloneable
- Enclosing class:
- DuplicateQuestionsRequest.DuplicateQuestionsParams
public static final class DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<DuplicateQuestionsRequest.DuplicateQuestionsParams,DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder> implements DuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder
Protobuf typestreamlayer.interactive.studio.DuplicateQuestionsRequest.DuplicateQuestionsParams
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DuplicateQuestionsRequest.DuplicateQuestionsParams.BuilderaddAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)repeated uint64 event_ids = 1;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuilderaddEventIds(long value)repeated uint64 event_ids = 1;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuilderclearEventIds()repeated uint64 event_ids = 1;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuilderclearStatus().streamlayer.interactive.QuestionStatus status = 2;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuilderclearSubjectPrefix()string subject_prefix = 3;longgetEventIds(int index)repeated uint64 event_ids = 1;intgetEventIdsCount()repeated uint64 event_ids = 1;java.util.List<java.lang.Long>getEventIdsList()repeated uint64 event_ids = 1;QuestionStatusgetStatus().streamlayer.interactive.QuestionStatus status = 2;intgetStatusValue().streamlayer.interactive.QuestionStatus status = 2;java.lang.StringgetSubjectPrefix()string subject_prefix = 3;com.google.protobuf.ByteStringgetSubjectPrefixBytes()string subject_prefix = 3;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuildersetEventIds(int index, long value)repeated uint64 event_ids = 1;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuildersetStatus(QuestionStatus value).streamlayer.interactive.QuestionStatus status = 2;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuildersetStatusValue(int value).streamlayer.interactive.QuestionStatus status = 2;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuildersetSubjectPrefix(java.lang.String value)string subject_prefix = 3;DuplicateQuestionsRequest.DuplicateQuestionsParams.BuildersetSubjectPrefixBytes(com.google.protobuf.ByteString value)string subject_prefix = 3;-
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
-
getEventIdsList
public java.util.List<java.lang.Long> getEventIdsList()
repeated uint64 event_ids = 1;- Specified by:
getEventIdsListin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- A list containing the eventIds.
-
getEventIdsCount
public int getEventIdsCount()
repeated uint64 event_ids = 1;- Specified by:
getEventIdsCountin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- The count of eventIds.
-
getEventIds
public long getEventIds(int index)
repeated uint64 event_ids = 1;- Specified by:
getEventIdsin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The eventIds at the given index.
-
setEventIds
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder setEventIds(int index, long value)
repeated uint64 event_ids = 1;- Parameters:
value- The eventIds to set.- Returns:
- This builder for chaining.
-
addEventIds
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder addEventIds(long value)
repeated uint64 event_ids = 1;- Parameters:
value- The eventIds to add.- Returns:
- This builder for chaining.
-
addAllEventIds
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder addAllEventIds(java.lang.Iterable<? extends java.lang.Long> values)
repeated uint64 event_ids = 1;- Parameters:
values- The eventIds to add.- Returns:
- This builder for chaining.
-
clearEventIds
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder clearEventIds()
repeated uint64 event_ids = 1;- Returns:
- This builder for chaining.
-
getStatusValue
public int getStatusValue()
.streamlayer.interactive.QuestionStatus status = 2;- Specified by:
getStatusValuein interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder setStatusValue(int value)
.streamlayer.interactive.QuestionStatus status = 2;- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
getStatus
public QuestionStatus getStatus()
.streamlayer.interactive.QuestionStatus status = 2;- Specified by:
getStatusin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- The status.
-
setStatus
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder setStatus(QuestionStatus value)
.streamlayer.interactive.QuestionStatus status = 2;- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
clearStatus
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder clearStatus()
.streamlayer.interactive.QuestionStatus status = 2;- Returns:
- This builder for chaining.
-
getSubjectPrefix
public java.lang.String getSubjectPrefix()
string subject_prefix = 3;- Specified by:
getSubjectPrefixin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- The subjectPrefix.
-
getSubjectPrefixBytes
public com.google.protobuf.ByteString getSubjectPrefixBytes()
string subject_prefix = 3;- Specified by:
getSubjectPrefixBytesin interfaceDuplicateQuestionsRequest.DuplicateQuestionsParamsOrBuilder- Returns:
- The bytes for subjectPrefix.
-
setSubjectPrefix
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder setSubjectPrefix(java.lang.String value)
string subject_prefix = 3;- Parameters:
value- The subjectPrefix to set.- Returns:
- This builder for chaining.
-
clearSubjectPrefix
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder clearSubjectPrefix()
string subject_prefix = 3;- Returns:
- This builder for chaining.
-
setSubjectPrefixBytes
public DuplicateQuestionsRequest.DuplicateQuestionsParams.Builder setSubjectPrefixBytes(com.google.protobuf.ByteString value)
string subject_prefix = 3;- Parameters:
value- The bytes for subjectPrefix to set.- Returns:
- This builder for chaining.
-
-