grpc.testing.EchoResponse
 */
class EchoResponse extends \Google\Protobuf\Internal\Message
{
    /**
     * Generated from protobuf field string message = 1;
     */
    private $message = '';
    /**
     * Generated from protobuf field .grpc.testing.ResponseParams param = 2;
     */
    private $param = null;
    public function __construct() {
        \GPBMetadata\Src\Proto\Grpc\Testing\EchoMessages::initOnce();
        parent::__construct();
    }
    /**
     * Generated from protobuf field string message = 1;
     * @return string
     */
    public function getMessage()
    {
        return $this->message;
    }
    /**
     * Generated from protobuf field string message = 1;
     * @param string $var
     * @return $this
     */
    public function setMessage($var)
    {
        GPBUtil::checkString($var, True);
        $this->message = $var;
        return $this;
    }
    /**
     * Generated from protobuf field .grpc.testing.ResponseParams param = 2;
     * @return \Grpc\Testing\ResponseParams
     */
    public function getParam()
    {
        return $this->param;
    }
    /**
     * Generated from protobuf field .grpc.testing.ResponseParams param = 2;
     * @param \Grpc\Testing\ResponseParams $var
     * @return $this
     */
    public function setParam($var)
    {
        GPBUtil::checkMessage($var, \Grpc\Testing\ResponseParams::class);
        $this->param = $var;
        return $this;
    }
}