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