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; */ private $offered_load = 0.0; public function __construct() { \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce(); parent::__construct(); } /** * 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; } }