grpc.testing.StreamingOutputCallResponse
*/
class StreamingOutputCallResponse extends \Google\Protobuf\Internal\Message
{
/**
* Payload to increase response size.
*
* Generated from protobuf field .grpc.testing.Payload payload = 1;
*/
private $payload = null;
public function __construct() {
\GPBMetadata\Src\Proto\Grpc\Testing\Messages::initOnce();
parent::__construct();
}
/**
* Payload to increase response size.
*
* Generated from protobuf field .grpc.testing.Payload payload = 1;
* @return \Grpc\Testing\Payload
*/
public function getPayload()
{
return $this->payload;
}
/**
* Payload to increase response size.
*
* Generated from protobuf field .grpc.testing.Payload payload = 1;
* @param \Grpc\Testing\Payload $var
* @return $this
*/
public function setPayload($var)
{
GPBUtil::checkMessage($var, \Grpc\Testing\Payload::class);
$this->payload = $var;
return $this;
}
}