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.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()
Returns
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>
|
Returns
addPartitionCursors(PartitionCursor value)
public ListPartitionCursorsResponse.Builder addPartitionCursors(PartitionCursor value)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter
Returns
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;
Parameter
Returns
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;
Parameters
Returns
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;
Parameters
Returns
addPartitionCursorsBuilder()
public PartitionCursor.Builder addPartitionCursorsBuilder()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionCursorsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public ListPartitionCursorsResponse build()
Returns
buildPartial()
public ListPartitionCursorsResponse buildPartial()
Returns
clear()
public ListPartitionCursorsResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListPartitionCursorsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
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;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListPartitionCursorsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPartitionCursors()
public ListPartitionCursorsResponse.Builder clearPartitionCursors()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns
clone()
public ListPartitionCursorsResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public ListPartitionCursorsResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getPartitionCursorsBuilderList()
public List<PartitionCursor.Builder> getPartitionCursorsBuilderList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns
getPartitionCursorsCount()
public int getPartitionCursorsCount()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns
getPartitionCursorsList()
public List<PartitionCursor> getPartitionCursorsList()
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Returns
getPartitionCursorsOrBuilder(int index)
public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)
The partition cursors from this request.
repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;
Parameter
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(ListPartitionCursorsResponse other)
public ListPartitionCursorsResponse.Builder mergeFrom(ListPartitionCursorsResponse other)
Parameter
Returns
public ListPartitionCursorsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListPartitionCursorsResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionCursorsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public ListPartitionCursorsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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.
|
Returns
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.
|
Returns
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;
Parameters
Returns
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;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListPartitionCursorsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListPartitionCursorsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides