text: var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")(),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.common.UrlCollection",null,global),proto.google.ads.googleads.v4.common.UrlCollection=function(o){jspb.Message.initialize(this,o,0,-1,proto.google.ads.googleads.v4.common.UrlCollection.repeatedFields_,null)},goog.inherits(proto.google.ads.googleads.v4.common.UrlCollection,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.ads.googleads.v4.common.UrlCollection.displayName="proto.google.ads.googleads.v4.common.UrlCollection"),proto.google.ads.googleads.v4.common.UrlCollection.repeatedFields_=[2,3],jspb.Message.GENERATE_TO_OBJECT&&(proto.google.ads.googleads.v4.common.UrlCollection.prototype.toObject=function(o){return proto.google.ads.googleads.v4.common.UrlCollection.toObject(o,this)},proto.google.ads.googleads.v4.common.UrlCollection.toObject=function(o,e){var r,l={urlCollectionId:(r=e.getUrlCollectionId())&&google_protobuf_wrappers_pb.StringValue.toObject(o,r),finalUrlsList:jspb.Message.toObjectList(e.getFinalUrlsList(),google_protobuf_wrappers_pb.StringValue.toObject,o),finalMobileUrlsList:jspb.Message.toObjectList(e.getFinalMobileUrlsList(),google_protobuf_wrappers_pb.StringValue.toObject,o),trackingUrlTemplate:(r=e.getTrackingUrlTemplate())&&google_protobuf_wrappers_pb.StringValue.toObject(o,r)};return o&&(l.$jspbMessageInstance=e),l}),proto.google.ads.googleads.v4.common.UrlCollection.deserializeBinary=function(o){var e=new jspb.BinaryReader(o),r=new proto.google.ads.googleads.v4.common.UrlCollection;return proto.google.ads.googleads.v4.common.UrlCollection.deserializeBinaryFromReader(r,e)},proto.google.ads.googleads.v4.common.UrlCollection.deserializeBinaryFromReader=function(o,e){for(;e.nextField()&&!e.isEndGroup();){switch(e.getFieldNumber()){case 1:var r=new google_protobuf_wrappers_pb.StringValue;e.readMessage(r,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),o.setUrlCollectionId(r);break;case 2:r=new google_protobuf_wrappers_pb.StringValue;e.readMessage(r,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),o.addFinalUrls(r);break;case 3:r=new google_protobuf_wrappers_pb.StringValue;e.readMessage(r,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),o.addFinalMobileUrls(r);break;case 4:r=new google_protobuf_wrappers_pb.StringValue;e.readMessage(r,google_protobuf_wrappers_pb.StringValue.deserializeBinaryFromReader),o.setTrackingUrlTemplate(r);break;default:e.skipField()}}return o},proto.google.ads.googleads.v4.common.UrlCollection.prototype.serializeBinary=function(){var o=new jspb.BinaryWriter;return proto.google.ads.googleads.v4.common.UrlCollection.serializeBinaryToWriter(this,o),o.getResultBuffer()},proto.google.ads.googleads.v4.common.UrlCollection.serializeBinaryToWriter=function(o,e){var r=void 0;null!=(r=o.getUrlCollectionId())&&e.writeMessage(1,r,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),0<(r=o.getFinalUrlsList()).length&&e.writeRepeatedMessage(2,r,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),0<(r=o.getFinalMobileUrlsList()).length&&e.writeRepeatedMessage(3,r,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter),null!=(r=o.getTrackingUrlTemplate())&&e.writeMessage(4,r,google_protobuf_wrappers_pb.StringValue.serializeBinaryToWriter)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.getUrlCollectionId=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,1)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.setUrlCollectionId=function(o){return jspb.Message.setWrapperField(this,1,o)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.clearUrlCollectionId=function(){return this.setUrlCollectionId(void 0)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.hasUrlCollectionId=function(){return null!=jspb.Message.getField(this,1)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.getFinalUrlsList=function(){return jspb.Message.getRepeatedWrapperField(this,google_protobuf_wrappers_pb.StringValue,2)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.setFinalUrlsList=function(o){return jspb.Message.setRepeatedWrapperField(this,2,o)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.addFinalUrls=function(o,e){return jspb.Message.addToRepeatedWrapperField(this,2,o,proto.google.protobuf.StringValue,e)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.clearFinalUrlsList=function(){return this.setFinalUrlsList([])},proto.google.ads.googleads.v4.common.UrlCollection.prototype.getFinalMobileUrlsList=function(){return jspb.Message.getRepeatedWrapperField(this,google_protobuf_wrappers_pb.StringValue,3)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.setFinalMobileUrlsList=function(o){return jspb.Message.setRepeatedWrapperField(this,3,o)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.addFinalMobileUrls=function(o,e){return jspb.Message.addToRepeatedWrapperField(this,3,o,proto.google.protobuf.StringValue,e)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.clearFinalMobileUrlsList=function(){return this.setFinalMobileUrlsList([])},proto.google.ads.googleads.v4.common.UrlCollection.prototype.getTrackingUrlTemplate=function(){return jspb.Message.getWrapperField(this,google_protobuf_wrappers_pb.StringValue,4)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.setTrackingUrlTemplate=function(o){return jspb.Message.setWrapperField(this,4,o)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.clearTrackingUrlTemplate=function(){return this.setTrackingUrlTemplate(void 0)},proto.google.ads.googleads.v4.common.UrlCollection.prototype.hasTrackingUrlTemplate=function(){return null!=jspb.Message.getField(this,4)},goog.object.extend(exports,proto.google.ads.googleads.v4.common);