public static final class MessagePublishResponse.Builder extends GeneratedMessageV3.Builder<MessagePublishResponse.Builder> implements MessagePublishResponseOrBuilder
Response to a MessagePublishRequest.
Protobuf type google.cloud.pubsublite.v1.MessagePublishResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MessagePublishResponse.BuilderImplements
MessagePublishResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MessagePublishResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MessagePublishResponse.Builder |
build()
public MessagePublishResponse build()
Type | Description |
MessagePublishResponse |
buildPartial()
public MessagePublishResponse buildPartial()
Type | Description |
MessagePublishResponse |
clear()
public MessagePublishResponse.Builder clear()
Type | Description |
MessagePublishResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public MessagePublishResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
MessagePublishResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public MessagePublishResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
MessagePublishResponse.Builder |
clearStartCursor()
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;
Type | Description |
MessagePublishResponse.Builder |
clone()
public MessagePublishResponse.Builder clone()
Type | Description |
MessagePublishResponse.Builder |
getDefaultInstanceForType()
public MessagePublishResponse getDefaultInstanceForType()
Type | Description |
MessagePublishResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getStartCursor()
public 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;
Type | Description |
Cursor | The startCursor. |
getStartCursorBuilder()
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;
Type | Description |
Cursor.Builder |
getStartCursorOrBuilder()
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;
Type | Description |
CursorOrBuilder |
hasStartCursor()
public 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;
Type | Description |
boolean | Whether the startCursor field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(MessagePublishResponse other)
public MessagePublishResponse.Builder mergeFrom(MessagePublishResponse other)
Name | Description |
other | MessagePublishResponse |
Type | Description |
MessagePublishResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MessagePublishResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
MessagePublishResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public MessagePublishResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
MessagePublishResponse.Builder |
mergeStartCursor(Cursor value)
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;
Name | Description |
value | Cursor |
Type | Description |
MessagePublishResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessagePublishResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MessagePublishResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public MessagePublishResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
MessagePublishResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessagePublishResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
MessagePublishResponse.Builder |
setStartCursor(Cursor value)
public 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;
Name | Description |
value | Cursor |
Type | Description |
MessagePublishResponse.Builder |
setStartCursor(Cursor.Builder builderForValue)
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;
Name | Description |
builderForValue | Cursor.Builder |
Type | Description |
MessagePublishResponse.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MessagePublishResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
MessagePublishResponse.Builder |