@ondewo/ondewo-csi-client-js
Version:
ONDEWO Communication System Integration (CSI) Client library for Js
1 lines • 2.39 MB
JavaScript
var ondewo_csi_api;(()=>{var e={20:(e,t,o)=>{var n=o(339),r=n,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==s&&s||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")();r.exportSymbol("proto.google.protobuf.Empty",null,s),proto.google.protobuf.Empty=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.google.protobuf.Empty,n.Message),r.DEBUG&&!COMPILED&&(proto.google.protobuf.Empty.displayName="proto.google.protobuf.Empty"),n.Message.GENERATE_TO_OBJECT&&(proto.google.protobuf.Empty.prototype.toObject=function(e){return proto.google.protobuf.Empty.toObject(e,this)},proto.google.protobuf.Empty.toObject=function(e,t){var o={};return e&&(o.$jspbMessageInstance=t),o}),proto.google.protobuf.Empty.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.google.protobuf.Empty;return proto.google.protobuf.Empty.deserializeBinaryFromReader(o,t)},proto.google.protobuf.Empty.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){t.getFieldNumber();t.skipField()}return e},proto.google.protobuf.Empty.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.google.protobuf.Empty.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.google.protobuf.Empty.serializeBinaryToWriter=function(e,t){},r.object.extend(t,proto.google.protobuf)},32:(e,t,o)=>{var n=o(339),r=n,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==s&&s||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")(),i=o(449);r.object.extend(proto,i);var a=o(20);r.object.extend(proto,a);var l=o(442);r.object.extend(proto,l);var u=o(779);r.object.extend(proto,u),r.exportSymbol("proto.ondewo.nlu.Context",null,s),r.exportSymbol("proto.ondewo.nlu.Context.Parameter",null,s),r.exportSymbol("proto.ondewo.nlu.CreateContextRequest",null,s),r.exportSymbol("proto.ondewo.nlu.DeleteAllContextsRequest",null,s),r.exportSymbol("proto.ondewo.nlu.DeleteContextRequest",null,s),r.exportSymbol("proto.ondewo.nlu.GetContextRequest",null,s),r.exportSymbol("proto.ondewo.nlu.ListContextsRequest",null,s),r.exportSymbol("proto.ondewo.nlu.ListContextsResponse",null,s),r.exportSymbol("proto.ondewo.nlu.UpdateContextRequest",null,s),proto.ondewo.nlu.Context=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.Context,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.Context.displayName="proto.ondewo.nlu.Context"),proto.ondewo.nlu.Context.Parameter=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.Context.Parameter,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.Context.Parameter.displayName="proto.ondewo.nlu.Context.Parameter"),proto.ondewo.nlu.ListContextsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.ListContextsRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.ListContextsRequest.displayName="proto.ondewo.nlu.ListContextsRequest"),proto.ondewo.nlu.ListContextsResponse=function(e){n.Message.initialize(this,e,0,-1,proto.ondewo.nlu.ListContextsResponse.repeatedFields_,null)},r.inherits(proto.ondewo.nlu.ListContextsResponse,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.ListContextsResponse.displayName="proto.ondewo.nlu.ListContextsResponse"),proto.ondewo.nlu.GetContextRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.GetContextRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.GetContextRequest.displayName="proto.ondewo.nlu.GetContextRequest"),proto.ondewo.nlu.CreateContextRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.CreateContextRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.CreateContextRequest.displayName="proto.ondewo.nlu.CreateContextRequest"),proto.ondewo.nlu.UpdateContextRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.UpdateContextRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.UpdateContextRequest.displayName="proto.ondewo.nlu.UpdateContextRequest"),proto.ondewo.nlu.DeleteContextRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.DeleteContextRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.DeleteContextRequest.displayName="proto.ondewo.nlu.DeleteContextRequest"),proto.ondewo.nlu.DeleteAllContextsRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.DeleteAllContextsRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.DeleteAllContextsRequest.displayName="proto.ondewo.nlu.DeleteAllContextsRequest"),n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.Context.prototype.toObject=function(e){return proto.ondewo.nlu.Context.toObject(e,this)},proto.ondewo.nlu.Context.toObject=function(e,t){var o,r={name:n.Message.getFieldWithDefault(t,1,""),lifespanCount:n.Message.getFieldWithDefault(t,2,0),parametersMap:(o=t.getParametersMap())?o.toObject(e,proto.ondewo.nlu.Context.Parameter.toObject):[],lifespanTime:n.Message.getFloatingPointFieldWithDefault(t,4,0),createdAt:(o=t.getCreatedAt())&&u.Timestamp.toObject(e,o),modifiedAt:(o=t.getModifiedAt())&&u.Timestamp.toObject(e,o),createdBy:n.Message.getFieldWithDefault(t,7,""),modifiedBy:n.Message.getFieldWithDefault(t,8,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.Context.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.Context;return proto.ondewo.nlu.Context.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.Context.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readInt32();e.setLifespanCount(o);break;case 3:o=e.getParametersMap();t.readMessage(o,(function(e,t){n.Map.deserializeBinary(e,t,n.BinaryReader.prototype.readString,n.BinaryReader.prototype.readMessage,proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader,"",new proto.ondewo.nlu.Context.Parameter)}));break;case 4:o=t.readFloat();e.setLifespanTime(o);break;case 5:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setCreatedAt(o);break;case 6:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setModifiedAt(o);break;case 7:o=t.readString();e.setCreatedBy(o);break;case 8:o=t.readString();e.setModifiedBy(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.Context.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.Context.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.Context.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),0!==(o=e.getLifespanCount())&&t.writeInt32(2,o),(o=e.getParametersMap(!0))&&o.getLength()>0&&o.serializeBinary(3,t,n.BinaryWriter.prototype.writeString,n.BinaryWriter.prototype.writeMessage,proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter),0!==(o=e.getLifespanTime())&&t.writeFloat(4,o),null!=(o=e.getCreatedAt())&&t.writeMessage(5,o,u.Timestamp.serializeBinaryToWriter),null!=(o=e.getModifiedAt())&&t.writeMessage(6,o,u.Timestamp.serializeBinaryToWriter),(o=e.getCreatedBy()).length>0&&t.writeString(7,o),(o=e.getModifiedBy()).length>0&&t.writeString(8,o)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.Context.Parameter.prototype.toObject=function(e){return proto.ondewo.nlu.Context.Parameter.toObject(e,this)},proto.ondewo.nlu.Context.Parameter.toObject=function(e,t){var o,r={name:n.Message.getFieldWithDefault(t,1,""),displayName:n.Message.getFieldWithDefault(t,2,""),value:n.Message.getFieldWithDefault(t,3,""),valueOriginal:n.Message.getFieldWithDefault(t,4,""),createdAt:(o=t.getCreatedAt())&&u.Timestamp.toObject(e,o),modifiedAt:(o=t.getModifiedAt())&&u.Timestamp.toObject(e,o),createdBy:n.Message.getFieldWithDefault(t,7,""),modifiedBy:n.Message.getFieldWithDefault(t,8,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.Context.Parameter.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.Context.Parameter;return proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.Context.Parameter.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setName(o);break;case 2:o=t.readString();e.setDisplayName(o);break;case 3:o=t.readString();e.setValue(o);break;case 4:o=t.readString();e.setValueOriginal(o);break;case 5:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setCreatedAt(o);break;case 6:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setModifiedAt(o);break;case 7:o=t.readString();e.setCreatedBy(o);break;case 8:o=t.readString();e.setModifiedBy(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.Context.Parameter.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.Context.Parameter.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getName()).length>0&&t.writeString(1,o),(o=e.getDisplayName()).length>0&&t.writeString(2,o),(o=e.getValue()).length>0&&t.writeString(3,o),(o=e.getValueOriginal()).length>0&&t.writeString(4,o),null!=(o=e.getCreatedAt())&&t.writeMessage(5,o,u.Timestamp.serializeBinaryToWriter),null!=(o=e.getModifiedAt())&&t.writeMessage(6,o,u.Timestamp.serializeBinaryToWriter),(o=e.getCreatedBy()).length>0&&t.writeString(7,o),(o=e.getModifiedBy()).length>0&&t.writeString(8,o)},proto.ondewo.nlu.Context.Parameter.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.Context.Parameter.prototype.setName=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.Context.Parameter.prototype.getDisplayName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.ondewo.nlu.Context.Parameter.prototype.setDisplayName=function(e){return n.Message.setProto3StringField(this,2,e)},proto.ondewo.nlu.Context.Parameter.prototype.getValue=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.ondewo.nlu.Context.Parameter.prototype.setValue=function(e){return n.Message.setProto3StringField(this,3,e)},proto.ondewo.nlu.Context.Parameter.prototype.getValueOriginal=function(){return n.Message.getFieldWithDefault(this,4,"")},proto.ondewo.nlu.Context.Parameter.prototype.setValueOriginal=function(e){return n.Message.setProto3StringField(this,4,e)},proto.ondewo.nlu.Context.Parameter.prototype.getCreatedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,5)},proto.ondewo.nlu.Context.Parameter.prototype.setCreatedAt=function(e){return n.Message.setWrapperField(this,5,e)},proto.ondewo.nlu.Context.Parameter.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)},proto.ondewo.nlu.Context.Parameter.prototype.hasCreatedAt=function(){return null!=n.Message.getField(this,5)},proto.ondewo.nlu.Context.Parameter.prototype.getModifiedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,6)},proto.ondewo.nlu.Context.Parameter.prototype.setModifiedAt=function(e){return n.Message.setWrapperField(this,6,e)},proto.ondewo.nlu.Context.Parameter.prototype.clearModifiedAt=function(){return this.setModifiedAt(void 0)},proto.ondewo.nlu.Context.Parameter.prototype.hasModifiedAt=function(){return null!=n.Message.getField(this,6)},proto.ondewo.nlu.Context.Parameter.prototype.getCreatedBy=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.ondewo.nlu.Context.Parameter.prototype.setCreatedBy=function(e){return n.Message.setProto3StringField(this,7,e)},proto.ondewo.nlu.Context.Parameter.prototype.getModifiedBy=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.ondewo.nlu.Context.Parameter.prototype.setModifiedBy=function(e){return n.Message.setProto3StringField(this,8,e)},proto.ondewo.nlu.Context.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.Context.prototype.setName=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.Context.prototype.getLifespanCount=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.ondewo.nlu.Context.prototype.setLifespanCount=function(e){return n.Message.setProto3IntField(this,2,e)},proto.ondewo.nlu.Context.prototype.getParametersMap=function(e){return n.Message.getMapField(this,3,e,proto.ondewo.nlu.Context.Parameter)},proto.ondewo.nlu.Context.prototype.clearParametersMap=function(){return this.getParametersMap().clear(),this},proto.ondewo.nlu.Context.prototype.getLifespanTime=function(){return n.Message.getFloatingPointFieldWithDefault(this,4,0)},proto.ondewo.nlu.Context.prototype.setLifespanTime=function(e){return n.Message.setProto3FloatField(this,4,e)},proto.ondewo.nlu.Context.prototype.getCreatedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,5)},proto.ondewo.nlu.Context.prototype.setCreatedAt=function(e){return n.Message.setWrapperField(this,5,e)},proto.ondewo.nlu.Context.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)},proto.ondewo.nlu.Context.prototype.hasCreatedAt=function(){return null!=n.Message.getField(this,5)},proto.ondewo.nlu.Context.prototype.getModifiedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,6)},proto.ondewo.nlu.Context.prototype.setModifiedAt=function(e){return n.Message.setWrapperField(this,6,e)},proto.ondewo.nlu.Context.prototype.clearModifiedAt=function(){return this.setModifiedAt(void 0)},proto.ondewo.nlu.Context.prototype.hasModifiedAt=function(){return null!=n.Message.getField(this,6)},proto.ondewo.nlu.Context.prototype.getCreatedBy=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.ondewo.nlu.Context.prototype.setCreatedBy=function(e){return n.Message.setProto3StringField(this,7,e)},proto.ondewo.nlu.Context.prototype.getModifiedBy=function(){return n.Message.getFieldWithDefault(this,8,"")},proto.ondewo.nlu.Context.prototype.setModifiedBy=function(e){return n.Message.setProto3StringField(this,8,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.ListContextsRequest.prototype.toObject=function(e){return proto.ondewo.nlu.ListContextsRequest.toObject(e,this)},proto.ondewo.nlu.ListContextsRequest.toObject=function(e,t){var o={sessionId:n.Message.getFieldWithDefault(t,1,""),pageToken:n.Message.getFieldWithDefault(t,3,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.ListContextsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.ListContextsRequest;return proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.ListContextsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setSessionId(o);break;case 3:o=t.readString();e.setPageToken(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.ListContextsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.ListContextsRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getSessionId()).length>0&&t.writeString(1,o),(o=e.getPageToken()).length>0&&t.writeString(3,o)},proto.ondewo.nlu.ListContextsRequest.prototype.getSessionId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.ListContextsRequest.prototype.setSessionId=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.ListContextsRequest.prototype.getPageToken=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.ondewo.nlu.ListContextsRequest.prototype.setPageToken=function(e){return n.Message.setProto3StringField(this,3,e)},proto.ondewo.nlu.ListContextsResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.ListContextsResponse.prototype.toObject=function(e){return proto.ondewo.nlu.ListContextsResponse.toObject(e,this)},proto.ondewo.nlu.ListContextsResponse.toObject=function(e,t){var o={contextsList:n.Message.toObjectList(t.getContextsList(),proto.ondewo.nlu.Context.toObject,e),nextPageToken:n.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.ListContextsResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.ListContextsResponse;return proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.ListContextsResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.ondewo.nlu.Context;t.readMessage(o,proto.ondewo.nlu.Context.deserializeBinaryFromReader),e.addContexts(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.ListContextsResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.ListContextsResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getContextsList()).length>0&&t.writeRepeatedMessage(1,o,proto.ondewo.nlu.Context.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.ondewo.nlu.ListContextsResponse.prototype.getContextsList=function(){return n.Message.getRepeatedWrapperField(this,proto.ondewo.nlu.Context,1)},proto.ondewo.nlu.ListContextsResponse.prototype.setContextsList=function(e){return n.Message.setRepeatedWrapperField(this,1,e)},proto.ondewo.nlu.ListContextsResponse.prototype.addContexts=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.ondewo.nlu.Context,t)},proto.ondewo.nlu.ListContextsResponse.prototype.clearContextsList=function(){return this.setContextsList([])},proto.ondewo.nlu.ListContextsResponse.prototype.getNextPageToken=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.ondewo.nlu.ListContextsResponse.prototype.setNextPageToken=function(e){return n.Message.setProto3StringField(this,2,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.GetContextRequest.prototype.toObject=function(e){return proto.ondewo.nlu.GetContextRequest.toObject(e,this)},proto.ondewo.nlu.GetContextRequest.toObject=function(e,t){var o={name:n.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.GetContextRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.GetContextRequest;return proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.GetContextRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.ondewo.nlu.GetContextRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.GetContextRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.ondewo.nlu.GetContextRequest.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.GetContextRequest.prototype.setName=function(e){return n.Message.setProto3StringField(this,1,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.CreateContextRequest.prototype.toObject=function(e){return proto.ondewo.nlu.CreateContextRequest.toObject(e,this)},proto.ondewo.nlu.CreateContextRequest.toObject=function(e,t){var o,r={sessionId:n.Message.getFieldWithDefault(t,1,""),context:(o=t.getContext())&&proto.ondewo.nlu.Context.toObject(e,o)};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.CreateContextRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.CreateContextRequest;return proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.CreateContextRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setSessionId(o);break;case 2:o=new proto.ondewo.nlu.Context;t.readMessage(o,proto.ondewo.nlu.Context.deserializeBinaryFromReader),e.setContext(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.CreateContextRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.CreateContextRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getSessionId()).length>0&&t.writeString(1,o),null!=(o=e.getContext())&&t.writeMessage(2,o,proto.ondewo.nlu.Context.serializeBinaryToWriter)},proto.ondewo.nlu.CreateContextRequest.prototype.getSessionId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.CreateContextRequest.prototype.setSessionId=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.CreateContextRequest.prototype.getContext=function(){return n.Message.getWrapperField(this,proto.ondewo.nlu.Context,2)},proto.ondewo.nlu.CreateContextRequest.prototype.setContext=function(e){return n.Message.setWrapperField(this,2,e)},proto.ondewo.nlu.CreateContextRequest.prototype.clearContext=function(){return this.setContext(void 0)},proto.ondewo.nlu.CreateContextRequest.prototype.hasContext=function(){return null!=n.Message.getField(this,2)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.UpdateContextRequest.prototype.toObject=function(e){return proto.ondewo.nlu.UpdateContextRequest.toObject(e,this)},proto.ondewo.nlu.UpdateContextRequest.toObject=function(e,t){var o,n={context:(o=t.getContext())&&proto.ondewo.nlu.Context.toObject(e,o),updateMask:(o=t.getUpdateMask())&&l.FieldMask.toObject(e,o)};return e&&(n.$jspbMessageInstance=t),n}),proto.ondewo.nlu.UpdateContextRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.UpdateContextRequest;return proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.UpdateContextRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.ondewo.nlu.Context;t.readMessage(o,proto.ondewo.nlu.Context.deserializeBinaryFromReader),e.setContext(o);break;case 2:o=new l.FieldMask;t.readMessage(o,l.FieldMask.deserializeBinaryFromReader),e.setUpdateMask(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.UpdateContextRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.UpdateContextRequest.serializeBinaryToWriter=function(e,t){var o=void 0;null!=(o=e.getContext())&&t.writeMessage(1,o,proto.ondewo.nlu.Context.serializeBinaryToWriter),null!=(o=e.getUpdateMask())&&t.writeMessage(2,o,l.FieldMask.serializeBinaryToWriter)},proto.ondewo.nlu.UpdateContextRequest.prototype.getContext=function(){return n.Message.getWrapperField(this,proto.ondewo.nlu.Context,1)},proto.ondewo.nlu.UpdateContextRequest.prototype.setContext=function(e){return n.Message.setWrapperField(this,1,e)},proto.ondewo.nlu.UpdateContextRequest.prototype.clearContext=function(){return this.setContext(void 0)},proto.ondewo.nlu.UpdateContextRequest.prototype.hasContext=function(){return null!=n.Message.getField(this,1)},proto.ondewo.nlu.UpdateContextRequest.prototype.getUpdateMask=function(){return n.Message.getWrapperField(this,l.FieldMask,2)},proto.ondewo.nlu.UpdateContextRequest.prototype.setUpdateMask=function(e){return n.Message.setWrapperField(this,2,e)},proto.ondewo.nlu.UpdateContextRequest.prototype.clearUpdateMask=function(){return this.setUpdateMask(void 0)},proto.ondewo.nlu.UpdateContextRequest.prototype.hasUpdateMask=function(){return null!=n.Message.getField(this,2)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.DeleteContextRequest.prototype.toObject=function(e){return proto.ondewo.nlu.DeleteContextRequest.toObject(e,this)},proto.ondewo.nlu.DeleteContextRequest.toObject=function(e,t){var o={name:n.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.DeleteContextRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.DeleteContextRequest;return proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.DeleteContextRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setName(o)}else t.skipField()}return e},proto.ondewo.nlu.DeleteContextRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.DeleteContextRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getName()).length>0&&t.writeString(1,o)},proto.ondewo.nlu.DeleteContextRequest.prototype.getName=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.DeleteContextRequest.prototype.setName=function(e){return n.Message.setProto3StringField(this,1,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.DeleteAllContextsRequest.prototype.toObject=function(e){return proto.ondewo.nlu.DeleteAllContextsRequest.toObject(e,this)},proto.ondewo.nlu.DeleteAllContextsRequest.toObject=function(e,t){var o={sessionId:n.Message.getFieldWithDefault(t,1,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.DeleteAllContextsRequest;return proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.DeleteAllContextsRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){if(1===t.getFieldNumber()){var o=t.readString();e.setSessionId(o)}else t.skipField()}return e},proto.ondewo.nlu.DeleteAllContextsRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.DeleteAllContextsRequest.serializeBinaryToWriter=function(e,t){var o;(o=e.getSessionId()).length>0&&t.writeString(1,o)},proto.ondewo.nlu.DeleteAllContextsRequest.prototype.getSessionId=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.DeleteAllContextsRequest.prototype.setSessionId=function(e){return n.Message.setProto3StringField(this,1,e)},r.object.extend(t,proto.ondewo.nlu)},105:(e,t,o)=>{var n=o(339),r=n,s="undefined"!=typeof globalThis&&globalThis||"undefined"!=typeof window&&window||void 0!==s&&s||"undefined"!=typeof self&&self||function(){return this}.call(null)||Function("return this")(),i=o(449);r.object.extend(proto,i);var a=o(20);r.object.extend(proto,a);var l=o(442);r.object.extend(proto,l);var u=o(779);r.object.extend(proto,u),r.exportSymbol("proto.ondewo.nlu.CreateProjectRoleRequest",null,s),r.exportSymbol("proto.ondewo.nlu.DefaultProjectRole",null,s),r.exportSymbol("proto.ondewo.nlu.DeleteProjectRoleRequest",null,s),r.exportSymbol("proto.ondewo.nlu.GetProjectRoleRequest",null,s),r.exportSymbol("proto.ondewo.nlu.GetProjectRoleRequest.ProjectRoleIdentifierCase",null,s),r.exportSymbol("proto.ondewo.nlu.ListProjectRolesRequest",null,s),r.exportSymbol("proto.ondewo.nlu.ListProjectRolesResponse",null,s),r.exportSymbol("proto.ondewo.nlu.ProjectRole",null,s),r.exportSymbol("proto.ondewo.nlu.ProjectRoleView",null,s),r.exportSymbol("proto.ondewo.nlu.UpdateProjectRoleRequest",null,s),proto.ondewo.nlu.ProjectRole=function(e){n.Message.initialize(this,e,0,-1,proto.ondewo.nlu.ProjectRole.repeatedFields_,null)},r.inherits(proto.ondewo.nlu.ProjectRole,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.ProjectRole.displayName="proto.ondewo.nlu.ProjectRole"),proto.ondewo.nlu.CreateProjectRoleRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.CreateProjectRoleRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.CreateProjectRoleRequest.displayName="proto.ondewo.nlu.CreateProjectRoleRequest"),proto.ondewo.nlu.UpdateProjectRoleRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.UpdateProjectRoleRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.UpdateProjectRoleRequest.displayName="proto.ondewo.nlu.UpdateProjectRoleRequest"),proto.ondewo.nlu.GetProjectRoleRequest=function(e){n.Message.initialize(this,e,0,-1,null,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_)},r.inherits(proto.ondewo.nlu.GetProjectRoleRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.GetProjectRoleRequest.displayName="proto.ondewo.nlu.GetProjectRoleRequest"),proto.ondewo.nlu.DeleteProjectRoleRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.DeleteProjectRoleRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.DeleteProjectRoleRequest.displayName="proto.ondewo.nlu.DeleteProjectRoleRequest"),proto.ondewo.nlu.ListProjectRolesRequest=function(e){n.Message.initialize(this,e,0,-1,null,null)},r.inherits(proto.ondewo.nlu.ListProjectRolesRequest,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.ListProjectRolesRequest.displayName="proto.ondewo.nlu.ListProjectRolesRequest"),proto.ondewo.nlu.ListProjectRolesResponse=function(e){n.Message.initialize(this,e,0,-1,proto.ondewo.nlu.ListProjectRolesResponse.repeatedFields_,null)},r.inherits(proto.ondewo.nlu.ListProjectRolesResponse,n.Message),r.DEBUG&&!COMPILED&&(proto.ondewo.nlu.ListProjectRolesResponse.displayName="proto.ondewo.nlu.ListProjectRolesResponse"),proto.ondewo.nlu.ProjectRole.repeatedFields_=[3],n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.ProjectRole.prototype.toObject=function(e){return proto.ondewo.nlu.ProjectRole.toObject(e,this)},proto.ondewo.nlu.ProjectRole.toObject=function(e,t){var o,r={roleId:n.Message.getFieldWithDefault(t,1,0),name:n.Message.getFieldWithDefault(t,2,""),permissionsList:null==(o=n.Message.getRepeatedField(t,3))?void 0:o,createdAt:(o=t.getCreatedAt())&&u.Timestamp.toObject(e,o),modifiedAt:(o=t.getModifiedAt())&&u.Timestamp.toObject(e,o),createdBy:n.Message.getFieldWithDefault(t,6,""),modifiedBy:n.Message.getFieldWithDefault(t,7,"")};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.ProjectRole.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.ProjectRole;return proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readUint32();e.setRoleId(o);break;case 2:o=t.readString();e.setName(o);break;case 3:o=t.readString();e.addPermissions(o);break;case 4:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setCreatedAt(o);break;case 5:o=new u.Timestamp;t.readMessage(o,u.Timestamp.deserializeBinaryFromReader),e.setModifiedAt(o);break;case 6:o=t.readString();e.setCreatedBy(o);break;case 7:o=t.readString();e.setModifiedBy(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.ProjectRole.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter=function(e,t){var o=void 0;0!==(o=e.getRoleId())&&t.writeUint32(1,o),(o=e.getName()).length>0&&t.writeString(2,o),(o=e.getPermissionsList()).length>0&&t.writeRepeatedString(3,o),null!=(o=e.getCreatedAt())&&t.writeMessage(4,o,u.Timestamp.serializeBinaryToWriter),null!=(o=e.getModifiedAt())&&t.writeMessage(5,o,u.Timestamp.serializeBinaryToWriter),(o=e.getCreatedBy()).length>0&&t.writeString(6,o),(o=e.getModifiedBy()).length>0&&t.writeString(7,o)},proto.ondewo.nlu.ProjectRole.prototype.getRoleId=function(){return n.Message.getFieldWithDefault(this,1,0)},proto.ondewo.nlu.ProjectRole.prototype.setRoleId=function(e){return n.Message.setProto3IntField(this,1,e)},proto.ondewo.nlu.ProjectRole.prototype.getName=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.ondewo.nlu.ProjectRole.prototype.setName=function(e){return n.Message.setProto3StringField(this,2,e)},proto.ondewo.nlu.ProjectRole.prototype.getPermissionsList=function(){return n.Message.getRepeatedField(this,3)},proto.ondewo.nlu.ProjectRole.prototype.setPermissionsList=function(e){return n.Message.setField(this,3,e||[])},proto.ondewo.nlu.ProjectRole.prototype.addPermissions=function(e,t){return n.Message.addToRepeatedField(this,3,e,t)},proto.ondewo.nlu.ProjectRole.prototype.clearPermissionsList=function(){return this.setPermissionsList([])},proto.ondewo.nlu.ProjectRole.prototype.getCreatedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,4)},proto.ondewo.nlu.ProjectRole.prototype.setCreatedAt=function(e){return n.Message.setWrapperField(this,4,e)},proto.ondewo.nlu.ProjectRole.prototype.clearCreatedAt=function(){return this.setCreatedAt(void 0)},proto.ondewo.nlu.ProjectRole.prototype.hasCreatedAt=function(){return null!=n.Message.getField(this,4)},proto.ondewo.nlu.ProjectRole.prototype.getModifiedAt=function(){return n.Message.getWrapperField(this,u.Timestamp,5)},proto.ondewo.nlu.ProjectRole.prototype.setModifiedAt=function(e){return n.Message.setWrapperField(this,5,e)},proto.ondewo.nlu.ProjectRole.prototype.clearModifiedAt=function(){return this.setModifiedAt(void 0)},proto.ondewo.nlu.ProjectRole.prototype.hasModifiedAt=function(){return null!=n.Message.getField(this,5)},proto.ondewo.nlu.ProjectRole.prototype.getCreatedBy=function(){return n.Message.getFieldWithDefault(this,6,"")},proto.ondewo.nlu.ProjectRole.prototype.setCreatedBy=function(e){return n.Message.setProto3StringField(this,6,e)},proto.ondewo.nlu.ProjectRole.prototype.getModifiedBy=function(){return n.Message.getFieldWithDefault(this,7,"")},proto.ondewo.nlu.ProjectRole.prototype.setModifiedBy=function(e){return n.Message.setProto3StringField(this,7,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.CreateProjectRoleRequest.prototype.toObject=function(e){return proto.ondewo.nlu.CreateProjectRoleRequest.toObject(e,this)},proto.ondewo.nlu.CreateProjectRoleRequest.toObject=function(e,t){var o,r={parent:n.Message.getFieldWithDefault(t,1,""),role:(o=t.getRole())&&proto.ondewo.nlu.ProjectRole.toObject(e,o),projectRoleView:n.Message.getFieldWithDefault(t,3,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.CreateProjectRoleRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.CreateProjectRoleRequest;return proto.ondewo.nlu.CreateProjectRoleRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.CreateProjectRoleRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setParent(o);break;case 2:o=new proto.ondewo.nlu.ProjectRole;t.readMessage(o,proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader),e.setRole(o);break;case 3:o=t.readEnum();e.setProjectRoleView(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.CreateProjectRoleRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.CreateProjectRoleRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getParent()).length>0&&t.writeString(1,o),null!=(o=e.getRole())&&t.writeMessage(2,o,proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter),0!==(o=e.getProjectRoleView())&&t.writeEnum(3,o)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.getParent=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.setParent=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.getRole=function(){return n.Message.getWrapperField(this,proto.ondewo.nlu.ProjectRole,2)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.setRole=function(e){return n.Message.setWrapperField(this,2,e)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.clearRole=function(){return this.setRole(void 0)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.hasRole=function(){return null!=n.Message.getField(this,2)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.getProjectRoleView=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.ondewo.nlu.CreateProjectRoleRequest.prototype.setProjectRoleView=function(e){return n.Message.setProto3EnumField(this,3,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.toObject=function(e){return proto.ondewo.nlu.UpdateProjectRoleRequest.toObject(e,this)},proto.ondewo.nlu.UpdateProjectRoleRequest.toObject=function(e,t){var o,r={parent:n.Message.getFieldWithDefault(t,1,""),role:(o=t.getRole())&&proto.ondewo.nlu.ProjectRole.toObject(e,o),updateMask:(o=t.getUpdateMask())&&l.FieldMask.toObject(e,o),projectRoleView:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.UpdateProjectRoleRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.UpdateProjectRoleRequest;return proto.ondewo.nlu.UpdateProjectRoleRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.UpdateProjectRoleRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setParent(o);break;case 2:o=new proto.ondewo.nlu.ProjectRole;t.readMessage(o,proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader),e.setRole(o);break;case 3:o=new l.FieldMask;t.readMessage(o,l.FieldMask.deserializeBinaryFromReader),e.setUpdateMask(o);break;case 4:o=t.readEnum();e.setProjectRoleView(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.UpdateProjectRoleRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.UpdateProjectRoleRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getParent()).length>0&&t.writeString(1,o),null!=(o=e.getRole())&&t.writeMessage(2,o,proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter),null!=(o=e.getUpdateMask())&&t.writeMessage(3,o,l.FieldMask.serializeBinaryToWriter),0!==(o=e.getProjectRoleView())&&t.writeEnum(4,o)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.getParent=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.setParent=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.getRole=function(){return n.Message.getWrapperField(this,proto.ondewo.nlu.ProjectRole,2)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.setRole=function(e){return n.Message.setWrapperField(this,2,e)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.clearRole=function(){return this.setRole(void 0)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.hasRole=function(){return null!=n.Message.getField(this,2)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.getUpdateMask=function(){return n.Message.getWrapperField(this,l.FieldMask,3)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.setUpdateMask=function(e){return n.Message.setWrapperField(this,3,e)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.clearUpdateMask=function(){return this.setUpdateMask(void 0)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.hasUpdateMask=function(){return null!=n.Message.getField(this,3)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.getProjectRoleView=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.ondewo.nlu.UpdateProjectRoleRequest.prototype.setProjectRoleView=function(e){return n.Message.setProto3EnumField(this,4,e)},proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_=[[2,3]],proto.ondewo.nlu.GetProjectRoleRequest.ProjectRoleIdentifierCase={PROJECT_ROLE_IDENTIFIER_NOT_SET:0,ROLE_ID:2,ROLE_NAME:3},proto.ondewo.nlu.GetProjectRoleRequest.prototype.getProjectRoleIdentifierCase=function(){return n.Message.computeOneofCase(this,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_[0])},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.GetProjectRoleRequest.prototype.toObject=function(e){return proto.ondewo.nlu.GetProjectRoleRequest.toObject(e,this)},proto.ondewo.nlu.GetProjectRoleRequest.toObject=function(e,t){var o,r={parent:n.Message.getFieldWithDefault(t,1,""),roleId:null==(o=n.Message.getField(t,2))?void 0:o,roleName:null==(o=n.Message.getField(t,3))?void 0:o,projectRoleView:n.Message.getFieldWithDefault(t,4,0)};return e&&(r.$jspbMessageInstance=t),r}),proto.ondewo.nlu.GetProjectRoleRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.GetProjectRoleRequest;return proto.ondewo.nlu.GetProjectRoleRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.GetProjectRoleRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setParent(o);break;case 2:o=t.readUint32();e.setRoleId(o);break;case 3:o=t.readString();e.setRoleName(o);break;case 4:o=t.readEnum();e.setProjectRoleView(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.GetProjectRoleRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.GetProjectRoleRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.GetProjectRoleRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getParent()).length>0&&t.writeString(1,o),null!=(o=n.Message.getField(e,2))&&t.writeUint32(2,o),null!=(o=n.Message.getField(e,3))&&t.writeString(3,o),0!==(o=e.getProjectRoleView())&&t.writeEnum(4,o)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.getParent=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.GetProjectRoleRequest.prototype.setParent=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.getRoleId=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.setRoleId=function(e){return n.Message.setOneofField(this,2,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_[0],e)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.clearRoleId=function(){return n.Message.setOneofField(this,2,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_[0],void 0)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.hasRoleId=function(){return null!=n.Message.getField(this,2)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.getRoleName=function(){return n.Message.getFieldWithDefault(this,3,"")},proto.ondewo.nlu.GetProjectRoleRequest.prototype.setRoleName=function(e){return n.Message.setOneofField(this,3,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_[0],e)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.clearRoleName=function(){return n.Message.setOneofField(this,3,proto.ondewo.nlu.GetProjectRoleRequest.oneofGroups_[0],void 0)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.hasRoleName=function(){return null!=n.Message.getField(this,3)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.getProjectRoleView=function(){return n.Message.getFieldWithDefault(this,4,0)},proto.ondewo.nlu.GetProjectRoleRequest.prototype.setProjectRoleView=function(e){return n.Message.setProto3EnumField(this,4,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.toObject=function(e){return proto.ondewo.nlu.DeleteProjectRoleRequest.toObject(e,this)},proto.ondewo.nlu.DeleteProjectRoleRequest.toObject=function(e,t){var o={parent:n.Message.getFieldWithDefault(t,1,""),roleId:n.Message.getFieldWithDefault(t,2,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.DeleteProjectRoleRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.DeleteProjectRoleRequest;return proto.ondewo.nlu.DeleteProjectRoleRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.DeleteProjectRoleRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setParent(o);break;case 2:o=t.readUint32();e.setRoleId(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.DeleteProjectRoleRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.DeleteProjectRoleRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getParent()).length>0&&t.writeString(1,o),0!==(o=e.getRoleId())&&t.writeUint32(2,o)},proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.getParent=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.setParent=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.getRoleId=function(){return n.Message.getFieldWithDefault(this,2,0)},proto.ondewo.nlu.DeleteProjectRoleRequest.prototype.setRoleId=function(e){return n.Message.setProto3IntField(this,2,e)},n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.ListProjectRolesRequest.prototype.toObject=function(e){return proto.ondewo.nlu.ListProjectRolesRequest.toObject(e,this)},proto.ondewo.nlu.ListProjectRolesRequest.toObject=function(e,t){var o={parent:n.Message.getFieldWithDefault(t,1,""),pageToken:n.Message.getFieldWithDefault(t,2,""),projectRoleView:n.Message.getFieldWithDefault(t,3,0)};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.ListProjectRolesRequest.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.ListProjectRolesRequest;return proto.ondewo.nlu.ListProjectRolesRequest.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.ListProjectRolesRequest.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=t.readString();e.setParent(o);break;case 2:o=t.readString();e.setPageToken(o);break;case 3:o=t.readEnum();e.setProjectRoleView(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.ListProjectRolesRequest.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.ListProjectRolesRequest.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.ListProjectRolesRequest.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getParent()).length>0&&t.writeString(1,o),(o=e.getPageToken()).length>0&&t.writeString(2,o),0!==(o=e.getProjectRoleView())&&t.writeEnum(3,o)},proto.ondewo.nlu.ListProjectRolesRequest.prototype.getParent=function(){return n.Message.getFieldWithDefault(this,1,"")},proto.ondewo.nlu.ListProjectRolesRequest.prototype.setParent=function(e){return n.Message.setProto3StringField(this,1,e)},proto.ondewo.nlu.ListProjectRolesRequest.prototype.getPageToken=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.ondewo.nlu.ListProjectRolesRequest.prototype.setPageToken=function(e){return n.Message.setProto3StringField(this,2,e)},proto.ondewo.nlu.ListProjectRolesRequest.prototype.getProjectRoleView=function(){return n.Message.getFieldWithDefault(this,3,0)},proto.ondewo.nlu.ListProjectRolesRequest.prototype.setProjectRoleView=function(e){return n.Message.setProto3EnumField(this,3,e)},proto.ondewo.nlu.ListProjectRolesResponse.repeatedFields_=[1],n.Message.GENERATE_TO_OBJECT&&(proto.ondewo.nlu.ListProjectRolesResponse.prototype.toObject=function(e){return proto.ondewo.nlu.ListProjectRolesResponse.toObject(e,this)},proto.ondewo.nlu.ListProjectRolesResponse.toObject=function(e,t){var o={projectRolesList:n.Message.toObjectList(t.getProjectRolesList(),proto.ondewo.nlu.ProjectRole.toObject,e),nextPageToken:n.Message.getFieldWithDefault(t,2,"")};return e&&(o.$jspbMessageInstance=t),o}),proto.ondewo.nlu.ListProjectRolesResponse.deserializeBinary=function(e){var t=new n.BinaryReader(e),o=new proto.ondewo.nlu.ListProjectRolesResponse;return proto.ondewo.nlu.ListProjectRolesResponse.deserializeBinaryFromReader(o,t)},proto.ondewo.nlu.ListProjectRolesResponse.deserializeBinaryFromReader=function(e,t){for(;t.nextField()&&!t.isEndGroup();){switch(t.getFieldNumber()){case 1:var o=new proto.ondewo.nlu.ProjectRole;t.readMessage(o,proto.ondewo.nlu.ProjectRole.deserializeBinaryFromReader),e.addProjectRoles(o);break;case 2:o=t.readString();e.setNextPageToken(o);break;default:t.skipField()}}return e},proto.ondewo.nlu.ListProjectRolesResponse.prototype.serializeBinary=function(){var e=new n.BinaryWriter;return proto.ondewo.nlu.ListProjectRolesResponse.serializeBinaryToWriter(this,e),e.getResultBuffer()},proto.ondewo.nlu.ListProjectRolesResponse.serializeBinaryToWriter=function(e,t){var o=void 0;(o=e.getProjectRolesList()).length>0&&t.writeRepeatedMessage(1,o,proto.ondewo.nlu.ProjectRole.serializeBinaryToWriter),(o=e.getNextPageToken()).length>0&&t.writeString(2,o)},proto.ondewo.nlu.ListProjectRolesResponse.prototype.getProjectRolesList=function(){return n.Message.getRepeatedWrapperField(this,proto.ondewo.nlu.ProjectRole,1)},proto.ondewo.nlu.ListProjectRolesResponse.prototype.setProjectRolesList=function(e){return n.Message.setRepeatedWrapperField(this,1,e)},proto.ondewo.nlu.ListProjectRolesResponse.prototype.addProjectRoles=function(e,t){return n.Message.addToRepeatedWrapperField(this,1,e,proto.ondewo.nlu.ProjectRole,t)},proto.ondewo.nlu.ListProjectRolesResponse.prototype.clearProjectRolesList=function(){return this.setProjectRolesList([])},proto.ondewo.nlu.ListProjectRolesResponse.prototype.getNextPageToken=function(){return n.Message.getFieldWithDefault(this,2,"")},proto.ondewo.nlu.ListProjectRolesResponse.prototype.setNextPageToken=function(e){return n.Message.setProto3StringField(this,2,e)},proto.o