projects
/
platform
/
upstream
/
grpc.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Imported Upstream version 1.41.0
[platform/upstream/grpc.git]
/
src
/
php
/
tests
/
interop
/
Grpc
/
Testing
/
ResponseParameters.php
diff --git
a/src/php/tests/interop/Grpc/Testing/ResponseParameters.php
b/src/php/tests/interop/Grpc/Testing/ResponseParameters.php
index
4703493
..
654c70f
100644
(file)
--- a/
src/php/tests/interop/Grpc/Testing/ResponseParameters.php
+++ b/
src/php/tests/interop/Grpc/Testing/ResponseParameters.php
@@
-122,13
+122,23
@@
class ResponseParameters extends \Google\Protobuf\Internal\Message
* the response's compression status.
*
* Generated from protobuf field <code>.grpc.testing.BoolValue compressed = 3;</code>
* the response's compression status.
*
* Generated from protobuf field <code>.grpc.testing.BoolValue compressed = 3;</code>
- * @return \Grpc\Testing\BoolValue
+ * @return \Grpc\Testing\BoolValue
|null
*/
public function getCompressed()
{
return $this->compressed;
}
*/
public function getCompressed()
{
return $this->compressed;
}
+ public function hasCompressed()
+ {
+ return isset($this->compressed);
+ }
+
+ public function clearCompressed()
+ {
+ unset($this->compressed);
+ }
+
/**
* Whether to request the server to compress the response. This field is
* "nullable" in order to interoperate seamlessly with clients not able to
/**
* Whether to request the server to compress the response. This field is
* "nullable" in order to interoperate seamlessly with clients not able to