public final class ListPartitionCursorsRequest extends GeneratedMessageV3 implements ListPartitionCursorsRequestOrBuilder
Request for ListPartitionCursors.
Protobuf type google.cloud.pubsublite.v1.ListPartitionCursorsRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListPartitionCursorsRequestImplements
ListPartitionCursorsRequestOrBuilderStatic Fields
PAGE_SIZE_FIELD_NUMBER
public static final int PAGE_SIZE_FIELD_NUMBER
Type | Description |
int |
PAGE_TOKEN_FIELD_NUMBER
public static final int PAGE_TOKEN_FIELD_NUMBER
Type | Description |
int |
PARENT_FIELD_NUMBER
public static final int PARENT_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListPartitionCursorsRequest getDefaultInstance()
Type | Description |
ListPartitionCursorsRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListPartitionCursorsRequest.Builder newBuilder()
Type | Description |
ListPartitionCursorsRequest.Builder |
newBuilder(ListPartitionCursorsRequest prototype)
public static ListPartitionCursorsRequest.Builder newBuilder(ListPartitionCursorsRequest prototype)
Name | Description |
prototype | ListPartitionCursorsRequest |
Type | Description |
ListPartitionCursorsRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ListPartitionCursorsRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListPartitionCursorsRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListPartitionCursorsRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListPartitionCursorsRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListPartitionCursorsRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListPartitionCursorsRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListPartitionCursorsRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListPartitionCursorsRequest> parser()
Type | Description |
Parser<ListPartitionCursorsRequest> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public ListPartitionCursorsRequest getDefaultInstanceForType()
Type | Description |
ListPartitionCursorsRequest |
getPageSize()
public int getPageSize()
The maximum number of cursors to return. The service may return fewer than this value. If unset or zero, all cursors for the parent will be returned.
int32 page_size = 2;
Type | Description |
int | The pageSize. |
getPageToken()
public String getPageToken()
A page token, received from a previous ListPartitionCursors
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPartitionCursors
must match the call that provided the page token.
string page_token = 3;
Type | Description |
String | The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes()
A page token, received from a previous ListPartitionCursors
call.
Provide this to retrieve the subsequent page.
When paginating, all other parameters provided to ListPartitionCursors
must match the call that provided the page token.
string page_token = 3;
Type | Description |
ByteString | The bytes for pageToken. |
getParent()
public String getParent()
Required. The subscription for which to retrieve cursors.
Structured like
projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The parent. |
getParentBytes()
public ByteString getParentBytes()
Required. The subscription for which to retrieve cursors.
Structured like
projects/{project_number}/locations/{location}/subscriptions/{subscription_id}
.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for parent. |
getParserForType()
public Parser<ListPartitionCursorsRequest> getParserForType()
Type | Description |
Parser<ListPartitionCursorsRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ListPartitionCursorsRequest.Builder newBuilderForType()
Type | Description |
ListPartitionCursorsRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPartitionCursorsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListPartitionCursorsRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListPartitionCursorsRequest.Builder toBuilder()
Type | Description |
ListPartitionCursorsRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |