Class ListRequest.ListRequestFilter.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder<MessageType,BuilderType>
-
- com.google.protobuf.GeneratedMessageLite.Builder<ListRequest.ListRequestFilter,ListRequest.ListRequestFilter.Builder>
-
- com.streamlayer.interactive.question.ListRequest.ListRequestFilter.Builder
-
- All Implemented Interfaces:
com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,ListRequest.ListRequestFilterOrBuilder,java.lang.Cloneable
- Enclosing class:
- ListRequest.ListRequestFilter
public static final class ListRequest.ListRequestFilter.Builder extends com.google.protobuf.GeneratedMessageLite.Builder<ListRequest.ListRequestFilter,ListRequest.ListRequestFilter.Builder> implements ListRequest.ListRequestFilterOrBuilder
Protobuf typestreamlayer.interactive.question.ListRequest.ListRequestFilter
-
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description ListRequest.ListRequestFilter.BuilderaddAllIds(java.lang.Iterable<java.lang.String> values)question idsListRequest.ListRequestFilter.BuilderaddAllStatuses(java.lang.Iterable<? extends QuestionStatus> values)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuilderaddAllStatusesValue(java.lang.Iterable<java.lang.Integer> values)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuilderaddAllTypes(java.lang.Iterable<? extends QuestionType> values)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuilderaddAllTypesValue(java.lang.Iterable<java.lang.Integer> values)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuilderaddIds(java.lang.String value)question idsListRequest.ListRequestFilter.BuilderaddIdsBytes(com.google.protobuf.ByteString value)question idsListRequest.ListRequestFilter.BuilderaddStatuses(QuestionStatus value)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuilderaddStatusesValue(int value)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuilderaddTypes(QuestionType value)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuilderaddTypesValue(int value)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuilderclearId()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.ListRequest.ListRequestFilter.BuilderclearIds()question idsListRequest.ListRequestFilter.BuilderclearShowDeleted()show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arraysListRequest.ListRequestFilter.BuilderclearStatus()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated.ListRequest.ListRequestFilter.BuilderclearStatuses()repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuilderclearType()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.ListRequest.ListRequestFilter.BuilderclearTypes()repeated .streamlayer.interactive.QuestionType types = 5;java.lang.StringgetId()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.com.google.protobuf.ByteStringgetIdBytes()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.java.lang.StringgetIds(int index)question idscom.google.protobuf.ByteStringgetIdsBytes(int index)question idsintgetIdsCount()question idsjava.util.List<java.lang.String>getIdsList()question idsbooleangetShowDeleted()show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arraysQuestionStatusgetStatus()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated.QuestionStatusgetStatuses(int index)repeated .streamlayer.interactive.QuestionStatus statuses = 4;intgetStatusesCount()repeated .streamlayer.interactive.QuestionStatus statuses = 4;java.util.List<QuestionStatus>getStatusesList()repeated .streamlayer.interactive.QuestionStatus statuses = 4;intgetStatusesValue(int index)repeated .streamlayer.interactive.QuestionStatus statuses = 4;java.util.List<java.lang.Integer>getStatusesValueList()repeated .streamlayer.interactive.QuestionStatus statuses = 4;intgetStatusValue()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated.QuestionTypegetType()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.QuestionTypegetTypes(int index)repeated .streamlayer.interactive.QuestionType types = 5;intgetTypesCount()repeated .streamlayer.interactive.QuestionType types = 5;java.util.List<QuestionType>getTypesList()repeated .streamlayer.interactive.QuestionType types = 5;intgetTypesValue(int index)repeated .streamlayer.interactive.QuestionType types = 5;java.util.List<java.lang.Integer>getTypesValueList()repeated .streamlayer.interactive.QuestionType types = 5;intgetTypeValue()Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.ListRequest.ListRequestFilter.BuildersetId(java.lang.String value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.ListRequest.ListRequestFilter.BuildersetIdBytes(com.google.protobuf.ByteString value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated.ListRequest.ListRequestFilter.BuildersetIds(int index, java.lang.String value)question idsListRequest.ListRequestFilter.BuildersetShowDeleted(boolean value)show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arraysListRequest.ListRequestFilter.BuildersetStatus(QuestionStatus value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated.ListRequest.ListRequestFilter.BuildersetStatuses(int index, QuestionStatus value)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuildersetStatusesValue(int index, int value)repeated .streamlayer.interactive.QuestionStatus statuses = 4;ListRequest.ListRequestFilter.BuildersetStatusValue(int value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated.ListRequest.ListRequestFilter.BuildersetType(QuestionType value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.ListRequest.ListRequestFilter.BuildersetTypes(int index, QuestionType value)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuildersetTypesValue(int index, int value)repeated .streamlayer.interactive.QuestionType types = 5;ListRequest.ListRequestFilter.BuildersetTypeValue(int value)Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated.-
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
-
getTypeValue
@Deprecated public int getTypeValue()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated. See interactive/interactive.questions.proto;l=80.streamlayer.interactive.QuestionType type = 1 [deprecated = true];- Specified by:
getTypeValuein interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
@Deprecated public ListRequest.ListRequestFilter.Builder setTypeValue(int value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated. See interactive/interactive.questions.proto;l=80.streamlayer.interactive.QuestionType type = 1 [deprecated = true];- Parameters:
value- The type to set.- Returns:
- This builder for chaining.
-
getType
@Deprecated public QuestionType getType()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated. See interactive/interactive.questions.proto;l=80.streamlayer.interactive.QuestionType type = 1 [deprecated = true];- Specified by:
getTypein interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The type.
-
setType
@Deprecated public ListRequest.ListRequestFilter.Builder setType(QuestionType value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated. See interactive/interactive.questions.proto;l=80.streamlayer.interactive.QuestionType type = 1 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for type to set.- Returns:
- This builder for chaining.
-
clearType
@Deprecated public ListRequest.ListRequestFilter.Builder clearType()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.type is deprecated. See interactive/interactive.questions.proto;l=80.streamlayer.interactive.QuestionType type = 1 [deprecated = true];- Returns:
- This builder for chaining.
-
getStatusValue
@Deprecated public int getStatusValue()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated. See interactive/interactive.questions.proto;l=81.streamlayer.interactive.QuestionStatus status = 2 [deprecated = true];- Specified by:
getStatusValuein interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The enum numeric value on the wire for status.
-
setStatusValue
@Deprecated public ListRequest.ListRequestFilter.Builder setStatusValue(int value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated. See interactive/interactive.questions.proto;l=81.streamlayer.interactive.QuestionStatus status = 2 [deprecated = true];- Parameters:
value- The status to set.- Returns:
- This builder for chaining.
-
getStatus
@Deprecated public QuestionStatus getStatus()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated. See interactive/interactive.questions.proto;l=81.streamlayer.interactive.QuestionStatus status = 2 [deprecated = true];- Specified by:
getStatusin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The status.
-
setStatus
@Deprecated public ListRequest.ListRequestFilter.Builder setStatus(QuestionStatus value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated. See interactive/interactive.questions.proto;l=81.streamlayer.interactive.QuestionStatus status = 2 [deprecated = true];- Parameters:
value- The enum numeric value on the wire for status to set.- Returns:
- This builder for chaining.
-
clearStatus
@Deprecated public ListRequest.ListRequestFilter.Builder clearStatus()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.status is deprecated. See interactive/interactive.questions.proto;l=81.streamlayer.interactive.QuestionStatus status = 2 [deprecated = true];- Returns:
- This builder for chaining.
-
getId
@Deprecated public java.lang.String getId()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated. See interactive/interactive.questions.proto;l=82string id = 3 [deprecated = true];- Specified by:
getIdin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The id.
-
getIdBytes
@Deprecated public com.google.protobuf.ByteString getIdBytes()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated. See interactive/interactive.questions.proto;l=82string id = 3 [deprecated = true];- Specified by:
getIdBytesin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The bytes for id.
-
setId
@Deprecated public ListRequest.ListRequestFilter.Builder setId(java.lang.String value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated. See interactive/interactive.questions.proto;l=82string id = 3 [deprecated = true];- Parameters:
value- The id to set.- Returns:
- This builder for chaining.
-
clearId
@Deprecated public ListRequest.ListRequestFilter.Builder clearId()
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated. See interactive/interactive.questions.proto;l=82string id = 3 [deprecated = true];- Returns:
- This builder for chaining.
-
setIdBytes
@Deprecated public ListRequest.ListRequestFilter.Builder setIdBytes(com.google.protobuf.ByteString value)
Deprecated.streamlayer.interactive.question.ListRequest.ListRequestFilter.id is deprecated. See interactive/interactive.questions.proto;l=82string id = 3 [deprecated = true];- Parameters:
value- The bytes for id to set.- Returns:
- This builder for chaining.
-
getStatusesList
public java.util.List<QuestionStatus> getStatusesList()
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Specified by:
getStatusesListin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- A list containing the statuses.
-
getStatusesCount
public int getStatusesCount()
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Specified by:
getStatusesCountin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The count of statuses.
-
getStatuses
public QuestionStatus getStatuses(int index)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Specified by:
getStatusesin interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The statuses at the given index.
-
setStatuses
public ListRequest.ListRequestFilter.Builder setStatuses(int index, QuestionStatus value)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
index- The index to set the value at.value- The statuses to set.- Returns:
- This builder for chaining.
-
addStatuses
public ListRequest.ListRequestFilter.Builder addStatuses(QuestionStatus value)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
value- The statuses to add.- Returns:
- This builder for chaining.
-
addAllStatuses
public ListRequest.ListRequestFilter.Builder addAllStatuses(java.lang.Iterable<? extends QuestionStatus> values)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
values- The statuses to add.- Returns:
- This builder for chaining.
-
clearStatuses
public ListRequest.ListRequestFilter.Builder clearStatuses()
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Returns:
- This builder for chaining.
-
getStatusesValueList
public java.util.List<java.lang.Integer> getStatusesValueList()
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Specified by:
getStatusesValueListin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for statuses.
-
getStatusesValue
public int getStatusesValue(int index)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Specified by:
getStatusesValuein interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of statuses at the given index.
-
setStatusesValue
public ListRequest.ListRequestFilter.Builder setStatusesValue(int index, int value)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for statuses to set.- Returns:
- This builder for chaining.
-
addStatusesValue
public ListRequest.ListRequestFilter.Builder addStatusesValue(int value)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
value- The enum numeric value on the wire for statuses to add.- Returns:
- This builder for chaining.
-
addAllStatusesValue
public ListRequest.ListRequestFilter.Builder addAllStatusesValue(java.lang.Iterable<java.lang.Integer> values)
repeated .streamlayer.interactive.QuestionStatus statuses = 4;- Parameters:
values- The enum numeric values on the wire for statuses to add.- Returns:
- This builder for chaining.
-
getTypesList
public java.util.List<QuestionType> getTypesList()
repeated .streamlayer.interactive.QuestionType types = 5;- Specified by:
getTypesListin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- A list containing the types.
-
getTypesCount
public int getTypesCount()
repeated .streamlayer.interactive.QuestionType types = 5;- Specified by:
getTypesCountin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The count of types.
-
getTypes
public QuestionType getTypes(int index)
repeated .streamlayer.interactive.QuestionType types = 5;- Specified by:
getTypesin interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The types at the given index.
-
setTypes
public ListRequest.ListRequestFilter.Builder setTypes(int index, QuestionType value)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
index- The index to set the value at.value- The types to set.- Returns:
- This builder for chaining.
-
addTypes
public ListRequest.ListRequestFilter.Builder addTypes(QuestionType value)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
value- The types to add.- Returns:
- This builder for chaining.
-
addAllTypes
public ListRequest.ListRequestFilter.Builder addAllTypes(java.lang.Iterable<? extends QuestionType> values)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
values- The types to add.- Returns:
- This builder for chaining.
-
clearTypes
public ListRequest.ListRequestFilter.Builder clearTypes()
repeated .streamlayer.interactive.QuestionType types = 5;- Returns:
- This builder for chaining.
-
getTypesValueList
public java.util.List<java.lang.Integer> getTypesValueList()
repeated .streamlayer.interactive.QuestionType types = 5;- Specified by:
getTypesValueListin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- A list containing the enum numeric values on the wire for types.
-
getTypesValue
public int getTypesValue(int index)
repeated .streamlayer.interactive.QuestionType types = 5;- Specified by:
getTypesValuein interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The enum numeric value on the wire of types at the given index.
-
setTypesValue
public ListRequest.ListRequestFilter.Builder setTypesValue(int index, int value)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
index- The index to set the value at.value- The enum numeric value on the wire for types to set.- Returns:
- This builder for chaining.
-
addTypesValue
public ListRequest.ListRequestFilter.Builder addTypesValue(int value)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
value- The enum numeric value on the wire for types to add.- Returns:
- This builder for chaining.
-
addAllTypesValue
public ListRequest.ListRequestFilter.Builder addAllTypesValue(java.lang.Iterable<java.lang.Integer> values)
repeated .streamlayer.interactive.QuestionType types = 5;- Parameters:
values- The enum numeric values on the wire for types to add.- Returns:
- This builder for chaining.
-
getIdsList
public java.util.List<java.lang.String> getIdsList()
question ids
repeated string ids = 6;- Specified by:
getIdsListin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- A list containing the ids.
-
getIdsCount
public int getIdsCount()
question ids
repeated string ids = 6;- Specified by:
getIdsCountin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The count of ids.
-
getIds
public java.lang.String getIds(int index)
question ids
repeated string ids = 6;- Specified by:
getIdsin interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The ids at the given index.
-
getIdsBytes
public com.google.protobuf.ByteString getIdsBytes(int index)
question ids
repeated string ids = 6;- Specified by:
getIdsBytesin interfaceListRequest.ListRequestFilterOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the ids at the given index.
-
setIds
public ListRequest.ListRequestFilter.Builder setIds(int index, java.lang.String value)
question ids
repeated string ids = 6;- Parameters:
index- The index to set the value at.value- The ids to set.- Returns:
- This builder for chaining.
-
addIds
public ListRequest.ListRequestFilter.Builder addIds(java.lang.String value)
question ids
repeated string ids = 6;- Parameters:
value- The ids to add.- Returns:
- This builder for chaining.
-
addAllIds
public ListRequest.ListRequestFilter.Builder addAllIds(java.lang.Iterable<java.lang.String> values)
question ids
repeated string ids = 6;- Parameters:
values- The ids to add.- Returns:
- This builder for chaining.
-
clearIds
public ListRequest.ListRequestFilter.Builder clearIds()
question ids
repeated string ids = 6;- Returns:
- This builder for chaining.
-
addIdsBytes
public ListRequest.ListRequestFilter.Builder addIdsBytes(com.google.protobuf.ByteString value)
question ids
repeated string ids = 6;- Parameters:
value- The bytes of the ids to add.- Returns:
- This builder for chaining.
-
getShowDeleted
public boolean getShowDeleted()
show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arrays
bool show_deleted = 7;- Specified by:
getShowDeletedin interfaceListRequest.ListRequestFilterOrBuilder- Returns:
- The showDeleted.
-
setShowDeleted
public ListRequest.ListRequestFilter.Builder setShowDeleted(boolean value)
show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arrays
bool show_deleted = 7;- Parameters:
value- The showDeleted to set.- Returns:
- This builder for chaining.
-
clearShowDeleted
public ListRequest.ListRequestFilter.Builder clearShowDeleted()
show_deleted: if supplied the method returns only recently deleted items, to get all deleted items either skip "statuses" and "types" or pass empty arrays
bool show_deleted = 7;- Returns:
- This builder for chaining.
-
-