Send feedback
Class ListPartitionCursorsResponse (1.15.17)
Stay organized with collections
Save and categorize content based on your preferences.
public final class ListPartitionCursorsResponse extends GeneratedMessageV3 implements ListPartitionCursorsResponseOrBuilder
Response for ListPartitionCursors
Protobuf type google.cloud.pubsublite.v1.ListPartitionCursorsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
NEXT_PAGE_TOKEN_FIELD_NUMBER
public static final int NEXT_PAGE_TOKEN_FIELD_NUMBER
Field Value
Type
Description
int
PARTITION_CURSORS_FIELD_NUMBER
public static final int PARTITION_CURSORS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static ListPartitionCursorsResponse getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static ListPartitionCursorsResponse . Builder newBuilder ()
newBuilder(ListPartitionCursorsResponse prototype)
public static ListPartitionCursorsResponse . Builder newBuilder ( ListPartitionCursorsResponse prototype )
public static ListPartitionCursorsResponse parseDelimitedFrom ( InputStream input )
public static ListPartitionCursorsResponse parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static ListPartitionCursorsResponse parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsResponse parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static ListPartitionCursorsResponse parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsResponse parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static ListPartitionCursorsResponse parseFrom ( CodedInputStream input )
public static ListPartitionCursorsResponse parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static ListPartitionCursorsResponse parseFrom ( InputStream input )
public static ListPartitionCursorsResponse parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static ListPartitionCursorsResponse parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListPartitionCursorsResponse parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<ListPartitionCursorsResponse> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDefaultInstanceForType()
public ListPartitionCursorsResponse getDefaultInstanceForType ()
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.
getParserForType()
public Parser<ListPartitionCursorsResponse> getParserForType ()
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
Name
Description
index
int
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 >
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public ListPartitionCursorsResponse . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListPartitionCursorsResponse . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public ListPartitionCursorsResponse . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]