* 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