1<?php 2# Generated by the protocol buffer compiler. DO NOT EDIT! 3# source: src/proto/grpc/testing/control.proto 4 5namespace Grpc\Testing; 6 7use Google\Protobuf\Internal\GPBType; 8use Google\Protobuf\Internal\RepeatedField; 9use Google\Protobuf\Internal\GPBUtil; 10 11/** 12 * Generated from protobuf message <code>grpc.testing.ClientStatus</code> 13 */ 14class ClientStatus extends \Google\Protobuf\Internal\Message 15{ 16 /** 17 * Generated from protobuf field <code>.grpc.testing.ClientStats stats = 1;</code> 18 */ 19 private $stats = null; 20 21 public function __construct() { 22 \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce(); 23 parent::__construct(); 24 } 25 26 /** 27 * Generated from protobuf field <code>.grpc.testing.ClientStats stats = 1;</code> 28 * @return \Grpc\Testing\ClientStats 29 */ 30 public function getStats() 31 { 32 return $this->stats; 33 } 34 35 /** 36 * Generated from protobuf field <code>.grpc.testing.ClientStats stats = 1;</code> 37 * @param \Grpc\Testing\ClientStats $var 38 * @return $this 39 */ 40 public function setStats($var) 41 { 42 GPBUtil::checkMessage($var, \Grpc\Testing\ClientStats::class); 43 $this->stats = $var; 44 45 return $this; 46 } 47 48} 49 50