BytesValue
extends Message
in package
Wrapper message for `bytes`.
The JSON representation for BytesValue is JSON string.
Generated from protobuf message google.protobuf.BytesValue
Table of Contents
Properties
- $value : mixed
- The bytes value.
Methods
- __construct() : mixed
- Constructor.
- getValue() : string
- The bytes value.
- setValue() : $this
- The bytes value.
Properties
$value
The bytes value.
protected
mixed
$value
= ''
Generated from protobuf field bytes value = 1;
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 $value The bytes value.}
getValue()
The bytes value.
public
getValue() : string
Generated from protobuf field bytes value = 1;
Return values
stringsetValue()
The bytes value.
public
setValue(string $var) : $this
Generated from protobuf field bytes value = 1;
Parameters
- $var : string