Cloud PubSub V1 Client - Class AcknowledgeConfirmation (1.44.0)

Reference documentation and code samples for the Cloud PubSub V1 Client class AcknowledgeConfirmation.

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

Generated from protobuf message google.pubsub.v1.StreamingPullResponse.AcknowledgeConfirmation

Namespace

Google \ Cloud \ PubSub \ V1 \ StreamingPullResponse

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ ack_ids array

Successfully processed acknowledgement IDs.

↳ invalid_ack_ids array

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

↳ unordered_ack_ids array

List of acknowledgement IDs that were out of order.

↳ temporary_failed_ack_ids array

List of acknowledgement IDs that failed processing with temporary issues.

getAckIds

Successfully processed acknowledgement IDs.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAckIds

Successfully processed acknowledgement IDs.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getInvalidAckIds

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

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInvalidAckIds

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

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getUnorderedAckIds

List of acknowledgement IDs that were out of order.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnorderedAckIds

List of acknowledgement IDs that were out of order.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getTemporaryFailedAckIds

List of acknowledgement IDs that failed processing with temporary issues.

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setTemporaryFailedAckIds

List of acknowledgement IDs that failed processing with temporary issues.

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this