Ydb.Monitoring.ComputeTabletStatus */ class ComputeTabletStatus extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status overall = 1; */ protected $overall = 0; /** * Generated from protobuf field string type = 2; */ protected $type = ''; /** * Generated from protobuf field string state = 3; */ protected $state = ''; /** * Generated from protobuf field uint32 count = 4; */ protected $count = 0; /** * Generated from protobuf field repeated string id = 5; */ private $id; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type int $overall * @type string $type * @type string $state * @type int $count * @type array|\Google\Protobuf\Internal\RepeatedField $id * } */ 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 string type = 2; * @return string */ public function getType() { return $this->type; } /** * Generated from protobuf field string type = 2; * @param string $var * @return $this */ public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; } /** * Generated from protobuf field string state = 3; * @return string */ public function getState() { return $this->state; } /** * Generated from protobuf field string state = 3; * @param string $var * @return $this */ public function setState($var) { GPBUtil::checkString($var, True); $this->state = $var; return $this; } /** * Generated from protobuf field uint32 count = 4; * @return int */ public function getCount() { return $this->count; } /** * Generated from protobuf field uint32 count = 4; * @param int $var * @return $this */ public function setCount($var) { GPBUtil::checkUint32($var); $this->count = $var; return $this; } /** * Generated from protobuf field repeated string id = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getId() { return $this->id; } /** * Generated from protobuf field repeated string id = 5; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setId($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->id = $arr; return $this; } }