public interface PartitionCursorOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
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. |