proto library Client - Class BoolValue (v5.36.2)

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

Wrapper message for bool.

The JSON representation for BoolValue is JSON true and false. 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.BoolValue

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value bool

The bool value.

getValue

The bool value.

Returns
Type Description
bool

setValue

The bool value.

Parameter
Name Description
var bool
Returns
Type Description
$this