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 \ ProtobufMethods
__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 |
|