public interface CommitCursorRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCursor()
public abstract Cursor getCursor()The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;
| Type | Description |
| Cursor | The cursor. |
getCursorOrBuilder()
public abstract CursorOrBuilder getCursorOrBuilder()The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;
| Type | Description |
| CursorOrBuilder |
getPartition()
public abstract 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;
| Type | Description |
| long | The partition. |
getSubscription()
public abstract String getSubscription()The subscription for which to update the cursor.
string subscription = 1;
| Type | Description |
| String | The subscription. |
getSubscriptionBytes()
public abstract ByteString getSubscriptionBytes()The subscription for which to update the cursor.
string subscription = 1;
| Type | Description |
| ByteString | The bytes for subscription. |
hasCursor()
public abstract boolean hasCursor()The new value for the committed cursor.
.google.cloud.pubsublite.v1.Cursor cursor = 3;
| Type | Description |
| boolean | Whether the cursor field is set. |