openstatus.monitor.v1.GetMonitorHTTPResponseLogRequest */ class GetMonitorHTTPResponseLogRequest extends \Google\Protobuf\Internal\Message { /** * Monitor ID to get a response log for (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { */ protected $id = ''; /** * Response log ID to retrieve (required). * * Generated from protobuf field string log_id = 2 [json_name = "logId", (.buf.validate.field) = { */ protected $log_id = ''; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $id * Monitor ID to get a response log for (required). * @type string $log_id * Response log ID to retrieve (required). * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Monitor\V1\Service::initOnce(); parent::__construct($data); } /** * Monitor ID to get a response log for (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { * @return string */ public function getId() { return $this->id; } /** * Monitor ID to get a response log for (required). * * Generated from protobuf field string id = 1 [json_name = "id", (.buf.validate.field) = { * @param string $var * @return $this */ public function setId(string $var) { GPBUtil::checkString($var, true); $this->id = $var; return $this; } /** * Response log ID to retrieve (required). * * Generated from protobuf field string log_id = 2 [json_name = "logId", (.buf.validate.field) = { * @return string */ public function getLogId() { return $this->log_id; } /** * Response log ID to retrieve (required). * * Generated from protobuf field string log_id = 2 [json_name = "logId", (.buf.validate.field) = { * @param string $var * @return $this */ public function setLogId(string $var) { GPBUtil::checkString($var, true); $this->log_id = $var; return $this; } }