Interface CommitCursorRequestOrBuilder (1.13.6)

public interface CommitCursorRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCursor()

public abstract Cursor getCursor()

The new value for the committed cursor.

.google.cloud.pubsublite.v1.Cursor cursor = 3;

Returns
Type Description
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

The new value for the committed cursor.

.google.cloud.pubsublite.v1.Cursor cursor = 3;

Returns
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;

Returns
Type Description
long

The partition.

getSubscription()

public abstract String getSubscription()

The subscription for which to update the cursor.

string subscription = 1;

Returns
Type Description
String

The subscription.

getSubscriptionBytes()

public abstract ByteString getSubscriptionBytes()

The subscription for which to update the cursor.

string subscription = 1;

Returns
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;

Returns
Type Description
boolean

Whether the cursor field is set.