Interface SequencedMessageOrBuilder (1.9.4)

public interface SequencedMessageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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
TypeDescription
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
TypeDescription
CursorOrBuilder

getMessage()

public abstract PubSubMessage getMessage()

The user message.

.google.cloud.pubsublite.v1.PubSubMessage message = 3;

Returns
TypeDescription
PubSubMessage

The message.

getMessageOrBuilder()

public abstract PubSubMessageOrBuilder getMessageOrBuilder()

The user message.

.google.cloud.pubsublite.v1.PubSubMessage message = 3;

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getSizeBytes()

public abstract long getSizeBytes()

The size in bytes of this message for flow control and quota purposes.

int64 size_bytes = 4;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the cursor field is set.

hasMessage()

public abstract boolean hasMessage()

The user message.

.google.cloud.pubsublite.v1.PubSubMessage message = 3;

Returns
TypeDescription
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
TypeDescription
boolean

Whether the publishTime field is set.