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 \ StreamingPullResponseMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAckIds
Successfully processed acknowledgement IDs.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getInvalidAckIds
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setInvalidAckIds
List of acknowledgement IDs that were malformed or whose acknowledgement deadline has expired.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getUnorderedAckIds
List of acknowledgement IDs that were out of order.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setUnorderedAckIds
List of acknowledgement IDs that were out of order.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getTemporaryFailedAckIds
List of acknowledgement IDs that failed processing with temporary issues.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setTemporaryFailedAckIds
List of acknowledgement IDs that failed processing with temporary issues.
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |