text: var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")(),google_ads_googleads_v4_enums_extension_setting_device_pb=require("../../../../../google/ads/googleads/v4/enums/extension_setting_device_pb.js");goog.object.extend(proto,google_ads_googleads_v4_enums_extension_setting_device_pb);var google_ads_googleads_v4_enums_extension_type_pb=require("../../../../../google/ads/googleads/v4/enums/extension_type_pb.js");goog.object.extend(proto,google_ads_googleads_v4_enums_extension_type_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_wrappers_pb=require("google-protobuf/google/protobuf/wrappers_pb.js");goog.object.extend(proto,google_protobuf_wrappers_pb);var google_api_annotations_pb=require("../../../../../google/api/annotations_pb.js");goog.object.extend(proto,google_api_annotations_pb),goog.exportSymbol("proto.google.ads.googleads.v4.resources.CustomerExtensionSetting",null,global),proto.google.ads.googleads.v4.resources.CustomerExtensionSetting=function(e){jspb.Message.initialize(this,e,0,-1,proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.repeatedFields_,null)},goog.inherits(proto.google.ads.googleads.v4.resources.CustomerExtensionSetting,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.displayName="proto.google.ads.googleads.v4.resources.CustomerExtensionSetting"),proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.repeatedFields_=[3],jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.toObject=function(e){return proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.toObject(e,this)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.toObject=function(e,o){var t={resourceName:jspb.Message.getFieldWithDefault(o,1,""),extensionType:jspb.Message.getFieldWithDefault(o,2,0),extensionFeedItemsList:jspb.Message.toObjectList(o.getExtensionFeedItemsList(),google_protobuf_wrappers_pb.StringValue.toObject,e),device:jspb.Message.getFieldWithDefault(o,4,0)};return e&&(t.$jspbMessageInstance=o),t}),proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.deserializeBinary=function(e){var o=new jspb.BinaryReader(e),t=new proto.google.ads.googleads.v4.resources.CustomerExtensionSetting;return proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.deserializeBinaryFromReader(t,o)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.deserializeBinaryFromReader=function(e,o){for(;o.nextField()&&!o.isEndGroup();){switch(o.getFieldNumber()){case 1:var t=o.readString();e.setResourceName(t);break;case 2:t=o.readEnum();e.setExtensionType(t);break;case 3:t=new google_protobuf_wrappers_pb.StringValue;o.readMessage(t,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),e.addExtensionFeedItems(t);break;case 4:t=o.readEnum();e.setDevice(t);break;default:o.skipField()}}return e},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.serializeBinary=function(){var e=new jspb.BinaryWriter;return proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.serializeBinaryToWriter=function(e,o){var t=void 0;0<(t=e.getResourceName()).length&&o.writeString(1,t),0!==(t=e.getExtensionType())&&o.writeEnum(2,t),0<(t=e.getExtensionFeedItemsList()).length&&o.writeRepeatedMessage(3,t,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),0!==(t=e.getDevice())&&o.writeEnum(4,t)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.getResourceName=function(){return jspb.Message.getFieldWithDefault(this,1,"")},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.setResourceName=function(e){return jspb.Message.setProto3StringField(this,1,e)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.getExtensionType=function(){return jspb.Message.getFieldWithDefault(this,2,0)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.setExtensionType=function(e){return jspb.Message.setProto3EnumField(this,2,e)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.getExtensionFeedItemsList=function(){return jspb.Message.getRepeatedWrapperField(this,google_protobuf_wrappers_pb.StringValue,3)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.setExtensionFeedItemsList=function(e){return jspb.Message.setRepeatedWrapperField(this,3,e)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.addExtensionFeedItems=function(e,o){return jspb.Message.addToRepeatedWrapperField(this,3,e,proto.google.protobuf.StringValue,o)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.clearExtensionFeedItemsList=function(){return this.setExtensionFeedItemsList([])},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.getDevice=function(){return jspb.Message.getFieldWithDefault(this,4,0)},proto.google.ads.googleads.v4.resources.CustomerExtensionSetting.prototype.setDevice=function(e){return jspb.Message.setProto3EnumField(this,4,e)},goog.object.extend(exports,proto.google.ads.googleads.v4.resources);