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