Imported Upstream version 1.41.0
[platform/upstream/grpc.git] / src / php / tests / interop / Grpc / Testing / ResponseParameters.php
index 4703493..654c70f 100644 (file)
@@ -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>
-     * @return \Grpc\Testing\BoolValue
+     * @return \Grpc\Testing\BoolValue|null
      */
     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