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/LoadParams.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/LoadParams.php')
-rw-r--r-- | src/php/tests/qps/generated_code/Grpc/Testing/LoadParams.php | 63 |
1 files changed, 63 insertions, 0 deletions
diff --git a/src/php/tests/qps/generated_code/Grpc/Testing/LoadParams.php b/src/php/tests/qps/generated_code/Grpc/Testing/LoadParams.php new file mode 100644 index 0000000000..1f32e49c8a --- /dev/null +++ b/src/php/tests/qps/generated_code/Grpc/Testing/LoadParams.php @@ -0,0 +1,63 @@ +<?php +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: src/proto/grpc/testing/control.proto + +namespace Grpc\Testing; + +use Google\Protobuf\Internal\GPBType; +use Google\Protobuf\Internal\RepeatedField; +use Google\Protobuf\Internal\GPBUtil; + +/** + * Protobuf type <code>grpc.testing.LoadParams</code> + */ +class LoadParams extends \Google\Protobuf\Internal\Message +{ + protected $load; + + public function __construct() { + \GPBMetadata\Src\Proto\Grpc\Testing\Control::initOnce(); + parent::__construct(); + } + + /** + * <code>.grpc.testing.ClosedLoopParams closed_loop = 1;</code> + */ + public function getClosedLoop() + { + return $this->readOneof(1); + } + + /** + * <code>.grpc.testing.ClosedLoopParams closed_loop = 1;</code> + */ + public function setClosedLoop(&$var) + { + GPBUtil::checkMessage($var, \Grpc\Testing\ClosedLoopParams::class); + $this->writeOneof(1, $var); + } + + /** + * <code>.grpc.testing.PoissonParams poisson = 2;</code> + */ + public function getPoisson() + { + return $this->readOneof(2); + } + + /** + * <code>.grpc.testing.PoissonParams poisson = 2;</code> + */ + public function setPoisson(&$var) + { + GPBUtil::checkMessage($var, \Grpc\Testing\PoissonParams::class); + $this->writeOneof(2, $var); + } + + public function getLoad() + { + return $this->whichOneof("load"); + } + +} + |