Interface PartitionCursorOrBuilder (1.13.5)

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
Type Description
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

The value of the cursor.

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

Returns
Type Description
CursorOrBuilder

getPartition()

public abstract long getPartition()

The partition this is for.

int64 partition = 1;

Returns
Type Description
long

The partition.

hasCursor()

public abstract boolean hasCursor()

The value of the cursor.

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

Returns
Type Description
boolean

Whether the cursor field is set.