Cloud PubSub V1 Client - Class AcknowledgeConfirmation (2.6.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
Name Description
data array

Optional. Data for populating the Message object.

↳ ack_ids array

Optional. Successfully processed acknowledgement IDs.

↳ invalid_ack_ids array

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

↳ unordered_ack_ids array

Optional. List of acknowledgement IDs that were out of order.

↳ temporary_failed_ack_ids array

Optional. List of acknowledgement IDs that failed processing with temporary issues.

getAckIds

Optional. Successfully processed acknowledgement IDs.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAckIds

Optional. Successfully processed acknowledgement IDs.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getInvalidAckIds

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

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setInvalidAckIds

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

Parameter
Name Description
var string[]
Returns
Type Description
$this

getUnorderedAckIds

Optional. List of acknowledgement IDs that were out of order.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setUnorderedAckIds

Optional. List of acknowledgement IDs that were out of order.

Parameter
Name Description
var string[]
Returns
Type Description
$this

getTemporaryFailedAckIds

Optional. List of acknowledgement IDs that failed processing with temporary issues.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setTemporaryFailedAckIds

Optional. List of acknowledgement IDs that failed processing with temporary issues.

Parameter
Name Description
var string[]
Returns
Type Description
$this