Home | History | Annotate | Download | only in Testing
      1 <?php
      2 # Generated by the protocol buffer compiler.  DO NOT EDIT!
      3 # source: src/proto/grpc/testing/metrics.proto
      4 
      5 namespace Grpc\Testing;
      6 
      7 use Google\Protobuf\Internal\GPBType;
      8 use Google\Protobuf\Internal\RepeatedField;
      9 use Google\Protobuf\Internal\GPBUtil;
     10 
     11 /**
     12  * Request message containing the gauge name
     13  *
     14  * Generated from protobuf message <code>grpc.testing.GaugeRequest</code>
     15  */
     16 class GaugeRequest extends \Google\Protobuf\Internal\Message
     17 {
     18     /**
     19      * Generated from protobuf field <code>string name = 1;</code>
     20      */
     21     private $name = '';
     22 
     23     public function __construct() {
     24         \GPBMetadata\Src\Proto\Grpc\Testing\Metrics::initOnce();
     25         parent::__construct();
     26     }
     27 
     28     /**
     29      * Generated from protobuf field <code>string name = 1;</code>
     30      * @return string
     31      */
     32     public function getName()
     33     {
     34         return $this->name;
     35     }
     36 
     37     /**
     38      * Generated from protobuf field <code>string name = 1;</code>
     39      * @param string $var
     40      * @return $this
     41      */
     42     public function setName($var)
     43     {
     44         GPBUtil::checkString($var, True);
     45         $this->name = $var;
     46 
     47         return $this;
     48     }
     49 
     50 }
     51 
     52