Class StreamingPullResponse.AcknowledgeConfirmation (1.120.10)

public static final class StreamingPullResponse.AcknowledgeConfirmation extends GeneratedMessageV3 implements StreamingPullResponse.AcknowledgeConfirmationOrBuilder

Acknowledgement IDs sent in one or more previous requests to acknowledge a previously received message.

Protobuf type google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > StreamingPullResponse.AcknowledgeConfirmation

Static Fields

ACK_IDS_FIELD_NUMBER

public static final int ACK_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

INVALID_ACK_IDS_FIELD_NUMBER

public static final int INVALID_ACK_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

UNORDERED_ACK_IDS_FIELD_NUMBER

public static final int UNORDERED_ACK_IDS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static StreamingPullResponse.AcknowledgeConfirmation getDefaultInstance()
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation

getDescriptor()

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

newBuilder()

public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder()
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation.Builder

newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)

public static StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilder(StreamingPullResponse.AcknowledgeConfirmation prototype)
Parameter
NameDescription
prototypeStreamingPullResponse.AcknowledgeConfirmation
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation.Builder

parseDelimitedFrom(InputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

public static StreamingPullResponse.AcknowledgeConfirmation parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

public static Parser<StreamingPullResponse.AcknowledgeConfirmation> parser()
Returns
TypeDescription
Parser<AcknowledgeConfirmation>

Methods

equals(Object obj)

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

getAckIds(int index)

public String getAckIds(int index)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ackIds at the given index.

getAckIdsBytes(int index)

public ByteString getAckIdsBytes(int index)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ackIds at the given index.

getAckIdsCount()

public int getAckIdsCount()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Returns
TypeDescription
int

The count of ackIds.

getAckIdsList()

public ProtocolStringList getAckIdsList()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1 [ctype = CORD];

Returns
TypeDescription
ProtocolStringList

A list containing the ackIds.

getDefaultInstanceForType()

public StreamingPullResponse.AcknowledgeConfirmation getDefaultInstanceForType()
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation

getInvalidAckIds(int index)

public String getInvalidAckIds(int index)

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The invalidAckIds at the given index.

getInvalidAckIdsBytes(int index)

public ByteString getInvalidAckIdsBytes(int index)

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the invalidAckIds at the given index.

getInvalidAckIdsCount()

public int getInvalidAckIdsCount()

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [ctype = CORD];

Returns
TypeDescription
int

The count of invalidAckIds.

getInvalidAckIdsList()

public ProtocolStringList getInvalidAckIdsList()

List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.

repeated string invalid_ack_ids = 2 [ctype = CORD];

Returns
TypeDescription
ProtocolStringList

A list containing the invalidAckIds.

getParserForType()

public Parser<StreamingPullResponse.AcknowledgeConfirmation> getParserForType()
Returns
TypeDescription
Parser<AcknowledgeConfirmation>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getUnorderedAckIds(int index)

public String getUnorderedAckIds(int index)

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unorderedAckIds at the given index.

getUnorderedAckIdsBytes(int index)

public ByteString getUnorderedAckIdsBytes(int index)

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [ctype = CORD];

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unorderedAckIds at the given index.

getUnorderedAckIdsCount()

public int getUnorderedAckIdsCount()

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [ctype = CORD];

Returns
TypeDescription
int

The count of unorderedAckIds.

getUnorderedAckIdsList()

public ProtocolStringList getUnorderedAckIdsList()

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3 [ctype = CORD];

Returns
TypeDescription
ProtocolStringList

A list containing the unorderedAckIds.

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 StreamingPullResponse.AcknowledgeConfirmation.Builder newBuilderForType()
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

public StreamingPullResponse.AcknowledgeConfirmation.Builder toBuilder()
Returns
TypeDescription
StreamingPullResponse.AcknowledgeConfirmation.Builder

writeTo(CodedOutputStream output)

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