Interface StreamingPullResponse.AcknowledgeConfirmationOrBuilder (1.123.0)

public static interface StreamingPullResponse.AcknowledgeConfirmationOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAckIds(int index)

public abstract String getAckIds(int index)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The ackIds at the given index.

getAckIdsBytes(int index)

public abstract ByteString getAckIdsBytes(int index)

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the ackIds at the given index.

getAckIdsCount()

public abstract int getAckIdsCount()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1;

Returns
TypeDescription
int

The count of ackIds.

getAckIdsList()

public abstract List<String> getAckIdsList()

Successfully processed acknowledgement IDs.

repeated string ack_ids = 1;

Returns
TypeDescription
List<String>

A list containing the ackIds.

getInvalidAckIds(int index)

public abstract String getInvalidAckIds(int index)

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

repeated string invalid_ack_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The invalidAckIds at the given index.

getInvalidAckIdsBytes(int index)

public abstract ByteString getInvalidAckIdsBytes(int index)

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

repeated string invalid_ack_ids = 2;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the invalidAckIds at the given index.

getInvalidAckIdsCount()

public abstract int getInvalidAckIdsCount()

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

repeated string invalid_ack_ids = 2;

Returns
TypeDescription
int

The count of invalidAckIds.

getInvalidAckIdsList()

public abstract List<String> getInvalidAckIdsList()

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

repeated string invalid_ack_ids = 2;

Returns
TypeDescription
List<String>

A list containing the invalidAckIds.

getUnorderedAckIds(int index)

public abstract String getUnorderedAckIds(int index)

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unorderedAckIds at the given index.

getUnorderedAckIdsBytes(int index)

public abstract ByteString getUnorderedAckIdsBytes(int index)

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unorderedAckIds at the given index.

getUnorderedAckIdsCount()

public abstract int getUnorderedAckIdsCount()

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3;

Returns
TypeDescription
int

The count of unorderedAckIds.

getUnorderedAckIdsList()

public abstract List<String> getUnorderedAckIdsList()

List of acknowledgement IDs that were out of order.

repeated string unordered_ack_ids = 3;

Returns
TypeDescription
List<String>

A list containing the unorderedAckIds.