text: // source: google/ads/googleads/v3/services/customer_feed_service.proto
  /**
   * @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')();
  
  var google_ads_googleads_v3_resources_customer_feed_pb = require('../../../../../google/ads/googleads/v3/resources/customer_feed_pb.js');
  goog.object.extend(proto, google_ads_googleads_v3_resources_customer_feed_pb);
  var google_api_annotations_pb = require('../../../../../google/api/annotations_pb.js');
  goog.object.extend(proto, google_api_annotations_pb);
  var google_api_client_pb = require('../../../../../google/api/client_pb.js');
  goog.object.extend(proto, google_api_client_pb);
  var google_api_field_behavior_pb = require('../../../../../google/api/field_behavior_pb.js');
  goog.object.extend(proto, google_api_field_behavior_pb);
  var google_api_resource_pb = require('../../../../../google/api/resource_pb.js');
  goog.object.extend(proto, google_api_resource_pb);
  var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
  goog.object.extend(proto, google_protobuf_field_mask_pb);
  var google_rpc_status_pb = require('../../../../../google/rpc/status_pb.js');
  goog.object.extend(proto, google_rpc_status_pb);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.CustomerFeedOperation', null, global);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.CustomerFeedOperation.OperationCase', null, global);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.GetCustomerFeedRequest', null, global);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.MutateCustomerFeedResult', null, global);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest', null, global);
  goog.exportSymbol('proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse', 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.google.ads.googleads.v3.services.GetCustomerFeedRequest = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.google.ads.googleads.v3.services.GetCustomerFeedRequest, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.displayName = 'proto.google.ads.googleads.v3.services.GetCustomerFeedRequest';
  }
  /**
   * 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.google.ads.googleads.v3.services.MutateCustomerFeedsRequest = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.repeatedFields_, null);
  };
  goog.inherits(proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.displayName = 'proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest';
  }
  /**
   * 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.google.ads.googleads.v3.services.CustomerFeedOperation = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_);
  };
  goog.inherits(proto.google.ads.googleads.v3.services.CustomerFeedOperation, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.google.ads.googleads.v3.services.CustomerFeedOperation.displayName = 'proto.google.ads.googleads.v3.services.CustomerFeedOperation';
  }
  /**
   * 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.google.ads.googleads.v3.services.MutateCustomerFeedsResponse = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.repeatedFields_, null);
  };
  goog.inherits(proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.displayName = 'proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse';
  }
  /**
   * 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.google.ads.googleads.v3.services.MutateCustomerFeedResult = function(opt_data) {
    jspb.Message.initialize(this, opt_data, 0, -1, null, null);
  };
  goog.inherits(proto.google.ads.googleads.v3.services.MutateCustomerFeedResult, jspb.Message);
  if (goog.DEBUG && !COMPILED) {
    /**
     * @public
     * @override
     */
    proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.displayName = 'proto.google.ads.googleads.v3.services.MutateCustomerFeedResult';
  }
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.prototype.toObject = function(opt_includeInstance) {
    return proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.google.ads.googleads.v3.services.GetCustomerFeedRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.toObject = function(includeInstance, msg) {
    var f, obj = {
      resourceName: 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.google.ads.googleads.v3.services.GetCustomerFeedRequest}
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.google.ads.googleads.v3.services.GetCustomerFeedRequest;
    return proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.google.ads.googleads.v3.services.GetCustomerFeedRequest} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.google.ads.googleads.v3.services.GetCustomerFeedRequest}
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.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.setResourceName(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.google.ads.googleads.v3.services.GetCustomerFeedRequest} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getResourceName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
  };
  
  
  /**
   * optional string resource_name = 1;
   * @return {string}
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.prototype.getResourceName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.google.ads.googleads.v3.services.GetCustomerFeedRequest} returns this
   */
  proto.google.ads.googleads.v3.services.GetCustomerFeedRequest.prototype.setResourceName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  
  /**
   * List of repeated fields within this message type.
   * @private {!Array<number>}
   * @const
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.repeatedFields_ = [2];
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.toObject = function(opt_includeInstance) {
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.toObject = function(includeInstance, msg) {
    var f, obj = {
      customerId: jspb.Message.getFieldWithDefault(msg, 1, ""),
      operationsList: jspb.Message.toObjectList(msg.getOperationsList(),
      proto.google.ads.googleads.v3.services.CustomerFeedOperation.toObject, includeInstance),
      partialFailure: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
      validateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest;
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.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.setCustomerId(value);
        break;
      case 2:
        var value = new proto.google.ads.googleads.v3.services.CustomerFeedOperation;
        reader.readMessage(value,proto.google.ads.googleads.v3.services.CustomerFeedOperation.deserializeBinaryFromReader);
        msg.addOperations(value);
        break;
      case 3:
        var value = /** @type {boolean} */ (reader.readBool());
        msg.setPartialFailure(value);
        break;
      case 4:
        var value = /** @type {boolean} */ (reader.readBool());
        msg.setValidateOnly(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getCustomerId();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
    f = message.getOperationsList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        2,
        f,
        proto.google.ads.googleads.v3.services.CustomerFeedOperation.serializeBinaryToWriter
      );
    }
    f = message.getPartialFailure();
    if (f) {
      writer.writeBool(
        3,
        f
      );
    }
    f = message.getValidateOnly();
    if (f) {
      writer.writeBool(
        4,
        f
      );
    }
  };
  
  
  /**
   * optional string customer_id = 1;
   * @return {string}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.getCustomerId = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.setCustomerId = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  /**
   * repeated CustomerFeedOperation operations = 2;
   * @return {!Array<!proto.google.ads.googleads.v3.services.CustomerFeedOperation>}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.getOperationsList = function() {
    return /** @type{!Array<!proto.google.ads.googleads.v3.services.CustomerFeedOperation>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.google.ads.googleads.v3.services.CustomerFeedOperation, 2));
  };
  
  
  /**
   * @param {!Array<!proto.google.ads.googleads.v3.services.CustomerFeedOperation>} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} returns this
  */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.setOperationsList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 2, value);
  };
  
  
  /**
   * @param {!proto.google.ads.googleads.v3.services.CustomerFeedOperation=} opt_value
   * @param {number=} opt_index
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.addOperations = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.ads.googleads.v3.services.CustomerFeedOperation, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.clearOperationsList = function() {
    return this.setOperationsList([]);
  };
  
  
  /**
   * optional bool partial_failure = 3;
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.getPartialFailure = function() {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
  };
  
  
  /**
   * @param {boolean} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.setPartialFailure = function(value) {
    return jspb.Message.setProto3BooleanField(this, 3, value);
  };
  
  
  /**
   * optional bool validate_only = 4;
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.getValidateOnly = function() {
    return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
  };
  
  
  /**
   * @param {boolean} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsRequest.prototype.setValidateOnly = function(value) {
    return jspb.Message.setProto3BooleanField(this, 4, value);
  };
  
  
  
  /**
   * Oneof group definitions for this message. Each group defines the field
   * numbers belonging to that group. When of these fields' value is set, all
   * other fields in the group are cleared. During deserialization, if multiple
   * fields are encountered for a group, only the last value seen will be kept.
   * @private {!Array<!Array<number>>}
   * @const
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_ = [[1,2,3]];
  
  /**
   * @enum {number}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.OperationCase = {
    OPERATION_NOT_SET: 0,
    CREATE: 1,
    UPDATE: 2,
    REMOVE: 3
  };
  
  /**
   * @return {proto.google.ads.googleads.v3.services.CustomerFeedOperation.OperationCase}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.getOperationCase = function() {
    return /** @type {proto.google.ads.googleads.v3.services.CustomerFeedOperation.OperationCase} */(jspb.Message.computeOneofCase(this, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_[0]));
  };
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.toObject = function(opt_includeInstance) {
    return proto.google.ads.googleads.v3.services.CustomerFeedOperation.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.toObject = function(includeInstance, msg) {
    var f, obj = {
      updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
      create: (f = msg.getCreate()) && google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.toObject(includeInstance, f),
      update: (f = msg.getUpdate()) && google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.toObject(includeInstance, f),
      remove: jspb.Message.getFieldWithDefault(msg, 3, "")
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.google.ads.googleads.v3.services.CustomerFeedOperation;
    return proto.google.ads.googleads.v3.services.CustomerFeedOperation.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 4:
        var value = new google_protobuf_field_mask_pb.FieldMask;
        reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
        msg.setUpdateMask(value);
        break;
      case 1:
        var value = new google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed;
        reader.readMessage(value,google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.deserializeBinaryFromReader);
        msg.setCreate(value);
        break;
      case 2:
        var value = new google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed;
        reader.readMessage(value,google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.deserializeBinaryFromReader);
        msg.setUpdate(value);
        break;
      case 3:
        var value = /** @type {string} */ (reader.readString());
        msg.setRemove(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.google.ads.googleads.v3.services.CustomerFeedOperation.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getUpdateMask();
    if (f != null) {
      writer.writeMessage(
        4,
        f,
        google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
      );
    }
    f = message.getCreate();
    if (f != null) {
      writer.writeMessage(
        1,
        f,
        google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.serializeBinaryToWriter
      );
    }
    f = message.getUpdate();
    if (f != null) {
      writer.writeMessage(
        2,
        f,
        google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed.serializeBinaryToWriter
      );
    }
    f = /** @type {string} */ (jspb.Message.getField(message, 3));
    if (f != null) {
      writer.writeString(
        3,
        f
      );
    }
  };
  
  
  /**
   * optional google.protobuf.FieldMask update_mask = 4;
   * @return {?proto.google.protobuf.FieldMask}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.getUpdateMask = function() {
    return /** @type{?proto.google.protobuf.FieldMask} */ (
      jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
  };
  
  
  /**
   * @param {?proto.google.protobuf.FieldMask|undefined} value
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
  */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.setUpdateMask = function(value) {
    return jspb.Message.setWrapperField(this, 4, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.clearUpdateMask = function() {
    return this.setUpdateMask(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.hasUpdateMask = function() {
    return jspb.Message.getField(this, 4) != null;
  };
  
  
  /**
   * optional google.ads.googleads.v3.resources.CustomerFeed create = 1;
   * @return {?proto.google.ads.googleads.v3.resources.CustomerFeed}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.getCreate = function() {
    return /** @type{?proto.google.ads.googleads.v3.resources.CustomerFeed} */ (
      jspb.Message.getWrapperField(this, google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed, 1));
  };
  
  
  /**
   * @param {?proto.google.ads.googleads.v3.resources.CustomerFeed|undefined} value
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
  */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.setCreate = function(value) {
    return jspb.Message.setOneofWrapperField(this, 1, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_[0], value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.clearCreate = function() {
    return this.setCreate(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.hasCreate = function() {
    return jspb.Message.getField(this, 1) != null;
  };
  
  
  /**
   * optional google.ads.googleads.v3.resources.CustomerFeed update = 2;
   * @return {?proto.google.ads.googleads.v3.resources.CustomerFeed}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.getUpdate = function() {
    return /** @type{?proto.google.ads.googleads.v3.resources.CustomerFeed} */ (
      jspb.Message.getWrapperField(this, google_ads_googleads_v3_resources_customer_feed_pb.CustomerFeed, 2));
  };
  
  
  /**
   * @param {?proto.google.ads.googleads.v3.resources.CustomerFeed|undefined} value
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
  */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.setUpdate = function(value) {
    return jspb.Message.setOneofWrapperField(this, 2, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_[0], value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.clearUpdate = function() {
    return this.setUpdate(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.hasUpdate = function() {
    return jspb.Message.getField(this, 2) != null;
  };
  
  
  /**
   * optional string remove = 3;
   * @return {string}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.getRemove = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.setRemove = function(value) {
    return jspb.Message.setOneofField(this, 3, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_[0], value);
  };
  
  
  /**
   * Clears the field making it undefined.
   * @return {!proto.google.ads.googleads.v3.services.CustomerFeedOperation} returns this
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.clearRemove = function() {
    return jspb.Message.setOneofField(this, 3, proto.google.ads.googleads.v3.services.CustomerFeedOperation.oneofGroups_[0], undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.CustomerFeedOperation.prototype.hasRemove = function() {
    return jspb.Message.getField(this, 3) != null;
  };
  
  
  
  /**
   * List of repeated fields within this message type.
   * @private {!Array<number>}
   * @const
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.repeatedFields_ = [2];
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.toObject = function(opt_includeInstance) {
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.toObject = function(includeInstance, msg) {
    var f, obj = {
      partialFailureError: (f = msg.getPartialFailureError()) && google_rpc_status_pb.Status.toObject(includeInstance, f),
      resultsList: jspb.Message.toObjectList(msg.getResultsList(),
      proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.toObject, includeInstance)
    };
  
    if (includeInstance) {
      obj.$jspbMessageInstance = msg;
    }
    return obj;
  };
  }
  
  
  /**
   * Deserializes binary data (in protobuf wire format).
   * @param {jspb.ByteSource} bytes The bytes to deserialize.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse;
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.deserializeBinaryFromReader = function(msg, reader) {
    while (reader.nextField()) {
      if (reader.isEndGroup()) {
        break;
      }
      var field = reader.getFieldNumber();
      switch (field) {
      case 3:
        var value = new google_rpc_status_pb.Status;
        reader.readMessage(value,google_rpc_status_pb.Status.deserializeBinaryFromReader);
        msg.setPartialFailureError(value);
        break;
      case 2:
        var value = new proto.google.ads.googleads.v3.services.MutateCustomerFeedResult;
        reader.readMessage(value,proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.deserializeBinaryFromReader);
        msg.addResults(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getPartialFailureError();
    if (f != null) {
      writer.writeMessage(
        3,
        f,
        google_rpc_status_pb.Status.serializeBinaryToWriter
      );
    }
    f = message.getResultsList();
    if (f.length > 0) {
      writer.writeRepeatedMessage(
        2,
        f,
        proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.serializeBinaryToWriter
      );
    }
  };
  
  
  /**
   * optional google.rpc.Status partial_failure_error = 3;
   * @return {?proto.google.rpc.Status}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.getPartialFailureError = function() {
    return /** @type{?proto.google.rpc.Status} */ (
      jspb.Message.getWrapperField(this, google_rpc_status_pb.Status, 3));
  };
  
  
  /**
   * @param {?proto.google.rpc.Status|undefined} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} returns this
  */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.setPartialFailureError = function(value) {
    return jspb.Message.setWrapperField(this, 3, value);
  };
  
  
  /**
   * Clears the message field making it undefined.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.clearPartialFailureError = function() {
    return this.setPartialFailureError(undefined);
  };
  
  
  /**
   * Returns whether this field is set.
   * @return {boolean}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.hasPartialFailureError = function() {
    return jspb.Message.getField(this, 3) != null;
  };
  
  
  /**
   * repeated MutateCustomerFeedResult results = 2;
   * @return {!Array<!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult>}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.getResultsList = function() {
    return /** @type{!Array<!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult>} */ (
      jspb.Message.getRepeatedWrapperField(this, proto.google.ads.googleads.v3.services.MutateCustomerFeedResult, 2));
  };
  
  
  /**
   * @param {!Array<!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult>} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} returns this
  */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.setResultsList = function(value) {
    return jspb.Message.setRepeatedWrapperField(this, 2, value);
  };
  
  
  /**
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult=} opt_value
   * @param {number=} opt_index
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.addResults = function(opt_value, opt_index) {
    return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.google.ads.googleads.v3.services.MutateCustomerFeedResult, opt_index);
  };
  
  
  /**
   * Clears the list making it empty but non-null.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedsResponse.prototype.clearResultsList = function() {
    return this.setResultsList([]);
  };
  
  
  
  
  
  if (jspb.Message.GENERATE_TO_OBJECT) {
  /**
   * Creates an object representation of this proto.
   * Field names that are reserved in JavaScript and will be renamed to pb_name.
   * Optional fields that are not set will be set to undefined.
   * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
   * For the list of reserved names please see:
   *     net/proto2/compiler/js/internal/generator.cc#kKeyword.
   * @param {boolean=} opt_includeInstance Deprecated. whether to include the
   *     JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @return {!Object}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.prototype.toObject = function(opt_includeInstance) {
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.toObject(opt_includeInstance, this);
  };
  
  
  /**
   * Static version of the {@see toObject} method.
   * @param {boolean|undefined} includeInstance Deprecated. Whether to include
   *     the JSPB instance for transitional soy proto support:
   *     http://goto/soy-param-migration
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult} msg The msg instance to transform.
   * @return {!Object}
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.toObject = function(includeInstance, msg) {
    var f, obj = {
      resourceName: 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.google.ads.googleads.v3.services.MutateCustomerFeedResult}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.deserializeBinary = function(bytes) {
    var reader = new jspb.BinaryReader(bytes);
    var msg = new proto.google.ads.googleads.v3.services.MutateCustomerFeedResult;
    return proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.deserializeBinaryFromReader(msg, reader);
  };
  
  
  /**
   * Deserializes binary data (in protobuf wire format) from the
   * given reader into the given message object.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult} msg The message object to deserialize into.
   * @param {!jspb.BinaryReader} reader The BinaryReader to use.
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.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.setResourceName(value);
        break;
      default:
        reader.skipField();
        break;
      }
    }
    return msg;
  };
  
  
  /**
   * Serializes the message to binary data (in protobuf wire format).
   * @return {!Uint8Array}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.prototype.serializeBinary = function() {
    var writer = new jspb.BinaryWriter();
    proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.serializeBinaryToWriter(this, writer);
    return writer.getResultBuffer();
  };
  
  
  /**
   * Serializes the given message to binary data (in protobuf wire
   * format), writing to the given BinaryWriter.
   * @param {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult} message
   * @param {!jspb.BinaryWriter} writer
   * @suppress {unusedLocalVariables} f is only used for nested messages
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.serializeBinaryToWriter = function(message, writer) {
    var f = undefined;
    f = message.getResourceName();
    if (f.length > 0) {
      writer.writeString(
        1,
        f
      );
    }
  };
  
  
  /**
   * optional string resource_name = 1;
   * @return {string}
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.prototype.getResourceName = function() {
    return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
  };
  
  
  /**
   * @param {string} value
   * @return {!proto.google.ads.googleads.v3.services.MutateCustomerFeedResult} returns this
   */
  proto.google.ads.googleads.v3.services.MutateCustomerFeedResult.prototype.setResourceName = function(value) {
    return jspb.Message.setProto3StringField(this, 1, value);
  };
  
  
  goog.object.extend(exports, proto.google.ads.googleads.v3.services);
  