Class PartitionAssignmentAck.Builder (1.13.5)

public static final class PartitionAssignmentAck.Builder extends GeneratedMessageV3.Builder<PartitionAssignmentAck.Builder> implements PartitionAssignmentAckOrBuilder

Acknowledge receipt and handling of the previous assignment. If not sent within a short period after receiving the assignment, partitions may remain unassigned for a period of time until the client is known to be inactive, after which time the server will break the stream.

Protobuf type google.cloud.pubsublite.v1.PartitionAssignmentAck

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PartitionAssignmentAck build()
Returns
Type Description
PartitionAssignmentAck

buildPartial()

public PartitionAssignmentAck buildPartial()
Returns
Type Description
PartitionAssignmentAck

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PartitionAssignmentAck getDefaultInstanceForType()
Returns
Type Description
PartitionAssignmentAck

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(PartitionAssignmentAck other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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