public static final class MessagePublishResponse.Builder extends GeneratedMessageV3.Builder<MessagePublishResponse.Builder> implements MessagePublishResponseOrBuilder
Response to a MessagePublishRequest.
Protobuf type google.cloud.pubsublite.v1.MessagePublishResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MessagePublishResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MessagePublishResponse build()
Returns
buildPartial()
public MessagePublishResponse buildPartial()
Returns
clear()
public MessagePublishResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public MessagePublishResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MessagePublishResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
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;
Returns
clone()
public MessagePublishResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public MessagePublishResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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;
Returns
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;
Returns
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;
Returns
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;
Returns
Type | Description |
boolean | Whether the startCursor field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MessagePublishResponse other)
public MessagePublishResponse.Builder mergeFrom(MessagePublishResponse other)
Parameter
Returns
public MessagePublishResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MessagePublishResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
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;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MessagePublishResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public MessagePublishResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MessagePublishResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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;
Parameter
Returns
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;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final MessagePublishResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides