QueryWriteStatusResponse
extends Message
in package
Response object for ByteStream.QueryWriteStatus.
Generated from protobuf message google.bytestream.QueryWriteStatusResponse
Table of Contents
Properties
- $committed_size : mixed
- The number of bytes that have been processed for the given resource.
- $complete : mixed
- `complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
Methods
- __construct() : mixed
- Constructor.
- getCommittedSize() : int|string
- The number of bytes that have been processed for the given resource.
- getComplete() : bool
- `complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
- setCommittedSize() : $this
- The number of bytes that have been processed for the given resource.
- setComplete() : $this
- `complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
Properties
$committed_size
The number of bytes that have been processed for the given resource.
protected
mixed
$committed_size
= 0
Generated from protobuf field int64 committed_size = 1 [json_name = "committedSize"];
$complete
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
protected
mixed
$complete
= false
Generated from protobuf field bool complete = 2 [json_name = "complete"];
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 int|string $committed_size The number of bytes that have been processed for the given resource. @type bool $complete `complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.}
getCommittedSize()
The number of bytes that have been processed for the given resource.
public
getCommittedSize() : int|string
Generated from protobuf field int64 committed_size = 1 [json_name = "committedSize"];
Return values
int|stringgetComplete()
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
public
getComplete() : bool
Generated from protobuf field bool complete = 2 [json_name = "complete"];
Return values
boolsetCommittedSize()
The number of bytes that have been processed for the given resource.
public
setCommittedSize(int|string $var) : $this
Generated from protobuf field int64 committed_size = 1 [json_name = "committedSize"];
Parameters
- $var : int|string
Return values
$thissetComplete()
`complete` is `true` only if the client has sent a `WriteRequest` with `finish_write` set to true, and the server has processed that request.
public
setComplete(bool $var) : $this
Generated from protobuf field bool complete = 2 [json_name = "complete"];
Parameters
- $var : bool