Monitoring/src/V3/Point.php
public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\TypedValue::class);
        $this->value = $var;

        return $this;
    }
public function setValue($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Monitoring\V3\TypedValue::class);
        $this->value = $var;

        return $this;
    }
public function setValue ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Monitoring \ V3 \ TypedValue :: class ) ; $ this -> value = $ var ; return $ this ; }
The value of the data point.

Generated from protobuf field <code>.google.monitoring.v3.TypedValue value = 2;</code>
@param \Google\Cloud\Monitoring\V3\TypedValue $var
@return $this
The value of the data point .