text: /* eslint-disable */
  /**
   * @fileoverview
   * @enhanceable
   * @suppress {messageConventions} JS Compiler reports an error if a variable or
   *     field starts with 'MSG_' and isn't a translatable message.
   * @public
   */
  // GENERATED CODE -- DO NOT EDIT!
  
  var jspb = require('google-protobuf');
  var goog = jspb;
  var global = Function('return this')();
  
  goog.exportSymbol('proto.rpc.Empty', null, global);
  goog.exportSymbol('proto.rpc.RequestRunScript', null, global);
  goog.exportSymbol('proto.rpc.RequestScreenshot', null, global);
  goog.exportSymbol('proto.rpc.RequestTap', null, global);
  goog.exportSymbol('proto.rpc.Response', null, global);
  goog.exportSymbol('proto.rpc.ResponseScreenSize', null, global);
  goog.exportSymbol('proto.rpc.ResponseScreenshot', null, global);
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.Empty = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.Empty, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.Empty.displayName = 'proto.rpc.Empty';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.Response = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.Response, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.Response.displayName = 'proto.rpc.Response';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.RequestRunScript = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.RequestRunScript, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.RequestRunScript.displayName = 'proto.rpc.RequestRunScript';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.RequestScreenshot = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.RequestScreenshot, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.RequestScreenshot.displayName = 'proto.rpc.RequestScreenshot';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.RequestTap = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.RequestTap, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.RequestTap.displayName = 'proto.rpc.RequestTap';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.ResponseScreenshot = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.ResponseScreenshot, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.ResponseScreenshot.displayName = 'proto.rpc.ResponseScreenshot';
  }
  /**
   * Generated by JsPbCodeGenerator.
   * @param {Array=} opt_data Optional initial data array, typically from a
   * server response, or constructed directly in Javascript. The array is used
   * in place and becomes part of the constructed object. It is not cloned.
   * If no data is provided, the constructed object will be empty, but still
   * valid.
   * @extends {jspb.Message}
   * @constructor
   */
  proto.rpc.ResponseScreenSize = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.rpc.ResponseScreenSize, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.rpc.ResponseScreenSize.displayName = 'proto.rpc.ResponseScreenSize';
  }
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.Empty.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.Empty.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.Empty} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.Empty.toObject = function(includeInstance, msg) {
    var f, obj = {
  
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.Empty}
   */
  proto.rpc.Empty.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.Empty;
    return proto.rpc.Empty.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.Empty} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.Empty}
   */
  proto.rpc.Empty.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.Empty.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.Empty.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.Empty} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.Empty.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.Response.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.Response.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.Response} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.Response.toObject = function(includeInstance, msg) {
    var f, obj = {
      message: jspb.Message.getFieldWithDefault(msg, 1, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.Response}
   */
  proto.rpc.Response.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.Response;
    return proto.rpc.Response.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.Response} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.Response}
   */
  proto.rpc.Response.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setMessage(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.Response.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.Response.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.Response} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.Response.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getMessage();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
  };
  
  
  /**
   * optional string message = 1;
   * @return {string}
   */
  proto.rpc.Response.prototype.getMessage = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /** @param {string} value */
  proto.rpc.Response.prototype.setMessage = function(value) {
    jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.RequestRunScript.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.RequestRunScript.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.RequestRunScript} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestRunScript.toObject = function(includeInstance, msg) {
    var f, obj = {
      script: jspb.Message.getFieldWithDefault(msg, 1, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.RequestRunScript}
   */
  proto.rpc.RequestRunScript.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.RequestRunScript;
    return proto.rpc.RequestRunScript.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.RequestRunScript} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.RequestRunScript}
   */
  proto.rpc.RequestRunScript.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {string} */ (reader.readString());
        msg.setScript(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.RequestRunScript.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.RequestRunScript.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.RequestRunScript} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestRunScript.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getScript();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
  };
  
  
  /**
   * optional string script = 1;
   * @return {string}
   */
  proto.rpc.RequestRunScript.prototype.getScript = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /** @param {string} value */
  proto.rpc.RequestRunScript.prototype.setScript = function(value) {
    jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.RequestScreenshot.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.RequestScreenshot.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.RequestScreenshot} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestScreenshot.toObject = function(includeInstance, msg) {
    var f, obj = {
      cropx: jspb.Message.getFieldWithDefault(msg, 1, 0),
      cropy: jspb.Message.getFieldWithDefault(msg, 2, 0),
      cropwidth: jspb.Message.getFieldWithDefault(msg, 3, 0),
      cropheight: jspb.Message.getFieldWithDefault(msg, 4, 0),
      resizewidth: jspb.Message.getFieldWithDefault(msg, 5, 0),
      resizeheight: jspb.Message.getFieldWithDefault(msg, 6, 0),
      quality: jspb.Message.getFieldWithDefault(msg, 7, 0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.RequestScreenshot}
   */
  proto.rpc.RequestScreenshot.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.RequestScreenshot;
    return proto.rpc.RequestScreenshot.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.RequestScreenshot} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.RequestScreenshot}
   */
  proto.rpc.RequestScreenshot.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setCropx(value);
        break;
      case 2:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setCropy(value);
        break;
      case 3:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setCropwidth(value);
        break;
      case 4:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setCropheight(value);
        break;
      case 5:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setResizewidth(value);
        break;
      case 6:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setResizeheight(value);
        break;
      case 7:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setQuality(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.RequestScreenshot.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.RequestScreenshot.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.RequestScreenshot} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestScreenshot.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getCropx();
    if (f !== 0) {
      writer.writeInt32(
        1,
        f
      );
    }
    f = message.getCropy();
    if (f !== 0) {
      writer.writeInt32(
        2,
        f
      );
    }
    f = message.getCropwidth();
    if (f !== 0) {
      writer.writeInt32(
        3,
        f
      );
    }
    f = message.getCropheight();
    if (f !== 0) {
      writer.writeInt32(
        4,
        f
      );
    }
    f = message.getResizewidth();
    if (f !== 0) {
      writer.writeInt32(
        5,
        f
      );
    }
    f = message.getResizeheight();
    if (f !== 0) {
      writer.writeInt32(
        6,
        f
      );
    }
    f = message.getQuality();
    if (f !== 0) {
      writer.writeInt32(
        7,
        f
      );
    }
  };
  
  
  /**
   * optional int32 cropX = 1;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getCropx = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setCropx = function(value) {
    jspb.Message.setProto3IntField(this, 1, value);
  };
  
  
  /**
   * optional int32 cropY = 2;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getCropy = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setCropy = function(value) {
    jspb.Message.setProto3IntField(this, 2, value);
  };
  
  
  /**
   * optional int32 cropWidth = 3;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getCropwidth = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setCropwidth = function(value) {
    jspb.Message.setProto3IntField(this, 3, value);
  };
  
  
  /**
   * optional int32 cropHeight = 4;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getCropheight = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setCropheight = function(value) {
    jspb.Message.setProto3IntField(this, 4, value);
  };
  
  
  /**
   * optional int32 resizeWidth = 5;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getResizewidth = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setResizewidth = function(value) {
    jspb.Message.setProto3IntField(this, 5, value);
  };
  
  
  /**
   * optional int32 resizeHeight = 6;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getResizeheight = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setResizeheight = function(value) {
    jspb.Message.setProto3IntField(this, 6, value);
  };
  
  
  /**
   * optional int32 quality = 7;
   * @return {number}
   */
  proto.rpc.RequestScreenshot.prototype.getQuality = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestScreenshot.prototype.setQuality = function(value) {
    jspb.Message.setProto3IntField(this, 7, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.RequestTap.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.RequestTap.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.RequestTap} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestTap.toObject = function(includeInstance, msg) {
    var f, obj = {
      x: jspb.Message.getFieldWithDefault(msg, 1, 0),
      y: jspb.Message.getFieldWithDefault(msg, 2, 0),
      id: jspb.Message.getFieldWithDefault(msg, 3, 0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.RequestTap}
   */
  proto.rpc.RequestTap.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.RequestTap;
    return proto.rpc.RequestTap.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.RequestTap} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.RequestTap}
   */
  proto.rpc.RequestTap.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setX(value);
        break;
      case 2:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setY(value);
        break;
      case 3:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setId(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.RequestTap.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.RequestTap.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.RequestTap} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.RequestTap.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getX();
    if (f !== 0) {
      writer.writeInt32(
        1,
        f
      );
    }
    f = message.getY();
    if (f !== 0) {
      writer.writeInt32(
        2,
        f
      );
    }
    f = message.getId();
    if (f !== 0) {
      writer.writeInt32(
        3,
        f
      );
    }
  };
  
  
  /**
   * optional int32 x = 1;
   * @return {number}
   */
  proto.rpc.RequestTap.prototype.getX = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestTap.prototype.setX = function(value) {
    jspb.Message.setProto3IntField(this, 1, value);
  };
  
  
  /**
   * optional int32 y = 2;
   * @return {number}
   */
  proto.rpc.RequestTap.prototype.getY = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestTap.prototype.setY = function(value) {
    jspb.Message.setProto3IntField(this, 2, value);
  };
  
  
  /**
   * optional int32 id = 3;
   * @return {number}
   */
  proto.rpc.RequestTap.prototype.getId = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.RequestTap.prototype.setId = function(value) {
    jspb.Message.setProto3IntField(this, 3, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.ResponseScreenshot.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.ResponseScreenshot.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.ResponseScreenshot} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.ResponseScreenshot.toObject = function(includeInstance, msg) {
    var f, obj = {
      image: msg.getImage_asB64(),
      devicewidth: jspb.Message.getFieldWithDefault(msg, 2, 0),
      deviceheight: jspb.Message.getFieldWithDefault(msg, 3, 0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.ResponseScreenshot}
   */
  proto.rpc.ResponseScreenshot.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.ResponseScreenshot;
    return proto.rpc.ResponseScreenshot.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.ResponseScreenshot} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.ResponseScreenshot}
   */
  proto.rpc.ResponseScreenshot.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {!Uint8Array} */ (reader.readBytes());
        msg.setImage(value);
        break;
      case 2:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setDevicewidth(value);
        break;
      case 3:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setDeviceheight(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.ResponseScreenshot.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.ResponseScreenshot.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.ResponseScreenshot} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.ResponseScreenshot.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getImage_asU8();
    if (f.length > 0) {
      writer.writeBytes(
        1,
        f
      );
    }
    f = message.getDevicewidth();
    if (f !== 0) {
      writer.writeInt32(
        2,
        f
      );
    }
    f = message.getDeviceheight();
    if (f !== 0) {
      writer.writeInt32(
        3,
        f
      );
    }
  };
  
  
  /**
   * optional bytes image = 1;
   * @return {string}
   */
  proto.rpc.ResponseScreenshot.prototype.getImage = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * optional bytes image = 1;
   * This is a type-conversion wrapper around `getImage()`
   * @return {string}
   */
  proto.rpc.ResponseScreenshot.prototype.getImage_asB64 = function() {
    return /** @type {string} */ (jspb.Message.bytesAsB64(
        this.getImage()));
  };
  
  
  /**
   * optional bytes image = 1;
   * Note that Uint8Array is not supported on all browsers.
   * @see http://caniuse.com/Uint8Array
   * This is a type-conversion wrapper around `getImage()`
   * @return {!Uint8Array}
   */
  proto.rpc.ResponseScreenshot.prototype.getImage_asU8 = function() {
    return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
        this.getImage()));
  };
  
  
  /** @param {!(string|Uint8Array)} value */
  proto.rpc.ResponseScreenshot.prototype.setImage = function(value) {
    jspb.Message.setProto3BytesField(this, 1, value);
  };
  
  
  /**
   * optional int32 deviceWidth = 2;
   * @return {number}
   */
  proto.rpc.ResponseScreenshot.prototype.getDevicewidth = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.ResponseScreenshot.prototype.setDevicewidth = function(value) {
    jspb.Message.setProto3IntField(this, 2, value);
  };
  
  
  /**
   * optional int32 deviceHeight = 3;
   * @return {number}
   */
  proto.rpc.ResponseScreenshot.prototype.getDeviceheight = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.ResponseScreenshot.prototype.setDeviceheight = function(value) {
    jspb.Message.setProto3IntField(this, 3, value);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto suitable for use in Soy templates.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     com.google.apps.jspb.JsClassTemplate.JS_RESERVED_WORDS.
   * @param {boolean=} opt_includeInstance Whether to include the JSPB instance
   *     for transitional soy proto support: http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.rpc.ResponseScreenSize.prototype.toObject = function(opt_includeInstance) {
    return proto.rpc.ResponseScreenSize.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Whether to include the JSPB
   *     instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.rpc.ResponseScreenSize} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.ResponseScreenSize.toObject = function(includeInstance, msg) {
    var f, obj = {
      width: jspb.Message.getFieldWithDefault(msg, 1, 0),
      height: jspb.Message.getFieldWithDefault(msg, 2, 0)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.rpc.ResponseScreenSize}
   */
  proto.rpc.ResponseScreenSize.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.rpc.ResponseScreenSize;
    return proto.rpc.ResponseScreenSize.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.rpc.ResponseScreenSize} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.rpc.ResponseScreenSize}
   */
  proto.rpc.ResponseScreenSize.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 1:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setWidth(value);
        break;
      case 2:
        var value = /** @type {number} */ (reader.readInt32());
        msg.setHeight(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.rpc.ResponseScreenSize.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.rpc.ResponseScreenSize.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.rpc.ResponseScreenSize} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.rpc.ResponseScreenSize.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getWidth();
    if (f !== 0) {
      writer.writeInt32(
        1,
        f
      );
    }
    f = message.getHeight();
    if (f !== 0) {
      writer.writeInt32(
        2,
        f
      );
    }
  };
  
  
  /**
   * optional int32 width = 1;
   * @return {number}
   */
  proto.rpc.ResponseScreenSize.prototype.getWidth = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.ResponseScreenSize.prototype.setWidth = function(value) {
    jspb.Message.setProto3IntField(this, 1, value);
  };
  
  
  /**
   * optional int32 height = 2;
   * @return {number}
   */
  proto.rpc.ResponseScreenSize.prototype.getHeight = function() {
    return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
  };
  
  
  /** @param {number} value */
  proto.rpc.ResponseScreenSize.prototype.setHeight = function(value) {
    jspb.Message.setProto3IntField(this, 2, value);
  };
  
  
  goog.object.extend(exports, proto.rpc);
  