Class PartitionAssignmentAck (1.12.22)

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

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static PartitionAssignmentAck.Builder newBuilder()
Returns
TypeDescription
PartitionAssignmentAck.Builder

newBuilder(PartitionAssignmentAck prototype)

public static PartitionAssignmentAck.Builder newBuilder(PartitionAssignmentAck prototype)
Parameter
NameDescription
prototypePartitionAssignmentAck
Returns
TypeDescription
PartitionAssignmentAck.Builder

parseDelimitedFrom(InputStream input)

public static PartitionAssignmentAck parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static PartitionAssignmentAck parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartitionAssignmentAck parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartitionAssignmentAck parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static PartitionAssignmentAck parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static PartitionAssignmentAck parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
PartitionAssignmentAck
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<PartitionAssignmentAck> parser()
Returns
TypeDescription
Parser<PartitionAssignmentAck>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public PartitionAssignmentAck getDefaultInstanceForType()
Returns
TypeDescription
PartitionAssignmentAck

getParserForType()

public Parser<PartitionAssignmentAck> getParserForType()
Returns
TypeDescription
Parser<PartitionAssignmentAck>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public PartitionAssignmentAck.Builder newBuilderForType()
Returns
TypeDescription
PartitionAssignmentAck.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PartitionAssignmentAck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
PartitionAssignmentAck.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public PartitionAssignmentAck.Builder toBuilder()
Returns
TypeDescription
PartitionAssignmentAck.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException