UNPKG

@ondewo/ondewo-csi-client-js

Version:

ONDEWO Communication System Integration (CSI) Client library for Js

1,602 lines (1,374 loc) 15 MB
var ondewo_csi_api; /******/ (() => { // webpackBootstrap /******/ var __webpack_modules__ = ({ /***/ "./google/api/annotations_pb.js": /*!**************************************!*\ !*** ./google/api/annotations_pb.js ***! \**************************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { // source: google/api/annotations.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @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! /* eslint-disable */ // @ts-nocheck var jspb = __webpack_require__(/*! google-protobuf */ "./node_modules/google-protobuf/google-protobuf.js"); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); var google_api_http_pb = __webpack_require__(/*! ../../google/api/http_pb.js */ "./google/api/http_pb.js"); goog.object.extend(proto, google_api_http_pb); var google_protobuf_descriptor_pb = __webpack_require__(/*! google-protobuf/google/protobuf/descriptor_pb.js */ "./node_modules/google-protobuf/google/protobuf/descriptor_pb.js"); goog.object.extend(proto, google_protobuf_descriptor_pb); goog.exportSymbol('proto.google.api.http', null, global); /** * A tuple of {field number, class constructor} for the extension * field named `http`. * @type {!jspb.ExtensionFieldInfo<!proto.google.api.HttpRule>} */ proto.google.api.http = new jspb.ExtensionFieldInfo( 72295728, {http: 0}, google_api_http_pb.HttpRule, /** @type {?function((boolean|undefined),!jspb.Message=): !Object} */ ( google_api_http_pb.HttpRule.toObject), 0); google_protobuf_descriptor_pb.MethodOptions.extensionsBinary[72295728] = new jspb.ExtensionFieldBinaryInfo( proto.google.api.http, jspb.BinaryReader.prototype.readMessage, jspb.BinaryWriter.prototype.writeMessage, google_api_http_pb.HttpRule.serializeBinaryToWriter, google_api_http_pb.HttpRule.deserializeBinaryFromReader, false); // This registers the extension field with the extended class, so that // toObject() will function correctly. google_protobuf_descriptor_pb.MethodOptions.extensions[72295728] = proto.google.api.http; goog.object.extend(exports, proto.google.api); /***/ }), /***/ "./google/api/http_pb.js": /*!*******************************!*\ !*** ./google/api/http_pb.js ***! \*******************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { // source: google/api/http.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @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! /* eslint-disable */ // @ts-nocheck var jspb = __webpack_require__(/*! google-protobuf */ "./node_modules/google-protobuf/google-protobuf.js"); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); goog.exportSymbol('proto.google.api.CustomHttpPattern', null, global); goog.exportSymbol('proto.google.api.Http', null, global); goog.exportSymbol('proto.google.api.HttpRule', null, global); goog.exportSymbol('proto.google.api.HttpRule.PatternCase', 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.api.Http = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.Http.repeatedFields_, null); }; goog.inherits(proto.google.api.Http, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.google.api.Http.displayName = 'proto.google.api.Http'; } /** * 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.api.HttpRule = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.google.api.HttpRule.repeatedFields_, proto.google.api.HttpRule.oneofGroups_); }; goog.inherits(proto.google.api.HttpRule, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.google.api.HttpRule.displayName = 'proto.google.api.HttpRule'; } /** * 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.api.CustomHttpPattern = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.google.api.CustomHttpPattern, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.google.api.CustomHttpPattern.displayName = 'proto.google.api.CustomHttpPattern'; } /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.google.api.Http.repeatedFields_ = [1]; 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.api.Http.prototype.toObject = function(opt_includeInstance) { return proto.google.api.Http.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.api.Http} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.Http.toObject = function(includeInstance, msg) { var f, obj = { rulesList: jspb.Message.toObjectList(msg.getRulesList(), proto.google.api.HttpRule.toObject, includeInstance), fullyDecodeReservedExpansion: jspb.Message.getBooleanFieldWithDefault(msg, 2, 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.api.Http} */ proto.google.api.Http.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.google.api.Http; return proto.google.api.Http.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.google.api.Http} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.google.api.Http} */ proto.google.api.Http.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = new proto.google.api.HttpRule; reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); msg.addRules(value); break; case 2: var value = /** @type {boolean} */ (reader.readBool()); msg.setFullyDecodeReservedExpansion(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.google.api.Http.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.google.api.Http.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.api.Http} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.Http.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getRulesList(); if (f.length > 0) { writer.writeRepeatedMessage( 1, f, proto.google.api.HttpRule.serializeBinaryToWriter ); } f = message.getFullyDecodeReservedExpansion(); if (f) { writer.writeBool( 2, f ); } }; /** * repeated HttpRule rules = 1; * @return {!Array<!proto.google.api.HttpRule>} */ proto.google.api.Http.prototype.getRulesList = function() { return /** @type{!Array<!proto.google.api.HttpRule>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 1)); }; /** * @param {!Array<!proto.google.api.HttpRule>} value * @return {!proto.google.api.Http} returns this */ proto.google.api.Http.prototype.setRulesList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 1, value); }; /** * @param {!proto.google.api.HttpRule=} opt_value * @param {number=} opt_index * @return {!proto.google.api.HttpRule} */ proto.google.api.Http.prototype.addRules = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.google.api.HttpRule, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.google.api.Http} returns this */ proto.google.api.Http.prototype.clearRulesList = function() { return this.setRulesList([]); }; /** * optional bool fully_decode_reserved_expansion = 2; * @return {boolean} */ proto.google.api.Http.prototype.getFullyDecodeReservedExpansion = function() { return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false)); }; /** * @param {boolean} value * @return {!proto.google.api.Http} returns this */ proto.google.api.Http.prototype.setFullyDecodeReservedExpansion = function(value) { return jspb.Message.setProto3BooleanField(this, 2, value); }; /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.google.api.HttpRule.repeatedFields_ = [11]; /** * 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.api.HttpRule.oneofGroups_ = [[2,3,4,5,6,8]]; /** * @enum {number} */ proto.google.api.HttpRule.PatternCase = { PATTERN_NOT_SET: 0, GET: 2, PUT: 3, POST: 4, DELETE: 5, PATCH: 6, CUSTOM: 8 }; /** * @return {proto.google.api.HttpRule.PatternCase} */ proto.google.api.HttpRule.prototype.getPatternCase = function() { return /** @type {proto.google.api.HttpRule.PatternCase} */(jspb.Message.computeOneofCase(this, proto.google.api.HttpRule.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.api.HttpRule.prototype.toObject = function(opt_includeInstance) { return proto.google.api.HttpRule.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.api.HttpRule} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.HttpRule.toObject = function(includeInstance, msg) { var f, obj = { selector: jspb.Message.getFieldWithDefault(msg, 1, ""), get: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f, put: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f, post: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f, pb_delete: (f = jspb.Message.getField(msg, 5)) == null ? undefined : f, patch: (f = jspb.Message.getField(msg, 6)) == null ? undefined : f, custom: (f = msg.getCustom()) && proto.google.api.CustomHttpPattern.toObject(includeInstance, f), body: jspb.Message.getFieldWithDefault(msg, 7, ""), responseBody: jspb.Message.getFieldWithDefault(msg, 12, ""), additionalBindingsList: jspb.Message.toObjectList(msg.getAdditionalBindingsList(), proto.google.api.HttpRule.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.api.HttpRule} */ proto.google.api.HttpRule.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.google.api.HttpRule; return proto.google.api.HttpRule.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.google.api.HttpRule} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.google.api.HttpRule} */ proto.google.api.HttpRule.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.setSelector(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setGet(value); break; case 3: var value = /** @type {string} */ (reader.readString()); msg.setPut(value); break; case 4: var value = /** @type {string} */ (reader.readString()); msg.setPost(value); break; case 5: var value = /** @type {string} */ (reader.readString()); msg.setDelete(value); break; case 6: var value = /** @type {string} */ (reader.readString()); msg.setPatch(value); break; case 8: var value = new proto.google.api.CustomHttpPattern; reader.readMessage(value,proto.google.api.CustomHttpPattern.deserializeBinaryFromReader); msg.setCustom(value); break; case 7: var value = /** @type {string} */ (reader.readString()); msg.setBody(value); break; case 12: var value = /** @type {string} */ (reader.readString()); msg.setResponseBody(value); break; case 11: var value = new proto.google.api.HttpRule; reader.readMessage(value,proto.google.api.HttpRule.deserializeBinaryFromReader); msg.addAdditionalBindings(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.google.api.HttpRule.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.google.api.HttpRule.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.api.HttpRule} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.HttpRule.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getSelector(); if (f.length > 0) { writer.writeString( 1, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 2)); if (f != null) { writer.writeString( 2, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 3)); if (f != null) { writer.writeString( 3, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 4)); if (f != null) { writer.writeString( 4, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 5)); if (f != null) { writer.writeString( 5, f ); } f = /** @type {string} */ (jspb.Message.getField(message, 6)); if (f != null) { writer.writeString( 6, f ); } f = message.getCustom(); if (f != null) { writer.writeMessage( 8, f, proto.google.api.CustomHttpPattern.serializeBinaryToWriter ); } f = message.getBody(); if (f.length > 0) { writer.writeString( 7, f ); } f = message.getResponseBody(); if (f.length > 0) { writer.writeString( 12, f ); } f = message.getAdditionalBindingsList(); if (f.length > 0) { writer.writeRepeatedMessage( 11, f, proto.google.api.HttpRule.serializeBinaryToWriter ); } }; /** * optional string selector = 1; * @return {string} */ proto.google.api.HttpRule.prototype.getSelector = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setSelector = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string get = 2; * @return {string} */ proto.google.api.HttpRule.prototype.getGet = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setGet = function(value) { return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearGet = function() { return jspb.Message.setOneofField(this, 2, proto.google.api.HttpRule.oneofGroups_[0], undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasGet = function() { return jspb.Message.getField(this, 2) != null; }; /** * optional string put = 3; * @return {string} */ proto.google.api.HttpRule.prototype.getPut = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setPut = function(value) { return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearPut = function() { return jspb.Message.setOneofField(this, 3, proto.google.api.HttpRule.oneofGroups_[0], undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasPut = function() { return jspb.Message.getField(this, 3) != null; }; /** * optional string post = 4; * @return {string} */ proto.google.api.HttpRule.prototype.getPost = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setPost = function(value) { return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearPost = function() { return jspb.Message.setOneofField(this, 4, proto.google.api.HttpRule.oneofGroups_[0], undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasPost = function() { return jspb.Message.getField(this, 4) != null; }; /** * optional string delete = 5; * @return {string} */ proto.google.api.HttpRule.prototype.getDelete = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setDelete = function(value) { return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearDelete = function() { return jspb.Message.setOneofField(this, 5, proto.google.api.HttpRule.oneofGroups_[0], undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasDelete = function() { return jspb.Message.getField(this, 5) != null; }; /** * optional string patch = 6; * @return {string} */ proto.google.api.HttpRule.prototype.getPatch = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setPatch = function(value) { return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearPatch = function() { return jspb.Message.setOneofField(this, 6, proto.google.api.HttpRule.oneofGroups_[0], undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasPatch = function() { return jspb.Message.getField(this, 6) != null; }; /** * optional CustomHttpPattern custom = 8; * @return {?proto.google.api.CustomHttpPattern} */ proto.google.api.HttpRule.prototype.getCustom = function() { return /** @type{?proto.google.api.CustomHttpPattern} */ ( jspb.Message.getWrapperField(this, proto.google.api.CustomHttpPattern, 8)); }; /** * @param {?proto.google.api.CustomHttpPattern|undefined} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setCustom = function(value) { return jspb.Message.setOneofWrapperField(this, 8, proto.google.api.HttpRule.oneofGroups_[0], value); }; /** * Clears the message field making it undefined. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearCustom = function() { return this.setCustom(undefined); }; /** * Returns whether this field is set. * @return {boolean} */ proto.google.api.HttpRule.prototype.hasCustom = function() { return jspb.Message.getField(this, 8) != null; }; /** * optional string body = 7; * @return {string} */ proto.google.api.HttpRule.prototype.getBody = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setBody = function(value) { return jspb.Message.setProto3StringField(this, 7, value); }; /** * optional string response_body = 12; * @return {string} */ proto.google.api.HttpRule.prototype.getResponseBody = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, "")); }; /** * @param {string} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setResponseBody = function(value) { return jspb.Message.setProto3StringField(this, 12, value); }; /** * repeated HttpRule additional_bindings = 11; * @return {!Array<!proto.google.api.HttpRule>} */ proto.google.api.HttpRule.prototype.getAdditionalBindingsList = function() { return /** @type{!Array<!proto.google.api.HttpRule>} */ ( jspb.Message.getRepeatedWrapperField(this, proto.google.api.HttpRule, 11)); }; /** * @param {!Array<!proto.google.api.HttpRule>} value * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.setAdditionalBindingsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 11, value); }; /** * @param {!proto.google.api.HttpRule=} opt_value * @param {number=} opt_index * @return {!proto.google.api.HttpRule} */ proto.google.api.HttpRule.prototype.addAdditionalBindings = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.google.api.HttpRule, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.google.api.HttpRule} returns this */ proto.google.api.HttpRule.prototype.clearAdditionalBindingsList = function() { return this.setAdditionalBindingsList([]); }; 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.api.CustomHttpPattern.prototype.toObject = function(opt_includeInstance) { return proto.google.api.CustomHttpPattern.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.api.CustomHttpPattern} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.CustomHttpPattern.toObject = function(includeInstance, msg) { var f, obj = { kind: jspb.Message.getFieldWithDefault(msg, 1, ""), path: jspb.Message.getFieldWithDefault(msg, 2, "") }; 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.api.CustomHttpPattern} */ proto.google.api.CustomHttpPattern.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.google.api.CustomHttpPattern; return proto.google.api.CustomHttpPattern.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.google.api.CustomHttpPattern} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.google.api.CustomHttpPattern} */ proto.google.api.CustomHttpPattern.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.setKind(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setPath(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.google.api.CustomHttpPattern.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.google.api.CustomHttpPattern.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.api.CustomHttpPattern} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.api.CustomHttpPattern.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getKind(); if (f.length > 0) { writer.writeString( 1, f ); } f = message.getPath(); if (f.length > 0) { writer.writeString( 2, f ); } }; /** * optional string kind = 1; * @return {string} */ proto.google.api.CustomHttpPattern.prototype.getKind = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, "")); }; /** * @param {string} value * @return {!proto.google.api.CustomHttpPattern} returns this */ proto.google.api.CustomHttpPattern.prototype.setKind = function(value) { return jspb.Message.setProto3StringField(this, 1, value); }; /** * optional string path = 2; * @return {string} */ proto.google.api.CustomHttpPattern.prototype.getPath = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.google.api.CustomHttpPattern} returns this */ proto.google.api.CustomHttpPattern.prototype.setPath = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; goog.object.extend(exports, proto.google.api); /***/ }), /***/ "./google/rpc/status_pb.js": /*!*********************************!*\ !*** ./google/rpc/status_pb.js ***! \*********************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { // source: google/rpc/status.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @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! /* eslint-disable */ // @ts-nocheck var jspb = __webpack_require__(/*! google-protobuf */ "./node_modules/google-protobuf/google-protobuf.js"); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); var google_protobuf_any_pb = __webpack_require__(/*! google-protobuf/google/protobuf/any_pb.js */ "./node_modules/google-protobuf/google/protobuf/any_pb.js"); goog.object.extend(proto, google_protobuf_any_pb); goog.exportSymbol('proto.google.rpc.Status', 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.rpc.Status = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, proto.google.rpc.Status.repeatedFields_, null); }; goog.inherits(proto.google.rpc.Status, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.google.rpc.Status.displayName = 'proto.google.rpc.Status'; } /** * List of repeated fields within this message type. * @private {!Array<number>} * @const */ proto.google.rpc.Status.repeatedFields_ = [3]; 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.rpc.Status.prototype.toObject = function(opt_includeInstance) { return proto.google.rpc.Status.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.rpc.Status} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.rpc.Status.toObject = function(includeInstance, msg) { var f, obj = { code: jspb.Message.getFieldWithDefault(msg, 1, 0), message: jspb.Message.getFieldWithDefault(msg, 2, ""), detailsList: jspb.Message.toObjectList(msg.getDetailsList(), google_protobuf_any_pb.Any.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.rpc.Status} */ proto.google.rpc.Status.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.google.rpc.Status; return proto.google.rpc.Status.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.google.rpc.Status} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.google.rpc.Status} */ proto.google.rpc.Status.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readInt32()); msg.setCode(value); break; case 2: var value = /** @type {string} */ (reader.readString()); msg.setMessage(value); break; case 3: var value = new google_protobuf_any_pb.Any; reader.readMessage(value,google_protobuf_any_pb.Any.deserializeBinaryFromReader); msg.addDetails(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.google.rpc.Status.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.google.rpc.Status.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.rpc.Status} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.rpc.Status.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getCode(); if (f !== 0) { writer.writeInt32( 1, f ); } f = message.getMessage(); if (f.length > 0) { writer.writeString( 2, f ); } f = message.getDetailsList(); if (f.length > 0) { writer.writeRepeatedMessage( 3, f, google_protobuf_any_pb.Any.serializeBinaryToWriter ); } }; /** * optional int32 code = 1; * @return {number} */ proto.google.rpc.Status.prototype.getCode = function() { return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0)); }; /** * @param {number} value * @return {!proto.google.rpc.Status} returns this */ proto.google.rpc.Status.prototype.setCode = function(value) { return jspb.Message.setProto3IntField(this, 1, value); }; /** * optional string message = 2; * @return {string} */ proto.google.rpc.Status.prototype.getMessage = function() { return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, "")); }; /** * @param {string} value * @return {!proto.google.rpc.Status} returns this */ proto.google.rpc.Status.prototype.setMessage = function(value) { return jspb.Message.setProto3StringField(this, 2, value); }; /** * repeated google.protobuf.Any details = 3; * @return {!Array<!proto.google.protobuf.Any>} */ proto.google.rpc.Status.prototype.getDetailsList = function() { return /** @type{!Array<!proto.google.protobuf.Any>} */ ( jspb.Message.getRepeatedWrapperField(this, google_protobuf_any_pb.Any, 3)); }; /** * @param {!Array<!proto.google.protobuf.Any>} value * @return {!proto.google.rpc.Status} returns this */ proto.google.rpc.Status.prototype.setDetailsList = function(value) { return jspb.Message.setRepeatedWrapperField(this, 3, value); }; /** * @param {!proto.google.protobuf.Any=} opt_value * @param {number=} opt_index * @return {!proto.google.protobuf.Any} */ proto.google.rpc.Status.prototype.addDetails = function(opt_value, opt_index) { return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.google.protobuf.Any, opt_index); }; /** * Clears the list making it empty but non-null. * @return {!proto.google.rpc.Status} returns this */ proto.google.rpc.Status.prototype.clearDetailsList = function() { return this.setDetailsList([]); }; goog.object.extend(exports, proto.google.rpc); /***/ }), /***/ "./google/type/latlng_pb.js": /*!**********************************!*\ !*** ./google/type/latlng_pb.js ***! \**********************************/ /***/ ((__unused_webpack_module, exports, __webpack_require__) => { // source: google/type/latlng.proto /** * @fileoverview * @enhanceable * @suppress {missingRequire} reports error on implicit type usages. * @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! /* eslint-disable */ // @ts-nocheck var jspb = __webpack_require__(/*! google-protobuf */ "./node_modules/google-protobuf/google-protobuf.js"); var goog = jspb; var global = (typeof globalThis !== 'undefined' && globalThis) || (typeof window !== 'undefined' && window) || (typeof global !== 'undefined' && global) || (typeof self !== 'undefined' && self) || (function () { return this; }).call(null) || Function('return this')(); goog.exportSymbol('proto.google.type.LatLng', 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.type.LatLng = function(opt_data) { jspb.Message.initialize(this, opt_data, 0, -1, null, null); }; goog.inherits(proto.google.type.LatLng, jspb.Message); if (goog.DEBUG && !COMPILED) { /** * @public * @override */ proto.google.type.LatLng.displayName = 'proto.google.type.LatLng'; } 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.type.LatLng.prototype.toObject = function(opt_includeInstance) { return proto.google.type.LatLng.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.type.LatLng} msg The msg instance to transform. * @return {!Object} * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.type.LatLng.toObject = function(includeInstance, msg) { var f, obj = { latitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 1, 0.0), longitude: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0) }; 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.type.LatLng} */ proto.google.type.LatLng.deserializeBinary = function(bytes) { var reader = new jspb.BinaryReader(bytes); var msg = new proto.google.type.LatLng; return proto.google.type.LatLng.deserializeBinaryFromReader(msg, reader); }; /** * Deserializes binary data (in protobuf wire format) from the * given reader into the given message object. * @param {!proto.google.type.LatLng} msg The message object to deserialize into. * @param {!jspb.BinaryReader} reader The BinaryReader to use. * @return {!proto.google.type.LatLng} */ proto.google.type.LatLng.deserializeBinaryFromReader = function(msg, reader) { while (reader.nextField()) { if (reader.isEndGroup()) { break; } var field = reader.getFieldNumber(); switch (field) { case 1: var value = /** @type {number} */ (reader.readDouble()); msg.setLatitude(value); break; case 2: var value = /** @type {number} */ (reader.readDouble()); msg.setLongitude(value); break; default: reader.skipField(); break; } } return msg; }; /** * Serializes the message to binary data (in protobuf wire format). * @return {!Uint8Array} */ proto.google.type.LatLng.prototype.serializeBinary = function() { var writer = new jspb.BinaryWriter(); proto.google.type.LatLng.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.type.LatLng} message * @param {!jspb.BinaryWriter} writer * @suppress {unusedLocalVariables} f is only used for nested messages */ proto.google.type.LatLng.serializeBinaryToWriter = function(message, writer) { var f = undefined; f = message.getLatitude(); if (f !== 0.0) { writer.writeDouble( 1, f ); } f = message.getLongitude(); if (f !== 0.0) { writer.writeDouble( 2, f ); } }; /** * optional double latitude = 1; * @return {number} */ proto.google.type.LatLng.prototype.getLatitude = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 1, 0.0)); }; /** * @param {number} value * @return {!proto.google.type.LatLng} returns this */ proto.google.type.LatLng.prototype.setLatitude = function(value) { return jspb.Message.setProto3FloatField(this, 1, value); }; /** * optional double longitude = 2; * @return {number} */ proto.google.type.LatLng.prototype.getLongitude = function() { return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0)); }; /** * @param {number} value * @return {!proto.google.type.LatLng} returns this */ proto.google.type.LatLng.prototype.setLongitude = function(value) { return jspb.Message.setProto3FloatField(this, 2, value); }; goog.object.extend(exports, proto.google.type); /***/ }), /***/ "./node_modules/google-protobuf/google-protobuf.js": /*!*********************************************************!*\ !*** ./node_modules/google-protobuf/google-protobuf.js ***! \*********************************************************/ /***/ (function(__unused_webpack_module, exports, __webpack_require__) { /* Copyright The Closure Library Authors. SPDX-License-Identifier: Apache-2.0 */ var aa="function"==typeof Object.defineProperties?Object.defineProperty:function(a,b,c){a!=Array.prototype&&a!=Object.prototype&&(a[b]=c.value)},e="undefined"!=typeof window&&window===this?this:"undefined"!=typeof __webpack_require__.g&&null!=__webpack_require__.g?__webpack_require__.g:this;function ba(a,b){if(b){var c=e;a=a.split(".");for(var d=0;d<a.length-1;d++){var f=a[d];f in c||(c[f]={});c=c[f]}a=a[a.length-1];d=c[a];b=b(d);b!=d&&null!=b&&aa(c,a,{configurable:!0,writable:!0,value:b})}} function ca(a){var b=0;return function(){return b<a.length?{done:!1,value:a[b++]}:{done:!0}}}function da(){da=function(){};e.Symbol||(e.Symbol=ea)}function fa(a,b){this.a=a;aa(this,"description",{configurable:!0,writable:!0,value:b})}fa.prototype.toString=function(){return this.a};var ea=function(){function a(c){if(this instanceof a)throw new TypeError("Symbol is not a constructor");return new fa("jscomp_symbol_"+(c||"")+"_"+b++,c)}var b=0;return a}(); function ha(){da();var a=e.Symbol.iterator;a||(a=e.Symbol.iterator=e.Symbol("Symbol.iterator"));"function"!=typeof Array.prototype[a]&&aa(Array.prototype,a,{configurable:!0,writable:!0,value:function(){return ia(ca(this))}});ha=function(){}}function ia(a){ha();a={next:a};a[e.Symbol.iterator]=function(){return this};return a} function ja(a,b){ha();a instanceof String&&(a+="");var c=0,d={next:function(){if(c<a.length){var f=c++;return{value:b(f,a[f]),done:!1}}d.next=function(){return{done:!0,value:void 0}};return d.next()}};d[Symbol.iterator]=function(){return d};return d}ba("Array.prototype.entries",function(a){return a?a:function(){return ja(this,function(b,c){return[b,c]})}});var ka=this||self; function g(a,b,c){a=a.split(".");c=c||ka;a[0]in c||"undefined"==typeof c.execScript||c.execScript("var "+a[0]);for(var d;a.length&&(d=a.shift());)a.length||void 0===b?c[d]&&c[d]!==Object.prototype[d]?c=c[d]:c=c[d]={}:c[d]=b} function k(a){var b=typeof a;if("object"==b)if(a){if(a instanceof Array)return"array";if(a instanceof Object)return b;var c=Object.prototype.toString.call(a);if("[object Window]"==c)return"object";if("[object Array]"==c||"number"==typeof a.length&&"undefined"!=typeof a.splice&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("splice"))return"array";if("[object Function]"==c||"undefined"!=typeof a.call&&"undefined"!=typeof a.propertyIsEnumerable&&!a.propertyIsEnumerable("call"))return"function"}else return"null"; else if("function"==b&&"undefined"==typeof a.call)return"object";return b}function la(a){var b=typeof a;return"object"==b&&null!=a||"function"==b}function ma(a,b,c){g(a,b,c)}function na(a,b){function c(){}c.prototype=b.prototype;a.prototype=new c;a.prototype.constructor=a};var oa="constructor hasOwnProperty isPrototypeOf propertyIsEnumerable toLocaleString toString valueOf".split(" ");function pa(a,b){for(var c,d,f=1;f<arguments.length;f++){d=arguments[f];for(c in d)a[c]=d[c];for(var h=0;h<oa.length;h++)c=oa[h],Object.prototype.hasOwnProperty.call(d,c)&&(a[c]=d[c])}};var qa=Array.prototype.forEach?function(a,b){Array.prototype.forEach.call(a,b,void 0)}:function(a,b){for(var c=a.length,d="string"===typeof a?a.split(""):a,f=0;f<c;f++)f in d&&b.call(void 0,d[f],f,a)},l=Array.prototype.map?function(a,b){return Array.prototype.map.call(a,b,void 0)}:function(a,b){for(var c=a.length,d=Array(c),f="string"===typeof a?a.split(""):a,h=0;h<c;h++)