Interface PartitionCursorOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
PartitionCursor,PartitionCursor.Builder
public interface PartitionCursorOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe value of the cursor.The value of the cursor.longThe partition this is for.booleanThe value of the cursor.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getPartition
long getPartition()The partition this is for.
int64 partition = 1;- Returns:
- The partition.
-
hasCursor
boolean hasCursor()The value of the cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 2;- Returns:
- Whether the cursor field is set.
-
getCursor
Cursor getCursor()The value of the cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 2;- Returns:
- The cursor.
-
getCursorOrBuilder
CursorOrBuilder getCursorOrBuilder()The value of the cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 2;
-