diff options
author | Vijay Pai <vpai@google.com> | 2017-03-06 00:54:05 -0800 |
---|---|---|
committer | Vijay Pai <vpai@google.com> | 2017-03-10 10:51:05 -0800 |
commit | 958ded975f7e5dc0dee7767af63613466ee9ed4a (patch) | |
tree | 83609f20ed3eee2b15761143d0dccf082f026e5b /src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php | |
parent | 11a93fac8ebc7fe42f36626322466800fe6f53cf (diff) |
PHP benchmarking performance client, proxied through Ruby
Requires synchronous and single-threaded, so only 1 channel and 1 outstanding RPC
per channel for now. No open-loop for now
Diffstat (limited to 'src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php')
-rw-r--r-- | src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php b/src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php new file mode 100644 index 0000000000..29834a3be7 --- /dev/null +++ b/src/php/tests/qps/generated_code/Grpc/Testing/SimpleProtoParams.php @@ -0,0 +1,65 @@ +<?php +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: src/proto/grpc/testing/payloads.proto + +namespace Grpc\Testing; + +use Google\Protobuf\Internal\GPBType; +use Google\Protobuf\Internal\RepeatedField; +use Google\Protobuf\Internal\GPBUtil; + +/** + * Protobuf type <code>grpc.testing.SimpleProtoParams</code> + */ +class SimpleProtoParams extends \Google\Protobuf\Internal\Message +{ + /** + * <code>int32 req_size = 1;</code> + */ + private $req_size = 0; + /** + * <code>int32 resp_size = 2;</code> + */ + private $resp_size = 0; + + public function __construct() { + \GPBMetadata\Src\Proto\Grpc\Testing\Payloads::initOnce(); + parent::__construct(); + } + + /** + * <code>int32 req_size = 1;</code> + */ + public function getReqSize() + { + return $this->req_size; + } + + /** + * <code>int32 req_size = 1;</code> + */ + public function setReqSize($var) + { + GPBUtil::checkInt32($var); + $this->req_size = $var; + } + + /** + * <code>int32 resp_size = 2;</code> + */ + public function getRespSize() + { + return $this->resp_size; + } + + /** + * <code>int32 resp_size = 2;</code> + */ + public function setRespSize($var) + { + GPBUtil::checkInt32($var); + $this->resp_size = $var; + } + +} + |