grpc.testing.ClientStatus */ class ClientStatus extends \Google\Protobuf\Internal\Message { /** * Generated from protobuf field .grpc.testing.ClientStats stats = 1; */ protected $stats = null; /** * Constructor. * * @param array $data { * Optional. Data for populating the Message object. * * @type \Grpc\Testing\ClientStats $stats * } */ public function __construct($data = NULL) { \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce(); parent::__construct($data); } /** * Generated from protobuf field .grpc.testing.ClientStats stats = 1; * @return \Grpc\Testing\ClientStats */ public function getStats() { return $this->stats; } /** * Generated from protobuf field .grpc.testing.ClientStats stats = 1; * @param \Grpc\Testing\ClientStats $var * @return $this */ public function setStats($var) { GPBUtil::checkMessage($var, \Grpc\Testing\ClientStats::class); $this->stats = $var; return $this; } }