Class CommitCursorResponse.Builder (1.15.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CommitCursorResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitCursorResponse.Builder
Overrides

build()

public CommitCursorResponse build()
Returns
Type Description
CommitCursorResponse

buildPartial()

public CommitCursorResponse buildPartial()
Returns
Type Description
CommitCursorResponse

clear()

public CommitCursorResponse.Builder clear()
Returns
Type Description
CommitCursorResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public CommitCursorResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CommitCursorResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public CommitCursorResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CommitCursorResponse.Builder
Overrides

clone()

public CommitCursorResponse.Builder clone()
Returns
Type Description
CommitCursorResponse.Builder
Overrides

getDefaultInstanceForType()

public CommitCursorResponse getDefaultInstanceForType()
Returns
Type Description
CommitCursorResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(CommitCursorResponse other)

public CommitCursorResponse.Builder mergeFrom(CommitCursorResponse other)
Parameter
Name Description
other CommitCursorResponse
Returns
Type Description
CommitCursorResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CommitCursorResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CommitCursorResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CommitCursorResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CommitCursorResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CommitCursorResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitCursorResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CommitCursorResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CommitCursorResponse.Builder
Overrides

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

public CommitCursorResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CommitCursorResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CommitCursorResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CommitCursorResponse.Builder
Overrides