Interface PartitionCursorOrBuilder (1.13.2)

public interface PartitionCursorOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCursor()

public abstract Cursor getCursor()

The value of the cursor.

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

Returns
TypeDescription
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

The value of the cursor.

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

Returns
TypeDescription
CursorOrBuilder

getPartition()

public abstract long getPartition()

The partition this is for.

int64 partition = 1;

Returns
TypeDescription
long

The partition.

hasCursor()

public abstract boolean hasCursor()

The value of the cursor.

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

Returns
TypeDescription
boolean

Whether the cursor field is set.