Class ListPartitionCursorsResponse.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
- com.google.cloud.pubsublite.proto.ListPartitionCursorsResponse.Builder
-
- All Implemented Interfaces:
ListPartitionCursorsResponseOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListPartitionCursorsResponse
public static final class ListPartitionCursorsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder> implements ListPartitionCursorsResponseOrBuilder
Response for ListPartitionCursors
Protobuf typegoogle.cloud.pubsublite.v1.ListPartitionCursorsResponse
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListPartitionCursorsResponse.BuilderaddAllPartitionCursors(Iterable<? extends PartitionCursor> values)The partition cursors from this request.ListPartitionCursorsResponse.BuilderaddPartitionCursors(int index, PartitionCursor value)The partition cursors from this request.ListPartitionCursorsResponse.BuilderaddPartitionCursors(int index, PartitionCursor.Builder builderForValue)The partition cursors from this request.ListPartitionCursorsResponse.BuilderaddPartitionCursors(PartitionCursor value)The partition cursors from this request.ListPartitionCursorsResponse.BuilderaddPartitionCursors(PartitionCursor.Builder builderForValue)The partition cursors from this request.PartitionCursor.BuilderaddPartitionCursorsBuilder()The partition cursors from this request.PartitionCursor.BuilderaddPartitionCursorsBuilder(int index)The partition cursors from this request.ListPartitionCursorsResponse.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPartitionCursorsResponsebuild()ListPartitionCursorsResponsebuildPartial()ListPartitionCursorsResponse.Builderclear()ListPartitionCursorsResponse.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListPartitionCursorsResponse.BuilderclearNextPageToken()A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListPartitionCursorsResponse.BuilderclearPartitionCursors()The partition cursors from this request.ListPartitionCursorsResponse.Builderclone()ListPartitionCursorsResponsegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetNextPageToken()A token, which can be sent as `page_token` to retrieve the next page.com.google.protobuf.ByteStringgetNextPageTokenBytes()A token, which can be sent as `page_token` to retrieve the next page.PartitionCursorgetPartitionCursors(int index)The partition cursors from this request.PartitionCursor.BuildergetPartitionCursorsBuilder(int index)The partition cursors from this request.List<PartitionCursor.Builder>getPartitionCursorsBuilderList()The partition cursors from this request.intgetPartitionCursorsCount()The partition cursors from this request.List<PartitionCursor>getPartitionCursorsList()The partition cursors from this request.PartitionCursorOrBuildergetPartitionCursorsOrBuilder(int index)The partition cursors from this request.List<? extends PartitionCursorOrBuilder>getPartitionCursorsOrBuilderList()The partition cursors from this request.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListPartitionCursorsResponse.BuildermergeFrom(ListPartitionCursorsResponse other)ListPartitionCursorsResponse.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListPartitionCursorsResponse.BuildermergeFrom(com.google.protobuf.Message other)ListPartitionCursorsResponse.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListPartitionCursorsResponse.BuilderremovePartitionCursors(int index)The partition cursors from this request.ListPartitionCursorsResponse.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListPartitionCursorsResponse.BuildersetNextPageToken(String value)A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.BuildersetNextPageTokenBytes(com.google.protobuf.ByteString value)A token, which can be sent as `page_token` to retrieve the next page.ListPartitionCursorsResponse.BuildersetPartitionCursors(int index, PartitionCursor value)The partition cursors from this request.ListPartitionCursorsResponse.BuildersetPartitionCursors(int index, PartitionCursor.Builder builderForValue)The partition cursors from this request.ListPartitionCursorsResponse.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListPartitionCursorsResponse.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clear
public ListPartitionCursorsResponse.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
getDefaultInstanceForType
public ListPartitionCursorsResponse getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListPartitionCursorsResponse build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListPartitionCursorsResponse buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListPartitionCursorsResponse.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
setField
public ListPartitionCursorsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clearField
public ListPartitionCursorsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
clearOneof
public ListPartitionCursorsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
setRepeatedField
public ListPartitionCursorsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
addRepeatedField
public ListPartitionCursorsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(ListPartitionCursorsResponse other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeFrom
public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>- Throws:
IOException
-
getPartitionCursorsList
public List<PartitionCursor> getPartitionCursorsList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;- Specified by:
getPartitionCursorsListin interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursorsCount
public int getPartitionCursorsCount()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;- Specified by:
getPartitionCursorsCountin interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursors
public PartitionCursor getPartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;- Specified by:
getPartitionCursorsin interfaceListPartitionCursorsResponseOrBuilder
-
setPartitionCursors
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
setPartitionCursors
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursors
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addAllPartitionCursors
public ListPartitionCursorsResponse.Builder addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
clearPartitionCursors
public ListPartitionCursorsResponse.Builder clearPartitionCursors()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
removePartitionCursors
public ListPartitionCursorsResponse.Builder removePartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsBuilder
public PartitionCursor.Builder getPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsOrBuilder
public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;- Specified by:
getPartitionCursorsOrBuilderin interfaceListPartitionCursorsResponseOrBuilder
-
getPartitionCursorsOrBuilderList
public List<? extends PartitionCursorOrBuilder> getPartitionCursorsOrBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;- Specified by:
getPartitionCursorsOrBuilderListin interfaceListPartitionCursorsResponseOrBuilder
-
addPartitionCursorsBuilder
public PartitionCursor.Builder addPartitionCursorsBuilder()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
addPartitionCursorsBuilder
public PartitionCursor.Builder addPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getPartitionCursorsBuilderList
public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
-
getNextPageToken
public String getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenin interfaceListPartitionCursorsResponseOrBuilder- Returns:
- The nextPageToken.
-
getNextPageTokenBytes
public com.google.protobuf.ByteString getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Specified by:
getNextPageTokenBytesin interfaceListPartitionCursorsResponseOrBuilder- Returns:
- The bytes for nextPageToken.
-
setNextPageToken
public ListPartitionCursorsResponse.Builder setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The nextPageToken to set.- Returns:
- This builder for chaining.
-
clearNextPageToken
public ListPartitionCursorsResponse.Builder clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Returns:
- This builder for chaining.
-
setNextPageTokenBytes
public ListPartitionCursorsResponse.Builder setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
string next_page_token = 2;- Parameters:
value- The bytes for nextPageToken to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListPartitionCursorsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
mergeUnknownFields
public final ListPartitionCursorsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>
-
-