Interface CommitCursorRequestOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
CommitCursorRequest,CommitCursorRequest.Builder
public interface CommitCursorRequestOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description CursorgetCursor()The new value for the committed cursor.CursorOrBuildergetCursorOrBuilder()The new value for the committed cursor.longgetPartition()The partition for which to update the cursor.StringgetSubscription()The subscription for which to update the cursor.com.google.protobuf.ByteStringgetSubscriptionBytes()The subscription for which to update the cursor.booleanhasCursor()The new value for the committed cursor.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSubscription
String getSubscription()
The subscription for which to update the cursor.
string subscription = 1;- Returns:
- The subscription.
-
getSubscriptionBytes
com.google.protobuf.ByteString getSubscriptionBytes()
The subscription for which to update the cursor.
string subscription = 1;- Returns:
- The bytes for subscription.
-
getPartition
long getPartition()
The partition for which to update the cursor. Partitions are zero indexed, so `partition` must be in the range [0, topic.num_partitions).
int64 partition = 2;- Returns:
- The partition.
-
hasCursor
boolean hasCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;- Returns:
- Whether the cursor field is set.
-
getCursor
Cursor getCursor()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;- Returns:
- The cursor.
-
getCursorOrBuilder
CursorOrBuilder getCursorOrBuilder()
The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;
-
-