grpc.testing.ProxyStat
*/
class ProxyStat extends \Google\Protobuf\Internal\Message
{
/**
* Generated from protobuf field double latency = 1;
*/
private $latency = 0.0;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\ProxyService::initOnce();
parent::__construct();
}
/**
* Generated from protobuf field double latency = 1;
* @return float
*/
public function getLatency()
{
return $this->latency;
}
/**
* Generated from protobuf field double latency = 1;
* @param float $var
* @return $this
*/
public function setLatency($var)
{
GPBUtil::checkDouble($var);
$this->latency = $var;
return $this;
}
}