Class PartitionAssignmentAck (1.14.4)

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
Type Description
PartitionAssignmentAck

getDescriptor()

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

newBuilder()

public static PartitionAssignmentAck.Builder newBuilder()
Returns
Type Description
PartitionAssignmentAck.Builder

newBuilder(PartitionAssignmentAck prototype)

public static PartitionAssignmentAck.Builder newBuilder(PartitionAssignmentAck prototype)
Parameter
Name Description
prototype PartitionAssignmentAck
Returns
Type Description
PartitionAssignmentAck.Builder

parseDelimitedFrom(InputStream input)

public static PartitionAssignmentAck parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static PartitionAssignmentAck parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static PartitionAssignmentAck parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static PartitionAssignmentAck parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static PartitionAssignmentAck parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static PartitionAssignmentAck parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static PartitionAssignmentAck parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PartitionAssignmentAck
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<PartitionAssignmentAck> parser()
Returns
Type Description
Parser<PartitionAssignmentAck>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public PartitionAssignmentAck getDefaultInstanceForType()
Returns
Type Description
PartitionAssignmentAck

getParserForType()

public Parser<PartitionAssignmentAck> getParserForType()
Returns
Type Description
Parser<PartitionAssignmentAck>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public PartitionAssignmentAck.Builder newBuilderForType()
Returns
Type Description
PartitionAssignmentAck.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected PartitionAssignmentAck.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
PartitionAssignmentAck.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public PartitionAssignmentAck.Builder toBuilder()
Returns
Type Description
PartitionAssignmentAck.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException