proto library Client - Class FloatValue (v5.36.2)

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

Wrapper message for float.

The JSON representation for FloatValue is JSON number. 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.FloatValue

Namespace

Google \ Protobuf

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ value float

The float value.

getValue

The float value.

Returns
Type Description
float

setValue

The float value.

Parameter
Name Description
var float
Returns
Type Description
$this