Ydb.Monitoring.LoadAverageStatus */ class LoadAverageStatus extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status overall = 1; */ protected $overall = 0; /** * Generated from protobuf field float load = 2; */ protected $load = 0.0; /** * Generated from protobuf field uint32 cores = 3; */ protected $cores = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $overall * @type float $load * @type int $cores * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbMonitoring::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status overall = 1; * @return int */ public function getOverall() { return $this->overall; } /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status overall = 1; * @param int $var * @return $this */ public function setOverall($var) { GPBUtil::checkEnum($var, \Ydb\Monitoring\StatusFlag\Status::class); $this->overall = $var; return $this; } /** * Generated from protobuf field float load = 2; * @return float */ public function getLoad() { return $this->load; } /** * Generated from protobuf field float load = 2; * @param float $var * @return $this */ public function setLoad($var) { GPBUtil::checkFloat($var); $this->load = $var; return $this; } /** * Generated from protobuf field uint32 cores = 3; * @return int */ public function getCores() { return $this->cores; } /** * Generated from protobuf field uint32 cores = 3; * @param int $var * @return $this */ public function setCores($var) { GPBUtil::checkUint32($var); $this->cores = $var; return $this; } }