public interface SequencedMessageOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Cursor |
getCursor()
The position of a message within the partition where it is stored.
|
CursorOrBuilder |
getCursorOrBuilder()
The position of a message within the partition where it is stored.
|
PubSubMessage |
getMessage()
The user message.
|
PubSubMessageOrBuilder |
getMessageOrBuilder()
The user message.
|
com.google.protobuf.Timestamp |
getPublishTime()
The time when the message was received by the server when it was first
published.
|
com.google.protobuf.TimestampOrBuilder |
getPublishTimeOrBuilder()
The time when the message was received by the server when it was first
published.
|
long |
getSizeBytes()
The size in bytes of this message for flow control and quota purposes.
|
boolean |
hasCursor()
The position of a message within the partition where it is stored.
|
boolean |
hasMessage()
The user message.
|
boolean |
hasPublishTime()
The time when the message was received by the server when it was first
published.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasCursor()
The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;Cursor getCursor()
The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;CursorOrBuilder getCursorOrBuilder()
The position of a message within the partition where it is stored.
.google.cloud.pubsublite.v1.Cursor cursor = 1;boolean hasPublishTime()
The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;com.google.protobuf.Timestamp getPublishTime()
The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;com.google.protobuf.TimestampOrBuilder getPublishTimeOrBuilder()
The time when the message was received by the server when it was first published.
.google.protobuf.Timestamp publish_time = 2;boolean hasMessage()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;PubSubMessage getMessage()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;PubSubMessageOrBuilder getMessageOrBuilder()
The user message.
.google.cloud.pubsublite.v1.PubSubMessage message = 3;long getSizeBytes()
The size in bytes of this message for flow control and quota purposes.
int64 size_bytes = 4;Copyright © 2023 Google LLC. All rights reserved.