Cloud PubSub V1 Client - Class AcknowledgeConfirmation (1.39.3)

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

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.

getAckIds

Successfully processed acknowledgement IDs.

Generated from protobuf field repeated string ack_ids = 1 [ctype = CORD];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setAckIds

Successfully processed acknowledgement IDs.

Generated from protobuf field repeated string ack_ids = 1 [ctype = CORD];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getInvalidAckIds

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

Generated from protobuf field repeated string invalid_ack_ids = 2 [ctype = CORD];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setInvalidAckIds

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

Generated from protobuf field repeated string invalid_ack_ids = 2 [ctype = CORD];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this

getUnorderedAckIds

List of acknowledgement IDs that were out of order.

Generated from protobuf field repeated string unordered_ack_ids = 3 [ctype = CORD];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setUnorderedAckIds

List of acknowledgement IDs that were out of order.

Generated from protobuf field repeated string unordered_ack_ids = 3 [ctype = CORD];

Parameter
NameDescription
var string[]
Returns
TypeDescription
$this