public static final class MessagePublishResponse.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder> implements MessagePublishResponseOrBuilder
Response to a MessagePublishRequest.Protobuf type
google.cloud.pubsublite.v1.MessagePublishResponse| Modifier and Type | Method and Description |
|---|---|
MessagePublishResponse.Builder |
addAllCursorRanges(Iterable<? extends MessagePublishResponse.CursorRange> values)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
addCursorRanges(int index,
MessagePublishResponse.CursorRange.Builder builderForValue)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
addCursorRanges(int index,
MessagePublishResponse.CursorRange value)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
addCursorRanges(MessagePublishResponse.CursorRange.Builder builderForValue)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
addCursorRanges(MessagePublishResponse.CursorRange value)
Cursors for messages published in the batch.
|
MessagePublishResponse.CursorRange.Builder |
addCursorRangesBuilder()
Cursors for messages published in the batch.
|
MessagePublishResponse.CursorRange.Builder |
addCursorRangesBuilder(int index)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MessagePublishResponse |
build() |
MessagePublishResponse |
buildPartial() |
MessagePublishResponse.Builder |
clear() |
MessagePublishResponse.Builder |
clearCursorRanges()
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
MessagePublishResponse.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
MessagePublishResponse.Builder |
clearStartCursor()
The cursor of the first published message in the batch.
|
MessagePublishResponse.Builder |
clone() |
MessagePublishResponse.CursorRange |
getCursorRanges(int index)
Cursors for messages published in the batch.
|
MessagePublishResponse.CursorRange.Builder |
getCursorRangesBuilder(int index)
Cursors for messages published in the batch.
|
List<MessagePublishResponse.CursorRange.Builder> |
getCursorRangesBuilderList()
Cursors for messages published in the batch.
|
int |
getCursorRangesCount()
Cursors for messages published in the batch.
|
List<MessagePublishResponse.CursorRange> |
getCursorRangesList()
Cursors for messages published in the batch.
|
MessagePublishResponse.CursorRangeOrBuilder |
getCursorRangesOrBuilder(int index)
Cursors for messages published in the batch.
|
List<? extends MessagePublishResponse.CursorRangeOrBuilder> |
getCursorRangesOrBuilderList()
Cursors for messages published in the batch.
|
MessagePublishResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Cursor |
getStartCursor()
The cursor of the first published message in the batch.
|
Cursor.Builder |
getStartCursorBuilder()
The cursor of the first published message in the batch.
|
CursorOrBuilder |
getStartCursorOrBuilder()
The cursor of the first published message in the batch.
|
boolean |
hasStartCursor()
The cursor of the first published message in the batch.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MessagePublishResponse.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MessagePublishResponse.Builder |
mergeFrom(com.google.protobuf.Message other) |
MessagePublishResponse.Builder |
mergeFrom(MessagePublishResponse other) |
MessagePublishResponse.Builder |
mergeStartCursor(Cursor value)
The cursor of the first published message in the batch.
|
MessagePublishResponse.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
MessagePublishResponse.Builder |
removeCursorRanges(int index)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
setCursorRanges(int index,
MessagePublishResponse.CursorRange.Builder builderForValue)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
setCursorRanges(int index,
MessagePublishResponse.CursorRange value)
Cursors for messages published in the batch.
|
MessagePublishResponse.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
MessagePublishResponse.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
MessagePublishResponse.Builder |
setStartCursor(Cursor.Builder builderForValue)
The cursor of the first published message in the batch.
|
MessagePublishResponse.Builder |
setStartCursor(Cursor value)
The cursor of the first published message in the batch.
|
MessagePublishResponse.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MessagePublishResponse build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MessagePublishResponse buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MessagePublishResponse.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder mergeFrom(MessagePublishResponse other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public MessagePublishResponse.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MessagePublishResponse.Builder>IOExceptionpublic 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;hasStartCursor in interface MessagePublishResponseOrBuilderpublic 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;getStartCursor in interface MessagePublishResponseOrBuilderpublic MessagePublishResponse.Builder setStartCursor(Cursor value)
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;public MessagePublishResponse.Builder setStartCursor(Cursor.Builder builderForValue)
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;public MessagePublishResponse.Builder mergeStartCursor(Cursor value)
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;public MessagePublishResponse.Builder clearStartCursor()
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;public Cursor.Builder getStartCursorBuilder()
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;public 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;getStartCursorOrBuilder in interface MessagePublishResponseOrBuilderpublic 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;
getCursorRangesList in interface MessagePublishResponseOrBuilderpublic 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;
getCursorRangesCount in interface MessagePublishResponseOrBuilderpublic 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;
getCursorRanges in interface MessagePublishResponseOrBuilderpublic MessagePublishResponse.Builder setCursorRanges(int index, MessagePublishResponse.CursorRange value)
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;
public MessagePublishResponse.Builder setCursorRanges(int index, MessagePublishResponse.CursorRange.Builder builderForValue)
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;
public MessagePublishResponse.Builder addCursorRanges(MessagePublishResponse.CursorRange value)
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;
public MessagePublishResponse.Builder addCursorRanges(int index, MessagePublishResponse.CursorRange value)
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;
public MessagePublishResponse.Builder addCursorRanges(MessagePublishResponse.CursorRange.Builder builderForValue)
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;
public MessagePublishResponse.Builder addCursorRanges(int index, MessagePublishResponse.CursorRange.Builder builderForValue)
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;
public MessagePublishResponse.Builder addAllCursorRanges(Iterable<? extends MessagePublishResponse.CursorRange> values)
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;
public MessagePublishResponse.Builder clearCursorRanges()
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;
public MessagePublishResponse.Builder removeCursorRanges(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;
public MessagePublishResponse.CursorRange.Builder getCursorRangesBuilder(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;
public 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;
getCursorRangesOrBuilder in interface MessagePublishResponseOrBuilderpublic 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;
getCursorRangesOrBuilderList in interface MessagePublishResponseOrBuilderpublic MessagePublishResponse.CursorRange.Builder addCursorRangesBuilder()
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;
public MessagePublishResponse.CursorRange.Builder addCursorRangesBuilder(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;
public List<MessagePublishResponse.CursorRange.Builder> getCursorRangesBuilderList()
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;
public final MessagePublishResponse.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>public final MessagePublishResponse.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MessagePublishResponse.Builder>Copyright © 2023 Google LLC. All rights reserved.