Ydb.Monitoring.IssueLog */ class IssueLog extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field string id = 1; */ protected $id = ''; /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status status = 2; */ protected $status = 0; /** * Generated from protobuf field string message = 3; */ protected $message = ''; /** * Generated from protobuf field .Ydb.Monitoring.Location location = 4; */ protected $location = null; /** * Generated from protobuf field repeated string reason = 5; */ private $reason; /** * Generated from protobuf field string type = 6; */ protected $type = ''; /** * Generated from protobuf field uint32 level = 7; */ protected $level = 0; /** * Generated from protobuf field uint32 listed = 8; */ protected $listed = 0; /** * Generated from protobuf field uint32 count = 9; */ protected $count = 0; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * @type int $status * @type string $message * @type \Ydb\Monitoring\Location $location * @type array|\Google\Protobuf\Internal\RepeatedField $reason * @type string $type * @type int $level * @type int $listed * @type int $count * } */ public function __construct($data = NULL) { \GPBMetadata\Protos\YdbMonitoring::initOnce(); parent::__construct($data); } /** * Generated from protobuf field string id = 1; * @return string */ public function getId() { return $this->id; } /** * Generated from protobuf field string id = 1; * @param string $var * @return $this */ public function setId($var) { GPBUtil::checkString($var, True); $this->id = $var; return $this; } /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status status = 2; * @return int */ public function getStatus() { return $this->status; } /** * Generated from protobuf field .Ydb.Monitoring.StatusFlag.Status status = 2; * @param int $var * @return $this */ public function setStatus($var) { GPBUtil::checkEnum($var, \Ydb\Monitoring\StatusFlag\Status::class); $this->status = $var; return $this; } /** * Generated from protobuf field string message = 3; * @return string */ public function getMessage() { return $this->message; } /** * Generated from protobuf field string message = 3; * @param string $var * @return $this */ public function setMessage($var) { GPBUtil::checkString($var, True); $this->message = $var; return $this; } /** * Generated from protobuf field .Ydb.Monitoring.Location location = 4; * @return \Ydb\Monitoring\Location|null */ public function getLocation() { return $this->location; } public function hasLocation() { return isset($this->location); } public function clearLocation() { unset($this->location); } /** * Generated from protobuf field .Ydb.Monitoring.Location location = 4; * @param \Ydb\Monitoring\Location $var * @return $this */ public function setLocation($var) { GPBUtil::checkMessage($var, \Ydb\Monitoring\Location::class); $this->location = $var; return $this; } /** * Generated from protobuf field repeated string reason = 5; * @return \Google\Protobuf\Internal\RepeatedField */ public function getReason() { return $this->reason; } /** * Generated from protobuf field repeated string reason = 5; * @param array|\Google\Protobuf\Internal\RepeatedField $var * @return $this */ public function setReason($var) { $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::STRING); $this->reason = $arr; return $this; } /** * Generated from protobuf field string type = 6; * @return string */ public function getType() { return $this->type; } /** * Generated from protobuf field string type = 6; * @param string $var * @return $this */ public function setType($var) { GPBUtil::checkString($var, True); $this->type = $var; return $this; } /** * Generated from protobuf field uint32 level = 7; * @return int */ public function getLevel() { return $this->level; } /** * Generated from protobuf field uint32 level = 7; * @param int $var * @return $this */ public function setLevel($var) { GPBUtil::checkUint32($var); $this->level = $var; return $this; } /** * Generated from protobuf field uint32 listed = 8; * @return int */ public function getListed() { return $this->listed; } /** * Generated from protobuf field uint32 listed = 8; * @param int $var * @return $this */ public function setListed($var) { GPBUtil::checkUint32($var); $this->listed = $var; return $this; } /** * Generated from protobuf field uint32 count = 9; * @return int */ public function getCount() { return $this->count; } /** * Generated from protobuf field uint32 count = 9; * @param int $var * @return $this */ public function setCount($var) { GPBUtil::checkUint32($var); $this->count = $var; return $this; } }