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/BoolValue.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/BoolValue.php')
-rw-r--r-- | src/php/tests/qps/generated_code/Grpc/Testing/BoolValue.php | 62 |
1 files changed, 62 insertions, 0 deletions
diff --git a/src/php/tests/qps/generated_code/Grpc/Testing/BoolValue.php b/src/php/tests/qps/generated_code/Grpc/Testing/BoolValue.php new file mode 100644 index 0000000000..f0497accfb --- /dev/null +++ b/src/php/tests/qps/generated_code/Grpc/Testing/BoolValue.php @@ -0,0 +1,62 @@ +<?php +# Generated by the protocol buffer compiler. DO NOT EDIT! +# source: src/proto/grpc/testing/messages.proto + +namespace Grpc\Testing; + +use Google\Protobuf\Internal\GPBType; +use Google\Protobuf\Internal\RepeatedField; +use Google\Protobuf\Internal\GPBUtil; + +/** + * <pre> + * TODO(dgq): Go back to using well-known types once + * https://github.com/grpc/grpc/issues/6980 has been fixed. + * import "google/protobuf/wrappers.proto"; + * </pre> + * + * Protobuf type <code>grpc.testing.BoolValue</code> + */ +class BoolValue extends \Google\Protobuf\Internal\Message +{ + /** + * <pre> + * The bool value. + * </pre> + * + * <code>bool value = 1;</code> + */ + private $value = false; + + public function __construct() { + \GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce(); + parent::__construct(); + } + + /** + * <pre> + * The bool value. + * </pre> + * + * <code>bool value = 1;</code> + */ + public function getValue() + { + return $this->value; + } + + /** + * <pre> + * The bool value. + * </pre> + * + * <code>bool value = 1;</code> + */ + public function setValue($var) + { + GPBUtil::checkBool($var); + $this->value = $var; + } + +} + |