ReadResponse
extends Message
in package
Response object for ByteStream.Read.
Generated from protobuf message google.bytestream.ReadResponse
Table of Contents
Properties
- $data : mixed
- A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
Methods
- __construct() : mixed
- Constructor.
- getData() : string
- A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
- setData() : $this
- A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
Properties
$data
A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
protected
mixed
$data
= ''
Generated from protobuf field bytes data = 10 [json_name = "data"];
Methods
__construct()
Constructor.
public
__construct([array<string|int, mixed> $data = NULL ]) : mixed
Parameters
- $data : array<string|int, mixed> = NULL
-
{ Optional. Data for populating the Message object.
@type string $data A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.}
getData()
A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
public
getData() : string
Generated from protobuf field bytes data = 10 [json_name = "data"];
Return values
stringsetData()
A portion of the data for the resource. The service **may** leave `data` empty for any given `ReadResponse`. This enables the service to inform the client that the request is still live while it is running an operation to generate more data.
public
setData(string $var) : $this
Generated from protobuf field bytes data = 10 [json_name = "data"];
Parameters
- $var : string