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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > PartitionAssignmentAck.BuilderImplements
PartitionAssignmentAckOrBuilderStatic 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 |
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 |
clearField(Descriptors.FieldDescriptor field)
public PartitionAssignmentAck.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public PartitionAssignmentAck.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |
clone()
public PartitionAssignmentAck.Builder clone()
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |
getDefaultInstanceForType()
public PartitionAssignmentAck getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
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 |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public PartitionAssignmentAck.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentAck.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |
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 |
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 |
setUnknownFields(UnknownFieldSet unknownFields)
public final PartitionAssignmentAck.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
PartitionAssignmentAck.Builder |