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 | |
---|---|
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. |
getAckIds
Successfully processed acknowledgement IDs.
Generated from protobuf field repeated string ack_ids = 1 [ctype = CORD];
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAckIds
Successfully processed acknowledgement IDs.
Generated from protobuf field repeated string ack_ids = 1 [ctype = CORD];
Parameter | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |
getUnorderedAckIds
List of acknowledgement IDs that were out of order.
Generated from protobuf field repeated string unordered_ack_ids = 3 [ctype = CORD];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
string[]
|
Returns | |
---|---|
Type | Description |
$this |