Documentation

WriteResponse extends Message
in package

Response object for ByteStream.Write.

Generated from protobuf message google.bytestream.WriteResponse

Table of Contents

Properties

$committed_size  : mixed
The number of bytes that have been processed for the given resource.

Methods

__construct()  : mixed
Constructor.
getCommittedSize()  : int|string
The number of bytes that have been processed for the given resource.
setCommittedSize()  : $this
The number of bytes that have been processed for the given resource.

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"];

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.

}

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|string

setCommittedSize()

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
$this

        
On this page

Search results