Documentation

DoubleValue extends Message
in package

Wrapper message for `double`.

The JSON representation for DoubleValue is JSON number.

Generated from protobuf message google.protobuf.DoubleValue

Table of Contents

Properties

$value  : mixed
The double value.

Methods

__construct()  : mixed
Constructor.
getValue()  : float
The double value.
setValue()  : $this
The double value.

Properties

$value

The double value.

protected mixed $value = 0.0

Generated from protobuf field double 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 double value.

}

getValue()

The double value.

public getValue() : float

Generated from protobuf field double value = 1;

Return values
float

setValue()

The double value.

public setValue(float $var) : $this

Generated from protobuf field double value = 1;

Parameters
$var : float
Return values
$this

        
On this page

Search results