Ydb.Monitoring.SelfCheckRequest */ class SelfCheckRequest extends \Google\Protobuf\Internal\Message { /** * basic operation params, including timeout * * Generated from protobuf field .Ydb.Operations.OperationParams operation_params = 1; */ protected $operation_params = null; /** * return detailed info about components checked with their statuses * * Generated from protobuf field bool return_verbose_status = 2; */ protected $return_verbose_status = false; /** * minimum status of issues to return * * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status minimum_status = 3; */ protected $minimum_status = 0; /** * maximum level of issues to return * * Generated from protobuf field uint32 maximum_level = 4; */ protected $maximum_level = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Ydb\Operations\OperationParams $operation_params * basic operation params, including timeout * @type bool $return_verbose_status * return detailed info about components checked with their statuses * @type int $minimum_status * minimum status of issues to return * @type int $maximum_level * maximum level of issues to return * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbMonitoring::initOnce(); parent::__construct($data); } /** * basic operation params, including timeout * * Generated from protobuf field .Ydb.Operations.OperationParams operation_params = 1; * @return \Ydb\Operations\OperationParams|null */ public function getOperationParams() { return $this->operation_params; } public function hasOperationParams() { return isset($this->operation_params); } public function clearOperationParams() { unset($this->operation_params); } /** * basic operation params, including timeout * * Generated from protobuf field .Ydb.Operations.OperationParams operation_params = 1; * @param \Ydb\Operations\OperationParams $var * @return $this */ public function setOperationParams($var) { GPBUtil::checkMessage($var, \Ydb\Operations\OperationParams::class); $this->operation_params = $var; return $this; } /** * return detailed info about components checked with their statuses * * Generated from protobuf field bool return_verbose_status = 2; * @return bool */ public function getReturnVerboseStatus() { return $this->return_verbose_status; } /** * return detailed info about components checked with their statuses * * Generated from protobuf field bool return_verbose_status = 2; * @param bool $var * @return $this */ public function setReturnVerboseStatus($var) { GPBUtil::checkBool($var); $this->return_verbose_status = $var; return $this; } /** * minimum status of issues to return * * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status minimum_status = 3; * @return int */ public function getMinimumStatus() { return $this->minimum_status; } /** * minimum status of issues to return * * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status minimum_status = 3; * @param int $var * @return $this */ public function setMinimumStatus($var) { GPBUtil::checkEnum($var, \Ydb\Monitoring\StatusFlag\Status::class); $this->minimum_status = $var; return $this; } /** * maximum level of issues to return * * Generated from protobuf field uint32 maximum_level = 4; * @return int */ public function getMaximumLevel() { return $this->maximum_level; } /** * maximum level of issues to return * * Generated from protobuf field uint32 maximum_level = 4; * @param int $var * @return $this */ public function setMaximumLevel($var) { GPBUtil::checkUint32($var); $this->maximum_level = $var; return $this; } }