ReceivedMessage
class ReceivedMessage extends Message
A message and its corresponding acknowledgment ID.
Protobuf type Google\Pubsub\V1\ReceivedMessage
Methods
__construct()
No description
string
getAckId()
This ID can be used to acknowledge the received message.
setAckId(string $var)
This ID can be used to acknowledge the received message.
getMessage()
The message.
Details
at line 31
__construct()
at line 42
string
getAckId()
This ID can be used to acknowledge the received message.
Generated from protobuf field string ack_id = 1;
at line 53
setAckId(string $var)
This ID can be used to acknowledge the received message.
Generated from protobuf field string ack_id = 1;
at line 65
PubsubMessage
getMessage()
The message.
Generated from protobuf field .google.pubsub.v1.PubsubMessage message = 2;
at line 76
setMessage(PubsubMessage $var)
The message.
Generated from protobuf field .google.pubsub.v1.PubsubMessage message = 2;