public static final class ListPartitionCursorsResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder> implements ListPartitionCursorsResponseOrBuilder
Response for ListPartitionCursorsProtobuf type
google.cloud.pubsublite.v1.ListPartitionCursorsResponse| Modifier and Type | Method and Description |
|---|---|
ListPartitionCursorsResponse.Builder |
addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
addPartitionCursors(int index,
PartitionCursor.Builder builderForValue)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
addPartitionCursors(int index,
PartitionCursor value)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
|
PartitionCursor.Builder |
addPartitionCursorsBuilder()
The partition cursors from this request.
|
PartitionCursor.Builder |
addPartitionCursorsBuilder(int index)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListPartitionCursorsResponse |
build() |
ListPartitionCursorsResponse |
buildPartial() |
ListPartitionCursorsResponse.Builder |
clear() |
ListPartitionCursorsResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
ListPartitionCursorsResponse.Builder |
clearNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
ListPartitionCursorsResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
ListPartitionCursorsResponse.Builder |
clearPartitionCursors()
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
clone() |
ListPartitionCursorsResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getNextPageToken()
A token, which can be sent as `page_token` to retrieve the next page.
|
com.google.protobuf.ByteString |
getNextPageTokenBytes()
A token, which can be sent as `page_token` to retrieve the next page.
|
PartitionCursor |
getPartitionCursors(int index)
The partition cursors from this request.
|
PartitionCursor.Builder |
getPartitionCursorsBuilder(int index)
The partition cursors from this request.
|
List<PartitionCursor.Builder> |
getPartitionCursorsBuilderList()
The partition cursors from this request.
|
int |
getPartitionCursorsCount()
The partition cursors from this request.
|
List<PartitionCursor> |
getPartitionCursorsList()
The partition cursors from this request.
|
PartitionCursorOrBuilder |
getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
|
List<? extends PartitionCursorOrBuilder> |
getPartitionCursorsOrBuilderList()
The partition cursors from this request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ListPartitionCursorsResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
ListPartitionCursorsResponse.Builder |
mergeFrom(ListPartitionCursorsResponse other) |
ListPartitionCursorsResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
ListPartitionCursorsResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
ListPartitionCursorsResponse.Builder |
removePartitionCursors(int index)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ListPartitionCursorsResponse.Builder |
setNextPageToken(String value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListPartitionCursorsResponse.Builder |
setNextPageTokenBytes(com.google.protobuf.ByteString value)
A token, which can be sent as `page_token` to retrieve the next page.
|
ListPartitionCursorsResponse.Builder |
setPartitionCursors(int index,
PartitionCursor.Builder builderForValue)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
setPartitionCursors(int index,
PartitionCursor value)
The partition cursors from this request.
|
ListPartitionCursorsResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ListPartitionCursorsResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic ListPartitionCursorsResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic ListPartitionCursorsResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic ListPartitionCursorsResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder mergeFrom(ListPartitionCursorsResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public ListPartitionCursorsResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<ListPartitionCursorsResponse.Builder>IOExceptionpublic List<PartitionCursor> getPartitionCursorsList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;getPartitionCursorsList in interface ListPartitionCursorsResponseOrBuilderpublic int getPartitionCursorsCount()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;getPartitionCursorsCount in interface ListPartitionCursorsResponseOrBuilderpublic PartitionCursor getPartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;getPartitionCursors in interface ListPartitionCursorsResponseOrBuilderpublic ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder clearPartitionCursors()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public ListPartitionCursorsResponse.Builder removePartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public PartitionCursor.Builder getPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;getPartitionCursorsOrBuilder in interface ListPartitionCursorsResponseOrBuilderpublic List<? extends PartitionCursorOrBuilder> getPartitionCursorsOrBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;getPartitionCursorsOrBuilderList in interface ListPartitionCursorsResponseOrBuilderpublic PartitionCursor.Builder addPartitionCursorsBuilder()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public PartitionCursor.Builder addPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;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;getNextPageToken in interface ListPartitionCursorsResponseOrBuilderpublic 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;getNextPageTokenBytes in interface ListPartitionCursorsResponseOrBuilderpublic 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;value - The nextPageToken to set.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;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;value - The bytes for nextPageToken to set.public final ListPartitionCursorsResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>public final ListPartitionCursorsResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.