Interface SeekRequestOrBuilder (1.9.1)

Stay organized with collections Save and categorize content based on your preferences.
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()