Class CommitCursorResponse.Builder (1.5.5)

public static final class CommitCursorResponse.Builder extends GeneratedMessageV3.Builder<CommitCursorResponse.Builder> implements CommitCursorResponseOrBuilder

Response for CommitCursor.

Protobuf type google.cloud.pubsublite.v1.CommitCursorResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

build()

public CommitCursorResponse build()
Returns
TypeDescription
CommitCursorResponse

buildPartial()

public CommitCursorResponse buildPartial()
Returns
TypeDescription
CommitCursorResponse

clear()

public CommitCursorResponse.Builder clear()
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

clone()

public CommitCursorResponse.Builder clone()
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

getDefaultInstanceForType()

public CommitCursorResponse getDefaultInstanceForType()
Returns
TypeDescription
CommitCursorResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(CommitCursorResponse other)

public CommitCursorResponse.Builder mergeFrom(CommitCursorResponse other)
Parameter
NameDescription
otherCommitCursorResponse
Returns
TypeDescription
CommitCursorResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CommitCursorResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CommitCursorResponse.Builder
Overrides