| <?php | |
| # Generated by the protocol buffer compiler. DO NOT EDIT! | |
| # source: src/proto/grpc/testing/metrics.proto | |
| namespace Grpc\Testing; | |
| use Google\Protobuf\Internal\GPBType; | |
| use Google\Protobuf\Internal\RepeatedField; | |
| use Google\Protobuf\Internal\GPBUtil; | |
| /** | |
| * Request message containing the gauge name | |
| * | |
| * Generated from protobuf message <code>grpc.testing.GaugeRequest</code> | |
| */ | |
| class GaugeRequest extends \Google\Protobuf\Internal\Message | |
| { | |
| /** | |
| * Generated from protobuf field <code>string name = 1;</code> | |
| */ | |
| private $name = ''; | |
| public function __construct() { | |
| \GPBMetadata\Src\Proto\Grpc\Testing\Metrics::initOnce(); | |
| parent::__construct(); | |
| } | |
| /** | |
| * Generated from protobuf field <code>string name = 1;</code> | |
| * @return string | |
| */ | |
| public function getName() | |
| { | |
| return $this->name; | |
| } | |
| /** | |
| * Generated from protobuf field <code>string name = 1;</code> | |
| * @param string $var | |
| * @return $this | |
| */ | |
| public function setName($var) | |
| { | |
| GPBUtil::checkString($var, True); | |
| $this->name = $var; | |
| return $this; | |
| } | |
| } | |