grpc.testing.PoissonParams
*/
class PoissonParams extends \Google\Protobuf\Internal\Message
{
/**
* The rate of arrivals (a.k.a. lambda parameter of the exp distribution).
*
* Generated from protobuf field double offered_load = 1;
*/
protected $offered_load = 0.0;
/**
* Constructor.
*
* @param array $data {
* Optional. Data for populating the Message object.
*
* @type float $offered_load
* The rate of arrivals (a.k.a. lambda parameter of the exp distribution).
* }
*/
public function __construct($data = NULL) {
\GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce();
parent::__construct($data);
}
/**
* The rate of arrivals (a.k.a. lambda parameter of the exp distribution).
*
* Generated from protobuf field double offered_load = 1;
* @return float
*/
public function getOfferedLoad()
{
return $this->offered_load;
}
/**
* The rate of arrivals (a.k.a. lambda parameter of the exp distribution).
*
* Generated from protobuf field double offered_load = 1;
* @param float $var
* @return $this
*/
public function setOfferedLoad($var)
{
GPBUtil::checkDouble($var);
$this->offered_load = $var;
return $this;
}
}