public interface MessagePublishResponseOrBuilder extends MessageOrBuilder
Implements
MessageOrBuilderMethods
getCursorRanges(int index)
public abstract MessagePublishResponse.CursorRange getCursorRanges(int index)
Cursors for messages published in the batch. There will exist multiple ranges when cursors are not contiguous within the batch. The cursor ranges may not account for all messages in the batch when publish idempotency is enabled. A missing range indicates that cursors could not be determined for messages within the range, as they were deduplicated and the necessary data was not available at publish time. These messages will have offsets when received by a subscriber.
repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
MessagePublishResponse.CursorRange |
getCursorRangesCount()
public abstract int getCursorRangesCount()
Cursors for messages published in the batch. There will exist multiple ranges when cursors are not contiguous within the batch. The cursor ranges may not account for all messages in the batch when publish idempotency is enabled. A missing range indicates that cursors could not be determined for messages within the range, as they were deduplicated and the necessary data was not available at publish time. These messages will have offsets when received by a subscriber.
repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
Returns | |
---|---|
Type | Description |
int |
getCursorRangesList()
public abstract List<MessagePublishResponse.CursorRange> getCursorRangesList()
Cursors for messages published in the batch. There will exist multiple ranges when cursors are not contiguous within the batch. The cursor ranges may not account for all messages in the batch when publish idempotency is enabled. A missing range indicates that cursors could not be determined for messages within the range, as they were deduplicated and the necessary data was not available at publish time. These messages will have offsets when received by a subscriber.
repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
Returns | |
---|---|
Type | Description |
List<CursorRange> |
getCursorRangesOrBuilder(int index)
public abstract MessagePublishResponse.CursorRangeOrBuilder getCursorRangesOrBuilder(int index)
Cursors for messages published in the batch. There will exist multiple ranges when cursors are not contiguous within the batch. The cursor ranges may not account for all messages in the batch when publish idempotency is enabled. A missing range indicates that cursors could not be determined for messages within the range, as they were deduplicated and the necessary data was not available at publish time. These messages will have offsets when received by a subscriber.
repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
Parameter | |
---|---|
Name | Description |
index | int |
Returns | |
---|---|
Type | Description |
MessagePublishResponse.CursorRangeOrBuilder |
getCursorRangesOrBuilderList()
public abstract List<? extends MessagePublishResponse.CursorRangeOrBuilder> getCursorRangesOrBuilderList()
Cursors for messages published in the batch. There will exist multiple ranges when cursors are not contiguous within the batch. The cursor ranges may not account for all messages in the batch when publish idempotency is enabled. A missing range indicates that cursors could not be determined for messages within the range, as they were deduplicated and the necessary data was not available at publish time. These messages will have offsets when received by a subscriber.
repeated .google.cloud.pubsublite.v1.MessagePublishResponse.CursorRange cursor_ranges = 2;
Returns | |
---|---|
Type | Description |
List<? extends com.google.cloud.pubsublite.proto.MessagePublishResponse.CursorRangeOrBuilder> |
getStartCursor()
public abstract Cursor getStartCursor()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Returns | |
---|---|
Type | Description |
Cursor | The startCursor. |
getStartCursorOrBuilder()
public abstract CursorOrBuilder getStartCursorOrBuilder()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Returns | |
---|---|
Type | Description |
CursorOrBuilder |
hasStartCursor()
public abstract boolean hasStartCursor()
The cursor of the first published message in the batch. The cursors for any remaining messages in the batch are guaranteed to be sequential.
.google.cloud.pubsublite.v1.Cursor start_cursor = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the startCursor field is set. |