Class PartitionAssignmentAck.Builder (1.7.1)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public PartitionAssignmentAck build()
Returns
TypeDescription
PartitionAssignmentAck

buildPartial()

public PartitionAssignmentAck buildPartial()
Returns
TypeDescription
PartitionAssignmentAck

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public PartitionAssignmentAck getDefaultInstanceForType()
Returns
TypeDescription
PartitionAssignmentAck

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

public PartitionAssignmentAck.Builder mergeFrom(PartitionAssignmentAck other)
Parameter
NameDescription
otherPartitionAssignmentAck
Returns
TypeDescription
PartitionAssignmentAck.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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