Interface SeekRequestOrBuilder (1.12.22)

public interface SeekRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCursor()

public abstract Cursor getCursor()

A target corresponding to the cursor, pointing to anywhere in the topic partition.

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

Returns
TypeDescription
Cursor

The cursor.

getCursorOrBuilder()

public abstract CursorOrBuilder getCursorOrBuilder()

A target corresponding to the cursor, pointing to anywhere in the topic partition.

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

Returns
TypeDescription
CursorOrBuilder

getNamedTarget()

public abstract SeekRequest.NamedTarget getNamedTarget()

A named target.

.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;

Returns
TypeDescription
SeekRequest.NamedTarget

The namedTarget.

getNamedTargetValue()

public abstract int getNamedTargetValue()

A named target.

.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for namedTarget.

getTargetCase()

public abstract SeekRequest.TargetCase getTargetCase()
Returns
TypeDescription
SeekRequest.TargetCase

hasCursor()

public abstract boolean hasCursor()

A target corresponding to the cursor, pointing to anywhere in the topic partition.

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

Returns
TypeDescription
boolean

Whether the cursor field is set.

hasNamedTarget()

public abstract boolean hasNamedTarget()

A named target.

.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;

Returns
TypeDescription
boolean

Whether the namedTarget field is set.