public final class PartitionAssignmentAck extends GeneratedMessageV3 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
getDefaultInstance()
public static PartitionAssignmentAck getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static PartitionAssignmentAck.Builder newBuilder()
Returns
newBuilder(PartitionAssignmentAck prototype)
public static PartitionAssignmentAck.Builder newBuilder(PartitionAssignmentAck prototype)
Parameter
Returns
public static PartitionAssignmentAck parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static PartitionAssignmentAck parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static PartitionAssignmentAck parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentAck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static PartitionAssignmentAck parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentAck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PartitionAssignmentAck parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static PartitionAssignmentAck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static PartitionAssignmentAck parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static PartitionAssignmentAck parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static PartitionAssignmentAck parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static PartitionAssignmentAck parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<PartitionAssignmentAck> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getDefaultInstanceForType()
public PartitionAssignmentAck getDefaultInstanceForType()
Returns
getParserForType()
public Parser<PartitionAssignmentAck> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public PartitionAssignmentAck.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected PartitionAssignmentAck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public PartitionAssignmentAck.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions