Package com.streamlayer.interactive.feed
Class PickHistoryRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<PickHistoryRequest,PickHistoryRequest.Builder>
-
- com.streamlayer.interactive.feed.PickHistoryRequest.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,PickHistoryRequestOrBuilder,java.lang.Cloneable
- Enclosing class:
- PickHistoryRequest
public static final class PickHistoryRequest.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<PickHistoryRequest,PickHistoryRequest.Builder> implements PickHistoryRequestOrBuilder
Protobuf typestreamlayer.interactive.feed.PickHistoryRequest
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description PickHistoryRequest.BuilderaddAllQuestionType(java.lang.Iterable<? extends QuestionType> values)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];PickHistoryRequest.BuilderaddAllQuestionTypeValue(java.lang.Iterable<java.lang.Integer> values)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];PickHistoryRequest.BuilderaddQuestionType(QuestionType value)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];PickHistoryRequest.BuilderaddQuestionTypeValue(int value)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];PickHistoryRequest.BuilderclearEventId()string event_id = 3 [json_name = "eventId"];PickHistoryRequest.BuilderclearPagination().streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];PickHistoryRequest.BuilderclearQuestionType()repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];java.lang.StringgetEventId()string event_id = 3 [json_name = "eventId"];com.google.protobuf.ByteStringgetEventIdBytes()string event_id = 3 [json_name = "eventId"];PaginationgetPagination().streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];QuestionTypegetQuestionType(int index)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];intgetQuestionTypeCount()repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];java.util.List<QuestionType>getQuestionTypeList()repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];intgetQuestionTypeValue(int index)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];java.util.List<java.lang.Integer>getQuestionTypeValueList()repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];booleanhasPagination().streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];PickHistoryRequest.BuildermergePagination(Pagination value).streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];PickHistoryRequest.BuildersetEventId(java.lang.String value)string event_id = 3 [json_name = "eventId"];PickHistoryRequest.BuildersetEventIdBytes(com.google.protobuf.ByteString value)string event_id = 3 [json_name = "eventId"];PickHistoryRequest.BuildersetPagination(Pagination value).streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];PickHistoryRequest.BuildersetPagination(Pagination.Builder builderForValue).streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];PickHistoryRequest.BuildersetQuestionType(int index, QuestionType value)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];PickHistoryRequest.BuildersetQuestionTypeValue(int index, int value)repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];-
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
-
getQuestionTypeList
public java.util.List<QuestionType> getQuestionTypeList()
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Specified by:
getQuestionTypeListin interfacePickHistoryRequestOrBuilder- Returns:
- A list containing the questionType.
-
getQuestionTypeCount
public int getQuestionTypeCount()
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Specified by:
getQuestionTypeCountin interfacePickHistoryRequestOrBuilder- Returns:
- The count of questionType.
-
getQuestionType
public QuestionType getQuestionType(int index)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Specified by:
getQuestionTypein interfacePickHistoryRequestOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The questionType at the given index.
-
setQuestionType
public PickHistoryRequest.Builder setQuestionType(int index, QuestionType value)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
index- The index to set the value at.value- The questionType to set.- Returns:
- This builder for chaining.
-
addQuestionType
public PickHistoryRequest.Builder addQuestionType(QuestionType value)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
value- The questionType to add.- Returns:
- This builder for chaining.
-
addAllQuestionType
public PickHistoryRequest.Builder addAllQuestionType(java.lang.Iterable<? extends QuestionType> values)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
values- The questionType to add.- Returns:
- This builder for chaining.
-
clearQuestionType
public PickHistoryRequest.Builder clearQuestionType()
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Returns:
- This builder for chaining.
-
getQuestionTypeValueList
public java.util.List<java.lang.Integer> getQuestionTypeValueList()
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Specified by:
getQuestionTypeValueListin interfacePickHistoryRequestOrBuilder- Returns:
- A list containing the enum numeric values on the wire for questionType.
-
getQuestionTypeValue
public int getQuestionTypeValue(int index)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Specified by:
getQuestionTypeValuein interfacePickHistoryRequestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of questionType at the given index.
-
setQuestionTypeValue
public PickHistoryRequest.Builder setQuestionTypeValue(int index, int value)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for questionType to set.- Returns:
- This builder for chaining.
-
addQuestionTypeValue
public PickHistoryRequest.Builder addQuestionTypeValue(int value)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
value- The enum numeric value on the wire for questionType to add.- Returns:
- This builder for chaining.
-
addAllQuestionTypeValue
public PickHistoryRequest.Builder addAllQuestionTypeValue(java.lang.Iterable<java.lang.Integer> values)
repeated .streamlayer.interactive.QuestionType question_type = 1 [json_name = "questionType"];- Parameters:
values- The enum numeric values on the wire for questionType to add.- Returns:
- This builder for chaining.
-
getEventId
public java.lang.String getEventId()
string event_id = 3 [json_name = "eventId"];- Specified by:
getEventIdin interfacePickHistoryRequestOrBuilder- Returns:
- The eventId.
-
getEventIdBytes
public com.google.protobuf.ByteString getEventIdBytes()
string event_id = 3 [json_name = "eventId"];- Specified by:
getEventIdBytesin interfacePickHistoryRequestOrBuilder- Returns:
- The bytes for eventId.
-
setEventId
public PickHistoryRequest.Builder setEventId(java.lang.String value)
string event_id = 3 [json_name = "eventId"];- Parameters:
value- The eventId to set.- Returns:
- This builder for chaining.
-
clearEventId
public PickHistoryRequest.Builder clearEventId()
string event_id = 3 [json_name = "eventId"];- Returns:
- This builder for chaining.
-
setEventIdBytes
public PickHistoryRequest.Builder setEventIdBytes(com.google.protobuf.ByteString value)
string event_id = 3 [json_name = "eventId"];- Parameters:
value- The bytes for eventId to set.- Returns:
- This builder for chaining.
-
hasPagination
public boolean hasPagination()
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];- Specified by:
hasPaginationin interfacePickHistoryRequestOrBuilder- Returns:
- Whether the pagination field is set.
-
getPagination
public Pagination getPagination()
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];- Specified by:
getPaginationin interfacePickHistoryRequestOrBuilder- Returns:
- The pagination.
-
setPagination
public PickHistoryRequest.Builder setPagination(Pagination value)
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];
-
setPagination
public PickHistoryRequest.Builder setPagination(Pagination.Builder builderForValue)
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];
-
mergePagination
public PickHistoryRequest.Builder mergePagination(Pagination value)
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];
-
clearPagination
public PickHistoryRequest.Builder clearPagination()
.streamlayer.interactive.Pagination pagination = 2 [json_name = "pagination"];
-
-