class StreamingPullResponse extends Message

Response for the StreamingPull method. This response is used to stream messages from the server to the client.

Protobuf type Google\Pubsub\V1\StreamingPullResponse

Methods

__construct()

No description

RepeatedField
getReceivedMessages()

Received Pub/Sub messages. This will not be empty.

setReceivedMessages(array|RepeatedField $var)

Received Pub/Sub messages. This will not be empty.

Details

at line 26
__construct()

at line 37
RepeatedField getReceivedMessages()

Received Pub/Sub messages. This will not be empty.

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

Return Value

RepeatedField

at line 48
setReceivedMessages(array|RepeatedField $var)

Received Pub/Sub messages. This will not be empty.

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

Parameters

array|RepeatedField $var