text: var jspb=require("google-protobuf"),goog=jspb,global=Function("return this")();goog.exportSymbol("proto.google.api.Endpoint",null,global),proto.google.api.Endpoint=function(e){jspb.Message.initialize(this,e,0,-1,proto.google.api.Endpoint.repeatedFields_,null)},goog.inherits(proto.google.api.Endpoint,jspb.Message),goog.DEBUG&&!COMPILED&&(proto.google.api.Endpoint.displayName="proto.google.api.Endpoint"),proto.google.api.Endpoint.repeatedFields_=[2],jspb.Message.GENERATE_TO_OBJECT&&(proto.google.api.Endpoint.prototype.toObject=function(e){return proto.google.api.Endpoint.toObject(e,this)},proto.google.api.Endpoint.toObject=function(e,o){var t,i={name:jspb.Message.getFieldWithDefault(o,1,""),aliasesList:null==(t=jspb.Message.getRepeatedField(o,2))?void 0:t,target:jspb.Message.getFieldWithDefault(o,101,""),allowCors:jspb.Message.getBooleanFieldWithDefault(o,5,!1)};return e&&(i.$jspbMessageInstance=o),i}),proto.google.api.Endpoint.deserializeBinary=function(e){var o=new jspb.BinaryReader(e),t=new proto.google.api.Endpoint;return proto.google.api.Endpoint.deserializeBinaryFromReader(t,o)},proto.google.api.Endpoint.deserializeBinaryFromReader=function(e,o){for(;o.nextField()&&!o.isEndGroup();){switch(o.getFieldNumber()){case 1:var t=o.readString();e.setName(t);break;case 2:t=o.readString();e.addAliases(t);break;case 101:t=o.readString();e.setTarget(t);break;case 5:t=o.readBool();e.setAllowCors(t);break;default:o.skipField()}}return e},proto.google.api.Endpoint.prototype.serializeBinary=function(){var e=new jspb.BinaryWriter;return proto.google.api.Endpoint.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.api.Endpoint.serializeBinaryToWriter=function(e,o){var t=void 0;0<(t=e.getName()).length&&o.writeString(1,t),0<(t=e.getAliasesList()).length&&o.writeRepeatedString(2,t),0<(t=e.getTarget()).length&&o.writeString(101,t),(t=e.getAllowCors())&&o.writeBool(5,t)},proto.google.api.Endpoint.prototype.getName=function(){return jspb.Message.getFieldWithDefault(this,1,"")},proto.google.api.Endpoint.prototype.setName=function(e){return jspb.Message.setProto3StringField(this,1,e)},proto.google.api.Endpoint.prototype.getAliasesList=function(){return jspb.Message.getRepeatedField(this,2)},proto.google.api.Endpoint.prototype.setAliasesList=function(e){return jspb.Message.setField(this,2,e||[])},proto.google.api.Endpoint.prototype.addAliases=function(e,o){return jspb.Message.addToRepeatedField(this,2,e,o)},proto.google.api.Endpoint.prototype.clearAliasesList=function(){return this.setAliasesList([])},proto.google.api.Endpoint.prototype.getTarget=function(){return jspb.Message.getFieldWithDefault(this,101,"")},proto.google.api.Endpoint.prototype.setTarget=function(e){return jspb.Message.setProto3StringField(this,101,e)},proto.google.api.Endpoint.prototype.getAllowCors=function(){return jspb.Message.getBooleanFieldWithDefault(this,5,!1)},proto.google.api.Endpoint.prototype.setAllowCors=function(e){return jspb.Message.setProto3BooleanField(this,5,e)},goog.object.extend(exports,proto.google.api);