public static final class ListPartitionCursorsResponse.Builder extends GeneratedMessageV3.Builder<ListPartitionCursorsResponse.Builder> implements ListPartitionCursorsResponseOrBuilder
Response for ListPartitionCursors
Protobuf type google.cloud.pubsublite.v1.ListPartitionCursorsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
public ListPartitionCursorsResponse.Builder addAllPartitionCursors(Iterable<? extends PartitionCursor> values)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
values |
Iterable<? extends com.google.cloud.pubsublite.proto.PartitionCursor>
|
addPartitionCursors(PartitionCursor value)
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
addPartitionCursors(PartitionCursor.Builder builderForValue)
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
addPartitionCursors(int index, PartitionCursor value)
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
public ListPartitionCursorsResponse.Builder addPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
addPartitionCursorsBuilder()
public PartitionCursor.Builder addPartitionCursorsBuilder()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
addPartitionCursorsBuilder(int index)
public PartitionCursor.Builder addPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
index |
int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionCursorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListPartitionCursorsResponse build()
buildPartial()
public ListPartitionCursorsResponse buildPartial()
clear()
public ListPartitionCursorsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPartitionCursorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
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;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPartitionCursorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPartitionCursors()
public ListPartitionCursorsResponse.Builder clearPartitionCursors()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
clone()
public ListPartitionCursorsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListPartitionCursorsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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;
Returns |
Type |
Description |
String |
The nextPageToken.
|
getNextPageTokenBytes()
public 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;
Returns |
Type |
Description |
ByteString |
The bytes for nextPageToken.
|
getPartitionCursors(int index)
public PartitionCursor getPartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
index |
int
|
getPartitionCursorsBuilder(int index)
public PartitionCursor.Builder getPartitionCursorsBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
index |
int
|
getPartitionCursorsBuilderList()
public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
getPartitionCursorsCount()
public int getPartitionCursorsCount()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns |
Type |
Description |
int |
|
getPartitionCursorsList()
public List<PartitionCursor> getPartitionCursorsList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
getPartitionCursorsOrBuilder(int index)
public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
index |
int
|
getPartitionCursorsOrBuilderList()
public List<? extends PartitionCursorOrBuilder> getPartitionCursorsOrBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns |
Type |
Description |
List<? extends com.google.cloud.pubsublite.proto.PartitionCursorOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListPartitionCursorsResponse other)
public ListPartitionCursorsResponse.Builder mergeFrom(ListPartitionCursorsResponse other)
public ListPartitionCursorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListPartitionCursorsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionCursorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removePartitionCursors(int index)
public ListPartitionCursorsResponse.Builder removePartitionCursors(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter |
Name |
Description |
index |
int
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionCursorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setNextPageToken(String value)
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;
Parameter |
Name |
Description |
value |
String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public ListPartitionCursorsResponse.Builder setNextPageTokenBytes(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;
Parameter |
Name |
Description |
value |
ByteString
The bytes for nextPageToken to set.
|
setPartitionCursors(int index, PartitionCursor value)
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
public ListPartitionCursorsResponse.Builder setPartitionCursors(int index, PartitionCursor.Builder builderForValue)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPartitionCursorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionCursorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides