public interface SequencedMessageOrBuilder extends MessageOrBuilder
Implements
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
CursorOrBuilder |
getMessage()
public abstract PubSubMessage getMessage()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
Returns | |
---|---|
Type | Description |
PubSubMessage | The message. |
getMessageOrBuilder()
public abstract PubSubMessageOrBuilder getMessageOrBuilder()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the cursor field is set. |
hasMessage()
public abstract boolean hasMessage()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean | Whether the publishTime field is set. |