Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/openstatusHQ/sdk-php. php sdk for openstatus www.openstatus.dev
Something went wrong. Try again.
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869<?php# Generated by the protocol buffer compiler. DO NOT EDIT!# NO CHECKED-IN PROTOBUF GENCODE# source: openstatus/health/v1/health.proto
namespace Openstatus\Health\V1;
use Google\Protobuf\Internal\GPBType;use Google\Protobuf\Internal\GPBUtil;use Google\Protobuf\RepeatedField;
/** * CheckRequest is the request message for health checks. * * Generated from protobuf message <code>openstatus.health.v1.CheckRequest</code> */class CheckRequest extends \Google\Protobuf\Internal\Message{ /** * Optional service name to check. If empty, checks overall service health. * * Generated from protobuf field <code>string service = 1 [json_name = "service"];</code> */ protected $service = '';
/** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type string $service * Optional service name to check. If empty, checks overall service health. * } */ public function __construct($data = NULL) { \GPBMetadata\Openstatus\Health\V1\Health::initOnce(); parent::__construct($data); }
/** * Optional service name to check. If empty, checks overall service health. * * Generated from protobuf field <code>string service = 1 [json_name = "service"];</code> * @return string */ public function getService() { return $this->service; }
/** * Optional service name to check. If empty, checks overall service health. * * Generated from protobuf field <code>string service = 1 [json_name = "service"];</code> * @param string $var * @return $this */ public function setService(string $var) { GPBUtil::checkString($var, true); $this->service = $var;
return $this; }
}