Class ListPartitionCursorsResponse (1.7.1)

public final class ListPartitionCursorsResponse extends GeneratedMessageV3 implements ListPartitionCursorsResponseOrBuilder

Response for ListPartitionCursors

Protobuf type google.cloud.pubsublite.v1.ListPartitionCursorsResponse

Static Fields

NEXT_PAGE_TOKEN_FIELD_NUMBER

public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
TypeDescription
int

PARTITION_CURSORS_FIELD_NUMBER

public static final int PARTITION_CURSORS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ListPartitionCursorsResponse getDefaultInstance()
Returns
TypeDescription
ListPartitionCursorsResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ListPartitionCursorsResponse.Builder newBuilder()
Returns
TypeDescription
ListPartitionCursorsResponse.Builder

newBuilder(ListPartitionCursorsResponse prototype)

public static ListPartitionCursorsResponse.Builder newBuilder(ListPartitionCursorsResponse prototype)
Parameter
NameDescription
prototypeListPartitionCursorsResponse
Returns
TypeDescription
ListPartitionCursorsResponse.Builder

parseDelimitedFrom(InputStream input)

public static ListPartitionCursorsResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ListPartitionCursorsResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ListPartitionCursorsResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ListPartitionCursorsResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static ListPartitionCursorsResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static ListPartitionCursorsResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ListPartitionCursorsResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ListPartitionCursorsResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<ListPartitionCursorsResponse> parser()
Returns
TypeDescription
Parser<ListPartitionCursorsResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public ListPartitionCursorsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListPartitionCursorsResponse

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
TypeDescription
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
TypeDescription
ByteString

The bytes for nextPageToken.

getParserForType()

public Parser<ListPartitionCursorsResponse> getParserForType()
Returns
TypeDescription
Parser<ListPartitionCursorsResponse>
Overrides

getPartitionCursors(int index)

public PartitionCursor getPartitionCursors(int index)

The partition cursors from this request.

repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PartitionCursor

getPartitionCursorsCount()

public int getPartitionCursorsCount()

The partition cursors from this request.

repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;

Returns
TypeDescription
int

getPartitionCursorsList()

public List<PartitionCursor> getPartitionCursorsList()

The partition cursors from this request.

repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;

Returns
TypeDescription
List<PartitionCursor>

getPartitionCursorsOrBuilder(int index)

public PartitionCursorOrBuilder getPartitionCursorsOrBuilder(int index)

The partition cursors from this request.

repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
PartitionCursorOrBuilder

getPartitionCursorsOrBuilderList()

public List<? extends PartitionCursorOrBuilder> getPartitionCursorsOrBuilderList()

The partition cursors from this request.

repeated .google.cloud.pubsublite.v1.PartitionCursor partition_cursors = 1;

Returns
TypeDescription
List<? extends com.google.cloud.pubsublite.proto.PartitionCursorOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public ListPartitionCursorsResponse.Builder newBuilderForType()
Returns
TypeDescription
ListPartitionCursorsResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ListPartitionCursorsResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
ListPartitionCursorsResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public ListPartitionCursorsResponse.Builder toBuilder()
Returns
TypeDescription
ListPartitionCursorsResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException