public interface SequencedMessageOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCursor()
public abstract Cursor getCursor()The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
| Type | Description |
| Cursor | The cursor. |
getCursorOrBuilder()
public abstract CursorOrBuilder getCursorOrBuilder()The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
| Type | Description |
| CursorOrBuilder |
getMessage()
public abstract PubSubMessage getMessage()The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
| Type | Description |
| PubSubMessage | The message. |
getMessageOrBuilder()
public abstract PubSubMessageOrBuilder getMessageOrBuilder()The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
| Type | Description |
| PubSubMessageOrBuilder |
getPublishTime()
public abstract Timestamp getPublishTime()The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;
| Type | Description |
| Timestamp | The publishTime. |
getPublishTimeOrBuilder()
public abstract TimestampOrBuilder getPublishTimeOrBuilder()The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;
| Type | Description |
| TimestampOrBuilder |
getSizeBytes()
public abstract long getSizeBytes()The size in bytes of this message for flow control and quota purposes.
int64 size_bytes = 4;
| Type | Description |
| long | The sizeBytes. |
hasCursor()
public abstract boolean hasCursor()The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;
| Type | Description |
| boolean | Whether the cursor field is set. |
hasMessage()
public abstract boolean hasMessage()The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
| Type | Description |
| boolean | Whether the message field is set. |
hasPublishTime()
public abstract boolean hasPublishTime()The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;
| Type | Description |
| boolean | Whether the publishTime field is set. |