proto library Client - Class BytesValue (v5.36.2)

Reference documentation and code samples for the proto library Client class BytesValue.

Wrapper message for bytes.

The JSON representation for BytesValue is JSON string. Not recommended for use in new APIs, but still useful for legacy APIs and has no plan to be removed.

Generated from protobuf message google.protobuf.BytesValue

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value string

The bytes value.

getValue

The bytes value.

Returns
Type Description
string

setValue

The bytes value.

Parameter
Name Description
var string
Returns
Type Description
$this