class PullResponse extends Message

Response for the Pull method.

Protobuf type Google\Pubsub\V1\PullResponse

Methods

__construct()

No description

RepeatedField
getReceivedMessages()

Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

setReceivedMessages(array|RepeatedField $var)

Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Details

at line 28
__construct()

at line 42
RepeatedField getReceivedMessages()

Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Generated from protobuf field repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Return Value

RepeatedField

at line 56
setReceivedMessages(array|RepeatedField $var)

Received Pub/Sub messages. The Pub/Sub system will return zero messages if there are no more available in the backlog. The Pub/Sub system may return fewer than the maxMessages requested even if there are more messages available in the backlog.

Generated from protobuf field repeated .google.pubsub.v1.ReceivedMessage received_messages = 1;

Parameters

array|RepeatedField $var