public interface SeekRequestOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
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;
Type | Description |
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;
Type | Description |
CursorOrBuilder |
getNamedTarget()
public abstract SeekRequest.NamedTarget getNamedTarget()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;
Type | Description |
SeekRequest.NamedTarget | The namedTarget. |
getNamedTargetValue()
public abstract int getNamedTargetValue()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;
Type | Description |
int | The enum numeric value on the wire for namedTarget. |
getTargetCase()
public abstract SeekRequest.TargetCase getTargetCase()
Type | Description |
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;
Type | Description |
boolean | Whether the cursor field is set. |
hasNamedTarget()
public abstract boolean hasNamedTarget()
A named target.
.google.cloud.pubsublite.v1.SeekRequest.NamedTarget named_target = 1;
Type | Description |
boolean | Whether the namedTarget field is set. |