From 7f900b25a168f998683d492533db7968c5faebd2 Mon Sep 17 00:00:00 2001 From: Dan Tasse Date: Thu, 1 Oct 2026 10:31:23 -0500 Subject: [PATCH] deps: update dependencies --- CONTRIBUTING.md | 22 + eslint.config.mjs | 2 +- integration_test/package-lock.json | 8283 +++++----- integration_test/package.json | 21 +- package-lock.json | 6574 ++++---- package.json | 32 +- src/flightsql.ts | 2 +- src/generated/any.d.ts | 75 +- src/generated/any.js | 193 +- src/generated/flight.d.ts | 2403 +-- src/generated/flight.js | 6396 +++++--- src/generated/flightsql.d.ts | 7274 ++++++--- src/generated/flightsql.js | 22167 +++++++++++++++++++-------- src/index.ts | 3 +- tsconfig.json | 2 +- tsup.config.js | 7 +- 16 files changed, 36017 insertions(+), 17439 deletions(-) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index da009c5..05a7a02 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -10,6 +10,20 @@ of the project and that you are not duplicating work that is already in progress The project is divided into several components. +### Generated Protobuf Code + +The files in `src/generated/` are produced from the `.proto` files in `protos/` by `protobufjs-cli`. Do not edit them +by hand. If you update the `.proto` files or bump `protobufjs-cli`, regenerate them with: + +```bash +npm run generate-protos +``` + +The script generates `flightsql.js` into a separate protobuf root (`-r fsql`). This is required: `flight.js` and +`flightsql.js` both define the `arrow` namespace, and if they shared the default root the second one loaded would +overwrite the first and messages such as `HandshakeRequest` would be missing at runtime. Run the integration tests +after regenerating, since that failure is not caught by the build, type check, or unit tests. + ### Flight Client Unlike other language implementations, JavaScript's arrow package does not yet have utilities for working with Flight. @@ -76,3 +90,11 @@ npx jest ``` The integration tests should automatically detect a local server on port 31337 and run against it. + +Note for Docker Desktop on macOS: the `local_server` service uses `network_mode: host`, which Docker Desktop +does not pass through to the host, so port 31337 will not be reachable and the tests will fall back to the +containerized `server` hostname and fail. In that case, start the server with an explicit port mapping instead: + +```bash +docker run --rm -p 31337:31337 -e TLS_ENABLED=0 -e SQLFLITE_USERNAME=lancedb -e SQLFLITE_PASSWORD=password voltrondata/sqlflite:latest +``` diff --git a/eslint.config.mjs b/eslint.config.mjs index 0e2b5c8..23b6d73 100644 --- a/eslint.config.mjs +++ b/eslint.config.mjs @@ -11,6 +11,6 @@ export default tseslint.config( plugins: { tsdoc: tsdoclint }, }, { - ignores: ["src/generated/**", "**/jest.config.js"], + ignores: ["src/generated/**", "**/jest.config.js", "dist/**"], }, ); diff --git a/integration_test/package-lock.json b/integration_test/package-lock.json index 2a8042f..bfc7e91 100644 --- a/integration_test/package-lock.json +++ b/integration_test/package-lock.json @@ -1,3578 +1,4713 @@ { - "name": "do-not-publish", - "version": "0.1.0", - "lockfileVersion": 3, - "requires": true, - "packages": { - "": { - "name": "do-not-publish", - "version": "0.1.0", - "devDependencies": { - "jest": "^29.7.0", - "ts-jest": "^29.2.5" - } - }, - "..": { - "name": "@lancedb/arrow-flight-sql-client", - "version": "0.1.0", - "extraneous": true, - "license": "Apache-2.0", - "dependencies": { - "@grpc/grpc-js": "^1.12.4", - "@grpc/proto-loader": "^0.7.13", - "apache-arrow": "^18.1.0", - "iter-ops": "^3.5.0", - "protobufjs": "^7.4.0" - }, - "devDependencies": { - "@eslint/js": "^9.16.0", - "@jest/globals": "^29.7.0", - "eslint-plugin-tsdoc": "^0.4.0", - "jest": "^29.7.0", - "prettier": "^3.4.2", - "protobufjs-cli": "^1.1.3", - "ts-jest": "^29.2.5", - "tsup": "^8.3.5", - "typescript": "^5.7.2", - "typescript-eslint": "^8.17.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/code-frame": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", - "dev": true, - "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", - "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/compat-data": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", - "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/core": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", - "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.26.0", - "@babel/generator": "^7.26.0", - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helpers": "^7.26.0", - "@babel/parser": "^7.26.0", - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.26.0", - "convert-source-map": "^2.0.0", - "debug": "^4.1.0", - "gensync": "^1.0.0-beta.2", - "json5": "^2.2.3", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/babel" - } - }, - "node_modules/@babel/generator": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", - "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.26.3", - "@babel/types": "^7.26.3", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", - "jsesc": "^3.0.2" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", - "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", - "dev": true, - "dependencies": { - "@babel/compat-data": "^7.25.9", - "@babel/helper-validator-option": "^7.25.9", - "browserslist": "^4.24.0", - "lru-cache": "^5.1.1", - "semver": "^6.3.1" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-imports": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", - "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", - "dev": true, - "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", - "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", - "dev": true, - "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/@babel/helper-plugin-utils": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", - "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helper-validator-option": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", - "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/helpers": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", - "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", - "dev": true, - "dependencies": { - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/parser": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", - "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", - "dev": true, - "dependencies": { - "@babel/types": "^7.26.3" - }, - "bin": { - "parser": "bin/babel-parser.js" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@babel/plugin-syntax-async-generators": { - "version": "7.8.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", - "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-bigint": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", - "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-properties": { - "version": "7.12.13", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", - "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.12.13" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-class-static-block": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", - "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", - "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-import-meta": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", - "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-json-strings": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", - "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz", - "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-logical-assignment-operators": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", - "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", - "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-numeric-separator": { - "version": "7.10.4", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", - "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.10.4" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-object-rest-spread": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", - "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-catch-binding": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", - "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-optional-chaining": { - "version": "7.8.3", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", - "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.8.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-private-property-in-object": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", - "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-top-level-await": { - "version": "7.14.5", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", - "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.14.5" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz", - "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0-0" - } - }, - "node_modules/@babel/template": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", - "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/parser": "^7.25.9", - "@babel/types": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/traverse": { - "version": "7.26.4", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.4.tgz", - "integrity": "sha512-fH+b7Y4p3yqvApJALCPJcwb0/XaOSgtK4pzV6WVjPR5GLFQBRI7pfoX2V2iM48NXvX07NUxxm1Vw98YjqTcU5w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.3", - "@babel/parser": "^7.26.3", - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.3", - "debug": "^4.3.1", - "globals": "^11.1.0" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@babel/types": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", - "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", - "dev": true, - "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" - }, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/@bcoe/v8-coverage": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", - "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true - }, - "node_modules/@istanbuljs/load-nyc-config": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", - "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", - "dev": true, - "dependencies": { - "camelcase": "^5.3.1", - "find-up": "^4.1.0", - "get-package-type": "^0.1.0", - "js-yaml": "^3.13.1", - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", - "dev": true, - "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", - "dev": true, - "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", - "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", - "dev": true, - "dependencies": { - "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "istanbul-lib-coverage": "^3.0.0", - "istanbul-lib-instrument": "^6.0.0", - "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", - "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", - "v8-to-istanbul": "^9.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", - "dev": true, - "dependencies": { - "@sinclair/typebox": "^0.27.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", - "convert-source-map": "^2.0.0", - "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", - "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", - "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", - "dev": true, - "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/resolve-uri": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", - "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "dev": true - }, - "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", - "dev": true, - "dependencies": { - "@jridgewell/resolve-uri": "^3.1.0", - "@jridgewell/sourcemap-codec": "^1.4.14" - } - }, - "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true - }, - "node_modules/@sinonjs/commons": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", - "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", - "dev": true, - "dependencies": { - "type-detect": "4.0.8" - } - }, - "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", - "dev": true, - "dependencies": { - "@sinonjs/commons": "^3.0.0" - } - }, - "node_modules/@types/babel__core": { - "version": "7.20.5", - "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", - "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.20.7", - "@babel/types": "^7.20.7", - "@types/babel__generator": "*", - "@types/babel__template": "*", - "@types/babel__traverse": "*" - } - }, - "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", - "dev": true, - "dependencies": { - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__template": { - "version": "7.4.4", - "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", - "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", - "dev": true, - "dependencies": { - "@babel/parser": "^7.1.0", - "@babel/types": "^7.0.0" - } - }, - "node_modules/@types/babel__traverse": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", - "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", - "dev": true, - "dependencies": { - "@babel/types": "^7.20.7" - } - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", - "dev": true, - "dependencies": { - "@types/node": "*" - } - }, - "node_modules/@types/istanbul-lib-coverage": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", - "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true - }, - "node_modules/@types/istanbul-lib-report": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", - "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-coverage": "*" - } - }, - "node_modules/@types/istanbul-reports": { - "version": "3.0.4", - "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", - "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", - "dev": true, - "dependencies": { - "@types/istanbul-lib-report": "*" - } - }, - "node_modules/@types/node": { - "version": "22.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-22.10.1.tgz", - "integrity": "sha512-qKgsUwfHZV2WCWLAnVP1JqnpE6Im6h3Y0+fYgMTasNQ7V++CBX5OT1as0g0f+OyubbFqhf6XVNIsmN4IIhEgGQ==", - "dev": true, - "dependencies": { - "undici-types": "~6.20.0" - } - }, - "node_modules/@types/stack-utils": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", - "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true - }, - "node_modules/@types/yargs": { - "version": "17.0.33", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", - "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", - "dev": true, - "dependencies": { - "@types/yargs-parser": "*" - } - }, - "node_modules/@types/yargs-parser": { - "version": "21.0.3", - "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", - "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true - }, - "node_modules/ansi-escapes": { - "version": "4.3.2", - "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", - "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", - "dev": true, - "dependencies": { - "type-fest": "^0.21.3" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/ansi-regex": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", - "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/ansi-styles": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", - "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", - "dev": true, - "dependencies": { - "color-convert": "^2.0.1" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/anymatch": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", - "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", - "dev": true, - "dependencies": { - "normalize-path": "^3.0.0", - "picomatch": "^2.0.4" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/argparse": { - "version": "1.0.10", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", - "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", - "dev": true, - "dependencies": { - "sprintf-js": "~1.0.2" - } - }, - "node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "dev": true - }, - "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.8.0" - } - }, - "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", - "dev": true, - "dependencies": { - "@babel/helper-plugin-utils": "^7.0.0", - "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", - "dev": true, - "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/babel-preset-current-node-syntax": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", - "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", - "dev": true, - "dependencies": { - "@babel/plugin-syntax-async-generators": "^7.8.4", - "@babel/plugin-syntax-bigint": "^7.8.3", - "@babel/plugin-syntax-class-properties": "^7.12.13", - "@babel/plugin-syntax-class-static-block": "^7.14.5", - "@babel/plugin-syntax-import-attributes": "^7.24.7", - "@babel/plugin-syntax-import-meta": "^7.10.4", - "@babel/plugin-syntax-json-strings": "^7.8.3", - "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", - "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", - "@babel/plugin-syntax-numeric-separator": "^7.10.4", - "@babel/plugin-syntax-object-rest-spread": "^7.8.3", - "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", - "@babel/plugin-syntax-optional-chaining": "^7.8.3", - "@babel/plugin-syntax-private-property-in-object": "^7.14.5", - "@babel/plugin-syntax-top-level-await": "^7.14.5" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", - "dev": true, - "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@babel/core": "^7.0.0" - } - }, - "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } - }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", - "dev": true, - "dependencies": { - "fill-range": "^7.1.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.1" - }, - "bin": { - "browserslist": "cli.js" - }, - "engines": { - "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" - } - }, - "node_modules/bs-logger": { - "version": "0.2.6", - "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", - "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", - "dev": true, - "dependencies": { - "fast-json-stable-stringify": "2.x" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/bser": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", - "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", - "dev": true, - "dependencies": { - "node-int64": "^0.4.0" - } - }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, - "node_modules/callsites": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", - "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/camelcase": { - "version": "5.3.1", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", - "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/caniuse-lite": { - "version": "1.0.30001687", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001687.tgz", - "integrity": "sha512-0S/FDhf4ZiqrTUiQ39dKeUjYRjkv7lOZU1Dgif2rIqrTzX/1wV2hfKu9TOm1IHkdSijfLswxTFzl/cvir+SLSQ==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/caniuse-lite" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ] - }, - "node_modules/chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/char-regex": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", - "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/sibiraj-s" - } - ], - "engines": { - "node": ">=8" - } - }, - "node_modules/cjs-module-lexer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", - "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", - "dev": true - }, - "node_modules/cliui": { - "version": "8.0.1", - "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", - "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", - "dev": true, - "dependencies": { - "string-width": "^4.2.0", - "strip-ansi": "^6.0.1", - "wrap-ansi": "^7.0.0" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/co": { - "version": "4.6.0", - "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", - "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", - "dev": true, - "engines": { - "iojs": ">= 1.0.0", - "node": ">= 0.12.0" - } - }, - "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true - }, - "node_modules/color-convert": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", - "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", - "dev": true, - "dependencies": { - "color-name": "~1.1.4" - }, - "engines": { - "node": ">=7.0.0" - } - }, - "node_modules/color-name": { - "version": "1.1.4", - "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", - "dev": true - }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true - }, - "node_modules/convert-source-map": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", - "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/cross-spawn": { - "version": "7.0.6", - "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", - "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", - "dev": true, - "dependencies": { - "path-key": "^3.1.0", - "shebang-command": "^2.0.0", - "which": "^2.0.1" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/debug": { - "version": "4.4.0", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.0.tgz", - "integrity": "sha512-6WTZ/IxCY/T6BALoZHaE4ctp9xm+Z5kY/pzYaCHRFeyVhojxlrm+46y68HA6hr0TcwEssoxNiDEUJQjfPZ/RYA==", - "dev": true, - "dependencies": { - "ms": "^2.1.3" - }, - "engines": { - "node": ">=6.0" - }, - "peerDependenciesMeta": { - "supports-color": { - "optional": true - } - } - }, - "node_modules/dedent": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", - "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", - "dev": true, - "peerDependencies": { - "babel-plugin-macros": "^3.1.0" - }, - "peerDependenciesMeta": { - "babel-plugin-macros": { - "optional": true - } - } - }, - "node_modules/deepmerge": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", - "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/ejs": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", - "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", - "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/electron-to-chromium": { - "version": "1.5.71", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.71.tgz", - "integrity": "sha512-dB68l59BI75W1BUGVTAEJy45CEVuEGy9qPVVQ8pnHyHMn36PLPPoE1mjLH+lo9rKulO3HC2OhbACI/8tCqJBcA==", - "dev": true - }, - "node_modules/emittery": { - "version": "0.13.1", - "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", - "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", - "dev": true, - "engines": { - "node": ">=12" - }, - "funding": { - "url": "https://github.com/sindresorhus/emittery?sponsor=1" - } - }, - "node_modules/emoji-regex": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", - "dev": true - }, - "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", - "dev": true, - "dependencies": { - "is-arrayish": "^0.2.1" - } - }, - "node_modules/escalade": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", - "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/esprima": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", - "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", - "dev": true, - "bin": { - "esparse": "bin/esparse.js", - "esvalidate": "bin/esvalidate.js" - }, - "engines": { - "node": ">=4" - } - }, - "node_modules/execa": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", - "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", - "dev": true, - "dependencies": { - "cross-spawn": "^7.0.3", - "get-stream": "^6.0.0", - "human-signals": "^2.1.0", - "is-stream": "^2.0.0", - "merge-stream": "^2.0.0", - "npm-run-path": "^4.0.1", - "onetime": "^5.1.2", - "signal-exit": "^3.0.3", - "strip-final-newline": "^2.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sindresorhus/execa?sponsor=1" - } - }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/fast-json-stable-stringify": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", - "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true - }, - "node_modules/fb-watchman": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", - "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", - "dev": true, - "dependencies": { - "bser": "2.1.1" - } - }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" - } - }, - "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", - "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } - }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", - "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", - "dev": true, - "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/fs.realpath": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", - "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true - }, - "node_modules/fsevents": { - "version": "2.3.3", - "resolved": "https://registry.npmjs.org/fsevents/-/fsevents-2.3.3.tgz", - "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", - "dev": true, - "hasInstallScript": true, - "optional": true, - "os": [ - "darwin" - ], - "engines": { - "node": "^8.16.0 || ^10.6.0 || >=11.0.0" - } - }, - "node_modules/function-bind": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", - "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", - "dev": true, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/gensync": { - "version": "1.0.0-beta.2", - "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", - "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", - "dev": true, - "engines": { - "node": ">=6.9.0" - } - }, - "node_modules/get-caller-file": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", - "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", - "dev": true, - "engines": { - "node": "6.* || 8.* || >= 10.*" - } - }, - "node_modules/get-package-type": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", - "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", - "dev": true, - "engines": { - "node": ">=8.0.0" - } - }, - "node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", - "dev": true, - "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" - }, - "engines": { - "node": "*" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } - }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/graceful-fs": { - "version": "4.2.11", - "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", - "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true - }, - "node_modules/has-flag": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", - "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", - "dev": true, - "dependencies": { - "function-bind": "^1.1.2" - }, - "engines": { - "node": ">= 0.4" - } - }, - "node_modules/html-escaper": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", - "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true - }, - "node_modules/human-signals": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", - "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", - "dev": true, - "engines": { - "node": ">=10.17.0" - } - }, - "node_modules/import-local": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", - "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", - "dev": true, - "dependencies": { - "pkg-dir": "^4.2.0", - "resolve-cwd": "^3.0.0" - }, - "bin": { - "import-local-fixture": "fixtures/cli.js" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/imurmurhash": { - "version": "0.1.4", - "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", - "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", - "dev": true, - "engines": { - "node": ">=0.8.19" - } - }, - "node_modules/inflight": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/inflight/-/inflight-1.0.6.tgz", - "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", - "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", - "dev": true, - "dependencies": { - "once": "^1.3.0", - "wrappy": "1" - } - }, - "node_modules/inherits": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", - "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true - }, - "node_modules/is-arrayish": { - "version": "0.2.1", - "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", - "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true - }, - "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", - "dev": true, - "dependencies": { - "hasown": "^2.0.2" - }, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/is-fullwidth-code-point": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/is-generator-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", - "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, - "node_modules/is-stream": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", - "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/isexe": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", - "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true - }, - "node_modules/istanbul-lib-coverage": { - "version": "3.2.2", - "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", - "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/istanbul-lib-instrument": { - "version": "6.0.3", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", - "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", - "dev": true, - "dependencies": { - "@babel/core": "^7.23.9", - "@babel/parser": "^7.23.9", - "@istanbuljs/schema": "^0.1.3", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^7.5.4" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-report": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", - "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", - "dev": true, - "dependencies": { - "istanbul-lib-coverage": "^3.0.0", - "make-dir": "^4.0.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", - "dev": true, - "dependencies": { - "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/istanbul-reports": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", - "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", - "dev": true, - "dependencies": { - "html-escaper": "^2.0.0", - "istanbul-lib-report": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/jake": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", - "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", - "dev": true, - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.4", - "minimatch": "^3.1.2" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", - "dev": true, - "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" - }, - "bin": { - "jest": "bin/jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" - }, - "peerDependenciesMeta": { - "node-notifier": { - "optional": true - } - } - }, - "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", - "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "@types/node": "*", - "ts-node": ">=9.0.0" - }, - "peerDependenciesMeta": { - "@types/node": { - "optional": true - }, - "ts-node": { - "optional": true - } - } - }, - "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", - "dev": true, - "dependencies": { - "detect-newline": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", - "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" - } - }, - "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", - "dev": true, - "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "stack-utils": "^2.0.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } - } - }, - "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", - "dev": true, - "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0", - "strip-bom": "^4.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", - "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "leven": "^3.1.0", - "pretty-format": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-validate/node_modules/camelcase": { - "version": "6.3.0", - "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", - "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", - "dev": true, - "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", - "dev": true, - "dependencies": { - "@types/node": "*", - "jest-util": "^29.7.0", - "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-worker/node_modules/supports-color": { - "version": "8.1.1", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", - "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/supports-color?sponsor=1" - } - }, - "node_modules/js-tokens": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", - "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true - }, - "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", - "dev": true, - "dependencies": { - "argparse": "^1.0.7", - "esprima": "^4.0.0" - }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", - "dev": true, - "bin": { - "jsesc": "bin/jsesc" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/json-parse-even-better-errors": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", - "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true - }, - "node_modules/json5": { - "version": "2.2.3", - "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", - "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", - "dev": true, - "bin": { - "json5": "lib/cli.js" - }, - "engines": { - "node": ">=6" - } - }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/leven": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", - "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/lines-and-columns": { - "version": "1.2.4", - "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", - "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true - }, - "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", - "dev": true, - "dependencies": { - "p-locate": "^4.1.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/lodash.memoize": { - "version": "4.1.2", - "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", - "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true - }, - "node_modules/lru-cache": { - "version": "5.1.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", - "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", - "dev": true, - "dependencies": { - "yallist": "^3.0.2" - } - }, - "node_modules/make-dir": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", - "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", - "dev": true, - "dependencies": { - "semver": "^7.5.3" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/make-dir/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/make-error": { - "version": "1.3.6", - "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", - "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", - "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } - }, - "node_modules/merge-stream": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", - "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", - "dev": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } - }, - "node_modules/mimic-fn": { - "version": "2.1.0", - "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", - "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", - "dev": true, - "dependencies": { - "brace-expansion": "^1.1.7" - }, - "engines": { - "node": "*" - } - }, - "node_modules/ms": { - "version": "2.1.3", - "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", - "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true - }, - "node_modules/natural-compare": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", - "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true - }, - "node_modules/node-int64": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", - "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true - }, - "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", - "dev": true - }, - "node_modules/normalize-path": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", - "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/npm-run-path": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", - "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", - "dev": true, - "dependencies": { - "path-key": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/once": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", - "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", - "dev": true, - "dependencies": { - "wrappy": "1" - } - }, - "node_modules/onetime": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", - "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", - "dev": true, - "dependencies": { - "mimic-fn": "^2.1.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-limit": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", - "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", - "dev": true, - "dependencies": { - "yocto-queue": "^0.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", - "dev": true, - "dependencies": { - "p-try": "^2.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/p-try": { - "version": "2.2.0", - "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", - "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/parse-json": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", - "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.0.0", - "error-ex": "^1.3.1", - "json-parse-even-better-errors": "^2.3.0", - "lines-and-columns": "^1.1.6" - }, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/path-exists": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", - "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/path-key": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", - "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/path-parse": { - "version": "1.0.7", - "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", - "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true - }, - "node_modules/picocolors": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", - "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true - }, - "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", - "dev": true, - "engines": { - "node": ">=8.6" - }, - "funding": { - "url": "https://github.com/sponsors/jonschlinkert" - } - }, - "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", - "dev": true, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pkg-dir": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", - "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", - "dev": true, - "dependencies": { - "find-up": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", - "dev": true, - "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/pretty-format/node_modules/ansi-styles": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", - "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/ansi-styles?sponsor=1" - } - }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, - "node_modules/pure-rand": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", - "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", - "dev": true, - "funding": [ - { - "type": "individual", - "url": "https://github.com/sponsors/dubzzz" - }, - { - "type": "opencollective", - "url": "https://opencollective.com/fast-check" - } - ] - }, - "node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true - }, - "node_modules/require-directory": { - "version": "2.1.1", - "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", - "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", - "dev": true, - "dependencies": { - "is-core-module": "^2.13.0", - "path-parse": "^1.0.7", - "supports-preserve-symlinks-flag": "^1.0.0" - }, - "bin": { - "resolve": "bin/resolve" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/resolve-cwd": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", - "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", - "dev": true, - "dependencies": { - "resolve-from": "^5.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve-from": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", - "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/resolve.exports": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", - "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/semver": { - "version": "6.3.1", - "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", - "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - } - }, - "node_modules/shebang-command": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", - "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", - "dev": true, - "dependencies": { - "shebang-regex": "^3.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/shebang-regex": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", - "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/signal-exit": { - "version": "3.0.7", - "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", - "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true - }, - "node_modules/slash": { - "version": "3.0.0", - "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", - "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/source-map": { - "version": "0.6.1", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", - "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, - "node_modules/sprintf-js": { - "version": "1.0.3", - "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", - "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true - }, - "node_modules/stack-utils": { - "version": "2.0.6", - "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", - "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", - "dev": true, - "dependencies": { - "escape-string-regexp": "^2.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-length": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", - "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", - "dev": true, - "dependencies": { - "char-regex": "^1.0.2", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/string-width": { - "version": "4.2.3", - "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", - "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", - "dev": true, - "dependencies": { - "emoji-regex": "^8.0.0", - "is-fullwidth-code-point": "^3.0.0", - "strip-ansi": "^6.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-ansi": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", - "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", - "dev": true, - "dependencies": { - "ansi-regex": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-bom": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", - "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", - "dev": true, - "engines": { - "node": ">=8" - } - }, - "node_modules/strip-final-newline": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", - "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", - "dev": true, - "engines": { - "node": ">=6" - } - }, - "node_modules/strip-json-comments": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", - "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", - "dev": true, - "engines": { - "node": ">=8" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dev": true, - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", - "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", - "dev": true, - "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/ts-jest": { - "version": "29.2.5", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.5.tgz", - "integrity": "sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==", - "dev": true, - "dependencies": { - "bs-logger": "^0.2.6", - "ejs": "^3.1.10", - "fast-json-stable-stringify": "^2.1.0", - "jest-util": "^29.0.0", - "json5": "^2.2.3", - "lodash.memoize": "^4.1.2", - "make-error": "^1.3.6", - "semver": "^7.6.3", - "yargs-parser": "^21.1.1" - }, - "bin": { - "ts-jest": "cli.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" - }, - "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", - "typescript": ">=4.3 <6" - }, - "peerDependenciesMeta": { - "@babel/core": { - "optional": true - }, - "@jest/transform": { - "optional": true - }, - "@jest/types": { - "optional": true - }, - "babel-jest": { - "optional": true - }, - "esbuild": { - "optional": true - } - } - }, - "node_modules/ts-jest/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, - "node_modules/type-detect": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", - "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", - "dev": true, - "engines": { - "node": ">=4" - } - }, - "node_modules/type-fest": { - "version": "0.21.3", - "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", - "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", - "dev": true, - "peer": true, - "bin": { - "tsc": "bin/tsc", - "tsserver": "bin/tsserver" - }, - "engines": { - "node": ">=14.17" - } - }, - "node_modules/undici-types": { - "version": "6.20.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-6.20.0.tgz", - "integrity": "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg==", - "dev": true - }, - "node_modules/update-browserslist-db": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", - "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", - "dev": true, - "funding": [ - { - "type": "opencollective", - "url": "https://opencollective.com/browserslist" - }, - { - "type": "tidelift", - "url": "https://tidelift.com/funding/github/npm/browserslist" - }, - { - "type": "github", - "url": "https://github.com/sponsors/ai" - } - ], - "dependencies": { - "escalade": "^3.2.0", - "picocolors": "^1.1.0" - }, - "bin": { - "update-browserslist-db": "cli.js" - }, - "peerDependencies": { - "browserslist": ">= 4.21.0" - } - }, - "node_modules/v8-to-istanbul": { - "version": "9.3.0", - "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", - "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", - "dev": true, - "dependencies": { - "@jridgewell/trace-mapping": "^0.3.12", - "@types/istanbul-lib-coverage": "^2.0.1", - "convert-source-map": "^2.0.0" - }, - "engines": { - "node": ">=10.12.0" - } - }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/which": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", - "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", - "dev": true, - "dependencies": { - "isexe": "^2.0.0" - }, - "bin": { - "node-which": "bin/node-which" - }, - "engines": { - "node": ">= 8" - } - }, - "node_modules/wrap-ansi": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", - "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", - "dev": true, - "dependencies": { - "ansi-styles": "^4.0.0", - "string-width": "^4.1.0", - "strip-ansi": "^6.0.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/wrap-ansi?sponsor=1" - } - }, - "node_modules/wrappy": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", - "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true - }, - "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", - "dev": true, - "dependencies": { - "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" - }, - "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" - } - }, - "node_modules/y18n": { - "version": "5.0.8", - "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", - "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/yallist": { - "version": "3.1.1", - "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", - "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true - }, - "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", - "dev": true, - "dependencies": { - "cliui": "^8.0.1", - "escalade": "^3.1.1", - "get-caller-file": "^2.0.5", - "require-directory": "^2.1.1", - "string-width": "^4.2.3", - "y18n": "^5.0.5", - "yargs-parser": "^21.1.1" - }, - "engines": { - "node": ">=12" - } - }, - "node_modules/yargs-parser": { - "version": "21.1.1", - "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", - "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", - "dev": true, - "engines": { - "node": ">=12" - } - }, - "node_modules/yocto-queue": { - "version": "0.1.0", - "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", - "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", - "dev": true, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } + "name": "do-not-publish", + "version": "0.1.0", + "lockfileVersion": 3, + "requires": true, + "packages": { + "": { + "name": "do-not-publish", + "version": "0.1.0", + "devDependencies": { + "jest": "^30.5.2", + "ts-jest": "^29.4.14" + } + }, + "node_modules/@babel/code-frame": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-validator-identifier": "^7.29.7", + "js-tokens": "^4.0.0", + "picocolors": "^1.1.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/compat-data": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/core": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", + "convert-source-map": "^2.0.0", + "debug": "^4.1.0", + "gensync": "^1.0.0-beta.2", + "json5": "^2.2.3", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/babel" + } + }, + "node_modules/@babel/generator": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", + "jsesc": "^3.0.2" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-compilation-targets": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", + "browserslist": "^4.24.0", + "lru-cache": "^5.1.1", + "semver": "^6.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-imports": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-module-transforms": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0" + } + }, + "node_modules/@babel/helper-plugin-utils": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-string-parser": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-identifier": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helper-validator-option": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/helpers": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/parser": { + "version": "7.29.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz", + "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.29.8" + }, + "bin": { + "parser": "bin/babel-parser.js" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@babel/plugin-syntax-async-generators": { + "version": "7.8.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", + "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-bigint": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", + "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-properties": { + "version": "7.12.13", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", + "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.12.13" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-class-static-block": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", + "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-attributes": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.7.tgz", + "integrity": "sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-import-meta": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", + "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-json-strings": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", + "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-jsx": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz", + "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-logical-assignment-operators": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", + "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-nullish-coalescing-operator": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", + "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-numeric-separator": { + "version": "7.10.4", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", + "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.10.4" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-object-rest-spread": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", + "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-catch-binding": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", + "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-optional-chaining": { + "version": "7.8.3", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", + "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.8.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-private-property-in-object": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", + "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-top-level-await": { + "version": "7.14.5", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", + "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.14.5" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/plugin-syntax-typescript": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz", + "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-plugin-utils": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + }, + "peerDependencies": { + "@babel/core": "^7.0.0-0" + } + }, + "node_modules/@babel/template": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/traverse": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", + "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.8", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@babel/types": { + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" + }, + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/@bcoe/v8-coverage": { + "version": "0.2.3", + "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", + "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@isaacs/cliui": { + "version": "8.0.2", + "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", + "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^5.1.2", + "string-width-cjs": "npm:string-width@^4.2.0", + "strip-ansi": "^7.0.1", + "strip-ansi-cjs": "npm:strip-ansi@^6.0.1", + "wrap-ansi": "^8.1.0", + "wrap-ansi-cjs": "npm:wrap-ansi@^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-regex": { + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-regex?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/ansi-styles": { + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/emoji-regex": { + "version": "9.2.2", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", + "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@isaacs/cliui/node_modules/string-width": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", + "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "eastasianwidth": "^0.2.0", + "emoji-regex": "^9.2.2", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@isaacs/cliui/node_modules/strip-ansi": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^6.2.2" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/strip-ansi?sponsor=1" + } + }, + "node_modules/@isaacs/cliui/node_modules/wrap-ansi": { + "version": "8.1.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", + "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^6.1.0", + "string-width": "^5.0.1", + "strip-ansi": "^7.0.1" + }, + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/@istanbuljs/load-nyc-config": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", + "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "camelcase": "^5.3.1", + "find-up": "^4.1.0", + "get-package-type": "^0.1.0", + "js-yaml": "^3.13.1", + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz", + "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-30.5.2.tgz", + "integrity": "sha512-e8sQC4pCMHPBrPX7Hk8TJr+DM5dkUnImSTNag8SEWFAFAF6xIz4AJvCKapnrdHnZxep4bxw4PhG+ZbimYBMyKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/core": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-30.5.2.tgz", + "integrity": "sha512-/jqvFWoJF7LV1a6AUpYMbMm+2yIYsHJfR474H0SCzr9k8tnO/jl9wRg6zSG6lxgf6EozNlCG4amFzWsbZSvvZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.5.2", + "@jest/pattern": "30.5.0", + "@jest/reporters": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "exit-x": "^0.2.2", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.11", + "jest-changed-files": "30.5.1", + "jest-config": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-resolve-dependencies": "30.5.2", + "jest-runner": "30.5.2", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "jest-watcher": "30.5.2", + "pretty-format": "30.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/diff-sequences": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.5.0.tgz", + "integrity": "sha512-OsqBjHXCn8cadasoAZBP6nWYvMsRhpMzGXTpxJ5aO04NlbdhIz+FVe3q49l0AwVhsz/cEmIpBes6gAFl1/dWQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/environment": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.5.2.tgz", + "integrity": "sha512-nwFPOUMbmsjNNRCpnJpB9HbSZu4C07wDDds++5j+j1MezzPLxMPDdbdUVjr2o4RULDOValnDd70taPFI1EtxAg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "jest-mock": "30.5.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/expect": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg==", + "dev": true, + "license": "MIT", + "dependencies": { + "expect": "30.5.2", + "jest-snapshot": "30.5.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/expect-utils": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.5.2.tgz", + "integrity": "sha512-d/HOLSrJUlBIl6n3LzOa7cjW3xdePm5H5gQw2lixZ/0h157l9sw3mLblzFqnPcTbhDzhRQdBOX3A3KcG73nm5Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.5.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/fake-timers": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.5.2.tgz", + "integrity": "sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "@sinonjs/fake-timers": "^15.4.0", + "@types/node": "*", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/get-type": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.5.0.tgz", + "integrity": "sha512-9/2VUPitAjmBzbvDvqrxmvB7BzWsBW0WmkkojX1ODuxX1NLGxx9gfaZpHB0z8DtJ9uhGNmZG/VXBhf8uO0OV8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/globals": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.5.2.tgz", + "integrity": "sha512-62zfS+dL+M5aTNHXCNLyqD+j4oqxTIzDYrZbpqMP8Yn+gvlAGyzC6BSPNb1ZmFOakV1RtFYX/O3FCQXSWmQdgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/types": "30.5.1", + "jest-mock": "30.5.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/pattern": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.5.0.tgz", + "integrity": "sha512-HdNQYSdRTEBNrginaqzQtTjG0HRMfrra/z6Ok7uL3S87vSlarIVohEsJsSj5edu3MiHoHjAkvPROz5ZjoKai+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "jest-regex-util": "30.5.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/react-is-18": { + "name": "react-is", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/react-is-19": { + "name": "react-is", + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.3.0.tgz", + "integrity": "sha512-UpMYezM4v5/18F28aC66AEsjXIgE02kyEMH6yLdgLXu/UTfa1Ntwck/nNLrbqJsEXW7gPb0coNO9FQse9WTovA==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/reporters": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-30.5.2.tgz", + "integrity": "sha512-ev6E9iG73twQcfAfoTnviuYkr3yOrYbzAtMFCimv2fxHXPIp9PBt2u1wNMt0aYWgl8FPwIcS8oqRJg6alnht4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@bcoe/v8-coverage": "^0.2.3", + "@jest/console": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", + "@types/node": "*", + "chalk": "^4.1.2", + "collect-v8-coverage": "^1.0.2", + "exit-x": "^0.2.2", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "istanbul-lib-coverage": "^3.0.0", + "istanbul-lib-instrument": "^6.0.0", + "istanbul-lib-report": "^3.0.0", + "istanbul-lib-source-maps": "^5.0.0", + "istanbul-reports": "^3.1.3", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", + "slash": "^3.0.0", + "string-length": "^4.0.2", + "v8-to-istanbul": "^9.0.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/@jest/schemas": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.5.0.tgz", + "integrity": "sha512-/hunigyNpc4RCjC0VaW3f5RCUZVM2+WQ65qP7z083Gmvac7or2LI50XVNOtE4YPgBpV0yxYiAgorAPGniCoJmg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@sinclair/typebox": "^0.34.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/snapshot-utils": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/snapshot-utils/-/snapshot-utils-30.5.1.tgz", + "integrity": "sha512-V3wnxNtiVmw5PPVg433Cn3VdXnsOeu/ofLw3KC04Bn2y1wIlU5kozXQn48rhrgj/02LrCVtntTEF1yBha0XSUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "natural-compare": "^1.4.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/source-map": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.5.2.tgz", + "integrity": "sha512-c5CehvkbfHX6yyNg7bMn2ylqlp9AHXuZ/3hPH/Lh5bxD/vefd/lV9HBjMqXef9yQNqkdwyZvkLSVSwB38hy8Qw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.31", + "callsites": "^3.1.0", + "convert-source-map": "^2.0.0", + "graceful-fs": "^4.2.11" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/test-result": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.5.2.tgz", + "integrity": "sha512-eO6YU5rsLfs60ne694e0IAmRgeBnoA8mu0nlxXDbl/1j5km0o2vO9/VbbUIKIH+WRKKEI+ELgwraRGn2Lhep8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.5.2", + "@jest/types": "30.5.1", + "@types/istanbul-lib-coverage": "^2.0.6", + "collect-v8-coverage": "^1.0.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/test-sequencer": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-30.5.2.tgz", + "integrity": "sha512-bmij8jZyYAC47ExT2GeP7PcrlwSNS+Bp3KeRuBH88gpcxqDv6fljN8PemS4J/lLZ79xb6mpaennQTTq0zUAVVg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/transform": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.5.2.tgz", + "integrity": "sha512-LBGwmaE886C41jDZ65eqR1YbXM7642MK3ZhTowZd5+xDlrDLuf4ePuDdDmVSvcr8NTVJ3MqxLkMbUCzuigUaoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", + "babel-plugin-istanbul": "^8.0.0", + "chalk": "^4.1.2", + "convert-source-map": "^2.0.0", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pirates": "^4.0.7", + "slash": "^3.0.0", + "write-file-atomic": "^5.0.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/types": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.5.1.tgz", + "integrity": "sha512-LvVYn83nnXPl+Rg98nvcFgjx6nRMTArhSn6RAX/w3ELn54S8A42TYZvsCMdGUqTM8S0wyXbtlQdU6Hi6dykj9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/pattern": "30.5.0", + "@jest/schemas": "30.5.0", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", + "@types/node": "*", + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jridgewell/gen-mapping": { + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/resolve-uri": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", + "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/@jridgewell/sourcemap-codec": { + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.1.0", + "@jridgewell/sourcemap-codec": "^1.4.14" + } + }, + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.4.tgz", + "integrity": "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@tybys/wasm-util": "^0.10.3" + }, + "engines": { + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" + } + }, + "node_modules/@parcel/watcher": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", + "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "detect-libc": "^2.0.3", + "is-glob": "^4.0.3", + "node-addon-api": "^7.0.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.6.0", + "@parcel/watcher-darwin-arm64": "2.6.0", + "@parcel/watcher-darwin-x64": "2.6.0", + "@parcel/watcher-freebsd-x64": "2.6.0", + "@parcel/watcher-linux-arm-glibc": "2.6.0", + "@parcel/watcher-linux-arm-musl": "2.6.0", + "@parcel/watcher-linux-arm64-glibc": "2.6.0", + "@parcel/watcher-linux-arm64-musl": "2.6.0", + "@parcel/watcher-linux-x64-glibc": "2.6.0", + "@parcel/watcher-linux-x64-musl": "2.6.0", + "@parcel/watcher-win32-arm64": "2.6.0", + "@parcel/watcher-win32-x64": "2.6.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.6.0.tgz", + "integrity": "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.6.0.tgz", + "integrity": "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.6.0.tgz", + "integrity": "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.6.0.tgz", + "integrity": "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.6.0.tgz", + "integrity": "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.6.0.tgz", + "integrity": "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.6.0.tgz", + "integrity": "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.6.0.tgz", + "integrity": "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.6.0.tgz", + "integrity": "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.6.0.tgz", + "integrity": "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.6.0.tgz", + "integrity": "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.6.0.tgz", + "integrity": "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@sinclair/typebox": { + "version": "0.34.52", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.52.tgz", + "integrity": "sha512-XiMQh7qqVlxZzcVD+kkGMNGMzcTrDMLWI7S4x7z1MkCkbDPrekpZXEUK0eZqZFMuHQg2a2DZOcDIh9o5v3Gonw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@sinonjs/commons": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", + "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "type-detect": "4.0.8" + } + }, + "node_modules/@sinonjs/fake-timers": { + "version": "15.4.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-15.4.0.tgz", + "integrity": "sha512-DsG+8/LscQIQg68J6Ef3dv10u6nVyetYn923s3/sus5eaGfTo1of5WMZSLf0UJc9KDuKPilPH0UDJCjvNbDNCA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@sinonjs/commons": "^3.0.1" + } + }, + "node_modules/@tybys/wasm-util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@types/babel__core": { + "version": "7.20.5", + "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", + "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.20.7", + "@babel/types": "^7.20.7", + "@types/babel__generator": "*", + "@types/babel__template": "*", + "@types/babel__traverse": "*" + } + }, + "node_modules/@types/babel__generator": { + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__template": { + "version": "7.4.4", + "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", + "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/parser": "^7.1.0", + "@babel/types": "^7.0.0" + } + }, + "node_modules/@types/babel__traverse": { + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/types": "^7.28.2" + } + }, + "node_modules/@types/istanbul-lib-coverage": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", + "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/istanbul-lib-report": { + "version": "3.0.3", + "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", + "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-coverage": "*" + } + }, + "node_modules/@types/istanbul-reports": { + "version": "3.0.4", + "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", + "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/istanbul-lib-report": "*" + } + }, + "node_modules/@types/node": { + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.3.tgz", + "integrity": "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==", + "dev": true, + "license": "MIT", + "dependencies": { + "undici-types": "~8.9.0" + } + }, + "node_modules/@types/stack-utils": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", + "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", + "dev": true, + "license": "MIT" + }, + "node_modules/@types/yargs": { + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/yargs-parser": "*" + } + }, + "node_modules/@types/yargs-parser": { + "version": "21.0.3", + "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", + "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@unrs/resolver-binding-android-arm-eabi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz", + "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-android-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz", + "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz", + "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz", + "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-freebsd-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz", + "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz", + "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz", + "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz", + "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz", + "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz", + "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz", + "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz", + "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz", + "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz", + "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz", + "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==", + "cpu": [ + "s390x" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz", + "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-x64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz", + "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-openharmony-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz", + "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, + "node_modules/@unrs/resolver-binding-wasm32-wasi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz", + "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==", + "cpu": [ + "wasm32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" + }, + "engines": { + "node": ">=14.0.0" + } + }, + "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz", + "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz", + "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==", + "cpu": [ + "ia32" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz", + "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/ansi-escapes": { + "version": "4.3.2", + "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", + "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "type-fest": "^0.21.3" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/ansi-regex": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", + "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/ansi-styles": { + "version": "4.3.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", + "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-convert": "^2.0.1" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/anymatch": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", + "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "normalize-path": "^3.0.0", + "picomatch": "^2.0.4" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/argparse": { + "version": "1.0.10", + "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", + "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "sprintf-js": "~1.0.2" + } + }, + "node_modules/babel-jest": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.5.2.tgz", + "integrity": "sha512-ES8WeJ2fNWPEDunyAtUfJ12nHyaWUloCHdkfK2oW5uSoQSUmjNKdWiGaXJITJwvFEWoD/evHEg/QoCXAvLaQqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "30.5.2", + "@types/babel__core": "^7.20.5", + "babel-plugin-istanbul": "^8.0.0", + "babel-preset-jest": "30.5.0", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0 || ^8.0.0-0" + } + }, + "node_modules/babel-plugin-istanbul": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-8.0.0.tgz", + "integrity": "sha512-18wCskrN3DgbuBmp1gr7LBGT8xdz5xhQQqFvFhVxbkl8VBCrMKQ2YtqBWtUal1Zrc1HTuX0011+Brjw78TCFkg==", + "dev": true, + "license": "BSD-3-Clause", + "workspaces": [ + "test/babel-8" + ], + "dependencies": { + "@babel/helper-plugin-utils": "^7.0.0", + "@istanbuljs/load-nyc-config": "^1.0.0", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-instrument": "^6.0.2", + "test-exclude": "^7.0.1" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/babel-plugin-jest-hoist": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.5.0.tgz", + "integrity": "sha512-gtGo1B+u14jrZQv6TdSWIWkTqclboo7Qn+dFAGUOIuXLFuJKAdg3U5MIWzZnW4vfUb4dX9skmAMiby86e/SF4A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/babel__core": "^7.20.5" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/babel-preset-current-node-syntax": { + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz", + "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/plugin-syntax-async-generators": "^7.8.4", + "@babel/plugin-syntax-bigint": "^7.8.3", + "@babel/plugin-syntax-class-properties": "^7.12.13", + "@babel/plugin-syntax-class-static-block": "^7.14.5", + "@babel/plugin-syntax-import-attributes": "^7.24.7", + "@babel/plugin-syntax-import-meta": "^7.10.4", + "@babel/plugin-syntax-json-strings": "^7.8.3", + "@babel/plugin-syntax-logical-assignment-operators": "^7.10.4", + "@babel/plugin-syntax-nullish-coalescing-operator": "^7.8.3", + "@babel/plugin-syntax-numeric-separator": "^7.10.4", + "@babel/plugin-syntax-object-rest-spread": "^7.8.3", + "@babel/plugin-syntax-optional-catch-binding": "^7.8.3", + "@babel/plugin-syntax-optional-chaining": "^7.8.3", + "@babel/plugin-syntax-private-property-in-object": "^7.14.5", + "@babel/plugin-syntax-top-level-await": "^7.14.5" + }, + "peerDependencies": { + "@babel/core": "^7.0.0 || ^8.0.0-0" + } + }, + "node_modules/babel-preset-jest": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.5.0.tgz", + "integrity": "sha512-ZGPn5ClP4lBDpuOK8W1yQIOy359HmbnZv3suucAlIe+SEE9yDsxV4S2PjSbH2Vc97U+WmzYD7vw3kr8NsQ/i6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "babel-plugin-jest-hoist": "30.5.0", + "babel-preset-current-node-syntax": "^1.2.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@babel/core": "^7.11.0 || ^8.0.0-beta.1 || ^8.0.0" + } + }, + "node_modules/balanced-match": { + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.26", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.26.tgz", + "integrity": "sha512-GLQdD3y6UF8iVuMJl5fHgE4jdn/ua7n+toKfLgNlg3BqQtOZjpy68T8Tup8/wGWZCDlm7KMg7tPb4MPn7oN0TQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } + }, + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^4.0.2" + }, + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/browserslist": { + "version": "4.29.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.2.tgz", + "integrity": "sha512-/u9r8k8ue4ZhHCw9ovDtltpWdXeXzjhdxCGj6vm1RGLPXb8lu33EMdoCHF5Sx8oYBS+Q/FYYNmAqlHncxR3RmA==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "MIT", + "dependencies": { + "baseline-browser-mapping": "^2.11.26", + "caniuse-lite": "^1.0.30001812", + "electron-to-chromium": "^1.5.439", + "node-releases": "^2.0.57", + "update-browserslist-db": "^1.3.3" + }, + "bin": { + "browserslist": "cli.js" + }, + "engines": { + "node": "^6 || ^7 || ^8 || ^9 || ^10 || ^11 || ^12 || >=13.7" + } + }, + "node_modules/bs-logger": { + "version": "0.2.6", + "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", + "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", + "dev": true, + "license": "MIT", + "dependencies": { + "fast-json-stable-stringify": "2.x" + }, + "engines": { + "node": ">= 6" + } + }, + "node_modules/bser": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", + "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "node-int64": "^0.4.0" + } + }, + "node_modules/callsites": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", + "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/camelcase": { + "version": "5.3.1", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", + "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/caniuse-lite": { + "version": "1.0.30001813", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001813.tgz", + "integrity": "sha512-zfjJo4rM0+fUomGDBW/xcDjhIwz/210DGvip2MAMDZ8KHcRPnOHmEgHPZP0UHlZoxr8fYKVJOqcORhYQcG4FKQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/caniuse-lite" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" + } + ], + "license": "CC-BY-4.0" + }, + "node_modules/chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/chalk?sponsor=1" + } + }, + "node_modules/char-regex": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", + "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + } + }, + "node_modules/ci-info": { + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", + "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", + "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/sibiraj-s" + } + ], + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/cjs-module-lexer": { + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.2.1.tgz", + "integrity": "sha512-Ca8swihM+/4yKecYHY52kgJd300hi2lADU/a1RxNTRe+RJ9jvqQlESpbz9DnG9mowez8qwXHB8qYdIUw9e+F5Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/cliui": { + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", + "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "dev": true, + "license": "ISC", + "dependencies": { + "string-width": "^4.2.0", + "strip-ansi": "^6.0.1", + "wrap-ansi": "^7.0.0" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/co": { + "version": "4.6.0", + "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", + "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", + "dev": true, + "license": "MIT", + "engines": { + "iojs": ">= 1.0.0", + "node": ">= 0.12.0" + } + }, + "node_modules/collect-v8-coverage": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz", + "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==", + "dev": true, + "license": "MIT" + }, + "node_modules/color-convert": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", + "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "color-name": "~1.1.4" + }, + "engines": { + "node": ">=7.0.0" + } + }, + "node_modules/color-name": { + "version": "1.1.4", + "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "dev": true, + "license": "MIT" + }, + "node_modules/convert-source-map": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", + "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", + "dev": true, + "license": "MIT" + }, + "node_modules/cross-spawn": { + "version": "7.0.6", + "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", + "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.1.0", + "shebang-command": "^2.0.0", + "which": "^2.0.1" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/debug": { + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "ms": "^2.1.3" + }, + "engines": { + "node": ">=6.0" + }, + "peerDependenciesMeta": { + "supports-color": { + "optional": true + } + } + }, + "node_modules/dedent": { + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz", + "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==", + "dev": true, + "license": "MIT", + "peerDependencies": { + "babel-plugin-macros": "^3.1.0" + }, + "peerDependenciesMeta": { + "babel-plugin-macros": { + "optional": true + } + } + }, + "node_modules/deepmerge": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", + "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=8" + } + }, + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/eastasianwidth": { + "version": "0.2.0", + "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", + "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", + "dev": true, + "license": "MIT" + }, + "node_modules/electron-to-chromium": { + "version": "1.5.440", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.440.tgz", + "integrity": "sha512-SghDzqdJokdz8zP8YNlvS74+CwLRoUPDGvP/gFA+HrKVw+pOshUAgx8pXR37xl/u16zGae746rFNWvZ/22kU2Q==", + "dev": true, + "license": "ISC" + }, + "node_modules/emittery": { + "version": "0.13.1", + "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", + "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sindresorhus/emittery?sponsor=1" + } + }, + "node_modules/emoji-regex": { + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "dev": true, + "license": "MIT" + }, + "node_modules/error-ex": { + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-arrayish": "^0.2.1" + } + }, + "node_modules/es-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, + "node_modules/escalade": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", + "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/esprima": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", + "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", + "dev": true, + "license": "BSD-2-Clause", + "bin": { + "esparse": "bin/esparse.js", + "esvalidate": "bin/esvalidate.js" + }, + "engines": { + "node": ">=4" + } + }, + "node_modules/execa": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", + "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", + "dev": true, + "license": "MIT", + "dependencies": { + "cross-spawn": "^7.0.3", + "get-stream": "^6.0.0", + "human-signals": "^2.1.0", + "is-stream": "^2.0.0", + "merge-stream": "^2.0.0", + "npm-run-path": "^4.0.1", + "onetime": "^5.1.2", + "signal-exit": "^3.0.3", + "strip-final-newline": "^2.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/execa?sponsor=1" + } + }, + "node_modules/exit-x": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/exit-x/-/exit-x-0.2.2.tgz", + "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.8.0" + } + }, + "node_modules/expect": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-0LNuMvs8/5mRYhnCR4k+lGV7fqPMs6Bnksda4S3zsCUmdxBpAn4zU4NNzXdq1pMKe/H4W5t/zVIDSJ/H3e0vDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/fb-watchman": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", + "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", + "dev": true, + "license": "Apache-2.0", + "dependencies": { + "bser": "2.1.1" + } + }, + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } + } + }, + "node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/foreground-child": { + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", + "dev": true, + "license": "ISC", + "dependencies": { + "cross-spawn": "^7.0.6", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/foreground-child/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/gensync": { + "version": "1.0.0-beta.2", + "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", + "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, + "node_modules/get-caller-file": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", + "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "dev": true, + "license": "ISC", + "engines": { + "node": "6.* || 8.* || >= 10.*" + } + }, + "node_modules/get-package-type": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", + "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.0.0" + } + }, + "node_modules/get-stream": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", + "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/glob": { + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/graceful-fs": { + "version": "4.2.11", + "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", + "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/handlebars": { + "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } + }, + "node_modules/has-flag": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", + "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/html-escaper": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", + "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", + "dev": true, + "license": "MIT" + }, + "node_modules/human-signals": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", + "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": ">=10.17.0" + } + }, + "node_modules/import-local": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", + "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", + "dev": true, + "license": "MIT", + "dependencies": { + "pkg-dir": "^4.2.0", + "resolve-cwd": "^3.0.0" + }, + "bin": { + "import-local-fixture": "fixtures/cli.js" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/imurmurhash": { + "version": "0.1.4", + "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", + "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.8.19" + } + }, + "node_modules/is-arrayish": { + "version": "0.2.1", + "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", + "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", + "dev": true, + "license": "MIT" + }, + "node_modules/is-extglob": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", + "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-fullwidth-code-point": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", + "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/is-generator-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", + "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/is-glob": { + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", + "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "is-extglob": "^2.1.1" + }, + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/is-stream": { + "version": "2.0.1", + "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", + "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/isexe": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", + "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", + "dev": true, + "license": "ISC" + }, + "node_modules/istanbul-lib-coverage": { + "version": "3.2.2", + "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", + "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=8" + } + }, + "node_modules/istanbul-lib-instrument": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", + "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@babel/core": "^7.23.9", + "@babel/parser": "^7.23.9", + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-coverage": "^3.2.0", + "semver": "^7.5.4" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-instrument/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-report": { + "version": "3.0.1", + "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", + "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "istanbul-lib-coverage": "^3.0.0", + "make-dir": "^4.0.0", + "supports-color": "^7.1.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-lib-source-maps": { + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz", + "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.23", + "debug": "^4.1.1", + "istanbul-lib-coverage": "^3.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/istanbul-reports": { + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", + "dev": true, + "license": "BSD-3-Clause", + "dependencies": { + "html-escaper": "^2.0.0", + "istanbul-lib-report": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/jackspeak": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", + "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "@isaacs/cliui": "^8.0.2" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + }, + "optionalDependencies": { + "@pkgjs/parseargs": "^0.11.0" + } + }, + "node_modules/jest": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest/-/jest-30.5.2.tgz", + "integrity": "sha512-3gnpdBIza8ijCl3iMV9ChE3hSt1+46865qqod863gQtJr1DixOkAU5DoGbi3u+XlRcw++BhZQMu/y4xBdHBvSQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "30.5.2", + "@jest/types": "30.5.1", + "import-local": "^3.2.0", + "jest-cli": "30.5.2" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-changed-files": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-30.5.1.tgz", + "integrity": "sha512-0+bvMM/ENhDI29Z8q1r4HxiDIi4G5tnBmSw4esfPQoj9q8Nik7KIyuxHkTVnnniJQf05SxpGaKDQ+4h28ynGPg==", + "dev": true, + "license": "MIT", + "dependencies": { + "execa": "^5.1.1", + "jest-util": "30.5.1", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-circus": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.2.tgz", + "integrity": "sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "co": "^4.6.0", + "dedent": "^1.6.0", + "is-generator-fn": "^2.1.0", + "jest-each": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", + "p-limit": "^3.1.0", + "pretty-format": "30.5.1", + "pure-rand": "^7.0.0", + "slash": "^3.0.0", + "stack-utils": "^2.0.6" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-cli": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.5.2.tgz", + "integrity": "sha512-YYYxUUVjFgPvgEleKNKMaYGIFgR3l3832Cl0kRL/oCiDZ03v7wImUtquHl2OOBCCNgprjZgBN5bczS/JklPBDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "exit-x": "^0.2.2", + "import-local": "^3.2.0", + "jest-config": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "yargs": "^17.7.2" + }, + "bin": { + "jest": "bin/jest.js" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { + "optional": true + } + } + }, + "node_modules/jest-config": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.5.2.tgz", + "integrity": "sha512-U6221OZekabePvGcGPf4raIBKMvYQWFHvhobDJRojOYaFMj2HaGytAdknjDhYc6JTz2fdHW9+6k0wWUDaNeOFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@jest/get-type": "30.5.0", + "@jest/pattern": "30.5.0", + "@jest/test-sequencer": "30.5.2", + "@jest/types": "30.5.1", + "babel-jest": "30.5.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "deepmerge": "^4.3.1", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-circus": "30.5.2", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-runner": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "parse-json": "^5.2.0", + "pretty-format": "30.5.1", + "slash": "^3.0.0", + "strip-json-comments": "^3.1.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "@types/node": "*", + "esbuild-register": ">=3.4.0", + "ts-node": ">=9.0.0" + }, + "peerDependenciesMeta": { + "@types/node": { + "optional": true + }, + "esbuild-register": { + "optional": true + }, + "ts-node": { + "optional": true + } + } + }, + "node_modules/jest-diff": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.2.tgz", + "integrity": "sha512-rBtHnI6BWTiWj3lM7fOLVfChx7R9B0u9VV3PRHawKs79x6ZjW1QoSrKenaigNGWlvhtoi2BqvDbABDie+Os3xQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/diff-sequences": "30.5.0", + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-docblock": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-30.5.0.tgz", + "integrity": "sha512-NwDqcxtoZi33RhuW+zJS/RVA3rmheQ8BnwpYZuc/Eruaz6seQb7+aoCeDZu/3X7W2XmD8DbSo9Pn72DbKsBFYw==", + "dev": true, + "license": "MIT", + "dependencies": { + "detect-newline": "^3.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-each": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.2.tgz", + "integrity": "sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-environment-node": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.5.2.tgz", + "integrity": "sha512-Ciz4KgTGIbojxSKpuFImgWJj5EyqfE8xMq9NxWmOXnQywHHS03H9Mv+vaCB29J5pr3JBrY27WbRV18rBdjh8Dg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "jest-mock": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-haste-map": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.5.1.tgz", + "integrity": "sha512-VIFgt67jW480YDxKfEv9IYQKrFpYt7bOCMn3VsnjK7AK9qo7p6acpnA1DHwsVOULE3dTaYew/6JaTD/d0VDHoQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "@parcel/watcher": "^2.6.0", + "@types/node": "*", + "anymatch": "^3.1.3", + "fb-watchman": "^2.0.2", + "fdir": "^6.5.0", + "graceful-fs": "^4.2.11", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", + "picomatch": "^4.0.3" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-leak-detector": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-30.5.1.tgz", + "integrity": "sha512-gt4GT2aWgEoCNTcBe4rqS74xTIUJxi+UD9SNSu9aOk5LmTEd6fS5KSTmAKAfitCCktQHNN+upUuL6EkBfFbMDQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.5.0", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-matcher-utils": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.5.2.tgz", + "integrity": "sha512-lFkB365PTIHOhPzwrb9T6gvlDnPpOZ7/c3ewOKKB7bzztqjVrtlyRL2MkyfJXpyY2u2SKw001JKrTx14fBUFcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "jest-diff": "30.5.2", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-message-util": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.5.1.tgz", + "integrity": "sha512-UdQlLdd9wL/Ys7xRErckqwD6wPlSZYueosSWuHc1r2ztGLwlgPvtSJq2+BPEgaEY13WLvfFbmhTj8pba0Sd1jg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@jest/types": "30.5.1", + "@types/stack-utils": "^2.0.3", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-util": "30.5.1", + "picomatch": "^4.0.3", + "pretty-format": "30.5.1", + "slash": "^3.0.0", + "stack-utils": "^2.0.6" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-mock": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.5.2.tgz", + "integrity": "sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/expect-utils": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "jest-util": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-regex-util": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.5.0.tgz", + "integrity": "sha512-Mg0WK7A6xRHLSA1udJ8y9f3lM0uUhFTBnLKzwPmqB9AylvpleJ6BLemR8K9dK27DY+cesDryoA7yLZCAHsPG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-resolve": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-30.5.1.tgz", + "integrity": "sha512-wprhLejRtwN6h8ZgaqC0eYjGJ1uMdGPT/+b3eFncbG4NWuuP9QL+vWwRinu9waw7hkOLcpMJGVJAMgBwsPssMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "slash": "^3.0.0", + "unrs-resolver": "^1.12.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-resolve-dependencies": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-30.5.2.tgz", + "integrity": "sha512-GMI0DP5enX9Z2qW2zFy1bOkrCfWAOPRJQ7qHt0pdfrxBPsgWxglMPrRSK2TX/wRWYxcPRSLFg3Z88qPOzHx7FQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "jest-regex-util": "30.5.0", + "jest-snapshot": "30.5.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runner": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-30.5.2.tgz", + "integrity": "sha512-/B6px7hiiNhVSRwuv9AGn0nawYvwsHeQZ3ItTd5Gp2diFd0EOKaWVeWqcbw3L88vx1GfpCKjQkxWItZCTl11Rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.5.2", + "@jest/environment": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "emittery": "^0.13.1", + "exit-x": "^0.2.2", + "graceful-fs": "^4.2.11", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-leak-detector": "30.5.1", + "jest-message-util": "30.5.1", + "jest-resolve": "30.5.1", + "jest-runtime": "30.5.2", + "jest-util": "30.5.1", + "jest-watcher": "30.5.2", + "jest-worker": "30.5.1", + "p-limit": "^3.1.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-runtime": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.5.2.tgz", + "integrity": "sha512-0paUAHBlheai10A3XSy9Xh+YBG0IROy+/qzcDPzQ/nbbXrznQzeWy5qniICWK6d3W3scaRQCVAbXdcK0ibBq4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/globals": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "cjs-module-lexer": "^2.2.0", + "collect-v8-coverage": "^1.0.2", + "es-module-lexer": "^2.1.0", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", + "slash": "^3.0.0", + "strip-bom": "^4.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-snapshot": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.5.2.tgz", + "integrity": "sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@babel/generator": "^7.27.5", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1", + "@babel/types": "^7.27.3", + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "@jest/snapshot-utils": "30.5.1", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "babel-preset-current-node-syntax": "^1.2.0", + "chalk": "^4.1.2", + "expect": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-diff": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "pretty-format": "30.5.1", + "semver": "^7.7.2", + "synckit": "^0.11.8" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-snapshot/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/jest-util": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.5.1.tgz", + "integrity": "sha512-yKuxmNy2rSbTXw+3SIPanJo+nV4/BS1p26v44IYBFMsswSQySfMMcPHErnOncda7i9HEz0q605rIhSTBVgrZTg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.3" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-validate": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-30.5.1.tgz", + "integrity": "sha512-i/buJ56wTpxihE93hQYNMfdOThS87+HGvLZzZJmU4xggPcdTYQq051iwALLCHp3q+SkCGH+EFejQZz5EbBSkkg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "camelcase": "^6.3.0", + "chalk": "^4.1.2", + "leven": "^3.1.0", + "pretty-format": "30.5.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-validate/node_modules/camelcase": { + "version": "6.3.0", + "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", + "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/jest-watcher": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-30.5.2.tgz", + "integrity": "sha512-rqRgg4R11GA9m1UsEZwQeixHsgZReCn6TOHAHtIH33yXrIvoX0OGPA20Yzzjkz7X40fZvcRSxEpQppYPcWzmcQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "emittery": "^0.13.1", + "jest-util": "30.5.1", + "string-length": "^4.0.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-worker": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.5.1.tgz", + "integrity": "sha512-Cbxh5v7AoLuFRmFJSM4/aHdQ68rjXvUWr716EE0Dh3I7T+T/3FgFKhOERGXHcU2Meftq9+9zxPM3TSNyI9D+HA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@types/node": "*", + "@ungap/structured-clone": "^1.3.0", + "jest-util": "30.5.1", + "merge-stream": "^2.0.0", + "supports-color": "^8.1.1" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/jest-worker/node_modules/supports-color": { + "version": "8.1.1", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", + "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/supports-color?sponsor=1" + } + }, + "node_modules/js-tokens": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", + "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/js-yaml": { + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", + "dev": true, + "license": "MIT", + "dependencies": { + "argparse": "^1.0.7", + "esprima": "^4.0.0" + }, + "bin": { + "js-yaml": "bin/js-yaml.js" + } + }, + "node_modules/jsesc": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", + "dev": true, + "license": "MIT", + "bin": { + "jsesc": "bin/jsesc" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/json-parse-even-better-errors": { + "version": "2.3.1", + "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", + "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", + "dev": true, + "license": "MIT" + }, + "node_modules/json5": { + "version": "2.2.3", + "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", + "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", + "dev": true, + "license": "MIT", + "bin": { + "json5": "lib/cli.js" + }, + "engines": { + "node": ">=6" + } + }, + "node_modules/leven": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", + "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/lines-and-columns": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", + "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", + "dev": true, + "license": "MIT" + }, + "node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/lodash.memoize": { + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", + "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", + "dev": true, + "license": "MIT" + }, + "node_modules/lru-cache": { + "version": "5.1.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", + "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", + "dev": true, + "license": "ISC", + "dependencies": { + "yallist": "^3.0.2" + } + }, + "node_modules/make-dir": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", + "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", + "dev": true, + "license": "MIT", + "dependencies": { + "semver": "^7.5.3" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/make-dir/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", + "dev": true, + "license": "ISC" + }, + "node_modules/merge-stream": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", + "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", + "dev": true, + "license": "MIT" + }, + "node_modules/mimic-fn": { + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", + "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/minimatch": { + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "brace-expansion": "^5.0.8" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/minimist": { + "version": "1.2.8", + "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", + "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", + "dev": true, + "license": "MIT", + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/minipass": { + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": ">=16 || 14 >=14.17" + } + }, + "node_modules/ms": { + "version": "2.1.3", + "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", + "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", + "dev": true, + "license": "MIT" + }, + "node_modules/napi-postinstall": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", + "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", + "dev": true, + "license": "MIT", + "bin": { + "napi-postinstall": "lib/cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/napi-postinstall" + } + }, + "node_modules/natural-compare": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", + "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", + "dev": true, + "license": "MIT" + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-int64": { + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", + "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-releases": { + "version": "2.0.57", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.57.tgz", + "integrity": "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } + }, + "node_modules/normalize-path": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", + "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/npm-run-path": { + "version": "4.0.1", + "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", + "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", + "dev": true, + "license": "MIT", + "dependencies": { + "path-key": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/onetime": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", + "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", + "dev": true, + "license": "MIT", + "dependencies": { + "mimic-fn": "^2.1.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-limit": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", + "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "yocto-queue": "^0.1.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/p-locate/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/p-try": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", + "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/package-json-from-dist": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", + "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", + "dev": true, + "license": "BlueOak-1.0.0" + }, + "node_modules/parse-json": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", + "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.0.0", + "error-ex": "^1.3.1", + "json-parse-even-better-errors": "^2.3.0", + "lines-and-columns": "^1.1.6" + }, + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/path-exists": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", + "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-key": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", + "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/path-scurry": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" + }, + "engines": { + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/path-scurry/node_modules/lru-cache": { + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/picocolors": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", + "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", + "dev": true, + "license": "ISC" + }, + "node_modules/picomatch": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=12" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, + "node_modules/pirates": { + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 6" + } + }, + "node_modules/pkg-dir": { + "version": "4.2.0", + "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", + "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "find-up": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pretty-format": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.5.1.tgz", + "integrity": "sha512-byhRAPguVKMQIj4kjJwJ5lAskVhfuiSdiYl/aLTWpgkGEmic2jYhJh1yE9ih8Ox44Xg9ccCT11/S6QrzSJuNrg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/react-is-18": "npm:react-is@^18.3.1", + "@jest/react-is-19": "npm:react-is@^19.2.5", + "@jest/schemas": "30.5.0", + "ansi-styles": "^5.2.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/pretty-format/node_modules/ansi-styles": { + "version": "5.2.0", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", + "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/ansi-styles?sponsor=1" + } + }, + "node_modules/pure-rand": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz", + "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==", + "dev": true, + "funding": [ + { + "type": "individual", + "url": "https://github.com/sponsors/dubzzz" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fast-check" + } + ], + "license": "MIT" + }, + "node_modules/require-directory": { + "version": "2.1.1", + "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", + "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/resolve-cwd": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", + "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", + "dev": true, + "license": "MIT", + "dependencies": { + "resolve-from": "^5.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/resolve-from": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", + "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/semver": { + "version": "6.3.1", + "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", + "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + } + }, + "node_modules/shebang-command": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", + "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", + "dev": true, + "license": "MIT", + "dependencies": { + "shebang-regex": "^3.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/shebang-regex": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", + "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/signal-exit": { + "version": "3.0.7", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", + "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/slash": { + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", + "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/source-map": { + "version": "0.6.1", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", + "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", + "dev": true, + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.10.0" + } + }, + "node_modules/sprintf-js": { + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", + "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", + "dev": true, + "license": "BSD-3-Clause" + }, + "node_modules/stack-utils": { + "version": "2.0.6", + "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", + "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "escape-string-regexp": "^2.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-length": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", + "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "char-regex": "^1.0.2", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/string-width": { + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/string-width-cjs": { + "name": "string-width", + "version": "4.2.3", + "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", + "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "dev": true, + "license": "MIT", + "dependencies": { + "emoji-regex": "^8.0.0", + "is-fullwidth-code-point": "^3.0.0", + "strip-ansi": "^6.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi": { + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-ansi-cjs": { + "name": "strip-ansi", + "version": "6.0.1", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", + "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-regex": "^5.0.1" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-bom": { + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", + "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/strip-final-newline": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", + "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6" + } + }, + "node_modules/strip-json-comments": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", + "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/synckit": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.3.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" + } + }, + "node_modules/test-exclude": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.2.tgz", + "integrity": "sha512-u9E6A+ZDYdp7a4WnarkXPZOx8Ilz46+kby6p1yZ8zsGTz9gYa6FIS7lj2oezzNKmtdyyJNNmmXDppga5GB7kSw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^10.4.1", + "minimatch": "^10.2.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/test-exclude/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/test-exclude/node_modules/brace-expansion": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", + "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "balanced-match": "^1.0.0" + } + }, + "node_modules/test-exclude/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", + "dev": true, + "license": "ISC", + "dependencies": { + "foreground-child": "^3.1.0", + "jackspeak": "^3.1.2", + "minimatch": "^9.0.4", + "minipass": "^7.1.2", + "package-json-from-dist": "^1.0.0", + "path-scurry": "^1.11.1" + }, + "bin": { + "glob": "dist/esm/bin.mjs" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/test-exclude/node_modules/glob/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", + "dev": true, + "license": "ISC", + "dependencies": { + "brace-expansion": "^2.0.2" + }, + "engines": { + "node": ">=16 || 14 >=14.17" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/test-exclude/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/test-exclude/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "dev": true, + "license": "BlueOak-1.0.0", + "dependencies": { + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + }, + "engines": { + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/ts-jest": { + "version": "29.4.14", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.14.tgz", + "integrity": "sha512-+943G6wCX5E3VpzTQhBGBFntCmdT+QAkTvUlp03edTONFBvqskuXPhpyX16xdUotO4P5HQKyppldSWjocoltLQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "bs-logger": "^0.2.6", + "fast-json-stable-stringify": "^2.1.0", + "handlebars": "^4.7.9", + "json5": "^2.2.3", + "lodash.memoize": "^4.1.2", + "make-error": "^1.3.6", + "semver": "^7.8.5", + "type-fest": "^4.41.0", + "yargs-parser": "^21.1.1" + }, + "bin": { + "ts-jest": "cli.js" + }, + "engines": { + "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" + }, + "peerDependencies": { + "@babel/core": ">=7.0.0-beta.0 <9", + "@jest/transform": "^29.0.0 || ^30.0.0", + "@jest/types": "^29.0.0 || ^30.0.0", + "babel-jest": "^29.0.0 || ^30.0.0", + "jest": "^29.0.0 || ^30.0.0", + "jest-util": "^29.0.0 || ^30.0.0", + "typescript": ">=4.3 <7" + }, + "peerDependenciesMeta": { + "@babel/core": { + "optional": true + }, + "@jest/transform": { + "optional": true + }, + "@jest/types": { + "optional": true + }, + "babel-jest": { + "optional": true + }, + "esbuild": { + "optional": true + }, + "jest-util": { + "optional": true + } + } + }, + "node_modules/ts-jest/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/ts-jest/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/tslib": { + "version": "2.8.1", + "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "dev": true, + "license": "0BSD", + "optional": true + }, + "node_modules/type-detect": { + "version": "4.0.8", + "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", + "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=4" + } + }, + "node_modules/type-fest": { + "version": "0.21.3", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", + "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/typescript": { + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", + "dev": true, + "license": "Apache-2.0", + "peer": true, + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" + }, + "engines": { + "node": ">=14.17" + } + }, + "node_modules/uglify-js": { + "version": "3.19.3", + "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", + "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", + "dev": true, + "license": "BSD-2-Clause", + "optional": true, + "bin": { + "uglifyjs": "bin/uglifyjs" + }, + "engines": { + "node": ">=0.8.0" + } + }, + "node_modules/undici-types": { + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "dev": true, + "license": "MIT" + }, + "node_modules/unrs-resolver": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz", + "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "napi-postinstall": "^0.3.4" + }, + "funding": { + "url": "https://opencollective.com/unrs-resolver" + }, + "optionalDependencies": { + "@unrs/resolver-binding-android-arm-eabi": "1.12.2", + "@unrs/resolver-binding-android-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-x64": "1.12.2", + "@unrs/resolver-binding-freebsd-x64": "1.12.2", + "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-arm64-musl": "1.12.2", + "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-loong64-musl": "1.12.2", + "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2", + "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-musl": "1.12.2", + "@unrs/resolver-binding-openharmony-arm64": "1.12.2", + "@unrs/resolver-binding-wasm32-wasi": "1.12.2", + "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2", + "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2", + "@unrs/resolver-binding-win32-x64-msvc": "1.12.2" + } + }, + "node_modules/update-browserslist-db": { + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz", + "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==", + "dev": true, + "funding": [ + { + "type": "opencollective", + "url": "https://opencollective.com/browserslist" + }, + { + "type": "tidelift", + "url": "https://tidelift.com/funding/github/npm/browserslist" + }, + { + "type": "github", + "url": "https://github.com/sponsors/ai" } + ], + "license": "MIT", + "dependencies": { + "escalade": "^3.2.0", + "picocolors": "^1.1.1" + }, + "bin": { + "update-browserslist-db": "cli.js" + }, + "peerDependencies": { + "browserslist": ">= 4.21.0" + } + }, + "node_modules/v8-to-istanbul": { + "version": "9.3.0", + "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", + "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", + "dev": true, + "license": "ISC", + "dependencies": { + "@jridgewell/trace-mapping": "^0.3.12", + "@types/istanbul-lib-coverage": "^2.0.1", + "convert-source-map": "^2.0.0" + }, + "engines": { + "node": ">=10.12.0" + } + }, + "node_modules/which": { + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", + "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", + "dev": true, + "license": "ISC", + "dependencies": { + "isexe": "^2.0.0" + }, + "bin": { + "node-which": "bin/node-which" + }, + "engines": { + "node": ">= 8" + } + }, + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" + }, + "node_modules/wrap-ansi": { + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/wrap-ansi-cjs": { + "name": "wrap-ansi", + "version": "7.0.0", + "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", + "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "dev": true, + "license": "MIT", + "dependencies": { + "ansi-styles": "^4.0.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0" + }, + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/chalk/wrap-ansi?sponsor=1" + } + }, + "node_modules/write-file-atomic": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", + "dev": true, + "license": "ISC", + "dependencies": { + "imurmurhash": "^0.1.4", + "signal-exit": "^4.0.1" + }, + "engines": { + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, + "node_modules/y18n": { + "version": "5.0.8", + "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", + "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=10" + } + }, + "node_modules/yallist": { + "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", + "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", + "dev": true, + "license": "ISC" + }, + "node_modules/yargs": { + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "dev": true, + "license": "MIT", + "dependencies": { + "cliui": "^8.0.1", + "escalade": "^3.1.1", + "get-caller-file": "^2.0.5", + "require-directory": "^2.1.1", + "string-width": "^4.2.3", + "y18n": "^5.0.5", + "yargs-parser": "^21.1.1" + }, + "engines": { + "node": ">=12" + } + }, + "node_modules/yargs-parser": { + "version": "21.1.1", + "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", + "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=12" + } + }, + "node_modules/yocto-queue": { + "version": "0.1.0", + "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", + "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } } + } } diff --git a/integration_test/package.json b/integration_test/package.json index e54c4fb..e3fd6e6 100644 --- a/integration_test/package.json +++ b/integration_test/package.json @@ -1,13 +1,10 @@ { - "name": "do-not-publish", - "version": "0.1.0", - "description": "Dummy package.json for integration testing", - "devDependencies": { - "jest": "^29.7.0", - "ts-jest": "^29.2.5" - }, - "dependencies": { - - } - } - \ No newline at end of file + "name": "do-not-publish", + "version": "0.1.0", + "description": "Dummy package.json for integration testing", + "devDependencies": { + "jest": "^30.5.2", + "ts-jest": "^29.4.14" + }, + "dependencies": {} +} diff --git a/package-lock.json b/package-lock.json index f55d4e6..7f8b623 100644 --- a/package-lock.json +++ b/package-lock.json @@ -9,77 +9,68 @@ "version": "0.3.0", "license": "Apache-2.0", "dependencies": { - "@grpc/grpc-js": "^1.12.4", - "@grpc/proto-loader": "^0.7.13", - "apache-arrow": "^21.1.0", + "@grpc/grpc-js": "^1.14.5", + "@grpc/proto-loader": "^0.8.1", + "apache-arrow": "^21.2.0", "iter-ops": "^3.5.0", - "protobufjs": "^7.4.0" + "protobufjs": "^8.8.0" }, "devDependencies": { - "@eslint/js": "^9.16.0", - "@jest/globals": "^29.7.0", - "eslint-plugin-tsdoc": "^0.4.0", - "jest": "^29.7.0", - "prettier": "^3.4.2", - "protobufjs-cli": "^1.1.3", - "ts-jest": "^29.2.5", - "tsup": "^8.3.5", - "typescript": "^5.7.2", - "typescript-eslint": "^8.17.0" - } - }, - "node_modules/@ampproject/remapping": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/@ampproject/remapping/-/remapping-2.3.0.tgz", - "integrity": "sha512-30iZtAPgz+LTIYoeivqYo853f02jBYSd5uGnGpkFV0M3xOt9aN73erkgYAmZU43x4VfqcnLxW9Kpg3R5LC4YYw==", - "dev": true, - "dependencies": { - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" + "@eslint/js": "^10.0.1", + "@jest/globals": "^30.5.2", + "eslint": "^10.0.0", + "eslint-plugin-tsdoc": "^0.5.3", + "jest": "^30.5.2", + "prettier": "^3.9.9", + "protobufjs-cli": "^2.7.0", + "ts-jest": "^29.4.14", + "tsup": "^8.5.1", + "typescript": "^6.0.3", + "typescript-eslint": "^8.71.0" } }, "node_modules/@babel/code-frame": { - "version": "7.26.2", - "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.26.2.tgz", - "integrity": "sha512-RJlIHRueQgwWitWgF8OdFYGZX328Ax5BCemNGlqHfplnRT9ESi8JkFlvaVYbS+UubVY6dpv87Fs2u5M29iNFVQ==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/code-frame/-/code-frame-7.29.7.tgz", + "integrity": "sha512-Aup7aUOfpbAUg2ROOJN6Iw5f9DMBlzu0mIkm/malLQFN/YQgO48wCj0Kxa3sEHJvPVFg7siR+qRInwXd2qhQKw==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-validator-identifier": "^7.25.9", + "@babel/helper-validator-identifier": "^7.29.7", "js-tokens": "^4.0.0", - "picocolors": "^1.0.0" + "picocolors": "^1.1.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/compat-data": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.26.3.tgz", - "integrity": "sha512-nHIxvKPniQXpmQLb0vhY3VaFb3S0YrTAwpOWJZh1wn3oJPjJk9Asva204PsBdmAE8vpzfHudT8DB0scYvy9q0g==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/compat-data/-/compat-data-7.29.7.tgz", + "integrity": "sha512-locTkQyKvwIEgBzVrn8693ebc97F2U8ZHjbXwDXJ5Fn2TCpNwTlKcaKLkdHop5c/icOFE7qt7Q9JC5hnKNa6Gg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/core": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.26.0.tgz", - "integrity": "sha512-i1SLeK+DzNnQ3LL/CswPCa/E5u4lh1k6IAEphON8F+cXt0t9euTshDru0q7/IqMa1PMPz5RnHuHscF8/ZJsStg==", - "dev": true, - "dependencies": { - "@ampproject/remapping": "^2.2.0", - "@babel/code-frame": "^7.26.0", - "@babel/generator": "^7.26.0", - "@babel/helper-compilation-targets": "^7.25.9", - "@babel/helper-module-transforms": "^7.26.0", - "@babel/helpers": "^7.26.0", - "@babel/parser": "^7.26.0", - "@babel/template": "^7.25.9", - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.26.0", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/core/-/core-7.29.7.tgz", + "integrity": "sha512-RgHBCvtjbOK2gXSNBNIkNoEc9qoVEtau3hj8gEqKQuL3HZAibKarWFEI3Lfm6EYKkLalOh8eSrj9b+ch9H/VBA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.7", + "@babel/helper-compilation-targets": "^7.29.7", + "@babel/helper-module-transforms": "^7.29.7", + "@babel/helpers": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/template": "^7.29.7", + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7", + "@jridgewell/remapping": "^2.3.5", "convert-source-map": "^2.0.0", "debug": "^4.1.0", "gensync": "^1.0.0-beta.2", @@ -95,15 +86,16 @@ } }, "node_modules/@babel/generator": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.26.3.tgz", - "integrity": "sha512-6FF/urZvD0sTeO7k6/B15pMLC4CHUv1426lzr3N01aHJTl046uCAh9LXW/fzeXXjPNCJ6iABW5XaWOsIZB93aQ==", + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/generator/-/generator-7.29.8.tgz", + "integrity": "sha512-gZbepsdh3WDtgZKWL+vTPh71LSBrm/Y4/QDZBVCcYfmeTEEuoOYwlSy+G1StfJg+/Zy550u/3TATbm7qDbbMtg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/parser": "^7.26.3", - "@babel/types": "^7.26.3", - "@jridgewell/gen-mapping": "^0.3.5", - "@jridgewell/trace-mapping": "^0.3.25", + "@babel/parser": "^7.29.8", + "@babel/types": "^7.29.8", + "@jridgewell/gen-mapping": "^0.3.12", + "@jridgewell/trace-mapping": "^0.3.28", "jsesc": "^3.0.2" }, "engines": { @@ -111,13 +103,14 @@ } }, "node_modules/@babel/helper-compilation-targets": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.25.9.tgz", - "integrity": "sha512-j9Db8Suy6yV/VHa4qzrj9yZfZxhLWQdVnRlXxmKLYlhWUVB1sB2G5sxuWYXk/whHD9iW76PmNzxZ4UCnTQTVEQ==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-compilation-targets/-/helper-compilation-targets-7.29.7.tgz", + "integrity": "sha512-wem6WaBj4NaVYVdNhLPPVacES6ZJ+KBBfSkTMD3YZxbP3rm3Di85tJU5ljaUNhaOynt+Aj0xruhYuzQBt8n71g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/compat-data": "^7.25.9", - "@babel/helper-validator-option": "^7.25.9", + "@babel/compat-data": "^7.29.7", + "@babel/helper-validator-option": "^7.29.7", "browserslist": "^4.24.0", "lru-cache": "^5.1.1", "semver": "^6.3.1" @@ -126,28 +119,40 @@ "node": ">=6.9.0" } }, + "node_modules/@babel/helper-globals": { + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-globals/-/helper-globals-7.29.7.tgz", + "integrity": "sha512-3nQVUAtvkKH9zahfWgw96Jc/uFOmjACE1kQz82E2lqWmHBgjzbNlsC22nuQTfahmWeQtTq5nQ/4Nnd2A1wj4zA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=6.9.0" + } + }, "node_modules/@babel/helper-module-imports": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.25.9.tgz", - "integrity": "sha512-tnUA4RsrmflIM6W6RFTLFSXITtl0wKjgpnLgXyowocVPrbYrLUXSBXDgTs8BlbmIzIdlBySRQjINYs2BAkiLtw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-imports/-/helper-module-imports-7.29.7.tgz", + "integrity": "sha512-ejHwrQQYcm9xnTivShn2IDOlIzInN34AXskvq9QicvCtEzq1Vzclu/tKF8Jq1Cg8JG2GL6/EmjgsCT7lXepE3g==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/traverse": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/traverse": "^7.29.7", + "@babel/types": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-module-transforms": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.26.0.tgz", - "integrity": "sha512-xO+xu6B5K2czEnQye6BHA7DolFFmS3LB7stHZFaOLb1pAwO1HWLS8fXA+eh0A2yIvltPVmx3eNNDBJA2SLHXFw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-module-transforms/-/helper-module-transforms-7.29.7.tgz", + "integrity": "sha512-UPUVSyXbOh627KiCIGQSgwWzGeBKLkaJ9PJEdrngIwMSzxLR4jS4+f1f1jb7VzBbg8nFLaYotvVPFCTqdrmTAg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-module-imports": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9", - "@babel/traverse": "^7.25.9" + "@babel/helper-module-imports": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7", + "@babel/traverse": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -157,61 +162,67 @@ } }, "node_modules/@babel/helper-plugin-utils": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.25.9.tgz", - "integrity": "sha512-kSMlyUVdWe25rEsRGviIgOWnoT/nfABVWlqt9N19/dIPWViAOW2s9wznP5tURbs/IDuNk4gPy3YdYRgH3uxhBw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-plugin-utils/-/helper-plugin-utils-7.29.7.tgz", + "integrity": "sha512-G7sHYigPY17oO5SYWnfD/0MTBwVR781S/JI643e/JhUYgVgWE/61SoW3NH9KWUKyKq5LVh3npif99Wkt6j86Jw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-string-parser": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.25.9.tgz", - "integrity": "sha512-4A/SCr/2KLd5jrtOMFzaKjVtAei3+2r/NChoBNoZ3EyP/+GlhoaEGoWOZUmFmoITP7zOJyHIMm+DYRd8o3PvHA==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-string-parser/-/helper-string-parser-7.29.7.tgz", + "integrity": "sha512-Pb5ijPrZ89GDH8223L4UP8i6QApWxs04RbPQJTeWDV0/keR2E36MeKnyr6LYmUUvqRRI+Iv87SuF1W6ErINzYw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-identifier": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.25.9.tgz", - "integrity": "sha512-Ed61U6XJc3CVRfkERJWDz4dJwKe7iLmmJsbOGu9wSloNSFttHV0I8g6UAgb7qnK5ly5bGLPd4oXZlxCdANBOWQ==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-identifier/-/helper-validator-identifier-7.29.7.tgz", + "integrity": "sha512-qehxGkRj55h/ff8EMaJ+cYhyaKlHIxqYDn682wQD7RNp9UujOQsHog2uS0r2vzr4pW+sXf90NeeayjcNaX3fFg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helper-validator-option": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.25.9.tgz", - "integrity": "sha512-e/zv1co8pp55dNdEcCynfj9X7nyUKUXoUEwfXqaZt0omVOmDe9oOTdKStH4GmAw6zxMFs50ZayuMfHDKlO7Tfw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helper-validator-option/-/helper-validator-option-7.29.7.tgz", + "integrity": "sha512-N9ZErrD+yW5geCDtBqnOoxmR8+tNKiGuxKlDpuJxfsqpa2dFcexaziGAE/qoHLiDDreVNMupxGmSoNlyvsA3gw==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/helpers": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.26.0.tgz", - "integrity": "sha512-tbhNuIxNcVb21pInl3ZSjksLCvgdZy9KwJ8brv993QtIVKJBBkYXz4q4ZbAv31GdnC+R90np23L5FbEBlthAEw==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/helpers/-/helpers-7.29.7.tgz", + "integrity": "sha512-1k2lAGRMfHTcwuNYcCNUmaUffmQv8KWMfh2iJUUeRlwlwH4FdNG7mfPI10NPfLHJFThE4Tyr4mv7kTNZOiPuBg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.0" + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/parser": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.26.3.tgz", - "integrity": "sha512-WJ/CvmY8Mea8iDXo6a7RK2wbmJITT5fN3BEkRuFlxVyNx8jOKIIhmC4fSkTcPcf8JyavbBwIe6OpiCOBXt/IcA==", + "version": "7.29.9", + "resolved": "https://registry.npmjs.org/@babel/parser/-/parser-7.29.9.tgz", + "integrity": "sha512-CjXrNHTnvqBVqHgdBysY3vk2T8tpJHb5/RMeHJBTyVa9xgugCB0CJTx/3oO8RV2QRQP391RWpB7D6hLjm8V9uA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.26.3" + "@babel/types": "^7.29.8" }, "bin": { "parser": "bin/babel-parser.js" @@ -225,6 +236,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-async-generators/-/plugin-syntax-async-generators-7.8.4.tgz", "integrity": "sha512-tycmZxkGfZaxhMRbXlPXuVFpdWlXpir2W4AMhSJgRKzk/eDlIXOhb2LHWoLpDF7TEHylV5zNhykX6KAgHJmTNw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -237,6 +249,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-bigint/-/plugin-syntax-bigint-7.8.3.tgz", "integrity": "sha512-wnTnFlG+YxQm3vDxpGE57Pj0srRU4sHE/mDkt1qv2YJJSeUAec2ma4WLUnUPeKjyrfntVwe/N6dCXpU+zL3Npg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -249,6 +262,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-properties/-/plugin-syntax-class-properties-7.12.13.tgz", "integrity": "sha512-fm4idjKla0YahUNgFNLCB0qySdsoPiZP3iQE3rky0mBUtMZ23yDJ9SJdg6dXTSDnulOVqiF3Hgr9nbXvXTQZYA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.12.13" }, @@ -261,6 +275,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-class-static-block/-/plugin-syntax-class-static-block-7.14.5.tgz", "integrity": "sha512-b+YyPmr6ldyNnM6sqYeMWE+bgJcJpO6yS4QD7ymxgH34GBPNDM/THBh8iunyvKIZztiwLH4CJZ0RxTk9emgpjw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -272,12 +287,13 @@ } }, "node_modules/@babel/plugin-syntax-import-attributes": { - "version": "7.26.0", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.26.0.tgz", - "integrity": "sha512-e2dttdsJ1ZTpi3B9UYGLw41hifAubg19AtCu/2I/F1QNVclOBr1dYpTdmdyZ84Xiz43BS/tCUkMAZNLv12Pi+A==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-attributes/-/plugin-syntax-import-attributes-7.29.7.tgz", + "integrity": "sha512-zGYcYfq/WmZ4V+kBIXQon9dSSc8ircGZqw9ZaNhhGj9nZkeBu1jHLBDQqYYi5WA9uawvA2sIMbry2nCFhf5Djg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -291,6 +307,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-import-meta/-/plugin-syntax-import-meta-7.10.4.tgz", "integrity": "sha512-Yqfm+XDx0+Prh3VSeEQCPU81yC+JWZ2pDPFSS4ZdpfZhp4MkFMaDC1UqseovEKwSUpnIL7+vK+Clp7bfh0iD7g==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -303,6 +320,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-json-strings/-/plugin-syntax-json-strings-7.8.3.tgz", "integrity": "sha512-lY6kdGpWHvjoe2vk4WrAapEuBR69EMxZl+RoGRhrFGNYVK8mOPAW8VfbT/ZgrFbXlDNiiaxQnAtgVCZ6jv30EA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -311,12 +329,13 @@ } }, "node_modules/@babel/plugin-syntax-jsx": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.25.9.tgz", - "integrity": "sha512-ld6oezHQMZsZfp6pWtbjaNDF2tiiCYYDqQszHt5VV437lewP9aSi2Of99CK0D0XB21k7FLgnLcmQKyKzynfeAA==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-jsx/-/plugin-syntax-jsx-7.29.7.tgz", + "integrity": "sha512-TSu8+mHCoEaaCDEZ0I3+6mvTBYR4PCxQwf2z9/r5Tbztv6NaLR3B9thGTTxX2WGuGHJqRiAbKPeGTJ5XWXVg6A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -330,6 +349,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-logical-assignment-operators/-/plugin-syntax-logical-assignment-operators-7.10.4.tgz", "integrity": "sha512-d8waShlpFDinQ5MtvGU9xDAOzKH47+FFoney2baFIoMr952hKOLp1HR7VszoZvOsV/4+RRszNY7D17ba0te0ig==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -342,6 +362,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-nullish-coalescing-operator/-/plugin-syntax-nullish-coalescing-operator-7.8.3.tgz", "integrity": "sha512-aSff4zPII1u2QD7y+F8oDsz19ew4IGEJg9SVW+bqwpwtfFleiQDMdzA/R+UlWDzfnHFCxxleFT0PMIrR36XLNQ==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -354,6 +375,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-numeric-separator/-/plugin-syntax-numeric-separator-7.10.4.tgz", "integrity": "sha512-9H6YdfkcK/uOnY/K7/aA2xpzaAgkQn37yzWUMRK7OaPOqOpGS1+n0H5hxT9AUw9EsSjPW8SVyMJwYRtWs3X3ug==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.10.4" }, @@ -366,6 +388,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-object-rest-spread/-/plugin-syntax-object-rest-spread-7.8.3.tgz", "integrity": "sha512-XoqMijGZb9y3y2XskN+P1wUGiVwWZ5JmoDRwx5+3GmEplNyVM2s2Dg8ILFQm8rWM48orGy5YpI5Bl8U1y7ydlA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -378,6 +401,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-catch-binding/-/plugin-syntax-optional-catch-binding-7.8.3.tgz", "integrity": "sha512-6VPD0Pc1lpTqw0aKoeRTMiB+kWhAoT24PA+ksWSBrFtl5SIRVpZlwN3NNPQjehA2E/91FV3RjLWoVTglWcSV3Q==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -390,6 +414,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-optional-chaining/-/plugin-syntax-optional-chaining-7.8.3.tgz", "integrity": "sha512-KoK9ErH1MBlCPxV0VANkXW2/dw4vlbGDrFgz8bmUsBGYkFRcbRwMh6cIJubdPrkxRwuGdtCk0v/wPTKbQgBjkg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.8.0" }, @@ -402,6 +427,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-private-property-in-object/-/plugin-syntax-private-property-in-object-7.14.5.tgz", "integrity": "sha512-0wVnp9dxJ72ZUJDV27ZfbSj6iHLoytYZmh3rFcxNnvsJF3ktkzLDZPy/mA17HGsaQT3/DQsWYX1f1QGWkCoVUg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -417,6 +443,7 @@ "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-top-level-await/-/plugin-syntax-top-level-await-7.14.5.tgz", "integrity": "sha512-hx++upLv5U1rgYfwe1xBQUhRmU41NEvpUvrp8jkrSCdvGSnM5/qdRMtylJ6PG5OFkBaHkbTAKTnd3/YyESRHFw==", "dev": true, + "license": "MIT", "dependencies": { "@babel/helper-plugin-utils": "^7.14.5" }, @@ -428,12 +455,13 @@ } }, "node_modules/@babel/plugin-syntax-typescript": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.25.9.tgz", - "integrity": "sha512-hjMgRy5hb8uJJjUcdWunWVcoi9bGpJp8p5Ol1229PoN6aytsLwNMgmdftO23wnCLMfVmTwZDWMPNq/D1SY60JQ==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/plugin-syntax-typescript/-/plugin-syntax-typescript-7.29.7.tgz", + "integrity": "sha512-ngr+82Sh0xMz25TPCZi+nC2iTzjfCdWS2ONXTp/PtSCHCgaCNBpdMqgvJ2ccdLlClVZ7sisIgB914j/JFe+RZA==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-plugin-utils": "^7.25.9" + "@babel/helper-plugin-utils": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -443,45 +471,48 @@ } }, "node_modules/@babel/template": { - "version": "7.25.9", - "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.25.9.tgz", - "integrity": "sha512-9DGttpmPvIxBb/2uwpVo3dqJ+O6RooAFOS+lB+xDqoE2PVCE8nfoHMdZLpfCQRLwvohzXISPZcgxt80xLfsuwg==", + "version": "7.29.7", + "resolved": "https://registry.npmjs.org/@babel/template/-/template-7.29.7.tgz", + "integrity": "sha512-puq+Gf35oI24FeN11LkoUQFqv9uwNeWpxXZi/Ji3rRIoKAzKnxRaZ+Gkj0vKS9ZCiTESfng1N9LyOyXvo+m+Gg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.25.9", - "@babel/parser": "^7.25.9", - "@babel/types": "^7.25.9" + "@babel/code-frame": "^7.29.7", + "@babel/parser": "^7.29.7", + "@babel/types": "^7.29.7" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/traverse": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.26.3.tgz", - "integrity": "sha512-yTmc8J+Sj8yLzwr4PD5Xb/WF3bOYu2C2OoSZPzbuqRm4n98XirsbzaX+GloeO376UnSYIYJ4NCanwV5/ugZkwA==", + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/traverse/-/traverse-7.29.8.tgz", + "integrity": "sha512-I5z7H3bf/41ktsNVLtpN0wAa336HkqIHQ5BuPLEhTkt1jVSyZpeNKIzTgEWmlxjdg81R0IgUCcaE+Ok3NvrfZg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/code-frame": "^7.26.2", - "@babel/generator": "^7.26.3", - "@babel/parser": "^7.26.3", - "@babel/template": "^7.25.9", - "@babel/types": "^7.26.3", - "debug": "^4.3.1", - "globals": "^11.1.0" + "@babel/code-frame": "^7.29.7", + "@babel/generator": "^7.29.8", + "@babel/helper-globals": "^7.29.7", + "@babel/parser": "^7.29.8", + "@babel/template": "^7.29.7", + "@babel/types": "^7.29.8", + "debug": "^4.3.1" }, "engines": { "node": ">=6.9.0" } }, "node_modules/@babel/types": { - "version": "7.26.3", - "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.26.3.tgz", - "integrity": "sha512-vN5p+1kl59GVKMvTHt55NzzmYVxprfJD+ql7U9NFIfKCBkYE55LYtS+WtPlaYOyzydrKI8Nezd+aZextrd+FMA==", + "version": "7.29.8", + "resolved": "https://registry.npmjs.org/@babel/types/-/types-7.29.8.tgz", + "integrity": "sha512-Vj1jF3cPfxg7OAfoI7QnVKLoILlm2JF9pnVHrX8qx7AHMiYWT+NDAA7jChlNgRS4WTLc/fD1lXLmPixluj+3Gg==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/helper-string-parser": "^7.25.9", - "@babel/helper-validator-identifier": "^7.25.9" + "@babel/helper-string-parser": "^7.29.7", + "@babel/helper-validator-identifier": "^7.29.7" }, "engines": { "node": ">=6.9.0" @@ -491,16 +522,78 @@ "version": "0.2.3", "resolved": "https://registry.npmjs.org/@bcoe/v8-coverage/-/v8-coverage-0.2.3.tgz", "integrity": "sha512-0hYQ8SB4Db5zvZB4axdMHGwEaQjkZzFjQiN9LVYvIFB2nSUHW9tYpxWriPrWDASIxiaXax83REcLxuSdnGPZtw==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/@cacheable/memory": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/@cacheable/memory/-/memory-2.2.0.tgz", + "integrity": "sha512-CTLKqLItRCEixEAewD3/j9DB3/o96gpTPD4eJ1v+DGOlxZRZncRQkGYqqnAGCscYd6RNeXfGeiuCphsPtqyIfQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/utils": "^2.5.0", + "@keyv/bigmap": "^1.3.1", + "hookified": "^1.15.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@cacheable/utils": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/@cacheable/utils/-/utils-2.5.0.tgz", + "integrity": "sha512-buipgOVDkkPXNR5+xBpDw7Zk2n1EvU7qBJCNUcL7rhQ//kfpOXPAvQ511Os0vpLYJ1pZnvudNytkQt2hst3wqA==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.5.1", + "keyv": "^5.6.0" + } + }, + "node_modules/@emnapi/core": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/core/-/core-1.10.0.tgz", + "integrity": "sha512-yq6OkJ4p82CAfPl0u9mQebQHKPJkY7WrIuk205cTYnYe+k2Z8YBh11FrbRG/H6ihirqcacOgl2BIO8oyMQLeXw==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "@emnapi/wasi-threads": "1.2.1", + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/runtime": { + "version": "1.10.0", + "resolved": "https://registry.npmjs.org/@emnapi/runtime/-/runtime-1.10.0.tgz", + "integrity": "sha512-ewvYlk86xUoGI0zQRNq/mC+16R1QeDlKQy21Ki3oSYXNgLb45GV1P6A0M+/s6nyCuNDqe5VpaY84BzXGwVbwFA==", + "dev": true, + "license": "MIT", + "optional": true, + "peer": true, + "dependencies": { + "tslib": "^2.4.0" + } + }, + "node_modules/@emnapi/wasi-threads": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@emnapi/wasi-threads/-/wasi-threads-1.2.1.tgz", + "integrity": "sha512-uTII7OYF+/Mes/MrcIOYp5yOtSMLBWSIoLPpcgwipoiKbli6k322tcoFsxoIIxPDqW01SQGAgko4EzZi2BNv2w==", + "dev": true, + "license": "MIT", + "optional": true, + "dependencies": { + "tslib": "^2.4.0" + } }, "node_modules/@esbuild/aix-ppc64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.24.0.tgz", - "integrity": "sha512-WtKdFM7ls47zkKHFVzMz8opM7LkcsIp9amDUBIAWirg70RM71WRSjdILPsY5Uv1D42ZpUfaPILDlfactHgsRkw==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.27.7.tgz", + "integrity": "sha512-EKX3Qwmhz1eMdEJokhALr0YiD0lhQNwDqkPYyPhiSwKrh7/4KRjQc04sZ8db+5DVVnZ1LmbNDI1uAMPEUBnQPg==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "aix" @@ -510,13 +603,14 @@ } }, "node_modules/@esbuild/android-arm": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.24.0.tgz", - "integrity": "sha512-arAtTPo76fJ/ICkXWetLCc9EwEHKaeya4vMrReVlEIUCAUncH7M4bhMQ+M9Vf+FFOZJdTNMXNBrWwW+OXWpSew==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm/-/android-arm-0.27.7.tgz", + "integrity": "sha512-jbPXvB4Yj2yBV7HUfE2KHe4GJX51QplCN1pGbYjvsyCZbQmies29EoJbkEc+vYuU5o45AfQn37vZlyXy4YJ8RQ==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -526,13 +620,14 @@ } }, "node_modules/@esbuild/android-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.24.0.tgz", - "integrity": "sha512-Vsm497xFM7tTIPYK9bNTYJyF/lsP590Qc1WxJdlB6ljCbdZKU9SY8i7+Iin4kyhV/KV5J2rOKsBQbB77Ab7L/w==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-arm64/-/android-arm64-0.27.7.tgz", + "integrity": "sha512-62dPZHpIXzvChfvfLJow3q5dDtiNMkwiRzPylSCfriLvZeq0a1bWChrGx/BbUbPwOrsWKMn8idSllklzBy+dgQ==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -542,13 +637,14 @@ } }, "node_modules/@esbuild/android-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.24.0.tgz", - "integrity": "sha512-t8GrvnFkiIY7pa7mMgJd7p8p8qqYIz1NYiAoKc75Zyv73L3DZW++oYMSHPRarcotTKuSs6m3hTOa5CKHaS02TQ==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/android-x64/-/android-x64-0.27.7.tgz", + "integrity": "sha512-x5VpMODneVDb70PYV2VQOmIUUiBtY3D3mPBG8NxVk5CogneYhkR7MmM3yR/uMdITLrC1ml/NV1rj4bMJuy9MCg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" @@ -558,13 +654,14 @@ } }, "node_modules/@esbuild/darwin-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.24.0.tgz", - "integrity": "sha512-CKyDpRbK1hXwv79soeTJNHb5EiG6ct3efd/FTPdzOWdbZZfGhpbcqIpiD0+vwmpu0wTIL97ZRPZu8vUt46nBSw==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-arm64/-/darwin-arm64-0.27.7.tgz", + "integrity": "sha512-5lckdqeuBPlKUwvoCXIgI2D9/ABmPq3Rdp7IfL70393YgaASt7tbju3Ac+ePVi3KDH6N2RqePfHnXkaDtY9fkw==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -574,13 +671,14 @@ } }, "node_modules/@esbuild/darwin-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.24.0.tgz", - "integrity": "sha512-rgtz6flkVkh58od4PwTRqxbKH9cOjaXCMZgWD905JOzjFKW+7EiUObfd/Kav+A6Gyud6WZk9w+xu6QLytdi2OA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/darwin-x64/-/darwin-x64-0.27.7.tgz", + "integrity": "sha512-rYnXrKcXuT7Z+WL5K980jVFdvVKhCHhUwid+dDYQpH+qu+TefcomiMAJpIiC2EM3Rjtq0sO3StMV/+3w3MyyqQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -590,13 +688,14 @@ } }, "node_modules/@esbuild/freebsd-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.24.0.tgz", - "integrity": "sha512-6Mtdq5nHggwfDNLAHkPlyLBpE5L6hwsuXZX8XNmHno9JuL2+bg2BX5tRkwjyfn6sKbxZTq68suOjgWqCicvPXA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-arm64/-/freebsd-arm64-0.27.7.tgz", + "integrity": "sha512-B48PqeCsEgOtzME2GbNM2roU29AMTuOIN91dsMO30t+Ydis3z/3Ngoj5hhnsOSSwNzS+6JppqWsuhTp6E82l2w==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -606,13 +705,14 @@ } }, "node_modules/@esbuild/freebsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.24.0.tgz", - "integrity": "sha512-D3H+xh3/zphoX8ck4S2RxKR6gHlHDXXzOf6f/9dbFt/NRBDIE33+cVa49Kil4WUjxMGW0ZIYBYtaGCa2+OsQwQ==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/freebsd-x64/-/freebsd-x64-0.27.7.tgz", + "integrity": "sha512-jOBDK5XEjA4m5IJK3bpAQF9/Lelu/Z9ZcdhTRLf4cajlB+8VEhFFRjWgfy3M1O4rO2GQ/b2dLwCUGpiF/eATNQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" @@ -622,13 +722,14 @@ } }, "node_modules/@esbuild/linux-arm": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.24.0.tgz", - "integrity": "sha512-gJKIi2IjRo5G6Glxb8d3DzYXlxdEj2NlkixPsqePSZMhLudqPhtZ4BUrpIuTjJYXxvF9njql+vRjB2oaC9XpBw==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm/-/linux-arm-0.27.7.tgz", + "integrity": "sha512-RkT/YXYBTSULo3+af8Ib0ykH8u2MBh57o7q/DAs3lTJlyVQkgQvlrPTnjIzzRPQyavxtPtfg0EopvDyIt0j1rA==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -638,13 +739,14 @@ } }, "node_modules/@esbuild/linux-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.24.0.tgz", - "integrity": "sha512-TDijPXTOeE3eaMkRYpcy3LarIg13dS9wWHRdwYRnzlwlA370rNdZqbcp0WTyyV/k2zSxfko52+C7jU5F9Tfj1g==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-arm64/-/linux-arm64-0.27.7.tgz", + "integrity": "sha512-RZPHBoxXuNnPQO9rvjh5jdkRmVizktkT7TCDkDmQ0W2SwHInKCAV95GRuvdSvA7w4VMwfCjUiPwDi0ZO6Nfe9A==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -654,13 +756,14 @@ } }, "node_modules/@esbuild/linux-ia32": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.24.0.tgz", - "integrity": "sha512-K40ip1LAcA0byL05TbCQ4yJ4swvnbzHscRmUilrmP9Am7//0UjPreh4lpYzvThT2Quw66MhjG//20mrufm40mA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ia32/-/linux-ia32-0.27.7.tgz", + "integrity": "sha512-GA48aKNkyQDbd3KtkplYWT102C5sn/EZTY4XROkxONgruHPU72l+gW+FfF8tf2cFjeHaRbWpOYa/uRBz/Xq1Pg==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -670,13 +773,14 @@ } }, "node_modules/@esbuild/linux-loong64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.24.0.tgz", - "integrity": "sha512-0mswrYP/9ai+CU0BzBfPMZ8RVm3RGAN/lmOMgW4aFUSOQBjA31UP8Mr6DDhWSuMwj7jaWOT0p0WoZ6jeHhrD7g==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-loong64/-/linux-loong64-0.27.7.tgz", + "integrity": "sha512-a4POruNM2oWsD4WKvBSEKGIiWQF8fZOAsycHOt6JBpZ+JN2n2JH9WAv56SOyu9X5IqAjqSIPTaJkqN8F7XOQ5Q==", "cpu": [ "loong64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -686,13 +790,14 @@ } }, "node_modules/@esbuild/linux-mips64el": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.24.0.tgz", - "integrity": "sha512-hIKvXm0/3w/5+RDtCJeXqMZGkI2s4oMUGj3/jM0QzhgIASWrGO5/RlzAzm5nNh/awHE0A19h/CvHQe6FaBNrRA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-mips64el/-/linux-mips64el-0.27.7.tgz", + "integrity": "sha512-KabT5I6StirGfIz0FMgl1I+R1H73Gp0ofL9A3nG3i/cYFJzKHhouBV5VWK1CSgKvVaG4q1RNpCTR2LuTVB3fIw==", "cpu": [ "mips64el" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -702,13 +807,14 @@ } }, "node_modules/@esbuild/linux-ppc64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.24.0.tgz", - "integrity": "sha512-HcZh5BNq0aC52UoocJxaKORfFODWXZxtBaaZNuN3PUX3MoDsChsZqopzi5UupRhPHSEHotoiptqikjN/B77mYQ==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-ppc64/-/linux-ppc64-0.27.7.tgz", + "integrity": "sha512-gRsL4x6wsGHGRqhtI+ifpN/vpOFTQtnbsupUF5R5YTAg+y/lKelYR1hXbnBdzDjGbMYjVJLJTd2OFmMewAgwlQ==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -718,13 +824,14 @@ } }, "node_modules/@esbuild/linux-riscv64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.24.0.tgz", - "integrity": "sha512-bEh7dMn/h3QxeR2KTy1DUszQjUrIHPZKyO6aN1X4BCnhfYhuQqedHaa5MxSQA/06j3GpiIlFGSsy1c7Gf9padw==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-riscv64/-/linux-riscv64-0.27.7.tgz", + "integrity": "sha512-hL25LbxO1QOngGzu2U5xeXtxXcW+/GvMN3ejANqXkxZ/opySAZMrc+9LY/WyjAan41unrR3YrmtTsUpwT66InQ==", "cpu": [ "riscv64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -734,13 +841,14 @@ } }, "node_modules/@esbuild/linux-s390x": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.24.0.tgz", - "integrity": "sha512-ZcQ6+qRkw1UcZGPyrCiHHkmBaj9SiCD8Oqd556HldP+QlpUIe2Wgn3ehQGVoPOvZvtHm8HPx+bH20c9pvbkX3g==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-s390x/-/linux-s390x-0.27.7.tgz", + "integrity": "sha512-2k8go8Ycu1Kb46vEelhu1vqEP+UeRVj2zY1pSuPdgvbd5ykAw82Lrro28vXUrRmzEsUV0NzCf54yARIK8r0fdw==", "cpu": [ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -750,13 +858,14 @@ } }, "node_modules/@esbuild/linux-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.24.0.tgz", - "integrity": "sha512-vbutsFqQ+foy3wSSbmjBXXIJ6PL3scghJoM8zCL142cGaZKAdCZHyf+Bpu/MmX9zT9Q0zFBVKb36Ma5Fzfa8xA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/linux-x64/-/linux-x64-0.27.7.tgz", + "integrity": "sha512-hzznmADPt+OmsYzw1EE33ccA+HPdIqiCRq7cQeL1Jlq2gb1+OyWBkMCrYGBJ+sxVzve2ZJEVeePbLM2iEIZSxA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" @@ -765,14 +874,32 @@ "node": ">=18" } }, + "node_modules/@esbuild/netbsd-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-arm64/-/netbsd-arm64-0.27.7.tgz", + "integrity": "sha512-b6pqtrQdigZBwZxAn1UpazEisvwaIDvdbMbmrly7cDTMFnw/+3lVxxCTGOrkPVnsYIosJJXAsILG9XcQS+Yu6w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "netbsd" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@esbuild/netbsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.24.0.tgz", - "integrity": "sha512-hjQ0R/ulkO8fCYFsG0FZoH+pWgTTDreqpqY7UnQntnaKv95uP5iW3+dChxnx7C3trQQU40S+OgWhUVwCjVFLvg==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/netbsd-x64/-/netbsd-x64-0.27.7.tgz", + "integrity": "sha512-OfatkLojr6U+WN5EDYuoQhtM+1xco+/6FSzJJnuWiUw5eVcicbyK3dq5EeV/QHT1uy6GoDhGbFpprUiHUYggrw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "netbsd" @@ -782,13 +909,14 @@ } }, "node_modules/@esbuild/openbsd-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.24.0.tgz", - "integrity": "sha512-MD9uzzkPQbYehwcN583yx3Tu5M8EIoTD+tUgKF982WYL9Pf5rKy9ltgD0eUgs8pvKnmizxjXZyLt0z6DC3rRXg==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-arm64/-/openbsd-arm64-0.27.7.tgz", + "integrity": "sha512-AFuojMQTxAz75Fo8idVcqoQWEHIXFRbOc1TrVcFSgCZtQfSdc1RXgB3tjOn/krRHENUB4j00bfGjyl2mJrU37A==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -798,13 +926,14 @@ } }, "node_modules/@esbuild/openbsd-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.24.0.tgz", - "integrity": "sha512-4ir0aY1NGUhIC1hdoCzr1+5b43mw99uNwVzhIq1OY3QcEwPDO3B7WNXBzaKY5Nsf1+N11i1eOfFcq+D/gOS15Q==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openbsd-x64/-/openbsd-x64-0.27.7.tgz", + "integrity": "sha512-+A1NJmfM8WNDv5CLVQYJ5PshuRm/4cI6WMZRg1by1GwPIQPCTs1GLEUHwiiQGT5zDdyLiRM/l1G0Pv54gvtKIg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "openbsd" @@ -813,14 +942,32 @@ "node": ">=18" } }, + "node_modules/@esbuild/openharmony-arm64": { + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/openharmony-arm64/-/openharmony-arm64-0.27.7.tgz", + "integrity": "sha512-+KrvYb/C8zA9CU/g0sR6w2RBw7IGc5J2BPnc3dYc5VJxHCSF1yNMxTV5LQ7GuKteQXZtspjFbiuW5/dOj7H4Yw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ], + "engines": { + "node": ">=18" + } + }, "node_modules/@esbuild/sunos-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.24.0.tgz", - "integrity": "sha512-jVzdzsbM5xrotH+W5f1s+JtUy1UWgjU0Cf4wMvffTB8m6wP5/kx0KiaLHlbJO+dMgtxKV8RQ/JvtlFcdZ1zCPA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/sunos-x64/-/sunos-x64-0.27.7.tgz", + "integrity": "sha512-ikktIhFBzQNt/QDyOL580ti9+5mL/YZeUPKU2ivGtGjdTYoqz6jObj6nOMfhASpS4GU4Q/Clh1QtxWAvcYKamA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "sunos" @@ -830,13 +977,14 @@ } }, "node_modules/@esbuild/win32-arm64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.24.0.tgz", - "integrity": "sha512-iKc8GAslzRpBytO2/aN3d2yb2z8XTVfNV0PjGlCxKo5SgWmNXx82I/Q3aG1tFfS+A2igVCY97TJ8tnYwpUWLCA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-arm64/-/win32-arm64-0.27.7.tgz", + "integrity": "sha512-7yRhbHvPqSpRUV7Q20VuDwbjW5kIMwTHpptuUzV+AA46kiPze5Z7qgt6CLCK3pWFrHeNfDd1VKgyP4O+ng17CA==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -846,13 +994,14 @@ } }, "node_modules/@esbuild/win32-ia32": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.24.0.tgz", - "integrity": "sha512-vQW36KZolfIudCcTnaTpmLQ24Ha1RjygBo39/aLkM2kmjkWmZGEJ5Gn9l5/7tzXA42QGIoWbICfg6KLLkIw6yw==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-ia32/-/win32-ia32-0.27.7.tgz", + "integrity": "sha512-SmwKXe6VHIyZYbBLJrhOoCJRB/Z1tckzmgTLfFYOfpMAx63BJEaL9ExI8x7v0oAO3Zh6D/Oi1gVxEYr5oUCFhw==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -862,13 +1011,14 @@ } }, "node_modules/@esbuild/win32-x64": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.24.0.tgz", - "integrity": "sha512-7IAFPrjSQIJrGsK6flwg7NFmwBoSTyF3rl7If0hNUFQU4ilTsEPL6GuMuU9BfIWVVGuRnuIidkSMC+c0Otu8IA==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/@esbuild/win32-x64/-/win32-x64-0.27.7.tgz", + "integrity": "sha512-56hiAJPhwQ1R4i+21FVF7V8kSD5zZTdHcVuRFMW0hn753vVfQN8xlx4uOPT4xoGH0Z/oVATuR82AiqSTDIpaHg==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" @@ -878,10 +1028,11 @@ } }, "node_modules/@eslint-community/eslint-utils": { - "version": "4.4.1", - "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.4.1.tgz", - "integrity": "sha512-s3O3waFUrMV8P/XaF/+ZTp1X9XBZW1a4B97ZnjQF2KYWaFD2A8KyFBsrsfSjEmjn3RGWAIuvlneuZm3CUK3jbA==", + "version": "4.10.1", + "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.10.1.tgz", + "integrity": "sha512-cuadcxVFE8sDK6iWJbs8Sn0av2Nrh2QSGQhVlBW9AaAHqHwjWsZHT8LJ4hFGPh7ASBV2deFdM7H/DPjulmh8rg==", "dev": true, + "license": "MIT", "dependencies": { "eslint-visitor-keys": "^3.4.3" }, @@ -895,206 +1046,122 @@ "eslint": "^6.0.0 || ^7.0.0 || >=8.0.0" } }, + "node_modules/@eslint-community/eslint-utils/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/@eslint-community/regexpp": { - "version": "4.12.1", - "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.1.tgz", - "integrity": "sha512-CCZCDJuduB9OUkFkY2IgppNZMi2lBQgD2qzwXkEia16cge2pijY/aXi96CJMquDMn3nJdlPV1A5KrJEXwfLNzQ==", + "version": "4.12.2", + "resolved": "https://registry.npmjs.org/@eslint-community/regexpp/-/regexpp-4.12.2.tgz", + "integrity": "sha512-EriSTlt5OC9/7SXkRSCAhfSxxoSUgBm33OH+IkwbdpgoqsSsUg7y3uh+IICI/Qg4BBWr3U2i39RpmycbxMq4ew==", "dev": true, + "license": "MIT", "engines": { "node": "^12.0.0 || ^14.0.0 || >=16.0.0" } }, "node_modules/@eslint/config-array": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.19.1.tgz", - "integrity": "sha512-fo6Mtm5mWyKjA/Chy1BYTdn5mGJoDNjC7C64ug20ADsRDGrA85bN3uK3MaKbeRkRuuIEAR5N33Jr1pbm411/PA==", + "version": "0.23.5", + "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.23.5.tgz", + "integrity": "sha512-Y3kKLvC1dvTOT+oGlqNQ1XLqK6D1HU2YXPc52NmAlJZbMMWDzGYXMiPRJ8TYD39muD/OTjlZmNJ4ib7dvSrMBA==", "dev": true, - "peer": true, + "license": "Apache-2.0", "dependencies": { - "@eslint/object-schema": "^2.1.5", + "@eslint/object-schema": "^3.0.5", "debug": "^4.3.1", - "minimatch": "^3.1.2" + "minimatch": "^10.2.4" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/core": { - "version": "0.9.1", - "resolved": "https://registry.npmjs.org/@eslint/core/-/core-0.9.1.tgz", - "integrity": "sha512-GuUdqkyyzQI5RMIWkHhvTWLCyLo1jNK3vzkSyaExH5kHPDHcuL2VOpHjmMY+y3+NC69qAKToBqldTBgYeLSr9Q==", + "node_modules/@eslint/config-helpers": { + "version": "0.7.0", + "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.7.0.tgz", + "integrity": "sha512-DObd/KKUsU+FaFv4PLxSRenpXfQWmPXXP3pPZ6/K1PCrMu2vQpMDMuQe/BqYeoLcz8ro0bVDF1RxOJgfVEdhUw==", "dev": true, - "peer": true, + "license": "Apache-2.0", "dependencies": { - "@types/json-schema": "^7.0.15" + "@eslint/core": "^1.2.1" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/eslintrc": { - "version": "3.2.0", - "resolved": "https://registry.npmjs.org/@eslint/eslintrc/-/eslintrc-3.2.0.tgz", - "integrity": "sha512-grOjVNN8P3hjJn/eIETF1wwd12DdnwFDoyceUJLYYdkpbwq3nLi+4fqrTAONx7XDALqlL220wC/RHSC/QTI/0w==", + "node_modules/@eslint/core": { + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/@eslint/core/-/core-1.2.1.tgz", + "integrity": "sha512-MwcE1P+AZ4C6DWlpin/OmOA54mmIZ/+xZuJiQd4SyB29oAJjN30UW9wkKNptW2ctp4cEsvhlLY/CsQ1uoHDloQ==", "dev": true, - "peer": true, + "license": "Apache-2.0", "dependencies": { - "ajv": "^6.12.4", - "debug": "^4.3.2", - "espree": "^10.0.1", - "globals": "^14.0.0", - "ignore": "^5.2.0", - "import-fresh": "^3.2.1", - "js-yaml": "^4.1.0", - "minimatch": "^3.1.2", - "strip-json-comments": "^3.1.1" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "@types/json-schema": "^7.0.15" }, - "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/argparse": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", - "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true, - "peer": true - }, - "node_modules/@eslint/eslintrc/node_modules/eslint-visitor-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", - "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", - "dev": true, - "peer": true, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, - "node_modules/@eslint/eslintrc/node_modules/espree": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", - "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "node_modules/@eslint/js": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/@eslint/js/-/js-10.0.1.tgz", + "integrity": "sha512-zeR9k5pd4gxjZ0abRoIaxdc7I3nDktoXZk2qOv9gCNWx3mVwEn32VRhyLaRsDiJjTs0xq/T8mfPtyuXu7GWBcA==", "dev": true, - "peer": true, - "dependencies": { - "acorn": "^8.14.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.2.0" - }, + "license": "MIT", "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { - "url": "https://opencollective.com/eslint" - } - }, - "node_modules/@eslint/eslintrc/node_modules/globals": { - "version": "14.0.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-14.0.0.tgz", - "integrity": "sha512-oahGvuMGQlPw/ivIYBjVSrWAfWLBeku5tpPE2fOPLi+WHffIWbuh2tCjhyQhTBPMf5E9jDEH4FOmTYgYwbKwtQ==", - "dev": true, - "peer": true, - "engines": { - "node": ">=18" + "url": "https://eslint.org/donate" }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/@eslint/eslintrc/node_modules/js-yaml": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-4.1.0.tgz", - "integrity": "sha512-wpxZs9NoxZaJESJGIZTyDEaYpl0FKSA+FB9aJiyemKhMwkxQg63h4T1KJgUGHpTqPDNRcmmYLugrRjJlBtWvRA==", - "dev": true, - "peer": true, - "dependencies": { - "argparse": "^2.0.1" + "peerDependencies": { + "eslint": "^10.0.0" }, - "bin": { - "js-yaml": "bin/js-yaml.js" - } - }, - "node_modules/@eslint/js": { - "version": "9.16.0", - "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.16.0.tgz", - "integrity": "sha512-tw2HxzQkrbeuvyj1tG2Yqq+0H9wGoI2IMk4EOsQeX+vmd75FtJAzf+gTA69WF+baUKRYQ3x2kbLE08js5OsTVg==", - "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "peerDependenciesMeta": { + "eslint": { + "optional": true + } } }, "node_modules/@eslint/object-schema": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-2.1.5.tgz", - "integrity": "sha512-o0bhxnL89h5Bae5T318nFoFzGy+YE5i/gGkoPAgkmTVdRKTiv3p8JHevPiPaMwoloKfEiiaHlawCqaZMqRm+XQ==", + "version": "3.0.5", + "resolved": "https://registry.npmjs.org/@eslint/object-schema/-/object-schema-3.0.5.tgz", + "integrity": "sha512-vqTaUEgxzm+YDSdElad6PiRoX4t8VGDjCtt05zn4nU810UIx/uNEV7/lZJ6KwFThKZOzOxzXy48da+No7HZaMw==", "dev": true, - "peer": true, + "license": "Apache-2.0", "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, "node_modules/@eslint/plugin-kit": { - "version": "0.2.4", - "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.2.4.tgz", - "integrity": "sha512-zSkKow6H5Kdm0ZUQUB2kV5JIXqoG0+uH5YADhaEHswm664N9Db8dXSi0nMJpacpMf+MyyglF1vnZohpEg5yUtg==", + "version": "0.7.3", + "resolved": "https://registry.npmjs.org/@eslint/plugin-kit/-/plugin-kit-0.7.3.tgz", + "integrity": "sha512-IkO+/KEUvwbVpiURZg+P7zF74z5Jxe0UgJxVni+RtoHQ6IZieXaO02kmadomap/q+l6bc/jdPGGqTjhuZnuz1Q==", "dev": true, - "peer": true, + "license": "Apache-2.0", "dependencies": { + "@eslint/core": "^1.2.1", "levn": "^0.4.1" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - } - }, - "node_modules/@eslint/plugin-kit/node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", - "dev": true, - "peer": true, - "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" - }, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/@eslint/plugin-kit/node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", - "dev": true, - "peer": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/@eslint/plugin-kit/node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "peer": true, - "dependencies": { - "prelude-ls": "^1.2.1" - }, - "engines": { - "node": ">= 0.8.0" + "node": "^20.19.0 || ^22.13.0 || >=24" } }, "node_modules/@grpc/grpc-js": { - "version": "1.12.4", - "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.12.4.tgz", - "integrity": "sha512-NBhrxEWnFh0FxeA0d//YP95lRFsSx2TNLEUQg4/W+5f/BMxcCjgOOIT24iD+ZB/tZw057j44DaIxja7w4XMrhg==", + "version": "1.14.5", + "resolved": "https://registry.npmjs.org/@grpc/grpc-js/-/grpc-js-1.14.5.tgz", + "integrity": "sha512-7VZM+SVdEcUUqSQeNI3zM8Qs/BhQKZndPo2h5VkYkAM8Iz0wJIa8mKV5ekQGqG8UUsnkQ0NMxIxwkIHYvj0qOw==", + "license": "Apache-2.0", "dependencies": { - "@grpc/proto-loader": "^0.7.13", + "@grpc/proto-loader": "^0.8.0", "@js-sdsl/ordered-map": "^4.4.2" }, "engines": { @@ -1102,13 +1169,14 @@ } }, "node_modules/@grpc/proto-loader": { - "version": "0.7.13", - "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.7.13.tgz", - "integrity": "sha512-AiXO/bfe9bmxBjxxtYxFAXGZvMaN5s8kO+jBHAJCON8rJoB5YS/D6X7ZNc6XQkuHNmyl4CYaMI1fJ/Gn27RGGw==", + "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@grpc/proto-loader/-/proto-loader-0.8.1.tgz", + "integrity": "sha512-wtF6h+DY6M3YaDBPAmvuuA6jV8Sif9MjtOI5euKFWRgCDl5PeDpPsHR9u2l6St5ceY8AZgoNDww5+HvEsXFsGg==", + "license": "Apache-2.0", "dependencies": { "lodash.camelcase": "^4.3.0", "long": "^5.0.0", - "protobufjs": "^7.2.5", + "protobufjs": "^7.5.5", "yargs": "^17.7.2" }, "bin": { @@ -1118,42 +1186,65 @@ "node": ">=6" } }, + "node_modules/@grpc/proto-loader/node_modules/protobufjs": { + "version": "7.6.6", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.6.6.tgz", + "integrity": "sha512-dYDWdjSl5RNb7SgPxGQcRU+GtvP7s2fpkrY0r432PcOIaZ0/rBcxEZnQN67iJhFuQiVw754JDoPruPCNdGsbjg==", + "hasInstallScript": true, + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.2", + "@protobufjs/base64": "^1.1.2", + "@protobufjs/codegen": "^2.0.5", + "@protobufjs/eventemitter": "^1.1.1", + "@protobufjs/fetch": "^1.1.1", + "@protobufjs/float": "^1.0.2", + "@protobufjs/path": "^1.1.2", + "@protobufjs/pool": "^1.1.0", + "@protobufjs/utf8": "^1.1.1", + "@types/node": ">=13.7.0", + "long": "^5.3.2" + }, + "engines": { + "node": ">=12.0.0" + } + }, "node_modules/@humanfs/core": { - "version": "0.19.1", - "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.1.tgz", - "integrity": "sha512-5DyQ4+1JEUzejeK1JGICcideyfUbGixgS9jNgex5nqkW+cY7WZhxBigmieN5Qnw9ZosSNVC9KQKyb+GUaGyKUA==", + "version": "0.19.2", + "resolved": "https://registry.npmjs.org/@humanfs/core/-/core-0.19.2.tgz", + "integrity": "sha512-UhXNm+CFMWcbChXywFwkmhqjs3PRCmcSa/hfBgLIb7oQ5HNb1wS0icWsGtSAUNgefHeI+eBrA8I1fxmbHsGdvA==", "dev": true, - "peer": true, + "license": "Apache-2.0", + "dependencies": { + "@humanfs/types": "^0.15.0" + }, "engines": { "node": ">=18.18.0" } }, "node_modules/@humanfs/node": { - "version": "0.16.6", - "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.6.tgz", - "integrity": "sha512-YuI2ZHQL78Q5HbhDiBA1X4LmYdXCKCMQIfw0pw7piHJwyREFebJUvrQN4cMssyES6x+vfUbx1CIpaQUKYdQZOw==", + "version": "0.16.8", + "resolved": "https://registry.npmjs.org/@humanfs/node/-/node-0.16.8.tgz", + "integrity": "sha512-gE1eQNZ3R++kTzFUpdGlpmy8kDZD/MLyHqDwqjkVQI0JMdI1D51sy1H958PNXYkM2rAac7e5/CnIKZrHtPh3BQ==", "dev": true, - "peer": true, + "license": "Apache-2.0", "dependencies": { - "@humanfs/core": "^0.19.1", - "@humanwhocodes/retry": "^0.3.0" + "@humanfs/core": "^0.19.2", + "@humanfs/types": "^0.15.0", + "@humanwhocodes/retry": "^0.4.0" }, "engines": { "node": ">=18.18.0" } }, - "node_modules/@humanfs/node/node_modules/@humanwhocodes/retry": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.3.1.tgz", - "integrity": "sha512-JBxkERygn7Bv/GbN5Rv8Ul6LVknS+5Bp6RgDC/O8gEBU/yeH5Ui5C/OlWrTb6qct7LjjfT6Re2NxB0ln0yYybA==", + "node_modules/@humanfs/types": { + "version": "0.15.0", + "resolved": "https://registry.npmjs.org/@humanfs/types/-/types-0.15.0.tgz", + "integrity": "sha512-ZZ1w0aoQkwuUuC7Yf+7sdeaNfqQiiLcSRbfI08oAxqLtpXQr9AIVX7Ay7HLDuiLYAaFPu8oBYNq/QIi9URHJ3Q==", "dev": true, - "peer": true, + "license": "Apache-2.0", "engines": { - "node": ">=18.18" - }, - "funding": { - "type": "github", - "url": "https://github.com/sponsors/nzakas" + "node": ">=18.18.0" } }, "node_modules/@humanwhocodes/module-importer": { @@ -1161,7 +1252,7 @@ "resolved": "https://registry.npmjs.org/@humanwhocodes/module-importer/-/module-importer-1.0.1.tgz", "integrity": "sha512-bxveV4V8v5Yb4ncFTT3rPSgZBOpCkjfK0y4oVVVJwIuDVBRMDXrPyXRL988i5ap9m9bnyEEjWfm5WkBmtffLfA==", "dev": true, - "peer": true, + "license": "Apache-2.0", "engines": { "node": ">=12.22" }, @@ -1171,11 +1262,11 @@ } }, "node_modules/@humanwhocodes/retry": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.1.tgz", - "integrity": "sha512-c7hNEllBlenFTHBky65mhq8WD2kbN9Q6gk0bTk8lSBvc554jpXSkST1iePudpt7+A/AQvuHs9EMqjHDXMY1lrA==", + "version": "0.4.3", + "resolved": "https://registry.npmjs.org/@humanwhocodes/retry/-/retry-0.4.3.tgz", + "integrity": "sha512-bV0Tgo9K4hfPCek+aMAn81RppFKv2ySDQeMoSZuvTASywNTnVJCArCZE2FWqpvIatKu7VMRLWlR1EazvVhDyhQ==", "dev": true, - "peer": true, + "license": "Apache-2.0", "engines": { "node": ">=18.18" }, @@ -1189,6 +1280,7 @@ "resolved": "https://registry.npmjs.org/@isaacs/cliui/-/cliui-8.0.2.tgz", "integrity": "sha512-O8jcjabXaleOG9DQ0+ARXWZBTfnP4WNAqzuiJK7ll44AmxGKv/J2M4TPjxjY3znBCfvBXFzucm1twdyFybFqEA==", "dev": true, + "license": "ISC", "dependencies": { "string-width": "^5.1.2", "string-width-cjs": "npm:string-width@^4.2.0", @@ -1202,10 +1294,11 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-regex": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.1.0.tgz", - "integrity": "sha512-7HSX4QQb4CspciLpVFwyRe79O3xsIZDDLER21kERQ71oaPodF8jL725AgJMFAYbooIqolJoRLuM81SpeUkpkvA==", + "version": "6.4.0", + "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-6.4.0.tgz", + "integrity": "sha512-KzTVk2tCWAHtYrvvvaP8bJKJq2pVinhLcGEQdtLIYPbmNGNyYe8QwNaTUYQp2J7/vIsUKt5QCqAfUkYyG9DkOw==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -1214,10 +1307,11 @@ } }, "node_modules/@isaacs/cliui/node_modules/ansi-styles": { - "version": "6.2.1", - "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.1.tgz", - "integrity": "sha512-bN798gFfQX+viw3R7yrGWRqnrN2oRkEkUjjl4JNn4E8GxxbjtG3FbrEIIY3l8/hrwUwIeCZvi4QuOTP4MErVug==", + "version": "6.2.3", + "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-6.2.3.tgz", + "integrity": "sha512-4Dj6M28JB+oAH8kFkTLUo+a2jwOFkuqb3yucU0CANcRRUbxS0cP0nZYCGjcc3BNXwRIsUVmDGgzawme7zvJHvg==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -1229,13 +1323,15 @@ "version": "9.2.2", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-9.2.2.tgz", "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@isaacs/cliui/node_modules/string-width": { "version": "5.1.2", "resolved": "https://registry.npmjs.org/string-width/-/string-width-5.1.2.tgz", "integrity": "sha512-HnLOCR3vjcY8beoNLtcjZ5/nxn2afmME6lhrDrebokqMap+XbeW8n9TXpPDOqdGK5qcI3oT0GKTW6wC7EMiVqA==", "dev": true, + "license": "MIT", "dependencies": { "eastasianwidth": "^0.2.0", "emoji-regex": "^9.2.2", @@ -1249,12 +1345,13 @@ } }, "node_modules/@isaacs/cliui/node_modules/strip-ansi": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.1.0.tgz", - "integrity": "sha512-iq6eVVI64nQQTRYq2KtEg2d2uU7LElhTJwsH4YzIHZshxlgZms/wIc4VoDQTlG/IvVIrBKG06CrZnp0qv7hkcQ==", + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-7.2.0.tgz", + "integrity": "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w==", "dev": true, + "license": "MIT", "dependencies": { - "ansi-regex": "^6.0.1" + "ansi-regex": "^6.2.2" }, "engines": { "node": ">=12" @@ -1268,6 +1365,7 @@ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-8.1.0.tgz", "integrity": "sha512-si7QWI6zUMq56bESFvagtmzMdGOtoxfR+Sez11Mobfc7tm+VkUckk9bW2UeffTGVUbOksxmSw0AA2gs8g71NCQ==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^6.1.0", "string-width": "^5.0.1", @@ -1285,6 +1383,7 @@ "resolved": "https://registry.npmjs.org/@istanbuljs/load-nyc-config/-/load-nyc-config-1.1.0.tgz", "integrity": "sha512-VjeHSlIzpv/NyD3N0YuHfXOPDIixcA1q2ZV98wsMqcYlPmv2n3Yb2lYP9XMElnaFVXg5A7YLTeLu6V84uQDjmQ==", "dev": true, + "license": "ISC", "dependencies": { "camelcase": "^5.3.1", "find-up": "^4.1.0", @@ -1296,184 +1395,298 @@ "node": ">=8" } }, - "node_modules/@istanbuljs/schema": { - "version": "0.1.3", - "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.3.tgz", - "integrity": "sha512-ZXRY4jNvVgSVQ8DL3LTcakaAtXwTVUxE81hslsyD2AtoXW/wVob10HkOJ1X/pAlcI7D+2YoZKg5do8G/w6RYgA==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, "engines": { "node": ">=8" } }, - "node_modules/@jest/console": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/console/-/console-29.7.0.tgz", - "integrity": "sha512-5Ni4CU7XHQi32IJ398EEP4RrB8eV09sXP2ROqD4bksHrnTree52PsxvX8tpL8LvTZ3pFzXyPbNQReSN41CAhOg==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@types/node": "*", - "chalk": "^4.0.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "slash": "^3.0.0" + "p-locate": "^4.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=8" } }, - "node_modules/@jest/core": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/core/-/core-29.7.0.tgz", - "integrity": "sha512-n7aeXWKMnGtDA48y8TLWJPJmLmmZ642Ceo78cYWEpiD7FzDgmNDV/GCVRorPABdXLJZ/9wzzgZAlHjXjxDHGsg==", + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/reporters": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-changed-files": "^29.7.0", - "jest-config": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-resolve-dependencies": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "jest-watcher": "^29.7.0", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", - "slash": "^3.0.0", - "strip-ansi": "^6.0.0" + "p-try": "^2.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "peerDependencies": { - "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + "node": ">=6" }, - "peerDependenciesMeta": { - "node-notifier": { + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/@istanbuljs/load-nyc-config/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/@istanbuljs/schema": { + "version": "0.1.6", + "resolved": "https://registry.npmjs.org/@istanbuljs/schema/-/schema-0.1.6.tgz", + "integrity": "sha512-+Sg6GCR/wy1oSmQDFq4LQDAhm3ETKnorxN+y5nbLULOR3P0c14f2Wurzj3/xqPXtasLFfHd5iRFQ7AJt4KH2cw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, + "node_modules/@jest/console": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/console/-/console-30.5.2.tgz", + "integrity": "sha512-e8sQC4pCMHPBrPX7Hk8TJr+DM5dkUnImSTNag8SEWFAFAF6xIz4AJvCKapnrdHnZxep4bxw4PhG+ZbimYBMyKw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "@types/node": "*", + "chalk": "^4.1.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/core": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/core/-/core-30.5.2.tgz", + "integrity": "sha512-/jqvFWoJF7LV1a6AUpYMbMm+2yIYsHJfR474H0SCzr9k8tnO/jl9wRg6zSG6lxgf6EozNlCG4amFzWsbZSvvZA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.5.2", + "@jest/pattern": "30.5.0", + "@jest/reporters": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@types/node": "*", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "exit-x": "^0.2.2", + "fast-json-stable-stringify": "^2.1.0", + "graceful-fs": "^4.2.11", + "jest-changed-files": "30.5.1", + "jest-config": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-resolve-dependencies": "30.5.2", + "jest-runner": "30.5.2", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "jest-watcher": "30.5.2", + "pretty-format": "30.5.1", + "slash": "^3.0.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + }, + "peerDependencies": { + "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" + }, + "peerDependenciesMeta": { + "node-notifier": { "optional": true } } }, + "node_modules/@jest/diff-sequences": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/diff-sequences/-/diff-sequences-30.5.0.tgz", + "integrity": "sha512-OsqBjHXCn8cadasoAZBP6nWYvMsRhpMzGXTpxJ5aO04NlbdhIz+FVe3q49l0AwVhsz/cEmIpBes6gAFl1/dWQg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, "node_modules/@jest/environment": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-29.7.0.tgz", - "integrity": "sha512-aQIfHDq33ExsN4jP1NWGXhxgQ/wixs60gDiKO+XVMd8Mn0NWPWgc34ZQDTb2jKaUWQ7MuwoitXAsN2XVXNMpAw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/environment/-/environment-30.5.2.tgz", + "integrity": "sha512-nwFPOUMbmsjNNRCpnJpB9HbSZu4C07wDDds++5j+j1MezzPLxMPDdbdUVjr2o4RULDOValnDd70taPFI1EtxAg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-mock": "^29.7.0" + "jest-mock": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-8uMeAMycttpva3P1lBHB8VciS9V0XAr3GymPpipdyQXbBcuhkLQOSe8E/p92RyAdToS6ZD1tFkX+CkhoECE0dQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-2E+1Pg6jJxbRjLNLpciC71iri/3qsKJL222/aXJEFwC0VdUSvfS+JZQQLEVjUYYc8t8pQu2MGE3cF2+bNTYRsg==", "dev": true, + "license": "MIT", "dependencies": { - "expect": "^29.7.0", - "jest-snapshot": "^29.7.0" + "expect": "30.5.2", + "jest-snapshot": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/expect-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-29.7.0.tgz", - "integrity": "sha512-GlsNBWiFQFCVi9QVSx7f5AgMeLxe9YCCs5PuP2O2LdjDAA8Jh9eX7lA1Jq/xdXw3Wb3hyvlFNfZIfcRetSzYcA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/expect-utils/-/expect-utils-30.5.2.tgz", + "integrity": "sha512-d/HOLSrJUlBIl6n3LzOa7cjW3xdePm5H5gQw2lixZ/0h157l9sw3mLblzFqnPcTbhDzhRQdBOX3A3KcG73nm5Q==", "dev": true, + "license": "MIT", "dependencies": { - "jest-get-type": "^29.6.3" + "@jest/get-type": "30.5.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/fake-timers": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-29.7.0.tgz", - "integrity": "sha512-q4DH1Ha4TTFPdxLsqDXK1d3+ioSL7yL5oCMJZgDYm6i+6CygW5E5xVr/D1HdsGxjt1ZWSfUAs9OxSB/BNelWrQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/fake-timers/-/fake-timers-30.5.2.tgz", + "integrity": "sha512-GKk0h0tKT5SpDPxDhPg3r9mm5s8/YCBzVNMOGdRiQXwUiMsjU10mVPlMaQstH6/cu50vOb8N9oQUMETHuwwxKw==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@sinonjs/fake-timers": "^10.0.2", + "@jest/types": "30.5.1", + "@sinonjs/fake-timers": "^15.4.0", "@types/node": "*", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/get-type": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/get-type/-/get-type-30.5.0.tgz", + "integrity": "sha512-9/2VUPitAjmBzbvDvqrxmvB7BzWsBW0WmkkojX1ODuxX1NLGxx9gfaZpHB0z8DtJ9uhGNmZG/VXBhf8uO0OV8Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/globals": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-29.7.0.tgz", - "integrity": "sha512-mpiz3dutLbkW2MNFubUGUEVLkTGiqW6yLVTA+JbP6fI6J5iL9Y0Nlg8k95pcF8ctKwCS7WVxteBs29hhfAotzQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/globals/-/globals-30.5.2.tgz", + "integrity": "sha512-62zfS+dL+M5aTNHXCNLyqD+j4oqxTIzDYrZbpqMP8Yn+gvlAGyzC6BSPNb1ZmFOakV1RtFYX/O3FCQXSWmQdgg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/types": "30.5.1", + "jest-mock": "30.5.2" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/pattern": { + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/pattern/-/pattern-30.5.0.tgz", + "integrity": "sha512-HdNQYSdRTEBNrginaqzQtTjG0HRMfrra/z6Ok7uL3S87vSlarIVohEsJsSj5edu3MiHoHjAkvPROz5ZjoKai+w==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/types": "^29.6.3", - "jest-mock": "^29.7.0" + "@types/node": "*", + "jest-regex-util": "30.5.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, + "node_modules/@jest/react-is-18": { + "name": "react-is", + "version": "18.3.1", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", + "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", + "dev": true, + "license": "MIT" + }, + "node_modules/@jest/react-is-19": { + "name": "react-is", + "version": "19.3.0", + "resolved": "https://registry.npmjs.org/react-is/-/react-is-19.3.0.tgz", + "integrity": "sha512-UpMYezM4v5/18F28aC66AEsjXIgE02kyEMH6yLdgLXu/UTfa1Ntwck/nNLrbqJsEXW7gPb0coNO9FQse9WTovA==", + "dev": true, + "license": "MIT" + }, "node_modules/@jest/reporters": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-29.7.0.tgz", - "integrity": "sha512-DApq0KJbJOEzAFYjHADNNxAE3KbhxQB1y5Kplb5Waqw6zVbuWatSnMjE5gs8FUgEPmNsnZA3NCWl9NG0ia04Pg==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/reporters/-/reporters-30.5.2.tgz", + "integrity": "sha512-ev6E9iG73twQcfAfoTnviuYkr3yOrYbzAtMFCimv2fxHXPIp9PBt2u1wNMt0aYWgl8FPwIcS8oqRJg6alnht4Q==", "dev": true, + "license": "MIT", "dependencies": { "@bcoe/v8-coverage": "^0.2.3", - "@jest/console": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", + "@jest/console": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", "@types/node": "*", - "chalk": "^4.0.0", - "collect-v8-coverage": "^1.0.0", - "exit": "^0.1.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", + "chalk": "^4.1.2", + "collect-v8-coverage": "^1.0.2", + "exit-x": "^0.2.2", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", "istanbul-lib-coverage": "^3.0.0", "istanbul-lib-instrument": "^6.0.0", "istanbul-lib-report": "^3.0.0", - "istanbul-lib-source-maps": "^4.0.0", + "istanbul-lib-source-maps": "^5.0.0", "istanbul-reports": "^3.1.3", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", "slash": "^3.0.0", - "string-length": "^4.0.1", - "strip-ansi": "^6.0.0", + "string-length": "^4.0.2", "v8-to-istanbul": "^9.0.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -1485,116 +1698,147 @@ } }, "node_modules/@jest/schemas": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-29.6.3.tgz", - "integrity": "sha512-mo5j5X+jIZmJQveBKeS/clAueipV7KgiX1vMgCxam1RNYiqE1w62n0/tJJnHtjW8ZHcQco5gY85jA3mi0L+nSA==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/@jest/schemas/-/schemas-30.5.0.tgz", + "integrity": "sha512-/hunigyNpc4RCjC0VaW3f5RCUZVM2+WQ65qP7z083Gmvac7or2LI50XVNOtE4YPgBpV0yxYiAgorAPGniCoJmg==", "dev": true, + "license": "MIT", "dependencies": { - "@sinclair/typebox": "^0.27.8" + "@sinclair/typebox": "^0.34.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" + } + }, + "node_modules/@jest/snapshot-utils": { + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/snapshot-utils/-/snapshot-utils-30.5.1.tgz", + "integrity": "sha512-V3wnxNtiVmw5PPVg433Cn3VdXnsOeu/ofLw3KC04Bn2y1wIlU5kozXQn48rhrgj/02LrCVtntTEF1yBha0XSUw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "natural-compare": "^1.4.0" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/source-map": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-29.6.3.tgz", - "integrity": "sha512-MHjT95QuipcPrpLM+8JMSzFx6eHp5Bm+4XeFDJlwsvVBjmKNiIAvasGK2fxz2WbGRlnvqehFbh07MMa7n3YJnw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/source-map/-/source-map-30.5.2.tgz", + "integrity": "sha512-c5CehvkbfHX6yyNg7bMn2ylqlp9AHXuZ/3hPH/Lh5bxD/vefd/lV9HBjMqXef9yQNqkdwyZvkLSVSwB38hy8Qw==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/trace-mapping": "^0.3.18", - "callsites": "^3.0.0", - "graceful-fs": "^4.2.9" + "@jridgewell/trace-mapping": "^0.3.31", + "callsites": "^3.1.0", + "convert-source-map": "^2.0.0", + "graceful-fs": "^4.2.11" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/test-result": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-29.7.0.tgz", - "integrity": "sha512-Fdx+tv6x1zlkJPcWXmMDAG2HBnaR9XPSd5aDWQVsfrZmLVT3lU1cwyxLgRmXR9yrq4NBoEm9BMsfgFzTQAbJYA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-30.5.2.tgz", + "integrity": "sha512-eO6YU5rsLfs60ne694e0IAmRgeBnoA8mu0nlxXDbl/1j5km0o2vO9/VbbUIKIH+WRKKEI+ELgwraRGn2Lhep8g==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/console": "^29.7.0", - "@jest/types": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "collect-v8-coverage": "^1.0.0" + "@jest/console": "30.5.2", + "@jest/types": "30.5.1", + "@types/istanbul-lib-coverage": "^2.0.6", + "collect-v8-coverage": "^1.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/test-sequencer": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-29.7.0.tgz", - "integrity": "sha512-GQwJ5WZVrKnOJuiYiAF52UNUJXgTZx1NHjFSEB0qEMmSZKAkdMoIzw/Cj6x6NF4AvV23AUqDpFzQkN/eYCYTxw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/test-sequencer/-/test-sequencer-30.5.2.tgz", + "integrity": "sha512-bmij8jZyYAC47ExT2GeP7PcrlwSNS+Bp3KeRuBH88gpcxqDv6fljN8PemS4J/lLZ79xb6mpaennQTTq0zUAVVg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/test-result": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", + "@jest/test-result": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/transform": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-29.7.0.tgz", - "integrity": "sha512-ok/BTPFzFKVMwO5eOHRrvnBVHdRy9IrsrW1GpMaQ9MCnilNLXQKmAX8s1YXDFaai9xJpac2ySzV0YeRRECr2Vw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/@jest/transform/-/transform-30.5.2.tgz", + "integrity": "sha512-LBGwmaE886C41jDZ65eqR1YbXM7642MK3ZhTowZd5+xDlrDLuf4ePuDdDmVSvcr8NTVJ3MqxLkMbUCzuigUaoQ==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/core": "^7.11.6", - "@jest/types": "^29.6.3", - "@jridgewell/trace-mapping": "^0.3.18", - "babel-plugin-istanbul": "^6.1.1", - "chalk": "^4.0.0", + "@babel/core": "^7.27.4", + "@jest/types": "30.5.1", + "@jridgewell/trace-mapping": "^0.3.31", + "babel-plugin-istanbul": "^8.0.0", + "chalk": "^4.1.2", "convert-source-map": "^2.0.0", "fast-json-stable-stringify": "^2.1.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "micromatch": "^4.0.4", - "pirates": "^4.0.4", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pirates": "^4.0.7", "slash": "^3.0.0", - "write-file-atomic": "^4.0.2" + "write-file-atomic": "^5.0.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jest/types": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/@jest/types/-/types-29.6.3.tgz", - "integrity": "sha512-u3UPsIilWKOM3F9CXtrG8LEJmNxwoCQC/XVj4IKYXvvpx7QIi/Kg1LI5uDmDpKlac62NUtX7eLjRh+jVZcLOzw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/@jest/types/-/types-30.5.1.tgz", + "integrity": "sha512-LvVYn83nnXPl+Rg98nvcFgjx6nRMTArhSn6RAX/w3ELn54S8A42TYZvsCMdGUqTM8S0wyXbtlQdU6Hi6dykj9g==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/schemas": "^29.6.3", - "@types/istanbul-lib-coverage": "^2.0.0", - "@types/istanbul-reports": "^3.0.0", + "@jest/pattern": "30.5.0", + "@jest/schemas": "30.5.0", + "@types/istanbul-lib-coverage": "^2.0.6", + "@types/istanbul-reports": "^3.0.4", "@types/node": "*", - "@types/yargs": "^17.0.8", - "chalk": "^4.0.0" + "@types/yargs": "^17.0.33", + "chalk": "^4.1.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/@jridgewell/gen-mapping": { - "version": "0.3.5", - "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.5.tgz", - "integrity": "sha512-IzL8ZoEDIBRWEzlCcRhOaCupYyN5gdIK+Q6fbFdPDg6HqX6jpkItn7DFIpW9LQzXG6Df9sA7+OKnq0qlz/GaQg==", + "version": "0.3.13", + "resolved": "https://registry.npmjs.org/@jridgewell/gen-mapping/-/gen-mapping-0.3.13.tgz", + "integrity": "sha512-2kkt/7niJ6MgEPxF0bYdQ6etZaA+fQvDcLKckhy1yIQOzaoKjBBjSj63/aLVjYE3qhRt5dvM+uUyfCg6UKCBbA==", "dev": true, + "license": "MIT", "dependencies": { - "@jridgewell/set-array": "^1.2.1", - "@jridgewell/sourcemap-codec": "^1.4.10", + "@jridgewell/sourcemap-codec": "^1.5.0", + "@jridgewell/trace-mapping": "^0.3.24" + } + }, + "node_modules/@jridgewell/remapping": { + "version": "2.3.5", + "resolved": "https://registry.npmjs.org/@jridgewell/remapping/-/remapping-2.3.5.tgz", + "integrity": "sha512-LI9u/+laYG4Ds1TDKSJW2YPrIlcVYOwi2fUC6xB43lueCjgxV4lffOCZCtYFiH6TNOX+tQKXx97T4IKHbhyHEQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/gen-mapping": "^0.3.5", "@jridgewell/trace-mapping": "^0.3.24" - }, - "engines": { - "node": ">=6.0.0" } }, "node_modules/@jridgewell/resolve-uri": { @@ -1602,30 +1846,24 @@ "resolved": "https://registry.npmjs.org/@jridgewell/resolve-uri/-/resolve-uri-3.1.2.tgz", "integrity": "sha512-bRISgCIjP20/tbWSPWMEi54QVPRZExkuD9lJL+UIxUKtwVJA8wW1Trb1jMs1RFXo1CBTNZ/5hpC9QvmKWdopKw==", "dev": true, - "engines": { - "node": ">=6.0.0" - } - }, - "node_modules/@jridgewell/set-array": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/@jridgewell/set-array/-/set-array-1.2.1.tgz", - "integrity": "sha512-R8gLRTZeyp03ymzP/6Lil/28tGeGEzhx1q2k703KGWRAI1VdvPIXdG70VJc2pAMw3NA6JKL5hhFu1sJX0Mnn/A==", - "dev": true, + "license": "MIT", "engines": { "node": ">=6.0.0" } }, "node_modules/@jridgewell/sourcemap-codec": { - "version": "1.5.0", - "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.0.tgz", - "integrity": "sha512-gv3ZRaISU3fjPAgNsriBRqGWQL6quFx04YMPW/zD8XMLsU32mhCCbfbO6KZFLjvYpCZ8zyDEgqsgf+PwPaM7GQ==", - "dev": true + "version": "1.6.0", + "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.6.0.tgz", + "integrity": "sha512-T7jf+5zgsZHwNJ4lvQ7/aezbyk0nNX+zJVWpmHA7VYsEx7a7qr5Rg5IbtJFqkgze5Y2sruq1RUY8Q837Od7iFw==", + "dev": true, + "license": "MIT" }, "node_modules/@jridgewell/trace-mapping": { - "version": "0.3.25", - "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.25.tgz", - "integrity": "sha512-vNk6aEwybGtawWmy/PzwnGDOjCkLWSD2wqvjGGAgOAwCGWySYXfYoxt00IJkTF+8Lb57DwOb3Aa0o9CApepiYQ==", + "version": "0.3.31", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.31.tgz", + "integrity": "sha512-zzNR+SdQSDJzc8joaeP8QQoCQr8NuYx2dIIytl1QeBEZHJ9uW6hebsrYgbz8hJwUQao3TWCMtmfV8Nu1twOLAw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/resolve-uri": "^3.1.0", "@jridgewell/sourcemap-codec": "^1.4.14" @@ -1635,51 +1873,80 @@ "version": "4.4.2", "resolved": "https://registry.npmjs.org/@js-sdsl/ordered-map/-/ordered-map-4.4.2.tgz", "integrity": "sha512-iUKgm52T8HOE/makSxjqoWhe95ZJA1/G1sYsGev2JDKUSS14KAgg1LHb+Ba+IPow0xflbnSkOsZcO08C7w1gYw==", + "license": "MIT", "funding": { "type": "opencollective", "url": "https://opencollective.com/js-sdsl" } }, "node_modules/@jsdoc/salty": { - "version": "0.2.8", - "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.8.tgz", - "integrity": "sha512-5e+SFVavj1ORKlKaKr2BmTOekmXbelU7dC0cDkQLqag7xfuTPuGMUFx7KWJuv4bYZrTsoL2Z18VVCOKYxzoHcg==", + "version": "0.2.12", + "resolved": "https://registry.npmjs.org/@jsdoc/salty/-/salty-0.2.12.tgz", + "integrity": "sha512-TuB0x50EoAvEX/UEWITd8Mkn3WhiTjSvbTMCLj0BhsQEl5iUzjXdA0bETEVpTk+5TGTLR6QktI9H4hLviVeaAQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { - "lodash": "^4.17.21" + "lodash": "^4.18.1" }, "engines": { "node": ">=v12.0.0" } }, + "node_modules/@keyv/bigmap": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/@keyv/bigmap/-/bigmap-1.3.1.tgz", + "integrity": "sha512-WbzE9sdmQtKy8vrNPa9BRnwZh5UF4s1KTmSK0KUVLo3eff5BlQNNWDnFOouNpKfPKDnms9xynJjsMYjMaT/aFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hashery": "^1.4.0", + "hookified": "^1.15.0" + }, + "engines": { + "node": ">= 18" + }, + "peerDependencies": { + "keyv": "^5.6.0" + } + }, + "node_modules/@keyv/serialize": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@keyv/serialize/-/serialize-1.1.1.tgz", + "integrity": "sha512-dXn3FZhPv0US+7dtJsIi2R+c7qWYiReoEh5zUntWCf4oSpMNib8FDhSoed6m3QyZdx5hK7iLFkYk3rNxwt8vTA==", + "dev": true, + "license": "MIT" + }, "node_modules/@microsoft/tsdoc": { - "version": "0.15.1", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.15.1.tgz", - "integrity": "sha512-4aErSrCR/On/e5G2hDP0wjooqDdauzEbIq8hIkIe5pXV0rtWJZvdCEKL0ykZxex+IxIwBp0eGeV48hQN07dXtw==", - "dev": true + "version": "0.17.0", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc/-/tsdoc-0.17.0.tgz", + "integrity": "sha512-p68VexhnH7ojf3U27RdryUDqnKJgKaWUbCL96vJR7N0mqDuhKG5OIECk3sCPPdynxjk+yoVhRkScqtv5KQjzsw==", + "dev": true, + "license": "MIT" }, "node_modules/@microsoft/tsdoc-config": { - "version": "0.17.1", - "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.17.1.tgz", - "integrity": "sha512-UtjIFe0C6oYgTnad4q1QP4qXwLhe6tIpNTRStJ2RZEPIkqQPREAwE5spzVxsdn9UaEMUqhh0AqSx3X4nWAKXWw==", + "version": "0.18.2", + "resolved": "https://registry.npmjs.org/@microsoft/tsdoc-config/-/tsdoc-config-0.18.2.tgz", + "integrity": "sha512-4ymuLTQ9lFwJXK15f41iPcNHflymjk02Ltq5f5wo3fA02O1nHIGSc1TIZwzTSQZep+jXHM644jobt4Q8O3vtqg==", "dev": true, + "license": "MIT", "dependencies": { - "@microsoft/tsdoc": "0.15.1", - "ajv": "~8.12.0", + "@microsoft/tsdoc": "0.17.0", + "ajv": "~8.18.0", "jju": "~1.4.0", "resolve": "~1.22.2" } }, "node_modules/@microsoft/tsdoc-config/node_modules/ajv": { - "version": "8.12.0", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.12.0.tgz", - "integrity": "sha512-sRu1kpcO9yLtYxBKvqfTeh9KzZEwO3STyX1HT+4CaDzC6HpTGYhIhPIzj9XuKU7KYDwnaeh5hcOwjy1QuJzBPA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-8.18.0.tgz", + "integrity": "sha512-PlXPeEWMXMZ7sPYOHqmDyCJzcfNrUr3fGNKtezX14ykXOEIvyK81d+qydx89KY5O71FKMPaQ2vBfBFI5NHR63A==", "dev": true, + "license": "MIT", "dependencies": { - "fast-deep-equal": "^3.1.1", + "fast-deep-equal": "^3.1.3", + "fast-uri": "^3.0.1", "json-schema-traverse": "^1.0.0", - "require-from-string": "^2.0.2", - "uri-js": "^4.2.2" + "require-from-string": "^2.0.2" }, "funding": { "type": "github", @@ -1690,384 +1957,802 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-1.0.0.tgz", "integrity": "sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==", - "dev": true - }, - "node_modules/@nodelib/fs.scandir": { - "version": "2.1.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.scandir/-/fs.scandir-2.1.5.tgz", - "integrity": "sha512-vq24Bq3ym5HEQm2NKCr3yXDwjc7vTsEThRDnkp2DK9p1uqLR+DHurm/NOTo0KG7HYHU7eppKZj3MyqYuMBf62g==", "dev": true, - "dependencies": { - "@nodelib/fs.stat": "2.0.5", - "run-parallel": "^1.1.9" - }, - "engines": { - "node": ">= 8" - } + "license": "MIT" }, - "node_modules/@nodelib/fs.stat": { - "version": "2.0.5", - "resolved": "https://registry.npmjs.org/@nodelib/fs.stat/-/fs.stat-2.0.5.tgz", - "integrity": "sha512-RkhPPp2zrqDAQA/2jNhnztcPAlv64XdhIp7a7454A5ovI7Bukxgt7MX7udwAu3zg1DcpPU0rz3VV1SeaqvY4+A==", + "node_modules/@napi-rs/lzma-linux-x64-gnu": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/@napi-rs/lzma-linux-x64-gnu/-/lzma-linux-x64-gnu-1.5.1.tgz", + "integrity": "sha512-oTXEIha4SsuXdTA4Iyskj0kpdx2yVXdhd75c2v3xGrHFfVMsbhTPZU/nMPL4sWKo4pBHm3aucLaqGlF696dTyQ==", + "cpu": [ + "x64" + ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], "engines": { - "node": ">= 8" + "node": "^22.20 || ^24.12 || >=25" } }, - "node_modules/@nodelib/fs.walk": { - "version": "1.2.8", - "resolved": "https://registry.npmjs.org/@nodelib/fs.walk/-/fs.walk-1.2.8.tgz", - "integrity": "sha512-oGB+UxlgWcgQkgwo8GcEGwemoTFt3FIO9ababBmaGwXIoBKZ+GTy0pP185beGg7Llih/NSHSV2XAs1lnznocSg==", + "node_modules/@napi-rs/wasm-runtime": { + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@napi-rs/wasm-runtime/-/wasm-runtime-1.2.4.tgz", + "integrity": "sha512-AJxoUD2/15ESHbvpcyjU274nsAPLuOtPHCk0vKJM5pj//Fg/B1FXNWjPnXTT9PymCYYiHo4zPj0ZomXBKhoy7g==", "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "@nodelib/fs.scandir": "2.1.5", - "fastq": "^1.6.0" + "@tybys/wasm-util": "^0.10.3" }, "engines": { - "node": ">= 8" + "node": "^20.19.0 || ^22.13.0 || >=23.5.0" + }, + "funding": { + "type": "github", + "url": "https://github.com/sponsors/Brooooooklyn" + }, + "peerDependencies": { + "@emnapi/core": "^1.7.1 || ^2.0.0-alpha.4", + "@emnapi/runtime": "^1.7.1 || ^2.0.0-alpha.4" } }, - "node_modules/@pkgjs/parseargs": { - "version": "0.11.0", - "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", - "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "node_modules/@parcel/watcher": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher/-/watcher-2.6.0.tgz", + "integrity": "sha512-7FNeNl8NCE7aINx7WXiKQrPYZWC/hvrTsmk6zmxbI7LTXE7hVek/n8AfVgpe2y82zl3w0HvCHN0bVKMBoJcC0w==", "dev": true, - "optional": true, - "engines": { - "node": ">=14" - } - }, - "node_modules/@protobufjs/aspromise": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", - "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==" - }, - "node_modules/@protobufjs/base64": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", - "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==" - }, - "node_modules/@protobufjs/codegen": { - "version": "2.0.4", - "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.4.tgz", - "integrity": "sha512-YyFaikqM5sH0ziFZCN3xDC7zeGaB/d0IUb9CATugHWbd1FRFwWwt4ld4OYMPWu5a3Xe01mGAULCdqhMlPl29Jg==" - }, - "node_modules/@protobufjs/eventemitter": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.0.tgz", - "integrity": "sha512-j9ednRT81vYJ9OfVuXG6ERSTdEL1xVsNgqpkxMsbIabzSo3goCjDIveeGv5d03om39ML71RdmrGNjG5SReBP/Q==" - }, - "node_modules/@protobufjs/fetch": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.0.tgz", - "integrity": "sha512-lljVXpqXebpsijW71PZaCYeIcE5on1w5DlQy5WH6GLbFryLUrBD4932W/E2BSpfRJWseIL4v/KPgBFxDOIdKpQ==", + "hasInstallScript": true, + "license": "MIT", "dependencies": { - "@protobufjs/aspromise": "^1.1.1", - "@protobufjs/inquire": "^1.1.0" - } - }, - "node_modules/@protobufjs/float": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", - "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==" - }, - "node_modules/@protobufjs/inquire": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/inquire/-/inquire-1.1.0.tgz", - "integrity": "sha512-kdSefcPdruJiFMVSbn801t4vFK7KB/5gd2fYvrxhuJYg8ILrmn9SKSX2tZdV6V+ksulWqS7aXjBcRXl3wHoD9Q==" - }, - "node_modules/@protobufjs/path": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", - "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==" - }, - "node_modules/@protobufjs/pool": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", - "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==" - }, - "node_modules/@protobufjs/utf8": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.0.tgz", - "integrity": "sha512-Vvn3zZrhQZkkBE8LSuW3em98c0FwgO4nxzv6OdSxPKJIEKY2bGbHn+mhGIPerzI4twdxaP8/0+06HBpwf345Lw==" - }, - "node_modules/@rollup/rollup-android-arm-eabi": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.28.1.tgz", - "integrity": "sha512-2aZp8AES04KI2dy3Ss6/MDjXbwBzj+i0GqKtWXgw2/Ma6E4jJvujryO6gJAghIRVz7Vwr9Gtl/8na3nDUKpraQ==", - "cpu": [ - "arm" - ], - "dev": true, - "optional": true, - "os": [ - "android" - ] - }, - "node_modules/@rollup/rollup-android-arm64": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.28.1.tgz", - "integrity": "sha512-EbkK285O+1YMrg57xVA+Dp0tDBRB93/BZKph9XhMjezf6F4TpYjaUSuPt5J0fZXlSag0LmZAsTmdGGqPp4pQFA==", + "detect-libc": "^2.0.3", + "is-glob": "^4.0.3", + "node-addon-api": "^7.0.0", + "picomatch": "^4.0.4" + }, + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + }, + "optionalDependencies": { + "@parcel/watcher-android-arm64": "2.6.0", + "@parcel/watcher-darwin-arm64": "2.6.0", + "@parcel/watcher-darwin-x64": "2.6.0", + "@parcel/watcher-freebsd-x64": "2.6.0", + "@parcel/watcher-linux-arm-glibc": "2.6.0", + "@parcel/watcher-linux-arm-musl": "2.6.0", + "@parcel/watcher-linux-arm64-glibc": "2.6.0", + "@parcel/watcher-linux-arm64-musl": "2.6.0", + "@parcel/watcher-linux-x64-glibc": "2.6.0", + "@parcel/watcher-linux-x64-musl": "2.6.0", + "@parcel/watcher-win32-arm64": "2.6.0", + "@parcel/watcher-win32-x64": "2.6.0" + } + }, + "node_modules/@parcel/watcher-android-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-android-arm64/-/watcher-android-arm64-2.6.0.tgz", + "integrity": "sha512-trgpLSCKRC/huFjXX/Smh+0sWe4+YtKfktIToiMl59ghz7z+qkH6kMvNnUbLyRs9N11t8l4svSCs1+5B3rOAhA==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "android" - ] + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-darwin-arm64": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.28.1.tgz", - "integrity": "sha512-prduvrMKU6NzMq6nxzQw445zXgaDBbMQvmKSJaxpaZ5R1QDM8w+eGxo6Y/jhT/cLoCvnZI42oEqf9KQNYz1fqQ==", + "node_modules/@parcel/watcher-darwin-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-arm64/-/watcher-darwin-arm64-2.6.0.tgz", + "integrity": "sha512-Y3QV0gl7Q1zbfueunkWIERICbEojQFCgpyG7YqOGNFLsckXyI1xu9mAIUpKY9QBYzBtSkN8dBPwd3yiAO9ovMw==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" - ] + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-darwin-x64": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.28.1.tgz", - "integrity": "sha512-WsvbOunsUk0wccO/TV4o7IKgloJ942hVFK1CLatwv6TJspcCZb9umQkPdvB7FihmdxgaKR5JyxDjWpCOp4uZlQ==", + "node_modules/@parcel/watcher-darwin-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-darwin-x64/-/watcher-darwin-x64-2.6.0.tgz", + "integrity": "sha512-Ohv6OpzhUfKYD7Beb8kDvG0jbIxORCYY1JRdZnaBtnjjkJxgD7ZVL0nw2sCYd0yTMKTvz3nnTnOF3cDifK+kvw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "darwin" - ] - }, - "node_modules/@rollup/rollup-freebsd-arm64": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.28.1.tgz", - "integrity": "sha512-HTDPdY1caUcU4qK23FeeGxCdJF64cKkqajU0iBnTVxS8F7H/7BewvYoG+va1KPSL63kQ1PGNyiwKOfReavzvNA==", - "cpu": [ - "arm64" ], - "dev": true, - "optional": true, - "os": [ - "freebsd" - ] + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-freebsd-x64": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.28.1.tgz", - "integrity": "sha512-m/uYasxkUevcFTeRSM9TeLyPe2QDuqtjkeoTpP9SW0XxUWfcYrGDMkO/m2tTw+4NMAF9P2fU3Mw4ahNvo7QmsQ==", + "node_modules/@parcel/watcher-freebsd-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-freebsd-x64/-/watcher-freebsd-x64-2.6.0.tgz", + "integrity": "sha512-5HmXvDgs8VK+74jF9y9/2FE3/OnlcKmc56tjmSrEuZjpSZOGL+fvAu+HKJBdPs9uwoP2hE6TlSUpXZ/C5jUFmQ==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "freebsd" - ] + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-linux-arm-gnueabihf": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.28.1.tgz", - "integrity": "sha512-QAg11ZIt6mcmzpNE6JZBpKfJaKkqTm1A9+y9O+frdZJEuhQxiugM05gnCWiANHj4RmbgeVJpTdmKRmH/a+0QbA==", + "node_modules/@parcel/watcher-linux-arm-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-glibc/-/watcher-linux-arm-glibc-2.6.0.tgz", + "integrity": "sha512-Ps/hui3A+vMbjdqlqAowK2ZL8+BO8dBjxeWXj6npTBs3jx4wWmbPpaLuqwrQrSqIVMCnpWo238bJ1U37GhQOYg==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-linux-arm-musleabihf": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.28.1.tgz", - "integrity": "sha512-dRP9PEBfolq1dmMcFqbEPSd9VlRuVWEGSmbxVEfiq2cs2jlZAl0YNxFzAQS2OrQmsLBLAATDMb3Z6MFv5vOcXg==", + "node_modules/@parcel/watcher-linux-arm-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm-musl/-/watcher-linux-arm-musl-2.6.0.tgz", + "integrity": "sha512-9c6AUHgHoG+IY88MRIHupztQiQnrbqHYQjkM2btA+Bf/wQnQMuiD0Wfk1EVv3TlNT3x41uU71rn6E4xh/+zvkw==", "cpu": [ "arm" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" - ] + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } }, - "node_modules/@rollup/rollup-linux-arm64-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.28.1.tgz", - "integrity": "sha512-uGr8khxO+CKT4XU8ZUH1TTEUtlktK6Kgtv0+6bIFSeiSlnGJHG1tSFSjm41uQ9sAO/5ULx9mWOz70jYLyv1QkA==", + "node_modules/@parcel/watcher-linux-arm64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-glibc/-/watcher-linux-arm64-glibc-2.6.0.tgz", + "integrity": "sha512-yHRqS2owEXe6Hic9z6Mh1ECsCd+ODVOGvZDyciqRd21+v+o+DnXMOrw50DSpIG2sb8GPEaPPmfeCAWKPJdq46g==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" - ] - }, - "node_modules/@rollup/rollup-linux-arm64-musl": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.28.1.tgz", - "integrity": "sha512-QF54q8MYGAqMLrX2t7tNpi01nvq5RI59UBNx+3+37zoKX5KViPo/gk2QLhsuqok05sSCRluj0D00LzCwBikb0A==", - "cpu": [ - "arm64" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-arm64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-arm64-musl/-/watcher-linux-arm64-musl-2.6.0.tgz", + "integrity": "sha512-WhB2e/V7rqdHHWZusBSPuy5Ei8S6lSz6FE5TKKQz5h3a0O+C+mhY7vxU9b/stqvMb8beLnPY82ZrFTLKs+SrKA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-glibc": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-glibc/-/watcher-linux-x64-glibc-2.6.0.tgz", + "integrity": "sha512-ulGE6x6Oz6iAwg75T8YQSoguBWasniIbX+QWpaYPcCnDOpdWX3k+4xbEYPZVLxOuoJI+svJJPD3sEj8G7lrQ3A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-linux-x64-musl": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-linux-x64-musl/-/watcher-linux-x64-musl-2.6.0.tgz", + "integrity": "sha512-tkBYKt7YQrjIJWYDnto2YgO8MRkjlMTSNoRHzsXinBqbLdeOM3L32wPZJvIZxqaLMfSlS/4sUjH/6STVP/XDLw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-arm64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-arm64/-/watcher-win32-arm64-2.6.0.tgz", + "integrity": "sha512-gIZAP23jaHjGWasY/TY6yL7NHFClf0Ga7FN+iINvk+KN94rhm94lYZhFsbYFNcA04/onvGD9kKmiJLJB2HbNwQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@parcel/watcher-win32-x64": { + "version": "2.6.0", + "resolved": "https://registry.npmjs.org/@parcel/watcher-win32-x64/-/watcher-win32-x64-2.6.0.tgz", + "integrity": "sha512-cA+/pXV2YkfxlIcXOQ5fSWqAzzPyD78/x5qbK/I0vUkrlYHA8TIz+MXjAbGouguKVSI4bOmkTSJ1/poVSsgt+A==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ], + "engines": { + "node": ">= 10.0.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/parcel" + } + }, + "node_modules/@pkgjs/parseargs": { + "version": "0.11.0", + "resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz", + "integrity": "sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg==", + "dev": true, + "license": "MIT", + "optional": true, + "engines": { + "node": ">=14" + } + }, + "node_modules/@pkgr/core": { + "version": "0.3.6", + "resolved": "https://registry.npmjs.org/@pkgr/core/-/core-0.3.6.tgz", + "integrity": "sha512-SEeaJLb3qBNF/OaXnaR1NmmBbFYk1zC0ZH/52fATcRPLFg/p791YrcyFFy44Bo9sLaGuSuLp5Q6axbb/O+v/RA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/pkgr" + } + }, + "node_modules/@protobufjs/aspromise": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/aspromise/-/aspromise-1.1.2.tgz", + "integrity": "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/base64": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/base64/-/base64-1.1.2.tgz", + "integrity": "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/codegen": { + "version": "2.0.5", + "resolved": "https://registry.npmjs.org/@protobufjs/codegen/-/codegen-2.0.5.tgz", + "integrity": "sha512-zgXFLzW3Ap33e6d0Wlj4MGIm6Ce8O89n/apUaGNB/jx+hw+ruWEp7EwGUshdLKVRCxZW12fp9r40E1mQrf/34g==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/eventemitter": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/eventemitter/-/eventemitter-1.1.1.tgz", + "integrity": "sha512-vW1GmwMZNnL+gMRaovlh9yZX74kc+TTU3FObkkurpMaRtBfLP3ldjS9KQWlwZgraRE0+dheEEoAxdzcJQ8eXZg==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/fetch": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/@protobufjs/fetch/-/fetch-1.1.1.tgz", + "integrity": "sha512-GpptLrs57adMSuHi3VNj0mAF8dwh36LMaYF6XyJ6JMWlVsc+t42tm1HSEDmOs3A8fC9yyeisgLhsTVQokOZ0zw==", + "license": "BSD-3-Clause", + "dependencies": { + "@protobufjs/aspromise": "^1.1.1" + } + }, + "node_modules/@protobufjs/float": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/@protobufjs/float/-/float-1.0.2.tgz", + "integrity": "sha512-Ddb+kVXlXst9d+R9PfTIxh1EdNkgoRe5tOX6t01f1lYWOvJnSPDBlG241QLzcyPdoNTsblLUdujGSE4RzrTZGQ==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/path": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/path/-/path-1.1.2.tgz", + "integrity": "sha512-6JOcJ5Tm08dOHAbdR3GrvP+yUUfkjG5ePsHYczMFLq3ZmMkAD98cDgcT2iA1lJ9NVwFd4tH/iSSoe44YWkltEA==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/pool": { + "version": "1.1.0", + "resolved": "https://registry.npmjs.org/@protobufjs/pool/-/pool-1.1.0.tgz", + "integrity": "sha512-0kELaGSIDBKvcgS4zkjz1PeddatrjYcmMWOlAuAPwAeccUrPHdUqo/J6LiymHHEiJT5NrF1UVwxY14f+fy4WQw==", + "license": "BSD-3-Clause" + }, + "node_modules/@protobufjs/utf8": { + "version": "1.1.2", + "resolved": "https://registry.npmjs.org/@protobufjs/utf8/-/utf8-1.1.2.tgz", + "integrity": "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug==", + "license": "BSD-3-Clause" + }, + "node_modules/@rollup/rollup-android-arm-eabi": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.63.5.tgz", + "integrity": "sha512-J25QJU+B78T4FhhBsNpLJyVWOi31mwtpcMwywHmOKH65Q9IWGA81gPj+dnwlhU8wktVriYE+tFAaQgrnJRzAZg==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-android-arm64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.63.5.tgz", + "integrity": "sha512-LDopB3zuZM5Ux9TT2luNEBJW/tYbGU2g1d+VpKk6I+gSKDb+/7sYE6M225gRQt4RbMX6MSwMsVR/phdjVUgRLg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@rollup/rollup-darwin-arm64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.63.5.tgz", + "integrity": "sha512-wlJEERGfeuHeBavCL2qVnNacOK43NDoZM4sjkeRPymd04OAE9T1zBqDJgmZ+CIsPTYKwdzpUC8vmOw84dwY4Tg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-darwin-x64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.63.5.tgz", + "integrity": "sha512-4nJJGg5jbo2wwPP4JP+LfEBA3bvP8rU9CLuhp7jWvq9sxEyhjQFTFdrqi+/dHEin/pd8jpT0vcehIpnZtmEdcQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@rollup/rollup-freebsd-arm64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-arm64/-/rollup-freebsd-arm64-4.63.5.tgz", + "integrity": "sha512-DrZbyCDF1hneuO6jRbvZ2D7+PIBM6yIwYnJpg2vIk58T+wuFpiaGZrfUr59lDWw45bg+IrpTGLPiNi/Fk4w3Cg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-freebsd-x64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-freebsd-x64/-/rollup-freebsd-x64-4.63.5.tgz", + "integrity": "sha512-gqfUVMJMB3mehqywxp6hTBFfgtMQykZY19+cfiaYP0toIJLb/1DZRJHVkQQGP13W4TAwfZDWeg1qBcheTRioXQ==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@rollup/rollup-linux-arm-gnueabihf": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.63.5.tgz", + "integrity": "sha512-CFmhpvAwzSaWMlN3VN7UtmoTihlZNzoP0juQib5TQRnYUyDV8dXeWOp29sobWAT6gXl/hQgAClLlEiYozQG3OQ==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm-musleabihf": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.63.5.tgz", + "integrity": "sha512-Uc9H8eXCOayV6JLTH5bXKMId6qbhNHa818/BgYjm4jrlq3vZquC9cqyvHBw17xy5Mnj5f+I3gFK5JcEf3hSqrw==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-gnu": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.63.5.tgz", + "integrity": "sha512-VcPr/szv/1BFw112Kt//fxulXt/JPqzzidU84iW68L2DdjnOO8QFUv2zTSYBEPHD6movBD4z+bbr5y60GYM7Jw==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-arm64-musl": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.63.5.tgz", + "integrity": "sha512-BnxtJ5/91BrIHYIkGrmjz/lbMhqEHt1dPFqIxIFR+jPn0xVc/oUSCtIT089zfp5ufwGDlYz2UC+Fe1SRBpYFbQ==", + "cpu": [ + "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, - "node_modules/@rollup/rollup-linux-loongarch64-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loongarch64-gnu/-/rollup-linux-loongarch64-gnu-4.28.1.tgz", - "integrity": "sha512-vPul4uodvWvLhRco2w0GcyZcdyBfpfDRgNKU+p35AWEbJ/HPs1tOUrkSueVbBS0RQHAf/A+nNtDpvw95PeVKOA==", + "node_modules/@rollup/rollup-linux-loong64-gnu": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-gnu/-/rollup-linux-loong64-gnu-4.63.5.tgz", + "integrity": "sha512-LrYcHZwF+fAMNKHYTOQ5osWM4AZF7YF6D+XtsjDyEvljtt11twc+zHVXBLNEjxVSUnKYsOhvVz4Z213eW02COQ==", "cpu": [ "loong64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, - "node_modules/@rollup/rollup-linux-powerpc64le-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.28.1.tgz", - "integrity": "sha512-pTnTdBuC2+pt1Rmm2SV7JWRqzhYpEILML4PKODqLz+C7Ou2apEV52h19CR7es+u04KlqplggmN9sqZlekg3R1A==", + "node_modules/@rollup/rollup-linux-loong64-musl": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-loong64-musl/-/rollup-linux-loong64-musl-4.63.5.tgz", + "integrity": "sha512-nj7QKQePAAUpCpJHtg0pR0W/b92A9NO17JS3BAQmHDn/yhmkir2p8llrKY9TOhleKIaSzy1JhxS3T9FVld6coA==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-gnu": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-gnu/-/rollup-linux-ppc64-gnu-4.63.5.tgz", + "integrity": "sha512-5ylkX6dWMeBKge9nTU+Rxfb+ZfaCIJ9lRqIFaK0eAMcWp7OJbYnLveLgXmm0VrvuLKb8qIK+mHyH0qu88RM+iA==", "cpu": [ "ppc64" ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-ppc64-musl": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-ppc64-musl/-/rollup-linux-ppc64-musl-4.63.5.tgz", + "integrity": "sha512-oHK4ZHYFDKjZviK34I+NwgfbGxgI7ztrNxj2hPTSSNFgeq1a/lEd7dHV2fdGAuTH4Iym3RHJg+vAbWaWG4B7Zg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-riscv64-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.28.1.tgz", - "integrity": "sha512-vWXy1Nfg7TPBSuAncfInmAI/WZDd5vOklyLJDdIRKABcZWojNDY0NJwruY2AcnCLnRJKSaBgf/GiJfauu8cQZA==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.63.5.tgz", + "integrity": "sha512-UcetmHZ6XOXuUByiKZyQmb55ZPr0LABr3Ec/HB9wKZn6CEAFWZkE+hsJErJ9hbPBC7nI0dKuELx7CoV6IM7TMg==", "cpu": [ "riscv64" ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@rollup/rollup-linux-riscv64-musl": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-riscv64-musl/-/rollup-linux-riscv64-musl-4.63.5.tgz", + "integrity": "sha512-C5CmDPQBtvjVo8cgQsBs+w6WB0JLkiixhgi6hVLV11hERWdn/p0XcPU2OUcZzac9BPOFq7SbaHFa8r3SWEysCQ==", + "cpu": [ + "riscv64" + ], + "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-s390x-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.28.1.tgz", - "integrity": "sha512-/yqC2Y53oZjb0yz8PVuGOQQNOTwxcizudunl/tFs1aLvObTclTwZ0JhXF2XcPT/zuaymemCDSuuUPXJJyqeDOg==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.63.5.tgz", + "integrity": "sha512-lHVQHJFKsuuxLMi3MQO9XVL8Tje3JR82CzB+QDKC5NWBcsIWuwsn9uIM5e3lBhI+fF1/s63qnyYqsg65+8rV/w==", "cpu": [ "s390x" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-gnu": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.28.1.tgz", - "integrity": "sha512-fzgeABz7rrAlKYB0y2kSEiURrI0691CSL0+KXwKwhxvj92VULEDQLpBYLHpF49MSiPG4sq5CK3qHMnb9tlCjBw==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.63.5.tgz", + "integrity": "sha512-3W9bTFcQNJn71cSJVM9RKIiZOy8DO/XLDii8Uv/Pm6WKqDRj7JV3ZfuXIEfyuy5LXpIzAbB/1M4Ukp9GKNa7nA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, "node_modules/@rollup/rollup-linux-x64-musl": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.28.1.tgz", - "integrity": "sha512-xQTDVzSGiMlSshpJCtudbWyRfLaNiVPXt1WgdWTwWz9n0U12cI2ZVtWe/Jgwyv/6wjL7b66uu61Vg0POWVfz4g==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.63.5.tgz", + "integrity": "sha512-VDC7rRJlee/scpki96GZ27Omf6yU87s1YXwVTpjE5841faVlDYYT565rgfmoR1U0sqL7z5ivQSDjcsF6VRXyBA==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "linux" ] }, + "node_modules/@rollup/rollup-openbsd-x64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openbsd-x64/-/rollup-openbsd-x64-4.63.5.tgz", + "integrity": "sha512-z86Ok2p4pTdv5xqCKZsTooO7yBEiaJR/HzU3Wx8RmWsPoLppnMKROhJusQob8B3IE1ghC343kUW9rC2r+Wf3ig==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openbsd" + ] + }, + "node_modules/@rollup/rollup-openharmony-arm64": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-openharmony-arm64/-/rollup-openharmony-arm64-4.63.5.tgz", + "integrity": "sha512-IzQmj+xXwQFGhMAMKMQVXkMwMZN3TqkJgAE0nSsqvVwWWciP4AIPMmWRqOQ2GfX7TUDZr+xqGFcBS36CRPGw0g==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] + }, "node_modules/@rollup/rollup-win32-arm64-msvc": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.28.1.tgz", - "integrity": "sha512-wSXmDRVupJstFP7elGMgv+2HqXelQhuNf+IS4V+nUpNVi/GUiBgDmfwD0UGN3pcAnWsgKG3I52wMOBnk1VHr/A==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.63.5.tgz", + "integrity": "sha512-F6qpTaPc9bwBH85kjy0/BLmLSW1uv7AoOXCoRIkg2arlgCYlWYcAbiMkvZuAcaWk9TpCRG//okznLAqLGshkMw==", "cpu": [ "arm64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-ia32-msvc": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.28.1.tgz", - "integrity": "sha512-ZkyTJ/9vkgrE/Rk9vhMXhf8l9D+eAhbAVbsGsXKy2ohmJaWg0LPQLnIxRdRp/bKyr8tXuPlXhIoGlEB5XpJnGA==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.63.5.tgz", + "integrity": "sha512-igoDsTFhhwECBeGbUuLeIk7t8Y1apa+cs6mDWpx2EZ0ch7oEQgzHbFUXN9euoHekCAQzXdXApAGkV6jznS7tWw==", "cpu": [ "ia32" ], "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@rollup/rollup-win32-x64-gnu": { + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-gnu/-/rollup-win32-x64-gnu-4.63.5.tgz", + "integrity": "sha512-U3teMeMbXFmaM5D+OTJpsOXd+wV/qftIeYF9kBKL4v73641qyJmoXFtA28DQLsnmlyayEsTe72xpLHrArq6vHw==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@rollup/rollup-win32-x64-msvc": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.28.1.tgz", - "integrity": "sha512-ZvK2jBafvttJjoIdKm/Q/Bh7IJ1Ose9IBOwpOXcOvW3ikGTQGmKDgxTC6oCAzW6PynbkKP8+um1du81XJHZ0JA==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.63.5.tgz", + "integrity": "sha512-ypfC34F3RKXvCXBglGqGMsUSMKlgwd1HX9AOAlx9RoZZ6GaI42YHVeKpzg3JG+wpBUJYTG+NNZhqbDWL8tBZkw==", "cpu": [ "x64" ], "dev": true, + "license": "MIT", "optional": true, "os": [ "win32" ] }, "node_modules/@sinclair/typebox": { - "version": "0.27.8", - "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.27.8.tgz", - "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", - "dev": true + "version": "0.34.52", + "resolved": "https://registry.npmjs.org/@sinclair/typebox/-/typebox-0.34.52.tgz", + "integrity": "sha512-XiMQh7qqVlxZzcVD+kkGMNGMzcTrDMLWI7S4x7z1MkCkbDPrekpZXEUK0eZqZFMuHQg2a2DZOcDIh9o5v3Gonw==", + "dev": true, + "license": "MIT" }, "node_modules/@sinonjs/commons": { "version": "3.0.1", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.1.tgz", "integrity": "sha512-K3mCHKQ9sVh8o1C9cxkwxaOmXoAMlDxC1mYyHrjqOWEcBjYr76t96zL2zlj5dUGZ3HSw240X1qgH3Mjf1yJWpQ==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "type-detect": "4.0.8" } }, "node_modules/@sinonjs/fake-timers": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-10.3.0.tgz", - "integrity": "sha512-V4BG07kuYSUkTCSBHG8G8TNhM+F19jXFWnQtzj+we8DrkpSBCee9Z3Ms8yiGer/dlmhe35/Xdgyo3/0rQKg7YA==", + "version": "15.4.0", + "resolved": "https://registry.npmjs.org/@sinonjs/fake-timers/-/fake-timers-15.4.0.tgz", + "integrity": "sha512-DsG+8/LscQIQg68J6Ef3dv10u6nVyetYn923s3/sus5eaGfTo1of5WMZSLf0UJc9KDuKPilPH0UDJCjvNbDNCA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { - "@sinonjs/commons": "^3.0.0" + "@sinonjs/commons": "^3.0.1" } }, - "node_modules/@swc/helpers": { - "version": "0.5.15", - "resolved": "https://registry.npmjs.org/@swc/helpers/-/helpers-0.5.15.tgz", - "integrity": "sha512-JQ5TuMi45Owi4/BIMAJBoSQoOJu12oOk/gADqlcUL9JEdHB8vyjUSsxqeNXnmXHjYKMi2WcYtezGEEhqUI/E2g==", + "node_modules/@tybys/wasm-util": { + "version": "0.10.4", + "resolved": "https://registry.npmjs.org/@tybys/wasm-util/-/wasm-util-0.10.4.tgz", + "integrity": "sha512-W3c4gRigFS0T/Ma4qIYF3GDAc5AQdHb1yL5znJT1Zv1YaD9Kitx656wBjvr19qbiosmZT8lWDM5BEMynUqX65A==", + "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "tslib": "^2.8.0" + "tslib": "^2.4.0" } }, "node_modules/@types/babel__core": { @@ -2075,6 +2760,7 @@ "resolved": "https://registry.npmjs.org/@types/babel__core/-/babel__core-7.20.5.tgz", "integrity": "sha512-qoQprZvz5wQFJwMDqeseRXWv3rqMvhgpbXFfVyWhbx9X47POIA6i/+dXefEmZKoAgOaTdaIgNSMqMIU61yRyzA==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.20.7", "@babel/types": "^7.20.7", @@ -2084,10 +2770,11 @@ } }, "node_modules/@types/babel__generator": { - "version": "7.6.8", - "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.6.8.tgz", - "integrity": "sha512-ASsj+tpEDsEiFr1arWrlN6V3mdfjRMZt6LtK/Vp/kreFLnr5QH5+DhvD5nINYZXzwJvXeGq+05iUXcAzVrqWtw==", + "version": "7.27.0", + "resolved": "https://registry.npmjs.org/@types/babel__generator/-/babel__generator-7.27.0.tgz", + "integrity": "sha512-ufFd2Xi92OAVPYsy+P4n7/U7e68fex0+Ee8gSG9KX7eo084CWiQ4sdxktvdl0bOPupXtVJPY19zk6EwWqUQ8lg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/types": "^7.0.0" } @@ -2097,56 +2784,49 @@ "resolved": "https://registry.npmjs.org/@types/babel__template/-/babel__template-7.4.4.tgz", "integrity": "sha512-h/NUaSyG5EyxBIp8YRxo4RMe2/qQgvyowRwVMzhYhBCONbW8PUsg4lkFMrhgZhUe5z3L3MiLDuvyJ/CaPa2A8A==", "dev": true, + "license": "MIT", "dependencies": { "@babel/parser": "^7.1.0", "@babel/types": "^7.0.0" } }, "node_modules/@types/babel__traverse": { - "version": "7.20.6", - "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.20.6.tgz", - "integrity": "sha512-r1bzfrm0tomOI8g1SzvCaQHo6Lcv6zu0EA+W2kHrt8dyrHQxGzBBL4kdkzIS+jBMV+EYcMAEAqXqYaLJq5rOZg==", + "version": "7.28.0", + "resolved": "https://registry.npmjs.org/@types/babel__traverse/-/babel__traverse-7.28.0.tgz", + "integrity": "sha512-8PvcXf70gTDZBgt9ptxJ8elBeBjcLOAcOtoO/mPJjtji1+CdGbHgm77om1GrsPxsiE+uXIpNSK64UYaIwQXd4Q==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/types": "^7.20.7" + "@babel/types": "^7.28.2" } }, - "node_modules/@types/command-line-args": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/@types/command-line-args/-/command-line-args-5.2.3.tgz", - "integrity": "sha512-uv0aG6R0Y8WHZLTamZwtfsDLVRnOa+n+n5rEvFWL5Na5gZ8V2Teab/duDPFzIIIhs9qizDpcavCusCLJZu62Kw==" - }, - "node_modules/@types/command-line-usage": { - "version": "5.0.4", - "resolved": "https://registry.npmjs.org/@types/command-line-usage/-/command-line-usage-5.0.4.tgz", - "integrity": "sha512-BwR5KP3Es/CSht0xqBcUXS3qCAUVXwpRKsV2+arxeb65atasuXG9LykC9Ab10Cw3s2raH92ZqOeILaQbsB2ACg==" + "node_modules/@types/esrecurse": { + "version": "4.3.1", + "resolved": "https://registry.npmjs.org/@types/esrecurse/-/esrecurse-4.3.1.tgz", + "integrity": "sha512-xJBAbDifo5hpffDBuHl0Y8ywswbiAp/Wi7Y/GtAgSlZyIABppyurxVueOPE8LUQOxdlgi6Zqce7uoEpqNTeiUw==", + "dev": true, + "license": "MIT" }, "node_modules/@types/estree": { - "version": "1.0.6", - "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.6.tgz", - "integrity": "sha512-AYnb1nQyY49te+VRAVgmzfcgjYS91mY5P0TKUDCLEM+gNnA+3T6rWITXRLYCpahpqSQbN5cE+gHpnPyXjHWxcw==", - "dev": true - }, - "node_modules/@types/graceful-fs": { - "version": "4.1.9", - "resolved": "https://registry.npmjs.org/@types/graceful-fs/-/graceful-fs-4.1.9.tgz", - "integrity": "sha512-olP3sd1qOEe5dXTSaFvQG+02VdRXcdytWLAZsAq1PecU8uqQAhkrnbli7DagjtXKW/Bl7YJbUsa8MPcuc8LHEQ==", + "version": "1.0.9", + "resolved": "https://registry.npmjs.org/@types/estree/-/estree-1.0.9.tgz", + "integrity": "sha512-GhdPgy1el4/ImP05X05Uw4cw2/M93BCUmnEvWZNStlCzEKME4Fkk+YpoA5OiHNQmoS7Cafb8Xa3Pya8m1Qrzeg==", "dev": true, - "dependencies": { - "@types/node": "*" - } + "license": "MIT" }, "node_modules/@types/istanbul-lib-coverage": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-coverage/-/istanbul-lib-coverage-2.0.6.tgz", "integrity": "sha512-2QF/t/auWm0lsy8XtKVPG19v3sSOQlJe/YHZgfjb/KBBHOGSV+J2q/S671rcq9uTBrLAXmZpqJiaQbMT+zNU1w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/istanbul-lib-report": { "version": "3.0.3", "resolved": "https://registry.npmjs.org/@types/istanbul-lib-report/-/istanbul-lib-report-3.0.3.tgz", "integrity": "sha512-NQn7AHQnk/RSLOxrBbGyJM/aVQ+pjj5HCgasFxc0K/KhoATfQ/47AyUl15I2yBUpihjmas+a+VJBOqecrFH+uA==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-coverage": "*" } @@ -2156,6 +2836,7 @@ "resolved": "https://registry.npmjs.org/@types/istanbul-reports/-/istanbul-reports-3.0.4.tgz", "integrity": "sha512-pk2B1NWalF9toCRu6gjBzR69syFjP4Od8WRAX+0mmf9lAjCRicLOWc+ZrxZHx/0XRjotgkF9t6iaMJ+aXcOdZQ==", "dev": true, + "license": "MIT", "dependencies": { "@types/istanbul-lib-report": "*" } @@ -2165,19 +2846,22 @@ "resolved": "https://registry.npmjs.org/@types/json-schema/-/json-schema-7.0.15.tgz", "integrity": "sha512-5+fP8P8MFNC+AyZCDxrB2pkZFPGzqQWUzpSeuuVLvm8VMcorNYavBqoFcxK8bQz4Qsbn4oUEEem4wDLfcysGHA==", "dev": true, - "peer": true + "license": "MIT" }, "node_modules/@types/linkify-it": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/@types/linkify-it/-/linkify-it-5.0.0.tgz", "integrity": "sha512-sVDA58zAw4eWAffKOaQH5/5j3XeayukzDk+ewSsnv3p4yJEZHCCzMDiZM8e0OUrRvmpGZ85jf4yDHkHsgBNr9Q==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/markdown-it": { - "version": "14.1.2", - "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.1.2.tgz", - "integrity": "sha512-promo4eFwuiW+TfGxhi+0x3czqTYJkG8qB17ZUJiVF10Xm7NLVRSLUsfRTU/6h1e24VvRnXCx+hG7li58lkzog==", + "version": "14.2.0", + "resolved": "https://registry.npmjs.org/@types/markdown-it/-/markdown-it-14.2.0.tgz", + "integrity": "sha512-NoQ2yGlLWj4wpxMs+TYmRKk3thDrQ97agr7sFqfLsAlvoS8SNQuTrlObhFqG9iugdTtgOE9jpJ6FNM4ZGsa5xQ==", "dev": true, + "license": "MIT", + "peer": true, "dependencies": { "@types/linkify-it": "^5", "@types/mdurl": "^2" @@ -2187,27 +2871,31 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/@types/mdurl/-/mdurl-2.0.0.tgz", "integrity": "sha512-RGdgjQUZba5p6QEFAVx2OGb8rQDL/cPRG7GiedRzMcJ1tYnUANBncjbSB1NRGwbvjcPeikRABz2nshyPk1bhWg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/node": { - "version": "24.10.1", - "resolved": "https://registry.npmjs.org/@types/node/-/node-24.10.1.tgz", - "integrity": "sha512-GNWcUTRBgIRJD5zj+Tq0fKOJ5XZajIiBroOF0yvj2bSU1WvNdYS/dn9UxwsujGW4JX06dnHyjV2y9rRaybH0iQ==", + "version": "26.6.3", + "resolved": "https://registry.npmjs.org/@types/node/-/node-26.6.3.tgz", + "integrity": "sha512-dsqMQQoeTLqu9wynDD00q573mNzso3IdQOAfHRJqLCcmCFPoGo9A1bDpUcv/9tnKpErQWv9uKeGfl37EIS02Yg==", + "license": "MIT", "dependencies": { - "undici-types": "~7.16.0" + "undici-types": "~8.9.0" } }, "node_modules/@types/stack-utils": { "version": "2.0.3", "resolved": "https://registry.npmjs.org/@types/stack-utils/-/stack-utils-2.0.3.tgz", "integrity": "sha512-9aEbYZ3TbYMznPdcdr3SmIrLXwC/AKZXQeCf9Pgao5CKb8CyHuEX5jzWPTkvregvhRJHcpRO6BFoGW9ycaOkYw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@types/yargs": { - "version": "17.0.33", - "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.33.tgz", - "integrity": "sha512-WpxBCKWPLr4xSsHgz511rFJAM+wS28w2zEO1QDNY5zM/S8ok70NNfztH0xwhqKyaK0OHCbN98LDAZuy1ctxDkA==", + "version": "17.0.35", + "resolved": "https://registry.npmjs.org/@types/yargs/-/yargs-17.0.35.tgz", + "integrity": "sha512-qUHkeCyQFxMXg79wQfTtfndEC+N9ZZg76HJftDJp+qH2tV7Gj4OJi7l+PiWwJ+pWtW8GwSmqsDj/oymhrTWXjg==", "dev": true, + "license": "MIT", "dependencies": { "@types/yargs-parser": "*" } @@ -2216,23 +2904,24 @@ "version": "21.0.3", "resolved": "https://registry.npmjs.org/@types/yargs-parser/-/yargs-parser-21.0.3.tgz", "integrity": "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/@typescript-eslint/eslint-plugin": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.17.0.tgz", - "integrity": "sha512-HU1KAdW3Tt8zQkdvNoIijfWDMvdSweFYm4hWh+KwhPstv+sCmWb89hCIP8msFm9N1R/ooh9honpSuvqKWlYy3w==", - "dev": true, - "dependencies": { - "@eslint-community/regexpp": "^4.10.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/type-utils": "8.17.0", - "@typescript-eslint/utils": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", - "graphemer": "^1.4.0", - "ignore": "^5.3.1", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/eslint-plugin/-/eslint-plugin-8.71.0.tgz", + "integrity": "sha512-pqcS9c1HxZTHt7End4nXqd0s5lJrrFzrgCkKFJrsbUnaL6M3+6oBFZaslg6Gjsl3argl2DDRFROnXARaZ2e4Nw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/regexpp": "^4.12.2", + "@typescript-eslint/scope-manager": "8.71.0", + "@typescript-eslint/type-utils": "8.71.0", + "@typescript-eslint/utils": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0", + "ignore": "^7.0.5", "natural-compare": "^1.4.0", - "ts-api-utils": "^1.3.0" + "ts-api-utils": "^2.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2242,26 +2931,34 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "@typescript-eslint/parser": "^8.0.0 || ^8.0.0-alpha.0", - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "@typescript-eslint/parser": "^8.71.0", + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/eslint-plugin/node_modules/ignore": { + "version": "7.0.10", + "resolved": "https://registry.npmjs.org/ignore/-/ignore-7.0.10.tgz", + "integrity": "sha512-HpbUakT7xp5miBUywCHf36ZEuAJNklBJDDsGpUIjMzOSmM8ELSfA9Sa/QDPeNeqeoN31u+UTCkL4klCOVvRm4Q==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 4" } }, "node_modules/@typescript-eslint/parser": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.17.0.tgz", - "integrity": "sha512-Drp39TXuUlD49F7ilHHCG7TTg8IkA+hxCuULdmzWYICxGXvDXmDmWEjJYZQYgf6l/TFfYNE167m7isnc3xlIEg==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/parser/-/parser-8.71.0.tgz", + "integrity": "sha512-CG4nPk1f2zc8yw4pALqHsFYH2hdo+h1T9daSp21+Hnxi9LOE3GT9hAfTKJCBXVNM2GmYs1eMEP615wPoeOgk3A==", "dev": true, + "license": "MIT", + "peer": true, "dependencies": { - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", - "debug": "^4.3.4" + "@typescript-eslint/scope-manager": "8.71.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0", + "debug": "^4.4.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2271,22 +2968,79 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/project-service": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.71.0.tgz", + "integrity": "sha512-aABjw5rjBacYONVPaPiWOCjJu0vEF4a25iQuodlmQYL1trtLZ0X/y+2Vzl3BKI1odM4LnwLE1oUDXYp1wzx1TQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/tsconfig-utils": "^8.71.0", + "@typescript-eslint/types": "^8.71.0", + "debug": "^4.4.3" }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/@typescript-eslint/scope-manager": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.17.0.tgz", - "integrity": "sha512-/ewp4XjvnxaREtqsZjF4Mfn078RD/9GmiEAtTeLQ7yFdKnqwTOgRMSvFz4et9U5RiJQ15WTGXPLj89zGusvxBg==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.71.0.tgz", + "integrity": "sha512-gWF0BhUcnjZxSpLE8ngS/59n2SB0J3YqRxvX1+2aoRJk9hNtHSLOV+TcarFiOr5ipXm3yc1QrI4c9YZc8zyCxw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.71.0.tgz", + "integrity": "sha512-Z1UlWHADEK2Mlb9NpWfDeSjqoZ5EyrOv4R3eQpbkzqn/EwaIdOpXXupEA1+0ZIOSJSZZDBHG0BrQyN8zUG6Pwg==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/type-utils": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.71.0.tgz", + "integrity": "sha512-i8uO1qbdxeKgRnS5sCRt6On3/nfo2d2DwQe3Yvjx543zLy7r8ySqRuPPiIIXAhS03U0v5NfAFx+rUgxFzKKwNw==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0" + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0", + "@typescript-eslint/utils": "8.71.0", + "debug": "^4.4.3", + "ts-api-utils": "^2.5.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -2294,173 +3048,436 @@ "funding": { "type": "opencollective", "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, - "node_modules/@typescript-eslint/type-utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/type-utils/-/type-utils-8.17.0.tgz", - "integrity": "sha512-q38llWJYPd63rRnJ6wY/ZQqIzPrBCkPdpIsaCfkR3Q4t3p6sb422zougfad4TFW9+ElIFLVDzWGiGAfbb/v2qw==", + "node_modules/@typescript-eslint/types": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.71.0.tgz", + "integrity": "sha512-cJ4OoxPGWvFnBTnSZyaU+qJzGTqPTGJY+gDchj6cRyLRdmIdt4rcsE4twj+zPfrNiWuVi38wijHzShL++Z9atQ==", + "dev": true, + "license": "MIT", + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@typescript-eslint/typescript-estree": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.71.0.tgz", + "integrity": "sha512-PEEF4G5sLLWAS5BpPrUvms4ySZkiBQQZM4z+3ReI46axK5Vqr/vXBQatJQIZZOYdGyPUAKTtsrWzpqKuU+3DEw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/project-service": "8.71.0", + "@typescript-eslint/tsconfig-utils": "8.71.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/visitor-keys": "8.71.0", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.5.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", + "dev": true, + "license": "ISC", + "bin": { + "semver": "bin/semver.js" + }, + "engines": { + "node": ">=10" + } + }, + "node_modules/@typescript-eslint/utils": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.71.0.tgz", + "integrity": "sha512-pKR/tEMVrXZG23UFKUn5BQf3zfmfk7KQceI2cGzywZ5nxM5Eu3hEJU1utjWzydtzBbcJAQhHN8iPCxobHpPcZQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.71.0", + "@typescript-eslint/types": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" + } + }, + "node_modules/@typescript-eslint/visitor-keys": { + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.71.0.tgz", + "integrity": "sha512-8eQ9R218XORK+KLosnf4bu/QsUXvUyVwTbArg7/0NMB1Pu87OJKvj4nhFblkYE8gQV73mW1dx1ptlPCkwRGa7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.71.0", + "eslint-visitor-keys": "^5.0.0" + }, + "engines": { + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + } + }, + "node_modules/@ungap/structured-clone": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@ungap/structured-clone/-/structured-clone-1.4.0.tgz", + "integrity": "sha512-1mEZtMKPM09vDmQt5y7YvmN2+DFTP7Tg0EWXdic8/C6VRnpb33e4ghisCIE3WZjsE2N8mf+QV1Zqh7ZFYLWInQ==", + "dev": true, + "license": "ISC" + }, + "node_modules/@unrs/resolver-binding-android-arm-eabi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm-eabi/-/resolver-binding-android-arm-eabi-1.12.2.tgz", + "integrity": "sha512-g5T90pqg1bo/7mytQx6F4iBNC0Wsh9cu+z9veDbFjc7HjpesJFWD7QMS0NGStXM075+7dJPPVvBbpZlnrdpi/w==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-android-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-android-arm64/-/resolver-binding-android-arm64-1.12.2.tgz", + "integrity": "sha512-YGCRZv/9GLhwmz6mYDeTsm/92BAyR28l6c2ReweVW5pWgfsitWLY8upvfRlGdoyD8HjeTHSYJWyZGD4KJA/nFQ==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "android" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-arm64/-/resolver-binding-darwin-arm64-1.12.2.tgz", + "integrity": "sha512-u9DiNT1auQMO20A9SyTuG3wUgQWB9Z7KjAg0uFuCDR1FsAY8A0CG2S6JpHS1xwm/w1G08bjXZDcyOCjv1WAm2w==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-darwin-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-darwin-x64/-/resolver-binding-darwin-x64-1.12.2.tgz", + "integrity": "sha512-f7rPLi/T1HVKZu/u6t87lroib16n8vrSzcyxI7lg4BGO9UF26KhQL44sd9eOUgrTYhvRXtWOIZT5PejdPyJfUA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "darwin" + ] + }, + "node_modules/@unrs/resolver-binding-freebsd-x64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-freebsd-x64/-/resolver-binding-freebsd-x64-1.12.2.tgz", + "integrity": "sha512-BpcOjWCJub6nRZUS2zA20pmLvjtqAtGejETaIyRLiZiQf++cbrjltLA5NN/xaXfqeOBOSlMFbemIl5/S5tljmg==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "freebsd" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-gnueabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-gnueabihf/-/resolver-binding-linux-arm-gnueabihf-1.12.2.tgz", + "integrity": "sha512-vZTDvdSISZjJx66OzJqtsOhzifbqRjbmI1Mnu49fQDwog5GtDI4QidRiEAYbZCRj9C8YZEW+3ZjqsyS9GR4k2A==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm-musleabihf": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm-musleabihf/-/resolver-binding-linux-arm-musleabihf-1.12.2.tgz", + "integrity": "sha512-BiPI+IrIlwcW4nLLMM21+B1dFPzd55yAVgVGrdgDjNef+ch03GdxrcyaIz8X9SsQirh/kCQ7mviyWlMxdh2D7g==", + "cpu": [ + "arm" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-gnu/-/resolver-binding-linux-arm64-gnu-1.12.2.tgz", + "integrity": "sha512-zJc0H99FEPoFfSrNpa91HYfxzfAJCr502oxNK1cfdC9hlaFI43RT+JFCann9JUgZmLzzntChHyn13Sgn9ljHNg==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-arm64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-arm64-musl/-/resolver-binding-linux-arm64-musl-1.12.2.tgz", + "integrity": "sha512-KQ3Lki6l+Pz1k/eBipN41ES+YUK30beLGb9YqcB1O542cyLCNE6GaxrfcY3T6EezmGGk84wb5XyO9loTM9tkcA==", + "cpu": [ + "arm64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-gnu/-/resolver-binding-linux-loong64-gnu-1.12.2.tgz", + "integrity": "sha512-3SJGEh1DborhG6pyxvhPzCT4bbSIVihsvgJc13P1bHG7KLdNDaF9T3gsTwFc7Jw/5Y5/iWOjkEx7Zy0NvCGX3Q==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-loong64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-loong64-musl/-/resolver-binding-linux-loong64-musl-1.12.2.tgz", + "integrity": "sha512-jiuG/Obbel7uw1PwHNFfrkiKhLAF6mnyZ6aWlOAVN9WqKm8v0OFGnciJIHu8+CMvXLQ8AD51LPzAoUfT21D5Ew==", + "cpu": [ + "loong64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-ppc64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-ppc64-gnu/-/resolver-binding-linux-ppc64-gnu-1.12.2.tgz", + "integrity": "sha512-q7xRvVpmcfeL+LlZg8Pbbo6QaTZwDU5BaGZbwfhkEsXJn3Was8xYfE0RBH266xZt0rM6B7i8xAYIvjthuUIWHg==", + "cpu": [ + "ppc64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] + }, + "node_modules/@unrs/resolver-binding-linux-riscv64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-gnu/-/resolver-binding-linux-riscv64-gnu-1.12.2.tgz", + "integrity": "sha512-0CVdx6lcnT3Q9inOH8tsMIOJ6ImndllMjqJHg8RLVdB7Vq4SfkEXl9mCSsVNuNA4MCYycRicCUxPCabVHJRr6A==", + "cpu": [ + "riscv64" + ], "dev": true, - "dependencies": { - "@typescript-eslint/typescript-estree": "8.17.0", - "@typescript-eslint/utils": "8.17.0", - "debug": "^4.3.4", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@typescript-eslint/types": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.17.0.tgz", - "integrity": "sha512-gY2TVzeve3z6crqh2Ic7Cr+CAv6pfb0Egee7J5UAVWCpVvDI/F71wNfolIim4FE6hT15EbpZFVUj9j5i38jYXA==", + "node_modules/@unrs/resolver-binding-linux-riscv64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-riscv64-musl/-/resolver-binding-linux-riscv64-musl-1.12.2.tgz", + "integrity": "sha512-iOwlRo9vnp6R6ohHQS11n0NnfdXx/omhkocmIfaPRpQhKZ+3BDMkkdRVh53qjkFkpPddf+FETA28NwGN7l5l+w==", + "cpu": [ + "riscv64" + ], "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@typescript-eslint/typescript-estree": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.17.0.tgz", - "integrity": "sha512-JqkOopc1nRKZpX+opvKqnM3XUlM7LpFMD0lYxTqOTKQfCWAmxw45e3qlOCsEqEB2yuacujivudOFpCnqkBDNMw==", + "node_modules/@unrs/resolver-binding-linux-s390x-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-s390x-gnu/-/resolver-binding-linux-s390x-gnu-1.12.2.tgz", + "integrity": "sha512-HYJtLfXq94q8iZNFT1lknx258wlkkWhZeUXJRqzKBBUJ00CvZ+N33zgbCqimLjsyw5Va6uUxhVa12mI+kaveEw==", + "cpu": [ + "s390x" + ], "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/visitor-keys": "8.17.0", - "debug": "^4.3.4", - "fast-glob": "^3.3.2", - "is-glob": "^4.0.3", - "minimatch": "^9.0.4", - "semver": "^7.6.0", - "ts-api-utils": "^1.3.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/@unrs/resolver-binding-linux-x64-gnu": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-gnu/-/resolver-binding-linux-x64-gnu-1.12.2.tgz", + "integrity": "sha512-mPsUhunKKDih5O96Y6enDQyHc1SqBPlY1E/SfMWDM3EdJ95Z9CArPeCVwCCqbP45ljvivdEk8Fxn+SIb1rDAJQ==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "balanced-match": "^1.0.0" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "node_modules/@unrs/resolver-binding-linux-x64-musl": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-linux-x64-musl/-/resolver-binding-linux-x64-musl-1.12.2.tgz", + "integrity": "sha512-azrt6+5ydLd8Vt210AAFis/lZevSfPw93EJRIJG+xPu4WCJ8K0kppCTpMyLPcKT7H15M4Jnt2tMp5bOvCkRC6A==", + "cpu": [ + "x64" + ], "dev": true, - "dependencies": { - "brace-expansion": "^2.0.1" - }, - "engines": { - "node": ">=16 || 14 >=14.17" - }, - "funding": { - "url": "https://github.com/sponsors/isaacs" - } + "license": "MIT", + "optional": true, + "os": [ + "linux" + ] }, - "node_modules/@typescript-eslint/typescript-estree/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "node_modules/@unrs/resolver-binding-openharmony-arm64": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-openharmony-arm64/-/resolver-binding-openharmony-arm64-1.12.2.tgz", + "integrity": "sha512-YZ9hP4O0X9PQb8eO980qmLNGH4zT3I9+SZTdt0Pr0YyuGQhYKoOZkV02VzrzyOZJ5xIJ3UFIenKkUkGg8GjgWQ==", + "cpu": [ + "arm64" + ], "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } + "license": "MIT", + "optional": true, + "os": [ + "openharmony" + ] }, - "node_modules/@typescript-eslint/utils": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.17.0.tgz", - "integrity": "sha512-bQC8BnEkxqG8HBGKwG9wXlZqg37RKSMY7v/X8VEWD8JG2JuTHuNK0VFvMPMUKQcbk6B+tf05k+4AShAEtCtJ/w==", + "node_modules/@unrs/resolver-binding-wasm32-wasi": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-wasm32-wasi/-/resolver-binding-wasm32-wasi-1.12.2.tgz", + "integrity": "sha512-tYFDIkMxSflfEc/h92ZWNsZlHSwgimbNHSO3PL2JWQHfCuC2q316jMyYU9TIWZsFK2bQwyK5VAdYgn8ygPj69A==", + "cpu": [ + "wasm32" + ], "dev": true, + "license": "MIT", + "optional": true, "dependencies": { - "@eslint-community/eslint-utils": "^4.4.0", - "@typescript-eslint/scope-manager": "8.17.0", - "@typescript-eslint/types": "8.17.0", - "@typescript-eslint/typescript-estree": "8.17.0" + "@emnapi/core": "1.10.0", + "@emnapi/runtime": "1.10.0", + "@napi-rs/wasm-runtime": "^1.1.4" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - }, - "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } + "node": ">=14.0.0" } }, - "node_modules/@typescript-eslint/visitor-keys": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.17.0.tgz", - "integrity": "sha512-1Hm7THLpO6ww5QU6H/Qp+AusUUl+z/CAm3cNZZ0jQvon9yicgO7Rwd+/WWRpMKLYV6p2UvdbR27c86rzCPpreg==", + "node_modules/@unrs/resolver-binding-win32-arm64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-arm64-msvc/-/resolver-binding-win32-arm64-msvc-1.12.2.tgz", + "integrity": "sha512-qzNyg3xL0VPQmCaUh+N5jSitce6k+uCBfMDesWRnlULOZaqUkaJ0ybdT+UqlAWJoQjuqfIU/0Ptx9bteN4D82g==", + "cpu": [ + "arm64" + ], "dev": true, - "dependencies": { - "@typescript-eslint/types": "8.17.0", - "eslint-visitor-keys": "^4.2.0" - }, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "type": "opencollective", - "url": "https://opencollective.com/typescript-eslint" - } + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, - "node_modules/@typescript-eslint/visitor-keys/node_modules/eslint-visitor-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", - "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "node_modules/@unrs/resolver-binding-win32-ia32-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-ia32-msvc/-/resolver-binding-win32-ia32-msvc-1.12.2.tgz", + "integrity": "sha512-WD9sY00OfpHVGfsnHZoA8jVT+esS/Bg8z8jzxp5BnDCjjwsuKsPQrzswwpFy4J1AUJbXPRfkpcX0mXrzeXW79g==", + "cpu": [ + "ia32" + ], "dev": true, - "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" - }, - "funding": { - "url": "https://opencollective.com/eslint" - } + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] + }, + "node_modules/@unrs/resolver-binding-win32-x64-msvc": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/@unrs/resolver-binding-win32-x64-msvc/-/resolver-binding-win32-x64-msvc-1.12.2.tgz", + "integrity": "sha512-nAB74NfSNKknqQ1RrYj6uz8FcXEomu/MATJZxh/x+BArzN2U3JbOYC0APYzUIGhVY3m5hRxA8VPNdPBoG8txlA==", + "cpu": [ + "x64" + ], + "dev": true, + "license": "MIT", + "optional": true, + "os": [ + "win32" + ] }, "node_modules/acorn": { - "version": "8.14.0", - "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.14.0.tgz", - "integrity": "sha512-cl669nCJTZBsL97OF4kUQm5g5hC2uihk0NxY3WENAC0TYdILVkAyHymAntgxGkl7K+t0cXIrH5siy5S4XkFycA==", + "version": "8.18.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.18.0.tgz", + "integrity": "sha512-lGq+9yr1/GuAWaVYIHRjvvySG5/4VfKIvC8EWxStPdcDh/Ka7FG3twP6v4d5BkravUilhIAsG4Qj83t02LWUPQ==", "dev": true, + "license": "MIT", + "peer": true, "bin": { "acorn": "bin/acorn" }, @@ -2473,16 +3490,17 @@ "resolved": "https://registry.npmjs.org/acorn-jsx/-/acorn-jsx-5.3.2.tgz", "integrity": "sha512-rq9s+JNhf0IChjtDXxllJ7g41oZk5SlXtp0LHwyA5cejwn7vKmKp4pPri6YEePv2PU65sAsegbXtIinmDFDXgQ==", "dev": true, + "license": "MIT", "peerDependencies": { "acorn": "^6.0.0 || ^7.0.0 || ^8.0.0" } }, "node_modules/ajv": { - "version": "6.12.6", - "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.12.6.tgz", - "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "version": "6.15.0", + "resolved": "https://registry.npmjs.org/ajv/-/ajv-6.15.0.tgz", + "integrity": "sha512-fgFx7Hfoq60ytK2c7DhnF8jIvzYgOMxfugjLOSMHjLIPgenqa7S7oaagATUq99mV6IYvN2tRmC0wnTYX6iPbMw==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { "fast-deep-equal": "^3.1.1", "fast-json-stable-stringify": "^2.0.0", @@ -2499,6 +3517,7 @@ "resolved": "https://registry.npmjs.org/ansi-escapes/-/ansi-escapes-4.3.2.tgz", "integrity": "sha512-gKXj5ALrKWQLsYG9jlTRmR/xKluxHV+Z9QEwNIgCfM1/uwPMCuzVVnh5mwTd+OuBZcwSIMbqssNWRm1lE51QaQ==", "dev": true, + "license": "MIT", "dependencies": { "type-fest": "^0.21.3" }, @@ -2513,6 +3532,7 @@ "version": "5.0.1", "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-5.0.1.tgz", "integrity": "sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==", + "license": "MIT", "engines": { "node": ">=8" } @@ -2521,6 +3541,7 @@ "version": "4.3.0", "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-4.3.0.tgz", "integrity": "sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==", + "license": "MIT", "dependencies": { "color-convert": "^2.0.1" }, @@ -2535,13 +3556,15 @@ "version": "1.3.0", "resolved": "https://registry.npmjs.org/any-promise/-/any-promise-1.3.0.tgz", "integrity": "sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/anymatch": { "version": "3.1.3", "resolved": "https://registry.npmjs.org/anymatch/-/anymatch-3.1.3.tgz", "integrity": "sha512-KMReFUr0B4t+D+OBkjR3KYqvocp2XaSzO55UcB6mgQMd3KbcE+mWTyvVV7D/zsdEbNnV6acZUutkiHQXvTr1Rw==", "dev": true, + "license": "ISC", "dependencies": { "normalize-path": "^3.0.0", "picomatch": "^2.0.4" @@ -2550,121 +3573,120 @@ "node": ">= 8" } }, + "node_modules/anymatch/node_modules/picomatch": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.2.tgz", + "integrity": "sha512-V7+vQEJ06Z+c5tSye8S+nHUfI51xoXIXjHQ99cQtKUkQqqO1kO/KCJUfZXuB47h/YBlDhah2H3hdUGXn8ie0oA==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8.6" + }, + "funding": { + "url": "https://github.com/sponsors/jonschlinkert" + } + }, "node_modules/apache-arrow": { - "version": "21.1.0", - "resolved": "https://registry.npmjs.org/apache-arrow/-/apache-arrow-21.1.0.tgz", - "integrity": "sha512-kQrYLxhC+NTVVZ4CCzGF6L/uPVOzJmD1T3XgbiUnP7oTeVFOFgEUu6IKNwCDkpFoBVqDKQivlX4RUFqqnWFlEA==", - "dependencies": { - "@swc/helpers": "^0.5.11", - "@types/command-line-args": "^5.2.3", - "@types/command-line-usage": "^5.0.4", - "@types/node": "^24.0.3", - "command-line-args": "^6.0.1", - "command-line-usage": "^7.0.1", + "version": "21.2.0", + "resolved": "https://registry.npmjs.org/apache-arrow/-/apache-arrow-21.2.0.tgz", + "integrity": "sha512-Hxe6Agq26gQOM954qpzYSllJBPJl+e16U5CkfuMUhLrNba+5nKkttIVlflaovN6oaTratqMGAO8H5u/aNhmHWQ==", + "license": "Apache-2.0", + "dependencies": { + "@types/node": "^25.2.0", "flatbuffers": "^25.1.24", - "json-bignum": "^0.0.3", + "json-with-bigint": "^3.5.3", "tslib": "^2.6.2" }, "bin": { "arrow2csv": "bin/arrow2csv.js" } }, + "node_modules/apache-arrow/node_modules/@types/node": { + "version": "25.9.8", + "resolved": "https://registry.npmjs.org/@types/node/-/node-25.9.8.tgz", + "integrity": "sha512-VfMrScDmMhUJQmd5hArdQnFvK0OIeD36uN2Va1FcpYaLB/BgkgM8Ulc50XtYISPMz7APJ30+N0T5EM0jlcdfRw==", + "license": "MIT", + "dependencies": { + "undici-types": ">=7.24.0 <7.24.7" + } + }, + "node_modules/apache-arrow/node_modules/undici-types": { + "version": "7.24.6", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.24.6.tgz", + "integrity": "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg==", + "license": "MIT" + }, "node_modules/argparse": { "version": "1.0.10", "resolved": "https://registry.npmjs.org/argparse/-/argparse-1.0.10.tgz", "integrity": "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==", "dev": true, + "license": "MIT", "dependencies": { "sprintf-js": "~1.0.2" } }, - "node_modules/array-back": { - "version": "6.2.2", - "resolved": "https://registry.npmjs.org/array-back/-/array-back-6.2.2.tgz", - "integrity": "sha512-gUAZ7HPyb4SJczXAMUXMGAvI976JoK3qEx9v1FTmeYuJj0IBiaKttG1ydtGKdkfqWkIkouke7nG8ufGy77+Cvw==", - "engines": { - "node": ">=12.17" - } - }, - "node_modules/async": { - "version": "3.2.6", - "resolved": "https://registry.npmjs.org/async/-/async-3.2.6.tgz", - "integrity": "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA==", - "dev": true - }, "node_modules/babel-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz", - "integrity": "sha512-BrvGY3xZSwEcCzKvKsCi2GgHqDqsYkOP4/by5xCgIwGXQxIEh+8ew3gmrE1y7XRR6LHZIj6yLYnUi/mm2KXKBg==", - "dev": true, - "dependencies": { - "@jest/transform": "^29.7.0", - "@types/babel__core": "^7.1.14", - "babel-plugin-istanbul": "^6.1.1", - "babel-preset-jest": "^29.6.3", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-30.5.2.tgz", + "integrity": "sha512-ES8WeJ2fNWPEDunyAtUfJ12nHyaWUloCHdkfK2oW5uSoQSUmjNKdWiGaXJITJwvFEWoD/evHEg/QoCXAvLaQqQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/transform": "30.5.2", + "@types/babel__core": "^7.20.5", + "babel-plugin-istanbul": "^8.0.0", + "babel-preset-jest": "30.5.0", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", "slash": "^3.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { - "@babel/core": "^7.8.0" + "@babel/core": "^7.11.0 || ^8.0.0-0" } }, "node_modules/babel-plugin-istanbul": { - "version": "6.1.1", - "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-6.1.1.tgz", - "integrity": "sha512-Y1IQok9821cC9onCx5otgFfRm7Lm+I+wwxOx738M/WLPZ9Q42m4IG5W0FNX8WLL2gYMZo3JkuXIH2DOpWM+qwA==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/babel-plugin-istanbul/-/babel-plugin-istanbul-8.0.0.tgz", + "integrity": "sha512-18wCskrN3DgbuBmp1gr7LBGT8xdz5xhQQqFvFhVxbkl8VBCrMKQ2YtqBWtUal1Zrc1HTuX0011+Brjw78TCFkg==", "dev": true, + "license": "BSD-3-Clause", + "workspaces": [ + "test/babel-8" + ], "dependencies": { "@babel/helper-plugin-utils": "^7.0.0", "@istanbuljs/load-nyc-config": "^1.0.0", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-instrument": "^5.0.4", - "test-exclude": "^6.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/babel-plugin-istanbul/node_modules/istanbul-lib-instrument": { - "version": "5.2.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-5.2.1.tgz", - "integrity": "sha512-pzqtp31nLv/XFOzXGuvhCb8qhjmTVo5vjVk19XE4CRlSWz0KoeJ3bw9XsA7nOp9YBf4qHjwBxkDzKcME/J29Yg==", - "dev": true, - "dependencies": { - "@babel/core": "^7.12.3", - "@babel/parser": "^7.14.7", - "@istanbuljs/schema": "^0.1.2", - "istanbul-lib-coverage": "^3.2.0", - "semver": "^6.3.0" + "@istanbuljs/schema": "^0.1.3", + "istanbul-lib-instrument": "^6.0.2", + "test-exclude": "^7.0.1" }, "engines": { - "node": ">=8" + "node": ">=18" } }, "node_modules/babel-plugin-jest-hoist": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-29.6.3.tgz", - "integrity": "sha512-ESAc/RJvGTFEzRwOTT4+lNDk/GNHMkKbNzsvT0qKRfDyyYTskxB5rnU2njIDYVxXCBHHEI1c0YwHob3WaYujOg==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-plugin-jest-hoist/-/babel-plugin-jest-hoist-30.5.0.tgz", + "integrity": "sha512-gtGo1B+u14jrZQv6TdSWIWkTqclboo7Qn+dFAGUOIuXLFuJKAdg3U5MIWzZnW4vfUb4dX9skmAMiby86e/SF4A==", "dev": true, + "license": "MIT", "dependencies": { - "@babel/template": "^7.3.3", - "@babel/types": "^7.3.3", - "@types/babel__core": "^7.1.14", - "@types/babel__traverse": "^7.0.6" + "@types/babel__core": "^7.20.5" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/babel-preset-current-node-syntax": { - "version": "1.1.0", - "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.1.0.tgz", - "integrity": "sha512-ldYss8SbBlWva1bs28q78Ju5Zq1F+8BrqBZZ0VFhLBvhh6lCpC2o3gDJi/5DRLs9FgYZCnmPYIVFU4lRXCkyUw==", + "version": "1.2.0", + "resolved": "https://registry.npmjs.org/babel-preset-current-node-syntax/-/babel-preset-current-node-syntax-1.2.0.tgz", + "integrity": "sha512-E/VlAEzRrsLEb2+dv8yp3bo4scof3l9nR4lrld+Iy5NyVqgVYUJnDAmunkhPMisRI32Qc4iRiz425d8vM++2fg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/plugin-syntax-async-generators": "^7.8.4", "@babel/plugin-syntax-bigint": "^7.8.3", @@ -2683,63 +3705,73 @@ "@babel/plugin-syntax-top-level-await": "^7.14.5" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.0.0 || ^8.0.0-0" } }, "node_modules/babel-preset-jest": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-29.6.3.tgz", - "integrity": "sha512-0B3bhxR6snWXJZtR/RliHTDPRgn1sNHOR0yVtq/IiQFyuOVjFS+wuio/R4gSNkyYmKmJB4wGZv2NZanmKmTnNA==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/babel-preset-jest/-/babel-preset-jest-30.5.0.tgz", + "integrity": "sha512-ZGPn5ClP4lBDpuOK8W1yQIOy359HmbnZv3suucAlIe+SEE9yDsxV4S2PjSbH2Vc97U+WmzYD7vw3kr8NsQ/i6w==", "dev": true, + "license": "MIT", "dependencies": { - "babel-plugin-jest-hoist": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0" + "babel-plugin-jest-hoist": "30.5.0", + "babel-preset-current-node-syntax": "^1.2.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { - "@babel/core": "^7.0.0" + "@babel/core": "^7.11.0 || ^8.0.0-beta.1 || ^8.0.0" } }, "node_modules/balanced-match": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", - "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", - "dev": true + "version": "4.0.4", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-4.0.4.tgz", + "integrity": "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA==", + "dev": true, + "license": "MIT", + "engines": { + "node": "18 || 20 || >=22" + } + }, + "node_modules/baseline-browser-mapping": { + "version": "2.11.26", + "resolved": "https://registry.npmjs.org/baseline-browser-mapping/-/baseline-browser-mapping-2.11.26.tgz", + "integrity": "sha512-GLQdD3y6UF8iVuMJl5fHgE4jdn/ua7n+toKfLgNlg3BqQtOZjpy68T8Tup8/wGWZCDlm7KMg7tPb4MPn7oN0TQ==", + "dev": true, + "license": "Apache-2.0", + "bin": { + "baseline-browser-mapping": "dist/cli.cjs" + }, + "engines": { + "node": ">=6.0.0" + } }, "node_modules/bluebird": { "version": "3.7.2", "resolved": "https://registry.npmjs.org/bluebird/-/bluebird-3.7.2.tgz", "integrity": "sha512-XpNj6GDQzdfW+r2Wnn7xiSAd7TM3jzkxGXBGTtWKuSXv1xUV+azxAm8jdWZN06QTQk+2N2XB9jRDkvbmQmcRtg==", - "dev": true - }, - "node_modules/brace-expansion": { - "version": "1.1.11", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-1.1.11.tgz", - "integrity": "sha512-iCuPHDFgrHX7H2vEI/5xpz07zSHB00TpugqhmYtVmMO6518mCuRMoOYFldEBl0g187ufozdaHgWKcYFb61qGiA==", "dev": true, - "dependencies": { - "balanced-match": "^1.0.0", - "concat-map": "0.0.1" - } + "license": "MIT" }, - "node_modules/braces": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/braces/-/braces-3.0.3.tgz", - "integrity": "sha512-yQbXgO/OSZVD2IsiLlro+7Hf6Q18EJrKSEsdoMzKePKXct3gvD8oLcOQdIzGupr5Fj+EDe8gO/lxc1BzfMpxvA==", + "node_modules/brace-expansion": { + "version": "5.0.12", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-5.0.12.tgz", + "integrity": "sha512-YovQ3rzhaLMIrDjNDMkNS01tea93qhEhG5xy8f6+R0l+dw3Ki+5sCoIoI942iuLZTHWogWktgwVDhU09iNEimQ==", "dev": true, + "license": "MIT", "dependencies": { - "fill-range": "^7.1.1" + "balanced-match": "^4.0.2" }, "engines": { - "node": ">=8" + "node": "20 || >=22" } }, "node_modules/browserslist": { - "version": "4.24.2", - "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.24.2.tgz", - "integrity": "sha512-ZIc+Q62revdMcqC6aChtW4jz3My3klmCO1fEmINZY/8J3EpBg5/A/D0AKmBveUh6pgoeycoMkVMko84tuYS+Gg==", + "version": "4.29.2", + "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-4.29.2.tgz", + "integrity": "sha512-/u9r8k8ue4ZhHCw9ovDtltpWdXeXzjhdxCGj6vm1RGLPXb8lu33EMdoCHF5Sx8oYBS+Q/FYYNmAqlHncxR3RmA==", "dev": true, "funding": [ { @@ -2755,11 +3787,14 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", + "peer": true, "dependencies": { - "caniuse-lite": "^1.0.30001669", - "electron-to-chromium": "^1.5.41", - "node-releases": "^2.0.18", - "update-browserslist-db": "^1.1.1" + "baseline-browser-mapping": "^2.11.26", + "caniuse-lite": "^1.0.30001812", + "electron-to-chromium": "^1.5.439", + "node-releases": "^2.0.57", + "update-browserslist-db": "^1.3.3" }, "bin": { "browserslist": "cli.js" @@ -2773,6 +3808,7 @@ "resolved": "https://registry.npmjs.org/bs-logger/-/bs-logger-0.2.6.tgz", "integrity": "sha512-pd8DCoxmbgc7hyPKOvxtqNcjYoOsABPQdcCUjGp3d42VR2CX1ORhk2A87oqqu5R1kk+76nsxZupkmyd+MVtCog==", "dev": true, + "license": "MIT", "dependencies": { "fast-json-stable-stringify": "2.x" }, @@ -2785,21 +3821,17 @@ "resolved": "https://registry.npmjs.org/bser/-/bser-2.1.1.tgz", "integrity": "sha512-gQxTNE/GAfIIrmHLUE3oJyp5FO6HRBfhjnw4/wMmA63ZGDJnWBmgY/lyQBpnDUkGmAhbSe39tx2d/iTOAfglwQ==", "dev": true, + "license": "Apache-2.0", "dependencies": { "node-int64": "^0.4.0" } }, - "node_modules/buffer-from": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/buffer-from/-/buffer-from-1.1.2.tgz", - "integrity": "sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ==", - "dev": true - }, "node_modules/bundle-require": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.0.0.tgz", - "integrity": "sha512-GuziW3fSSmopcx4KRymQEJVbZUfqlCqcq7dvs6TYwKRZiegK/2buMxQTPs6MGlNv50wms1699qYO54R8XfRX4w==", + "version": "5.1.0", + "resolved": "https://registry.npmjs.org/bundle-require/-/bundle-require-5.1.0.tgz", + "integrity": "sha512-3WrrOuZiyaaZPWiEt4G3+IffISVC9HYlWueJEBWED4ZH4aIAC2PnkdnuRrR94M+w6yGWn4AglWtJtBI8YqvgoA==", "dev": true, + "license": "MIT", "dependencies": { "load-tsconfig": "^0.2.3" }, @@ -2815,15 +3847,31 @@ "resolved": "https://registry.npmjs.org/cac/-/cac-6.7.14.tgz", "integrity": "sha512-b6Ilus+c3RrdDk+JhLKUAQfzzgLEPy6wcXqS7f/xe1EETvsDP6GORG7SFuOs6cID5YkqchW/LXZbX5bc8j7ZcQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/cacheable": { + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-2.5.0.tgz", + "integrity": "sha512-60cyAOytib/OzBw1JNSoSV/boK1AtHryDIjvVBk7XbN4ugfkM3+Sry7fEjNgPMGgOjuaZPAp8ruZ0Cxafwyq9g==", + "dev": true, + "license": "MIT", + "dependencies": { + "@cacheable/memory": "^2.2.0", + "@cacheable/utils": "^2.5.0", + "hookified": "^1.15.0", + "keyv": "^5.6.0", + "qified": "^0.10.1" + } + }, "node_modules/callsites": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/callsites/-/callsites-3.1.0.tgz", "integrity": "sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -2833,14 +3881,15 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-5.3.1.tgz", "integrity": "sha512-L28STB170nwWS63UjtlEOE3dldQApaJXZkOI1uMFfzf3rRuPegHaHesyee+YxQ+W6SvRDQV6UrdOdRiR153wJg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/caniuse-lite": { - "version": "1.0.30001686", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001686.tgz", - "integrity": "sha512-Y7deg0Aergpa24M3qLC5xjNklnKnhsmSyR/V89dLZ1n0ucJIFNs7PgR2Yfa/Zf6W79SbBicgtGxZr2juHkEUIA==", + "version": "1.0.30001813", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001813.tgz", + "integrity": "sha512-zfjJo4rM0+fUomGDBW/xcDjhIwz/210DGvip2MAMDZ8KHcRPnOHmEgHPZP0UHlZoxr8fYKVJOqcORhYQcG4FKQ==", "dev": true, "funding": [ { @@ -2855,13 +3904,15 @@ "type": "github", "url": "https://github.com/sponsors/ai" } - ] + ], + "license": "CC-BY-4.0" }, "node_modules/catharsis": { "version": "0.9.0", "resolved": "https://registry.npmjs.org/catharsis/-/catharsis-0.9.0.tgz", "integrity": "sha512-prMTQVpcns/tzFgFVkVp6ak6RykZyWb3gu8ckUpd6YkTlacOd3DXGJjIpD4Q6zJirizvaiAjSSHlOsA+6sNh2A==", "dev": true, + "license": "MIT", "dependencies": { "lodash": "^4.17.15" }, @@ -2872,30 +3923,18 @@ "node_modules/chalk": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/chalk/-/chalk-4.1.2.tgz", - "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", - "dependencies": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - }, - "engines": { - "node": ">=10" - }, - "funding": { - "url": "https://github.com/chalk/chalk?sponsor=1" - } - }, - "node_modules/chalk-template": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/chalk-template/-/chalk-template-0.4.0.tgz", - "integrity": "sha512-/ghrgmhfY8RaSdeo43hNXxpoHAtxdbskUHjPpfqUWGttFgycUhYPGx3YZBCnUCvOa7Doivn1IZec3DEGFoMgLg==", + "integrity": "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA==", + "dev": true, + "license": "MIT", "dependencies": { - "chalk": "^4.1.2" + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" }, "engines": { - "node": ">=12" + "node": ">=10" }, "funding": { - "url": "https://github.com/chalk/chalk-template?sponsor=1" + "url": "https://github.com/chalk/chalk?sponsor=1" } }, "node_modules/char-regex": { @@ -2903,15 +3942,17 @@ "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } }, "node_modules/chokidar": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.1.tgz", - "integrity": "sha512-n8enUVCED/KVRQlab1hr3MVpcVMvxtZjmEa956u+4YijlmQED223XMSYj2tLuKvr4jcCTzNNMpQDUer72MMmzA==", + "version": "4.0.3", + "resolved": "https://registry.npmjs.org/chokidar/-/chokidar-4.0.3.tgz", + "integrity": "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA==", "dev": true, + "license": "MIT", "dependencies": { "readdirp": "^4.0.1" }, @@ -2923,9 +3964,9 @@ } }, "node_modules/ci-info": { - "version": "3.9.0", - "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-3.9.0.tgz", - "integrity": "sha512-NIxF55hv4nSqQswkAeiOi1r83xy8JldOFDTWiug55KBu9Jnblncd2U6ViHmYgHf01TPZS77NJBhBMKdWj9HQMQ==", + "version": "4.4.0", + "resolved": "https://registry.npmjs.org/ci-info/-/ci-info-4.4.0.tgz", + "integrity": "sha512-77PSwercCZU2Fc4sX94eF8k8Pxte6JAwL4/ICZLFjJLqegs7kCuAsqqj/70NQF6TvDpgFjkubQB2FW2ZZddvQg==", "dev": true, "funding": [ { @@ -2933,20 +3974,23 @@ "url": "https://github.com/sponsors/sibiraj-s" } ], + "license": "MIT", "engines": { "node": ">=8" } }, "node_modules/cjs-module-lexer": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-1.4.1.tgz", - "integrity": "sha512-cuSVIHi9/9E/+821Qjdvngor+xpnlwnuwIyZOaLmHBVdXL+gP+I6QQB9VkO7RI77YIcTV+S1W9AreJ5eN63JBA==", - "dev": true + "version": "2.2.1", + "resolved": "https://registry.npmjs.org/cjs-module-lexer/-/cjs-module-lexer-2.2.1.tgz", + "integrity": "sha512-Ca8swihM+/4yKecYHY52kgJd300hi2lADU/a1RxNTRe+RJ9jvqQlESpbz9DnG9mowez8qwXHB8qYdIUw9e+F5Q==", + "dev": true, + "license": "MIT" }, "node_modules/cliui": { "version": "8.0.1", "resolved": "https://registry.npmjs.org/cliui/-/cliui-8.0.1.tgz", "integrity": "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ==", + "license": "ISC", "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", @@ -2961,21 +4005,24 @@ "resolved": "https://registry.npmjs.org/co/-/co-4.6.0.tgz", "integrity": "sha512-QVb0dM5HvG+uaxitm8wONl7jltx8dqhfU33DcqtOZcLSVIKSDDLDi7+0LbAKiyI8hD9u42m2YxXSkMGWThaecQ==", "dev": true, + "license": "MIT", "engines": { "iojs": ">= 1.0.0", "node": ">= 0.12.0" } }, "node_modules/collect-v8-coverage": { - "version": "1.0.2", - "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.2.tgz", - "integrity": "sha512-lHl4d5/ONEbLlJvaJNtsF/Lz+WvB07u2ycqTYbdrq7UypDXailES4valYb2eWiJFxZlVmpGekfqoxQhzyFdT4Q==", - "dev": true + "version": "1.0.3", + "resolved": "https://registry.npmjs.org/collect-v8-coverage/-/collect-v8-coverage-1.0.3.tgz", + "integrity": "sha512-1L5aqIkwPfiodaMgQunkF1zRhNqifHBmtbbbxcr6yVxxBnliw4TDOW6NxpO8DJLgJ16OT+Y4ztZqP6p/FtXnAw==", + "dev": true, + "license": "MIT" }, "node_modules/color-convert": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/color-convert/-/color-convert-2.0.1.tgz", "integrity": "sha512-RRECPsj7iu/xb5oKYcsFHSppFNnsj/52OVTRKb4zP5onXwVF3zVmmToNcOfGC+CRDpfK/U584fMg38ZHCaElKQ==", + "license": "MIT", "dependencies": { "color-name": "~1.1.4" }, @@ -2986,64 +4033,32 @@ "node_modules/color-name": { "version": "1.1.4", "resolved": "https://registry.npmjs.org/color-name/-/color-name-1.1.4.tgz", - "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==" - }, - "node_modules/command-line-args": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/command-line-args/-/command-line-args-6.0.1.tgz", - "integrity": "sha512-Jr3eByUjqyK0qd8W0SGFW1nZwqCaNCtbXjRo2cRJC1OYxWl3MZ5t1US3jq+cO4sPavqgw4l9BMGX0CBe+trepg==", - "dependencies": { - "array-back": "^6.2.2", - "find-replace": "^5.0.2", - "lodash.camelcase": "^4.3.0", - "typical": "^7.2.0" - }, - "engines": { - "node": ">=12.20" - }, - "peerDependencies": { - "@75lb/nature": "latest" - }, - "peerDependenciesMeta": { - "@75lb/nature": { - "optional": true - } - } - }, - "node_modules/command-line-usage": { - "version": "7.0.3", - "resolved": "https://registry.npmjs.org/command-line-usage/-/command-line-usage-7.0.3.tgz", - "integrity": "sha512-PqMLy5+YGwhMh1wS04mVG44oqDsgyLRSKJBdOo1bnYhMKBW65gZF1dRp2OZRhiTjgUHljy99qkO7bsctLaw35Q==", - "dependencies": { - "array-back": "^6.2.2", - "chalk-template": "^0.4.0", - "table-layout": "^4.1.0", - "typical": "^7.1.1" - }, - "engines": { - "node": ">=12.20.0" - } + "integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==", + "license": "MIT" }, "node_modules/commander": { "version": "4.1.1", "resolved": "https://registry.npmjs.org/commander/-/commander-4.1.1.tgz", "integrity": "sha512-NOKm8xhkzAjzFx8B2v5OAHT+u5pRQc2UCa2Vq9jYL/31o2wi9mxBA7LIFs3sV5VSC49z6pEhfbMULvShKj26WA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } }, - "node_modules/concat-map": { - "version": "0.0.1", - "resolved": "https://registry.npmjs.org/concat-map/-/concat-map-0.0.1.tgz", - "integrity": "sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==", - "dev": true + "node_modules/confbox": { + "version": "0.1.8", + "resolved": "https://registry.npmjs.org/confbox/-/confbox-0.1.8.tgz", + "integrity": "sha512-RMtmw0iFkeR4YV+fUOSucriAQNb9g8zFR52MWCtl+cCZOFRNL6zeB395vPzFhEjjn4fMxXudmELnl/KF/WrK6w==", + "dev": true, + "license": "MIT" }, "node_modules/consola": { - "version": "3.2.3", - "resolved": "https://registry.npmjs.org/consola/-/consola-3.2.3.tgz", - "integrity": "sha512-I5qxpzLv+sJhTVEoLYNcTW+bThDCPsit0vLNKShZx6rLtpilNpmmeTPaeqJb9ZE9dV3DGaeby6Vuhrw38WjeyQ==", + "version": "3.4.2", + "resolved": "https://registry.npmjs.org/consola/-/consola-3.4.2.tgz", + "integrity": "sha512-5IKcdX0nnYavi6G7TtOhwkYzyjfJlatbjMjuLSfE2kYT5pMDOilZ4OvMhi637CcDICTmz3wARPoyhqyX1Y+XvA==", "dev": true, + "license": "MIT", "engines": { "node": "^14.18.0 || >=16.10.0" } @@ -3052,34 +4067,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-2.0.0.tgz", "integrity": "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg==", - "dev": true - }, - "node_modules/create-jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/create-jest/-/create-jest-29.7.0.tgz", - "integrity": "sha512-Adz2bdH0Vq3F53KEMJOoftQFutWCukm6J24wbPWRO4k1kMY7gS7ds/uoJkNuV8wDCtWWnuwGcJwpWcih+zEW1Q==", "dev": true, - "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "exit": "^0.1.2", - "graceful-fs": "^4.2.9", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "prompts": "^2.0.1" - }, - "bin": { - "create-jest": "bin/create-jest.js" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } + "license": "MIT" }, "node_modules/cross-spawn": { "version": "7.0.6", "resolved": "https://registry.npmjs.org/cross-spawn/-/cross-spawn-7.0.6.tgz", "integrity": "sha512-uV2QOWP2nWzsy2aMp8aRibhi9dlzF5Hgh5SHaB9OiTGEyDTiJJyx0uy51QXdyWbtAHNua4XJzUKca3OzKUd3vA==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.1.0", "shebang-command": "^2.0.0", @@ -3090,10 +4086,11 @@ } }, "node_modules/debug": { - "version": "4.3.7", - "resolved": "https://registry.npmjs.org/debug/-/debug-4.3.7.tgz", - "integrity": "sha512-Er2nc/H7RrMXZBFCEim6TCmMk02Z8vLC2Rbi1KEBggpo0fS6l0S1nnapwmIi3yW/+GOJap1Krg4w0Hg80oCqgQ==", + "version": "4.4.3", + "resolved": "https://registry.npmjs.org/debug/-/debug-4.4.3.tgz", + "integrity": "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==", "dev": true, + "license": "MIT", "dependencies": { "ms": "^2.1.3" }, @@ -3107,10 +4104,11 @@ } }, "node_modules/dedent": { - "version": "1.5.3", - "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.5.3.tgz", - "integrity": "sha512-NHQtfOOW68WD8lgypbLA5oT+Bt0xXJhiYvoR6SmmNXZfpzOGXwdKWmcwG8N7PwVVWV3eF/68nmD9BaJSsTBhyQ==", + "version": "1.7.2", + "resolved": "https://registry.npmjs.org/dedent/-/dedent-1.7.2.tgz", + "integrity": "sha512-WzMx3mW98SN+zn3hgemf4OzdmyNhhhKz5Ay0pUfQiMQ3e1g+xmTJWp/pKdwKVXhdSkAEGIIzqeuWrL3mV/AXbA==", "dev": true, + "license": "MIT", "peerDependencies": { "babel-plugin-macros": "^3.1.0" }, @@ -3124,67 +4122,59 @@ "version": "0.1.4", "resolved": "https://registry.npmjs.org/deep-is/-/deep-is-0.1.4.tgz", "integrity": "sha512-oIPzksmTg4/MriiaYGO+okXDT7ztn/w3Eptv/+gSIdMdKsJo0u4CfYNFJPy+4SKMuCqGw2wxnA+URMg3t8a/bQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/deepmerge": { "version": "4.3.1", "resolved": "https://registry.npmjs.org/deepmerge/-/deepmerge-4.3.1.tgz", "integrity": "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/detect-newline": { - "version": "3.1.0", - "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", - "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", + "node_modules/detect-libc": { + "version": "2.1.2", + "resolved": "https://registry.npmjs.org/detect-libc/-/detect-libc-2.1.2.tgz", + "integrity": "sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=8" } }, - "node_modules/diff-sequences": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/diff-sequences/-/diff-sequences-29.6.3.tgz", - "integrity": "sha512-EjePK1srD3P08o2j4f0ExnylqRs5B9tJjcp9t1krH2qRi8CCdsYfwe9JgSLurFBWwq4uOlipzfk5fHNvwFKr8Q==", + "node_modules/detect-newline": { + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz", + "integrity": "sha512-TLz+x/vEXm/Y7P7wn1EJFNLxYpUD4TgMosxY6fAVJUnJMbupHBOncxyWUG9OpTaH9EBD7uFI5LfEgmMOc54DsA==", "dev": true, + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": ">=8" } }, "node_modules/eastasianwidth": { "version": "0.2.0", "resolved": "https://registry.npmjs.org/eastasianwidth/-/eastasianwidth-0.2.0.tgz", "integrity": "sha512-I88TYZWc9XiYHRQ4/3c5rjjfgkjhLyW2luGIheGERbNQ6OY7yTybanSpDXZa8y7VUP9YmDcYa+eyq4ca7iLqWA==", - "dev": true - }, - "node_modules/ejs": { - "version": "3.1.10", - "resolved": "https://registry.npmjs.org/ejs/-/ejs-3.1.10.tgz", - "integrity": "sha512-UeJmFfOrAQS8OJWPZ4qtgHyWExa088/MtK5UEyoJGFH67cDEXkZSviOiKRCZ4Xij0zxI3JECgYs3oKx+AizQBA==", "dev": true, - "dependencies": { - "jake": "^10.8.5" - }, - "bin": { - "ejs": "bin/cli.js" - }, - "engines": { - "node": ">=0.10.0" - } + "license": "MIT" }, "node_modules/electron-to-chromium": { - "version": "1.5.70", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.70.tgz", - "integrity": "sha512-P6FPqAWIZrC3sHDAwBitJBs7N7IF58m39XVny7DFseQXK2eiMn7nNQizFf63mWDDUnFvaqsM8FI0+ZZfLkdUGA==", - "dev": true + "version": "1.5.440", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.5.440.tgz", + "integrity": "sha512-SghDzqdJokdz8zP8YNlvS74+CwLRoUPDGvP/gFA+HrKVw+pOshUAgx8pXR37xl/u16zGae746rFNWvZ/22kU2Q==", + "dev": true, + "license": "ISC" }, "node_modules/emittery": { "version": "0.13.1", "resolved": "https://registry.npmjs.org/emittery/-/emittery-0.13.1.tgz", "integrity": "sha512-DeWwawk6r5yR9jFgnDKYt4sLS0LmHJJi3ZOnb5/JdbYwj3nW+FxQnHIjhBKz8YLC7oRNPVM9NQ47I3CVx34eqQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=12" }, @@ -3195,13 +4185,15 @@ "node_modules/emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmjs.org/emoji-regex/-/emoji-regex-8.0.0.tgz", - "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==" + "integrity": "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==", + "license": "MIT" }, "node_modules/entities": { "version": "4.5.0", "resolved": "https://registry.npmjs.org/entities/-/entities-4.5.0.tgz", "integrity": "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.12" }, @@ -3210,20 +4202,40 @@ } }, "node_modules/error-ex": { - "version": "1.3.2", - "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.2.tgz", - "integrity": "sha512-7dFHNmqeFSEt2ZBsCriorKnn3Z2pj+fd9kmI6QoWw4//DL+icEBfc0U7qJCisqrTsKTjw4fNFy2pW9OqStD84g==", + "version": "1.3.4", + "resolved": "https://registry.npmjs.org/error-ex/-/error-ex-1.3.4.tgz", + "integrity": "sha512-sqQamAnR14VgCr1A618A3sGrygcpK+HEbenA/HiEAkkUwcZIIB/tgWqHFxWgOyDh4nB4JCRimh79dR5Ywc9MDQ==", "dev": true, + "license": "MIT", "dependencies": { "is-arrayish": "^0.2.1" } }, + "node_modules/es-errors": { + "version": "1.3.0", + "resolved": "https://registry.npmjs.org/es-errors/-/es-errors-1.3.0.tgz", + "integrity": "sha512-Zf5H2Kxt2xjTvbJvP2ZWLEICxA6j+hAmMzIlypy4xcBg1vKVnx89Wy0GbS+kf5cwCVFFzdCFh2XSCFNULS6csw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + } + }, + "node_modules/es-module-lexer": { + "version": "2.3.2", + "resolved": "https://registry.npmjs.org/es-module-lexer/-/es-module-lexer-2.3.2.tgz", + "integrity": "sha512-poHGpORABojJJucnV9KbOavETW8lBVnphkW77ER5/BQ5Fz7oXSoCNek7IH3vR5nRjdsEz926ibFYX8KtLQmdyw==", + "dev": true, + "license": "MIT" + }, "node_modules/esbuild": { - "version": "0.24.0", - "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.24.0.tgz", - "integrity": "sha512-FuLPevChGDshgSicjisSooU0cemp/sGXR841D5LHMB7mTVOmsEHcAxaH3irL53+8YDIeVNQEySh4DaYU/iuPqQ==", + "version": "0.27.7", + "resolved": "https://registry.npmjs.org/esbuild/-/esbuild-0.27.7.tgz", + "integrity": "sha512-IxpibTjyVnmrIQo5aqNpCgoACA/dTKLTlhMHihVHhdkxKyPO1uBBthumT0rdHmcsk9uMonIWS0m4FljWzILh3w==", "dev": true, "hasInstallScript": true, + "license": "MIT", + "peer": true, "bin": { "esbuild": "bin/esbuild" }, @@ -3231,119 +4243,117 @@ "node": ">=18" }, "optionalDependencies": { - "@esbuild/aix-ppc64": "0.24.0", - "@esbuild/android-arm": "0.24.0", - "@esbuild/android-arm64": "0.24.0", - "@esbuild/android-x64": "0.24.0", - "@esbuild/darwin-arm64": "0.24.0", - "@esbuild/darwin-x64": "0.24.0", - "@esbuild/freebsd-arm64": "0.24.0", - "@esbuild/freebsd-x64": "0.24.0", - "@esbuild/linux-arm": "0.24.0", - "@esbuild/linux-arm64": "0.24.0", - "@esbuild/linux-ia32": "0.24.0", - "@esbuild/linux-loong64": "0.24.0", - "@esbuild/linux-mips64el": "0.24.0", - "@esbuild/linux-ppc64": "0.24.0", - "@esbuild/linux-riscv64": "0.24.0", - "@esbuild/linux-s390x": "0.24.0", - "@esbuild/linux-x64": "0.24.0", - "@esbuild/netbsd-x64": "0.24.0", - "@esbuild/openbsd-arm64": "0.24.0", - "@esbuild/openbsd-x64": "0.24.0", - "@esbuild/sunos-x64": "0.24.0", - "@esbuild/win32-arm64": "0.24.0", - "@esbuild/win32-ia32": "0.24.0", - "@esbuild/win32-x64": "0.24.0" + "@esbuild/aix-ppc64": "0.27.7", + "@esbuild/android-arm": "0.27.7", + "@esbuild/android-arm64": "0.27.7", + "@esbuild/android-x64": "0.27.7", + "@esbuild/darwin-arm64": "0.27.7", + "@esbuild/darwin-x64": "0.27.7", + "@esbuild/freebsd-arm64": "0.27.7", + "@esbuild/freebsd-x64": "0.27.7", + "@esbuild/linux-arm": "0.27.7", + "@esbuild/linux-arm64": "0.27.7", + "@esbuild/linux-ia32": "0.27.7", + "@esbuild/linux-loong64": "0.27.7", + "@esbuild/linux-mips64el": "0.27.7", + "@esbuild/linux-ppc64": "0.27.7", + "@esbuild/linux-riscv64": "0.27.7", + "@esbuild/linux-s390x": "0.27.7", + "@esbuild/linux-x64": "0.27.7", + "@esbuild/netbsd-arm64": "0.27.7", + "@esbuild/netbsd-x64": "0.27.7", + "@esbuild/openbsd-arm64": "0.27.7", + "@esbuild/openbsd-x64": "0.27.7", + "@esbuild/openharmony-arm64": "0.27.7", + "@esbuild/sunos-x64": "0.27.7", + "@esbuild/win32-arm64": "0.27.7", + "@esbuild/win32-ia32": "0.27.7", + "@esbuild/win32-x64": "0.27.7" } }, "node_modules/escalade": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/escalade/-/escalade-3.2.0.tgz", "integrity": "sha512-WUj2qlxaQtO4g6Pq5c29GTcWGDyd8itL8zTlipgECz3JesAiiOKotd8JU6otB3PACgG6xkJUyVhboMS+bje/jA==", + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/escape-string-regexp": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", - "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "version": "4.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", + "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/escodegen": { - "version": "1.14.3", - "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-1.14.3.tgz", - "integrity": "sha512-qFcX0XJkdg+PB3xjZZG/wKSuT1PnQWx57+TVSjIMmILd2yC/6ByYElPwJnslDsuWuSAp4AwJGumarAAmJch5Kw==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/escodegen/-/escodegen-2.1.0.tgz", + "integrity": "sha512-2NlIDTwUWJN0mRPQOdtQBzbUHvdGY2P1VXSyU83Q3xKxM7WHX2Ql8dKq782Q9TgQUNOLEzEYu9bzLNj1q88I5w==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "esprima": "^4.0.1", - "estraverse": "^4.2.0", - "esutils": "^2.0.2", - "optionator": "^0.8.1" + "estraverse": "^5.2.0", + "esutils": "^2.0.2" }, "bin": { "escodegen": "bin/escodegen.js", "esgenerate": "bin/esgenerate.js" }, "engines": { - "node": ">=4.0" + "node": ">=6.0" }, "optionalDependencies": { "source-map": "~0.6.1" } }, - "node_modules/escodegen/node_modules/estraverse": { - "version": "4.3.0", - "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz", - "integrity": "sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==", - "dev": true, - "engines": { - "node": ">=4.0" - } - }, "node_modules/eslint": { - "version": "9.16.0", - "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.16.0.tgz", - "integrity": "sha512-whp8mSQI4C8VXd+fLgSM0lh3UlmcFtVwUQjyKCFfsp+2ItAIYhlq/hqGahGqHE6cv9unM41VlqKk2VtKYR2TaA==", + "version": "10.11.0", + "resolved": "https://registry.npmjs.org/eslint/-/eslint-10.11.0.tgz", + "integrity": "sha512-P7a6UEEqb9G95MYAtqkmsTbVXIYyzIfl6NGOIJk162PaahFxFyeGcrlXYFSiagECg4sEm8IseJdZBKR3rx6MsQ==", "dev": true, + "license": "MIT", "peer": true, + "workspaces": [ + "packages/*" + ], "dependencies": { - "@eslint-community/eslint-utils": "^4.2.0", - "@eslint-community/regexpp": "^4.12.1", - "@eslint/config-array": "^0.19.0", - "@eslint/core": "^0.9.0", - "@eslint/eslintrc": "^3.2.0", - "@eslint/js": "9.16.0", - "@eslint/plugin-kit": "^0.2.3", + "@eslint-community/eslint-utils": "^4.8.0", + "@eslint-community/regexpp": "^4.12.2", + "@eslint/config-array": "^0.23.5", + "@eslint/config-helpers": "^0.7.0", + "@eslint/core": "^1.2.1", + "@eslint/plugin-kit": "^0.7.3", "@humanfs/node": "^0.16.6", "@humanwhocodes/module-importer": "^1.0.1", - "@humanwhocodes/retry": "^0.4.1", + "@humanwhocodes/retry": "^0.4.2", "@types/estree": "^1.0.6", - "@types/json-schema": "^7.0.15", - "ajv": "^6.12.4", - "chalk": "^4.0.0", - "cross-spawn": "^7.0.5", + "ajv": "^6.14.0", + "cross-spawn": "^7.0.6", "debug": "^4.3.2", "escape-string-regexp": "^4.0.0", - "eslint-scope": "^8.2.0", - "eslint-visitor-keys": "^4.2.0", - "espree": "^10.3.0", - "esquery": "^1.5.0", + "eslint-scope": "^9.1.2", + "eslint-visitor-keys": "^5.0.1", + "espree": "^11.2.0", + "esquery": "^1.7.0", "esutils": "^2.0.2", "fast-deep-equal": "^3.1.3", - "file-entry-cache": "^8.0.0", + "file-entry-cache": "11.1.5 || >11.1.6 <12", "find-up": "^5.0.0", "glob-parent": "^6.0.2", "ignore": "^5.2.0", "imurmurhash": "^0.1.4", "is-glob": "^4.0.0", "json-stable-stringify-without-jsonify": "^1.0.1", - "lodash.merge": "^4.6.2", - "minimatch": "^3.1.2", + "minimatch": "^10.2.5", "natural-compare": "^1.4.0", "optionator": "^0.9.3" }, @@ -3351,7 +4361,7 @@ "eslint": "bin/eslint.js" }, "engines": { - "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://eslint.org/donate" @@ -3366,204 +4376,239 @@ } }, "node_modules/eslint-plugin-tsdoc": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/eslint-plugin-tsdoc/-/eslint-plugin-tsdoc-0.4.0.tgz", - "integrity": "sha512-MT/8b4aKLdDClnS8mP3R/JNjg29i0Oyqd/0ym6NnQf+gfKbJJ4ZcSh2Bs1H0YiUMTBwww5JwXGTWot/RwyJ7aQ==", + "version": "0.5.3", + "resolved": "https://registry.npmjs.org/eslint-plugin-tsdoc/-/eslint-plugin-tsdoc-0.5.3.tgz", + "integrity": "sha512-WVG/kTgaJuTaAyHqTFmJ6W6rD6vV5UTHjw9ipMPA0fcmHLbJSLPvnY645p0N5bidRGTkboNEYrkOufnhC6RYXw==", "dev": true, + "license": "MIT", "dependencies": { - "@microsoft/tsdoc": "0.15.1", - "@microsoft/tsdoc-config": "0.17.1" + "@microsoft/tsdoc": "0.17.0", + "@microsoft/tsdoc-config": "0.18.2", + "@typescript-eslint/utils": "~8.56.0" + }, + "peerDependencies": { + "eslint": ">=7" + }, + "peerDependenciesMeta": { + "eslint": { + "optional": true + } } }, - "node_modules/eslint-scope": { - "version": "8.2.0", - "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-8.2.0.tgz", - "integrity": "sha512-PHlWUfG6lvPc3yvP5A4PNyBL1W8fkDUccmI21JUu/+GKZBoH/W5u6usENXUrWFRsyoW5ACUjFGgAFQp5gUlb/A==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/project-service": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/project-service/-/project-service-8.56.1.tgz", + "integrity": "sha512-TAdqQTzHNNvlVFfR+hu2PDJrURiwKsUvxFn1M0h95BB8ah5jejas08jUWG4dBA68jDMI988IvtfdAI53JzEHOQ==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "esrecurse": "^4.3.0", - "estraverse": "^5.2.0" + "@typescript-eslint/tsconfig-utils": "^8.56.1", + "@typescript-eslint/types": "^8.56.1", + "debug": "^4.4.3" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/eslint-visitor-keys": { - "version": "3.4.3", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", - "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/scope-manager": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/scope-manager/-/scope-manager-8.56.1.tgz", + "integrity": "sha512-YAi4VDKcIZp0O4tz/haYKhmIDZFEUPOreKbfdAN3SzUDMcPhJ8QI99xQXqX+HoUVq8cs85eRKnD+rne2UAnj2w==", "dev": true, + "license": "MIT", + "dependencies": { + "@typescript-eslint/types": "8.56.1", + "@typescript-eslint/visitor-keys": "8.56.1" + }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/eslint/node_modules/escape-string-regexp": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-4.0.0.tgz", - "integrity": "sha512-TtpcNJ3XAzx3Gq8sWRzJaVajRs0uVxA2YAkdb1jm2YkPz4G6egUFAyA3n5vtEIZefPk5Wa4UXbKuS5fKkJWdgA==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/tsconfig-utils": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/tsconfig-utils/-/tsconfig-utils-8.56.1.tgz", + "integrity": "sha512-qOtCYzKEeyr3aR9f28mPJqBty7+DBqsdd63eO0yyDwc6vgThj2UjWfJIcsFeSucYydqcuudMOprZ+x1SpF3ZuQ==", "dev": true, - "peer": true, + "license": "MIT", "engines": { - "node": ">=10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/eslint/node_modules/eslint-visitor-keys": { - "version": "4.2.0", - "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-4.2.0.tgz", - "integrity": "sha512-UyLnSehNt62FFhSwjZlHmeokpRK59rcz29j+F1/aDgbkbRTk7wIc9XzdoasMUbRNKDM0qQt/+BJ4BrpFeABemw==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/types": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/types/-/types-8.56.1.tgz", + "integrity": "sha512-dbMkdIUkIkchgGDIv7KLUpa0Mda4IYjo4IAMJUZ+3xNoUXxMsk9YtKpTHSChRS85o+H9ftm51gsK1dZReY9CVw==", "dev": true, - "peer": true, + "license": "MIT", "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/eslint/node_modules/espree": { - "version": "10.3.0", - "resolved": "https://registry.npmjs.org/espree/-/espree-10.3.0.tgz", - "integrity": "sha512-0QYC8b24HWY8zjRnDTL6RiHfDbAWn63qb4LMj1Z4b076A4une81+z03Kg7l7mn/48PUTqoLptSXez8oknU8Clg==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/typescript-estree": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/typescript-estree/-/typescript-estree-8.56.1.tgz", + "integrity": "sha512-qzUL1qgalIvKWAf9C1HpvBjif+Vm6rcT5wZd4VoMb9+Km3iS3Cv9DY6dMRMDtPnwRAFyAi7YXJpTIEXLvdfPxg==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "acorn": "^8.14.0", - "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^4.2.0" + "@typescript-eslint/project-service": "8.56.1", + "@typescript-eslint/tsconfig-utils": "8.56.1", + "@typescript-eslint/types": "8.56.1", + "@typescript-eslint/visitor-keys": "8.56.1", + "debug": "^4.4.3", + "minimatch": "^10.2.2", + "semver": "^7.7.3", + "tinyglobby": "^0.2.15", + "ts-api-utils": "^2.4.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://opencollective.com/eslint" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/eslint/node_modules/find-up": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", - "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/utils": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/utils/-/utils-8.56.1.tgz", + "integrity": "sha512-HPAVNIME3tABJ61siYlHzSWCGtOoeP2RTIaHXFMPqjrQKCGB9OgUVdiNgH7TJS2JNIQ5qQ4RsAUDuGaGme/KOA==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "locate-path": "^6.0.0", - "path-exists": "^4.0.0" + "@eslint-community/eslint-utils": "^4.9.1", + "@typescript-eslint/scope-manager": "8.56.1", + "@typescript-eslint/types": "8.56.1", + "@typescript-eslint/typescript-estree": "8.56.1" }, "engines": { - "node": ">=10" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" + }, + "peerDependencies": { + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.0.0" } }, - "node_modules/eslint/node_modules/levn": { - "version": "0.4.1", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", - "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", + "node_modules/eslint-plugin-tsdoc/node_modules/@typescript-eslint/visitor-keys": { + "version": "8.56.1", + "resolved": "https://registry.npmjs.org/@typescript-eslint/visitor-keys/-/visitor-keys-8.56.1.tgz", + "integrity": "sha512-KiROIzYdEV85YygXw6BI/Dx4fnBlFQu6Mq4QE4MOH9fFnhohw6wX/OAvDY2/C+ut0I3RSPKenvZJIVYqJNkhEw==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "prelude-ls": "^1.2.1", - "type-check": "~0.4.0" + "@typescript-eslint/types": "8.56.1", + "eslint-visitor-keys": "^5.0.0" }, "engines": { - "node": ">= 0.8.0" + "node": "^18.18.0 || ^20.9.0 || >=21.1.0" + }, + "funding": { + "type": "opencollective", + "url": "https://opencollective.com/typescript-eslint" } }, - "node_modules/eslint/node_modules/locate-path": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", - "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", + "node_modules/eslint-plugin-tsdoc/node_modules/semver": { + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, - "peer": true, - "dependencies": { - "p-locate": "^5.0.0" + "license": "ISC", + "bin": { + "semver": "bin/semver.js" }, "engines": { "node": ">=10" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/eslint/node_modules/optionator": { - "version": "0.9.4", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", - "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", + "node_modules/eslint-plugin-tsdoc/node_modules/typescript": { + "version": "5.9.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.9.3.tgz", + "integrity": "sha512-jl1vZzPDinLr9eUt3J/t7V6FgNEw9QjvBPdysz9KfQDD41fQrC2Y4vKQdiaUpFT4bXlb1RHhLpp8wtm6M5TgSw==", "dev": true, + "license": "Apache-2.0", "peer": true, - "dependencies": { - "deep-is": "^0.1.3", - "fast-levenshtein": "^2.0.6", - "levn": "^0.4.1", - "prelude-ls": "^1.2.1", - "type-check": "^0.4.0", - "word-wrap": "^1.2.5" + "bin": { + "tsc": "bin/tsc", + "tsserver": "bin/tsserver" }, "engines": { - "node": ">= 0.8.0" + "node": ">=14.17" } }, - "node_modules/eslint/node_modules/p-locate": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", - "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", + "node_modules/eslint-scope": { + "version": "9.1.2", + "resolved": "https://registry.npmjs.org/eslint-scope/-/eslint-scope-9.1.2.tgz", + "integrity": "sha512-xS90H51cKw0jltxmvmHy2Iai1LIqrfbw57b79w/J7MfvDfkIkFZ+kj6zC3BjtUwh150HsSSdxXZcsuv72miDFQ==", "dev": true, - "peer": true, + "license": "BSD-2-Clause", "dependencies": { - "p-limit": "^3.0.2" + "@types/esrecurse": "^4.3.1", + "@types/estree": "^1.0.8", + "esrecurse": "^4.3.0", + "estraverse": "^5.2.0" }, "engines": { - "node": ">=10" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { - "url": "https://github.com/sponsors/sindresorhus" + "url": "https://opencollective.com/eslint" } }, - "node_modules/eslint/node_modules/prelude-ls": { - "version": "1.2.1", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", - "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", + "node_modules/eslint-visitor-keys": { + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-5.0.1.tgz", + "integrity": "sha512-tD40eHxA35h0PEIZNeIjkHoDR4YjjJp34biM0mDvplBe//mB+IHCqHDGV7pxF+7MklTvighcCPPZC7ynWyjdTA==", "dev": true, - "peer": true, + "license": "Apache-2.0", "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/eslint/node_modules/type-check": { - "version": "0.4.0", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", - "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", - "dev": true, - "peer": true, - "dependencies": { - "prelude-ls": "^1.2.1" + "node": "^20.19.0 || ^22.13.0 || >=24" }, - "engines": { - "node": ">= 0.8.0" + "funding": { + "url": "https://opencollective.com/eslint" } }, "node_modules/espree": { - "version": "9.6.1", - "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", - "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/espree/-/espree-11.2.0.tgz", + "integrity": "sha512-7p3DrVEIopW1B1avAGLuCSh1jubc01H2JHc8B4qqGblmg5gI9yumBgACjWo4JlIc04ufug4xJ3SQI8HkS/Rgzw==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { - "acorn": "^8.9.0", + "acorn": "^8.16.0", "acorn-jsx": "^5.3.2", - "eslint-visitor-keys": "^3.4.1" + "eslint-visitor-keys": "^5.0.1" }, "engines": { - "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + "node": "^20.19.0 || ^22.13.0 || >=24" }, "funding": { "url": "https://opencollective.com/eslint" @@ -3574,6 +4619,7 @@ "resolved": "https://registry.npmjs.org/esprima/-/esprima-4.0.1.tgz", "integrity": "sha512-eGuFFw7Upda+g4p+QHvnW0RyTX/SVeJBDM/gCtMARO0cLuT2HcEKnTPvhjV6aGeqrCB/sbNop0Kszm0jsaWU4A==", "dev": true, + "license": "BSD-2-Clause", "bin": { "esparse": "bin/esparse.js", "esvalidate": "bin/esvalidate.js" @@ -3583,11 +4629,11 @@ } }, "node_modules/esquery": { - "version": "1.6.0", - "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.6.0.tgz", - "integrity": "sha512-ca9pw9fomFcKPvFLXhBKUK90ZvGibiGOvRJNbjljY7s7uq/5YO4BOzcYtJqExdx99rF6aAcnRxHmcUHcz6sQsg==", + "version": "1.7.0", + "resolved": "https://registry.npmjs.org/esquery/-/esquery-1.7.0.tgz", + "integrity": "sha512-Ap6G0WQwcU/LHsvLwON1fAQX9Zp0A2Y6Y/cJBl9r/JbW90Zyg4/zbG6zzKa2OTALELarYHmKu0GhpM5EO+7T0g==", "dev": true, - "peer": true, + "license": "BSD-3-Clause", "dependencies": { "estraverse": "^5.1.0" }, @@ -3600,7 +4646,7 @@ "resolved": "https://registry.npmjs.org/esrecurse/-/esrecurse-4.3.0.tgz", "integrity": "sha512-KmfKL3b6G+RXvP8N1vr3Tq1kL/oCFgn2NYXEtqP8/L3pKapUA4G8cFVaoF3SU323CD4XypR/ffioHmkti6/Tag==", "dev": true, - "peer": true, + "license": "BSD-2-Clause", "dependencies": { "estraverse": "^5.2.0" }, @@ -3613,6 +4659,7 @@ "resolved": "https://registry.npmjs.org/estraverse/-/estraverse-5.3.0.tgz", "integrity": "sha512-MMdARuVEQziNTeJD8DgMqmhwR11BRQ/cBP+pLtYdSTnf3MIO8fFeiINEbX36ZdNlfU/7A9f3gUw49B3oQsvwBA==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=4.0" } @@ -3622,6 +4669,7 @@ "resolved": "https://registry.npmjs.org/esutils/-/esutils-2.0.3.tgz", "integrity": "sha512-kVscqXk4OCp68SZ0dkgEKVi6/8ij300KBWTJq32P/dYeWTSwK41WyTxalN1eRmA5Z9UU/LX9D7FWSmV9SAYx6g==", "dev": true, + "license": "BSD-2-Clause", "engines": { "node": ">=0.10.0" } @@ -3631,6 +4679,7 @@ "resolved": "https://registry.npmjs.org/execa/-/execa-5.1.1.tgz", "integrity": "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg==", "dev": true, + "license": "MIT", "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", @@ -3649,212 +4698,172 @@ "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, - "node_modules/exit": { - "version": "0.1.2", - "resolved": "https://registry.npmjs.org/exit/-/exit-0.1.2.tgz", - "integrity": "sha512-Zk/eNKV2zbjpKzrsQ+n1G6poVbErQxJ0LBOJXaKZ1EViLzH+hrLu9cdXI4zw9dBQJslwBEpbQ2P1oS7nDxs6jQ==", - "dev": true, - "engines": { - "node": ">= 0.8.0" - } - }, - "node_modules/expect": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/expect/-/expect-29.7.0.tgz", - "integrity": "sha512-2Zks0hf1VLFYI1kbh0I5jP3KHHyCHpkfyHBzsSXRFgl/Bg9mWYfMW8oD+PdMPlEwy5HNsR9JutYy6pMeOh61nw==", - "dev": true, - "dependencies": { - "@jest/expect-utils": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/fast-deep-equal": { - "version": "3.1.3", - "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", - "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", - "dev": true - }, - "node_modules/fast-glob": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/fast-glob/-/fast-glob-3.3.2.tgz", - "integrity": "sha512-oX2ruAFQwf/Orj8m737Y5adxDQO0LAB7/S5MnxCdTNDd4p6BsyIVsv9JQsATbTSq8KHRpLwIHbVlUNatxd+1Ow==", - "dev": true, - "dependencies": { - "@nodelib/fs.stat": "^2.0.2", - "@nodelib/fs.walk": "^1.2.3", - "glob-parent": "^5.1.2", - "merge2": "^1.3.0", - "micromatch": "^4.0.4" - }, + "node_modules/exit-x": { + "version": "0.2.2", + "resolved": "https://registry.npmjs.org/exit-x/-/exit-x-0.2.2.tgz", + "integrity": "sha512-+I6B/IkJc1o/2tiURyz/ivu/O0nKNEArIUB5O7zBrlDVJr22SCLH3xTeEry428LvFhRzIA1g8izguxJ/gbNcVQ==", + "dev": true, + "license": "MIT", "engines": { - "node": ">=8.6.0" + "node": ">= 0.8.0" } }, - "node_modules/fast-glob/node_modules/glob-parent": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-5.1.2.tgz", - "integrity": "sha512-AOIgSQCepiJYwP3ARnGx+5VnTu2HBYdzbGP45eLw1vr3zB3vZLeyed1sC9hnbcOc9/SrMyM5RPQrkGz4aS9Zow==", + "node_modules/expect": { + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/expect/-/expect-30.5.2.tgz", + "integrity": "sha512-0LNuMvs8/5mRYhnCR4k+lGV7fqPMs6Bnksda4S3zsCUmdxBpAn4zU4NNzXdq1pMKe/H4W5t/zVIDSJ/H3e0vDA==", "dev": true, + "license": "MIT", "dependencies": { - "is-glob": "^4.0.1" + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-util": "30.5.1" }, "engines": { - "node": ">= 6" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, + "node_modules/fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmjs.org/fast-deep-equal/-/fast-deep-equal-3.1.3.tgz", + "integrity": "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q==", + "dev": true, + "license": "MIT" + }, "node_modules/fast-json-stable-stringify": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/fast-json-stable-stringify/-/fast-json-stable-stringify-2.1.0.tgz", "integrity": "sha512-lhd/wF+Lk98HZoTCtlVraHtfh5XYijIjalXck7saUtuanSDyLMxnHhSXEDJqHxD7msR8D0uCmqlkwjCV8xvwHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/fast-levenshtein": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/fast-levenshtein/-/fast-levenshtein-2.0.6.tgz", "integrity": "sha512-DCXu6Ifhqcks7TZKY3Hxp3y6qphY5SJZmrWMDrKcERSOXWQdMhU9Ig/PYrzyw/ul9jOIyh0N4M0tbC5hodg8dw==", - "dev": true + "dev": true, + "license": "MIT" }, - "node_modules/fastq": { - "version": "1.17.1", - "resolved": "https://registry.npmjs.org/fastq/-/fastq-1.17.1.tgz", - "integrity": "sha512-sRVD3lWVIXWg6By68ZN7vho9a1pQcN/WBFaAAsDDFzlJjvoGx0P8z7V1t72grFJfJhu3YPZBuu25f7Kaw2jN1w==", + "node_modules/fast-uri": { + "version": "3.1.8", + "resolved": "https://registry.npmjs.org/fast-uri/-/fast-uri-3.1.8.tgz", + "integrity": "sha512-GZMtZUTNRpOVIECoXwLNZS5xUGE+mVNbTB8h/7Rwh2TFWcBQiPzTgyZi05BF9UMZKkLJv8XBRJTlU7zg8+ZfMg==", "dev": true, - "dependencies": { - "reusify": "^1.0.4" - } + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/fastify" + }, + { + "type": "opencollective", + "url": "https://opencollective.com/fastify" + } + ], + "license": "BSD-3-Clause" }, "node_modules/fb-watchman": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/fb-watchman/-/fb-watchman-2.0.2.tgz", "integrity": "sha512-p5161BqbuCaSnB8jIbzQHOlpgsPmK5rJVDfDKO91Axs5NC1uu3HRQm6wt9cd9/+GtQQIO53JdGXXoyDpTAsgYA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "bser": "2.1.1" } }, - "node_modules/file-entry-cache": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-8.0.0.tgz", - "integrity": "sha512-XXTUwCvisa5oacNGRP9SfNtYBNAMi+RPwBFmblZEF7N7swHYQS6/Zfk7SRwx4D5j3CH211YNRco1DEMNVfZCnQ==", + "node_modules/fdir": { + "version": "6.5.0", + "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.5.0.tgz", + "integrity": "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg==", "dev": true, - "peer": true, - "dependencies": { - "flat-cache": "^4.0.0" - }, + "license": "MIT", "engines": { - "node": ">=16.0.0" - } - }, - "node_modules/filelist": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/filelist/-/filelist-1.0.4.tgz", - "integrity": "sha512-w1cEuf3S+DrLCQL7ET6kz+gmlJdbq9J7yXCSjK/OZCPA+qEN1WyF4ZAf0YYJa4/shHJra2t/d/r8SV4Ji+x+8Q==", - "dev": true, - "dependencies": { - "minimatch": "^5.0.1" + "node": ">=12.0.0" + }, + "peerDependencies": { + "picomatch": "^3 || ^4" + }, + "peerDependenciesMeta": { + "picomatch": { + "optional": true + } } }, - "node_modules/filelist/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/file-entry-cache": { + "version": "11.1.5", + "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-11.1.5.tgz", + "integrity": "sha512-+PFTHITI08JIGhnNpGNI8T8inUpgZfk3GNEqfT9R2zZV2iFXg3CvqzSl/uEhs7TSGujYRELEANyDvS8Fj7+S7Q==", "dev": true, + "license": "MIT", "dependencies": { - "balanced-match": "^1.0.0" + "flat-cache": "^6.1.23" } }, - "node_modules/filelist/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "node_modules/find-up": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-5.0.0.tgz", + "integrity": "sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==", "dev": true, + "license": "MIT", "dependencies": { - "brace-expansion": "^2.0.1" + "locate-path": "^6.0.0", + "path-exists": "^4.0.0" }, "engines": { "node": ">=10" - } - }, - "node_modules/fill-range": { - "version": "7.1.1", - "resolved": "https://registry.npmjs.org/fill-range/-/fill-range-7.1.1.tgz", - "integrity": "sha512-YsGpe3WHLK8ZYi4tWDg2Jy3ebRz2rXowDxnld4bkQB00cc/1Zw9AWnC0i9ztDJitivtQvaI9KaLyKrc+hBW0yg==", - "dev": true, - "dependencies": { - "to-regex-range": "^5.0.1" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/find-replace": { - "version": "5.0.2", - "resolved": "https://registry.npmjs.org/find-replace/-/find-replace-5.0.2.tgz", - "integrity": "sha512-Y45BAiE3mz2QsrN2fb5QEtO4qb44NcS7en/0y9PEVsg351HsLeVclP8QPMH79Le9sH3rs5RSwJu99W0WPZO43Q==", - "engines": { - "node": ">=14" - }, - "peerDependencies": { - "@75lb/nature": "latest" }, - "peerDependenciesMeta": { - "@75lb/nature": { - "optional": true - } + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/find-up": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", - "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "node_modules/fix-dts-default-cjs-exports": { + "version": "1.0.1", + "resolved": "https://registry.npmjs.org/fix-dts-default-cjs-exports/-/fix-dts-default-cjs-exports-1.0.1.tgz", + "integrity": "sha512-pVIECanWFC61Hzl2+oOCtoJ3F17kglZC/6N94eRWycFgBH35hHx0Li604ZIzhseh97mf2p0cv7vVrOZGoqhlEg==", "dev": true, + "license": "MIT", "dependencies": { - "locate-path": "^5.0.0", - "path-exists": "^4.0.0" - }, - "engines": { - "node": ">=8" + "magic-string": "^0.30.17", + "mlly": "^1.7.4", + "rollup": "^4.34.8" } }, "node_modules/flat-cache": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-4.0.1.tgz", - "integrity": "sha512-f7ccFPK3SXFHpx15UIGyRJ/FJQctuKZ0zVuN3frBo4HnK3cay9VEW0R6yPYFHC0AgqhukPzKjq22t5DmAyqGyw==", + "version": "6.1.23", + "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.23.tgz", + "integrity": "sha512-f++BY9pTk+983xK1FLzlLpmM0i0z+jHmx3QESGkURMXujQZz1k5wzwX6hjnQ8goaD0B+sYnDK1yZ6MTyZfUaqA==", "dev": true, - "peer": true, + "license": "MIT", "dependencies": { - "flatted": "^3.2.9", - "keyv": "^4.5.4" - }, - "engines": { - "node": ">=16" + "cacheable": "^2.5.0", + "flatted": "^3.4.2", + "hookified": "^1.15.0" } }, "node_modules/flatbuffers": { "version": "25.9.23", "resolved": "https://registry.npmjs.org/flatbuffers/-/flatbuffers-25.9.23.tgz", - "integrity": "sha512-MI1qs7Lo4Syw0EOzUl0xjs2lsoeqFku44KpngfIduHBYvzm8h2+7K8YMQh1JtVVVrUvhLpNwqVi4DERegUJhPQ==" + "integrity": "sha512-MI1qs7Lo4Syw0EOzUl0xjs2lsoeqFku44KpngfIduHBYvzm8h2+7K8YMQh1JtVVVrUvhLpNwqVi4DERegUJhPQ==", + "license": "Apache-2.0" }, "node_modules/flatted": { - "version": "3.3.2", - "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.3.2.tgz", - "integrity": "sha512-AiwGJM8YcNOaobumgtng+6NHuOqC3A7MixFeDafM3X9cIUM+xUXoS5Vfgf+OihAYe20fxqNM9yPBXJzRtZ/4eA==", + "version": "3.4.4", + "resolved": "https://registry.npmjs.org/flatted/-/flatted-3.4.4.tgz", + "integrity": "sha512-5+ybhBZANEJxaH3X5evAFatUxLfEHSr7n6kYJ+1Qd0mUqr4eu9gIf6GDbWHf8RJijHrjjO8G+la14SlL2SeS1Q==", "dev": true, - "peer": true + "license": "ISC" }, "node_modules/foreground-child": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.0.tgz", - "integrity": "sha512-Ld2g8rrAyMYFXBhEqMz8ZAHBi4J4uS1i/CxGMDnjyFWddMXLVcDp051DZfu+t7+ab7Wv6SMqpWmyFIj5UbfFvg==", + "version": "3.3.1", + "resolved": "https://registry.npmjs.org/foreground-child/-/foreground-child-3.3.1.tgz", + "integrity": "sha512-gIXjKqtFuWEgzFRJA9WCQeSJLZDjgJUOMCMzxtvFq/37KojM1BFGufqsCy0r4qSQmYLsZYMeyRqzIWOMup03sw==", "dev": true, + "license": "ISC", "dependencies": { - "cross-spawn": "^7.0.0", + "cross-spawn": "^7.0.6", "signal-exit": "^4.0.1" }, "engines": { @@ -3869,6 +4878,7 @@ "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", "dev": true, + "license": "ISC", "engines": { "node": ">=14" }, @@ -3880,7 +4890,8 @@ "version": "1.0.0", "resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz", "integrity": "sha512-OO0pH2lK6a0hZnAdau5ItzHPI6pUlvI7jMVnxUQRtw4owF2wk8lOSabtGDCTP4Ggrg2MbGnWO9X8K1t4+fGMDw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/fsevents": { "version": "2.3.3", @@ -3888,6 +4899,7 @@ "integrity": "sha512-5xoDfX+fL7faATnagmWPpbFtwh/R77WmMMqqHGS65C3vvB0YHrgF+B1YmZ3441tMj5n63k0212XNoJwzlhffQw==", "dev": true, "hasInstallScript": true, + "license": "MIT", "optional": true, "os": [ "darwin" @@ -3901,6 +4913,7 @@ "resolved": "https://registry.npmjs.org/function-bind/-/function-bind-1.1.2.tgz", "integrity": "sha512-7XHNxH7qX9xG5mIwxkhumTox/MIRNcOgDrxWsMt2pAr23WHp6MrRlN7FBSFpCpr+oVO0F744iUgR82nJMfG2SA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -3910,6 +4923,7 @@ "resolved": "https://registry.npmjs.org/gensync/-/gensync-1.0.0-beta.2.tgz", "integrity": "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6.9.0" } @@ -3918,6 +4932,7 @@ "version": "2.0.5", "resolved": "https://registry.npmjs.org/get-caller-file/-/get-caller-file-2.0.5.tgz", "integrity": "sha512-DyFP3BM/3YHTQOCUL/w0OZHR0lpKeGrxotcHWcqNEdnltqFwXVfhEBQ94eIo34AfQpo0rGki4cyIiftY06h2Fg==", + "license": "ISC", "engines": { "node": "6.* || 8.* || >= 10.*" } @@ -3927,6 +4942,7 @@ "resolved": "https://registry.npmjs.org/get-package-type/-/get-package-type-0.1.0.tgz", "integrity": "sha512-pjzuKtY64GYfWizNAJ0fr9VqttZkNiK2iS430LtIHzjBEr6bX8Am2zm4sW4Ro5wjWW5cAlRL1qAMTcXbjNAO2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8.0.0" } @@ -3936,6 +4952,7 @@ "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -3944,21 +4961,18 @@ } }, "node_modules/glob": { - "version": "7.2.3", - "resolved": "https://registry.npmjs.org/glob/-/glob-7.2.3.tgz", - "integrity": "sha512-nFR0zLpU2YCaRxwoCJvL6UvCH2JFyFVIvwTLsIf21AuHlMskA1hhTdk+LlYJtOlYt9v6dvszD2BGRqBL+iQK9Q==", - "deprecated": "Glob versions prior to v9 are no longer supported", + "version": "13.0.6", + "resolved": "https://registry.npmjs.org/glob/-/glob-13.0.6.tgz", + "integrity": "sha512-Wjlyrolmm8uDpm/ogGyXZXb1Z+Ca2B8NbJwqBVg0axK9GbBeoS7yGV6vjXnYdGm6X53iehEuxxbyiKp8QmN4Vw==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "fs.realpath": "^1.0.0", - "inflight": "^1.0.4", - "inherits": "2", - "minimatch": "^3.1.1", - "once": "^1.3.0", - "path-is-absolute": "^1.0.0" + "minimatch": "^10.2.2", + "minipass": "^7.1.3", + "path-scurry": "^2.0.2" }, "engines": { - "node": "*" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" @@ -3969,7 +4983,7 @@ "resolved": "https://registry.npmjs.org/glob-parent/-/glob-parent-6.0.2.tgz", "integrity": "sha512-XxwI8EOhVQgWp6iDL+3b0r86f4d6AX6zSU55HfB4ydCEuXLXc5FcYeOu+nnGftS4TEju/11rt4KJPTMgbfmv4A==", "dev": true, - "peer": true, + "license": "ISC", "dependencies": { "is-glob": "^4.0.3" }, @@ -3977,40 +4991,64 @@ "node": ">=10.13.0" } }, - "node_modules/globals": { - "version": "11.12.0", - "resolved": "https://registry.npmjs.org/globals/-/globals-11.12.0.tgz", - "integrity": "sha512-WOBp/EEGUiIsJSp7wcv/y6MO+lV9UoncWqxuFfm8eBwzWNgyfBd6Gz+IeKQ9jCmyhoH99g15M3T+QaVHFjizVA==", - "dev": true, - "engines": { - "node": ">=4" - } - }, "node_modules/graceful-fs": { "version": "4.2.11", "resolved": "https://registry.npmjs.org/graceful-fs/-/graceful-fs-4.2.11.tgz", "integrity": "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ==", - "dev": true + "dev": true, + "license": "ISC" }, - "node_modules/graphemer": { - "version": "1.4.0", - "resolved": "https://registry.npmjs.org/graphemer/-/graphemer-1.4.0.tgz", - "integrity": "sha512-EtKwoO6kxCL9WO5xipiHTZlSzBm7WLT627TqC/uVRd0HKmq8NXyebnNYxDoBi7wt8eTWrUrKXCOVaFq9x1kgag==", - "dev": true + "node_modules/handlebars": { + "version": "4.7.9", + "resolved": "https://registry.npmjs.org/handlebars/-/handlebars-4.7.9.tgz", + "integrity": "sha512-4E71E0rpOaQuJR2A3xDZ+GM1HyWYv1clR58tC8emQNeQe3RH7MAzSbat+V0wG78LQBo6m6bzSG/L4pBuCsgnUQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "minimist": "^1.2.5", + "neo-async": "^2.6.2", + "source-map": "^0.6.1", + "wordwrap": "^1.0.0" + }, + "bin": { + "handlebars": "bin/handlebars" + }, + "engines": { + "node": ">=0.4.7" + }, + "optionalDependencies": { + "uglify-js": "^3.1.4" + } }, "node_modules/has-flag": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-4.0.0.tgz", "integrity": "sha512-EykJT/Q1KjTWctppgIAgfSO0tKVuZUjhgMr17kqTumMl6Afv3EISleU7qZUzoXDFTAHTDC4NOoG/ZxU3EvlMPQ==", + "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, + "node_modules/hashery": { + "version": "1.5.1", + "resolved": "https://registry.npmjs.org/hashery/-/hashery-1.5.1.tgz", + "integrity": "sha512-iZyKG96/JwPz1N55vj2Ie2vXbhu440zfUfJvSwEqEbeLluk7NnapfGqa7LH0mOsnDxTF85Mx8/dyR6HfqcbmbQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "hookified": "^1.15.0" + }, + "engines": { + "node": ">=20" + } + }, "node_modules/hasown": { - "version": "2.0.2", - "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.2.tgz", - "integrity": "sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==", + "version": "2.0.4", + "resolved": "https://registry.npmjs.org/hasown/-/hasown-2.0.4.tgz", + "integrity": "sha512-T2UbfbBEF32wiepXIsMlTW9+dDYC6wMh/t/vYA4tuOMKqWz/n3vr1NFSxQiyP+zk2mXsoMA/i/7qV6LKut1t1A==", "dev": true, + "license": "MIT", "dependencies": { "function-bind": "^1.1.2" }, @@ -4018,17 +5056,26 @@ "node": ">= 0.4" } }, + "node_modules/hookified": { + "version": "1.15.1", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.15.1.tgz", + "integrity": "sha512-MvG/clsADq1GPM2KGo2nyfaWVyn9naPiXrqIe4jYjXNZQt238kWyOGrsyc/DmRAQ+Re6yeo6yX/yoNCG5KAEVg==", + "dev": true, + "license": "MIT" + }, "node_modules/html-escaper": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/html-escaper/-/html-escaper-2.0.2.tgz", "integrity": "sha512-H2iMtd0I4Mt5eYiapRdIDjp+XzelXQ0tFE4JS7YFwFevXXMmOp9myNrUvCg0D6ws8iqkRPBfKHgbwig1SmlLfg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/human-signals": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-2.1.0.tgz", "integrity": "sha512-B4FFZ6q/T2jhhksgkbEW3HBvWIfDW85snkQgawt07S7J5QXTk6BkNV+0yAeZrM5QpMAdYlocGoljn0sJ/WQkFw==", "dev": true, + "license": "Apache-2.0", "engines": { "node": ">=10.17.0" } @@ -4038,42 +5085,17 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.3.2.tgz", "integrity": "sha512-hsBTNUqQTDwkWtcdYI2i06Y/nUBEsNEDJKjWdigLvegy8kDuJAS8uRlpkkcQpyEXL0Z/pjDy5HBmMjRCJ2gq+g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 4" } }, - "node_modules/import-fresh": { - "version": "3.3.0", - "resolved": "https://registry.npmjs.org/import-fresh/-/import-fresh-3.3.0.tgz", - "integrity": "sha512-veYYhQa+D1QBKznvhUHxb8faxlrwUnxseDAbAp457E0wLNio2bOSKnjYDhMj+YiAq61xrMGhQk9iXVk5FzgQMw==", - "dev": true, - "peer": true, - "dependencies": { - "parent-module": "^1.0.0", - "resolve-from": "^4.0.0" - }, - "engines": { - "node": ">=6" - }, - "funding": { - "url": "https://github.com/sponsors/sindresorhus" - } - }, - "node_modules/import-fresh/node_modules/resolve-from": { - "version": "4.0.0", - "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-4.0.0.tgz", - "integrity": "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g==", - "dev": true, - "peer": true, - "engines": { - "node": ">=4" - } - }, "node_modules/import-local": { "version": "3.2.0", "resolved": "https://registry.npmjs.org/import-local/-/import-local-3.2.0.tgz", "integrity": "sha512-2SPlun1JUPWoM6t3F0dw0FkCF/jWY8kttcY4f599GLTSjh2OCuuhdTkJQsEcZzBqbXZGKMK2OqW1oZsjtf/gQA==", "dev": true, + "license": "MIT", "dependencies": { "pkg-dir": "^4.2.0", "resolve-cwd": "^3.0.0" @@ -4093,6 +5115,7 @@ "resolved": "https://registry.npmjs.org/imurmurhash/-/imurmurhash-0.1.4.tgz", "integrity": "sha512-JmXMZ6wuvDmLiHEml9ykzqO6lwFbof0GG4IkcGaENdCRDDmMVnny7s5HsIgHCbaq0w2MyPhDqkhTUgS2LU2PHA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.8.19" } @@ -4103,6 +5126,7 @@ "integrity": "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA==", "deprecated": "This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.", "dev": true, + "license": "ISC", "dependencies": { "once": "^1.3.0", "wrappy": "1" @@ -4112,21 +5136,24 @@ "version": "2.0.4", "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz", "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/is-arrayish": { "version": "0.2.1", "resolved": "https://registry.npmjs.org/is-arrayish/-/is-arrayish-0.2.1.tgz", "integrity": "sha512-zz06S8t0ozoDXMG+ube26zeCTNXcKIPJZJi8hBrF4idCLms4CG9QtK7qBl1boi5ODzFpjswb5JPmHCbMpjaYzg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/is-core-module": { - "version": "2.15.1", - "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.15.1.tgz", - "integrity": "sha512-z0vtXSwucUJtANQWldhbtbt7BnL0vxiFjIdDLAatwhDYty2bad6s+rijD6Ri4YuYJubLzIJLUidCh09e1djEVQ==", + "version": "2.17.0", + "resolved": "https://registry.npmjs.org/is-core-module/-/is-core-module-2.17.0.tgz", + "integrity": "sha512-J/vG0zBCbIKOQFfufSwyXdMrsohyJIUNkrnmo6WZGzoM7tr/lsbfW5b2BvisL6zsyMzK9UxV9L6c7AoFbyXHOA==", "dev": true, + "license": "MIT", "dependencies": { - "hasown": "^2.0.2" + "hasown": "^2.0.4" }, "engines": { "node": ">= 0.4" @@ -4140,6 +5167,7 @@ "resolved": "https://registry.npmjs.org/is-extglob/-/is-extglob-2.1.1.tgz", "integrity": "sha512-SbKbANkN603Vi4jEZv49LeVJMn4yGwsbzZworEoyEiutsN3nJYdbO36zfhGJ6QEDpOZIFkDtnq5JRxmvl3jsoQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -4148,6 +5176,7 @@ "version": "3.0.0", "resolved": "https://registry.npmjs.org/is-fullwidth-code-point/-/is-fullwidth-code-point-3.0.0.tgz", "integrity": "sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==", + "license": "MIT", "engines": { "node": ">=8" } @@ -4157,6 +5186,7 @@ "resolved": "https://registry.npmjs.org/is-generator-fn/-/is-generator-fn-2.1.0.tgz", "integrity": "sha512-cTIB4yPYL/Grw0EaSzASzg6bBy9gqCofvWN8okThAYIxKJZC+udlRAmGbM0XLeniEJSs8uEgHPGuHSe1XsOLSQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -4166,6 +5196,7 @@ "resolved": "https://registry.npmjs.org/is-glob/-/is-glob-4.0.3.tgz", "integrity": "sha512-xelSayHH36ZgE7ZWhli7pW34hNbNl8Ojv5KVmkJD4hBdD3th8Tfk9vYasLM+mXWOZhFkgZfxhLSnrwRr4elSSg==", "dev": true, + "license": "MIT", "dependencies": { "is-extglob": "^2.1.1" }, @@ -4173,20 +5204,12 @@ "node": ">=0.10.0" } }, - "node_modules/is-number": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/is-number/-/is-number-7.0.0.tgz", - "integrity": "sha512-41Cifkg6e8TylSpdtTpeLVMqvSBEVzTttHvERD741+pnZ8ANv0004MRL43QKPDlK9cGvNp6NZWZUBlbGXYxxng==", - "dev": true, - "engines": { - "node": ">=0.12.0" - } - }, "node_modules/is-stream": { "version": "2.0.1", "resolved": "https://registry.npmjs.org/is-stream/-/is-stream-2.0.1.tgz", "integrity": "sha512-hFoiJiTl63nn+kstHGBtewWSKnQLpyb155KHheA1l39uvtO9nWIop1p3udqPcUd/xbF1VLMO4n7OI6p7RbngDg==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -4198,13 +5221,15 @@ "version": "2.0.0", "resolved": "https://registry.npmjs.org/isexe/-/isexe-2.0.0.tgz", "integrity": "sha512-RHxMLp9lnKHGHRng9QFhRCMbYAcVpn69smSGcq3f36xjgVVWThj4qqLbTLlq7Ssj8B+fIQ1EuCEGI2lKsyQeIw==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/istanbul-lib-coverage": { "version": "3.2.2", "resolved": "https://registry.npmjs.org/istanbul-lib-coverage/-/istanbul-lib-coverage-3.2.2.tgz", "integrity": "sha512-O8dpsF+r0WV/8MNRKfnmrtCWhuKjxrq2w+jpzBL5UZKTi2LeVWnWOmWRxFlesJONmc+wLAGvKQZEOanko0LFTg==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=8" } @@ -4214,6 +5239,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-instrument/-/istanbul-lib-instrument-6.0.3.tgz", "integrity": "sha512-Vtgk7L/R2JHyyGW07spoFlB8/lpjiOLTjMdms6AFMraYt3BaJauod/NGrfnVG/y4Ix1JEuMRPDPEj2ua+zz1/Q==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "@babel/core": "^7.23.9", "@babel/parser": "^7.23.9", @@ -4226,10 +5252,11 @@ } }, "node_modules/istanbul-lib-instrument/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4242,6 +5269,7 @@ "resolved": "https://registry.npmjs.org/istanbul-lib-report/-/istanbul-lib-report-3.0.1.tgz", "integrity": "sha512-GCfE1mtsHGOELCU8e/Z7YWzpmybrx/+dSTfLrvY8qRmaY6zXTKWn6WQIjaAFw069icm6GVMNkgu0NzI4iPZUNw==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "istanbul-lib-coverage": "^3.0.0", "make-dir": "^4.0.0", @@ -4252,24 +5280,26 @@ } }, "node_modules/istanbul-lib-source-maps": { - "version": "4.0.1", - "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-4.0.1.tgz", - "integrity": "sha512-n3s8EwkdFIJCG3BPKBYvskgXGoy88ARzvegkitk60NxRdwltLOTaH7CUiMRXvwYorl0Q712iEjcWB+fK/MrWVw==", + "version": "5.0.6", + "resolved": "https://registry.npmjs.org/istanbul-lib-source-maps/-/istanbul-lib-source-maps-5.0.6.tgz", + "integrity": "sha512-yg2d+Em4KizZC5niWhQaIomgf5WlL4vOOjZ5xGCmF8SnPE/mDWWXgvRExdcpCgh9lLRRa1/fSYp2ymmbJ1pI+A==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { + "@jridgewell/trace-mapping": "^0.3.23", "debug": "^4.1.1", - "istanbul-lib-coverage": "^3.0.0", - "source-map": "^0.6.1" + "istanbul-lib-coverage": "^3.0.0" }, "engines": { "node": ">=10" } }, "node_modules/istanbul-reports": { - "version": "3.1.7", - "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.1.7.tgz", - "integrity": "sha512-BewmUXImeuRk2YY0PVbxgKAysvhRPUQE0h5QRM++nVWyubKGV0l8qQ5op8+B2DOmwSe63Jivj0BjkPQVf8fP5g==", + "version": "3.2.0", + "resolved": "https://registry.npmjs.org/istanbul-reports/-/istanbul-reports-3.2.0.tgz", + "integrity": "sha512-HGYWWS/ehqTV3xN10i23tkPkpH46MLCIMFNCaaKNavAXTF1RkqxawEPtnjnGZ6XKSInBKkiOA5BKS+aZiY3AvA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { "html-escaper": "^2.0.0", "istanbul-lib-report": "^3.0.0" @@ -4282,6 +5312,7 @@ "version": "3.5.0", "resolved": "https://registry.npmjs.org/iter-ops/-/iter-ops-3.5.0.tgz", "integrity": "sha512-0/DU67w30nLAyyYETTAVOwtts871N6jjQEY9NAzSXqtlAGuo8CX6O+/Hx11eRZIchACaAMUn6alEndINx27j/Q==", + "license": "MIT", "engines": { "node": ">=18" } @@ -4291,6 +5322,7 @@ "resolved": "https://registry.npmjs.org/jackspeak/-/jackspeak-3.4.3.tgz", "integrity": "sha512-OGlZQpz2yfahA/Rd1Y8Cd9SIEsqvXkLVoSw/cgwhnhFMDbsQFeZYoJJ7bIZBS9BcamUW96asq/npPWugM+RQBw==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { "@isaacs/cliui": "^8.0.2" }, @@ -4301,40 +5333,24 @@ "@pkgjs/parseargs": "^0.11.0" } }, - "node_modules/jake": { - "version": "10.9.2", - "resolved": "https://registry.npmjs.org/jake/-/jake-10.9.2.tgz", - "integrity": "sha512-2P4SQ0HrLQ+fw6llpLnOaGAvN2Zu6778SJMrCUwns4fOoG9ayrTiZk3VV8sCPkVZF8ab0zksVpS8FDY5pRCNBA==", - "dev": true, - "dependencies": { - "async": "^3.2.3", - "chalk": "^4.0.2", - "filelist": "^1.0.4", - "minimatch": "^3.1.2" - }, - "bin": { - "jake": "bin/cli.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/jest": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest/-/jest-29.7.0.tgz", - "integrity": "sha512-NIy3oAFp9shda19hy4HK0HRTWKtPJmGdnvywu01nOqNC2vZg+Z+fvJDxpMQA88eb2I9EcafcdjYgsDthnYTvGw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest/-/jest-30.5.2.tgz", + "integrity": "sha512-3gnpdBIza8ijCl3iMV9ChE3hSt1+46865qqod863gQtJr1DixOkAU5DoGbi3u+XlRcw++BhZQMu/y4xBdHBvSQ==", "dev": true, + "license": "MIT", + "peer": true, "dependencies": { - "@jest/core": "^29.7.0", - "@jest/types": "^29.6.3", - "import-local": "^3.0.2", - "jest-cli": "^29.7.0" + "@jest/core": "30.5.2", + "@jest/types": "30.5.1", + "import-local": "^3.2.0", + "jest-cli": "30.5.2" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -4346,73 +5362,75 @@ } }, "node_modules/jest-changed-files": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-29.7.0.tgz", - "integrity": "sha512-fEArFiwf1BpQ+4bXSprcDc3/x4HSzL4al2tozwVpDFpsxALjLYdyiIK4e5Vz66GQJIbXJ82+35PtysofptNX2w==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-changed-files/-/jest-changed-files-30.5.1.tgz", + "integrity": "sha512-0+bvMM/ENhDI29Z8q1r4HxiDIi4G5tnBmSw4esfPQoj9q8Nik7KIyuxHkTVnnniJQf05SxpGaKDQ+4h28ynGPg==", "dev": true, + "license": "MIT", "dependencies": { - "execa": "^5.0.0", - "jest-util": "^29.7.0", + "execa": "^5.1.1", + "jest-util": "30.5.1", "p-limit": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-circus": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-29.7.0.tgz", - "integrity": "sha512-3E1nCMgipcTkCocFwM90XXQab9bS+GMsjdpmPrlelaxwD93Ad8iVEjX/vvHPdLPnFf+L40u+5+iutRdA1N9myw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-circus/-/jest-circus-30.5.2.tgz", + "integrity": "sha512-vffFgjs5JSJ9q4ds1vNW3klKYPJfYfIY61LT/zaZgvTeASJOWZUt8LBfHgIcV4rwxlPBLl/ePBGccHEclS4PlQ==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/expect": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/environment": "30.5.2", + "@jest/expect": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", + "chalk": "^4.1.2", "co": "^4.6.0", - "dedent": "^1.0.0", - "is-generator-fn": "^2.0.0", - "jest-each": "^29.7.0", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", + "dedent": "^1.6.0", + "is-generator-fn": "^2.1.0", + "jest-each": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-runtime": "30.5.2", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", "p-limit": "^3.1.0", - "pretty-format": "^29.7.0", - "pure-rand": "^6.0.0", + "pretty-format": "30.5.1", + "pure-rand": "^7.0.0", "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "stack-utils": "^2.0.6" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-cli": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-29.7.0.tgz", - "integrity": "sha512-OVVobw2IubN/GSYsxETi+gOe7Ka59EFMR/twOU3Jb2GnKKeMGJB5SGUUrEz3SFVmJASUdZUzy83sLNNQ2gZslg==", - "dev": true, - "dependencies": { - "@jest/core": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "create-jest": "^29.7.0", - "exit": "^0.1.2", - "import-local": "^3.0.2", - "jest-config": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "yargs": "^17.3.1" + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-cli/-/jest-cli-30.5.2.tgz", + "integrity": "sha512-YYYxUUVjFgPvgEleKNKMaYGIFgR3l3832Cl0kRL/oCiDZ03v7wImUtquHl2OOBCCNgprjZgBN5bczS/JklPBDg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/core": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "exit-x": "^0.2.2", + "import-local": "^3.2.0", + "jest-config": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "yargs": "^17.7.2" }, "bin": { "jest": "bin/jest.js" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0" @@ -4424,366 +5442,364 @@ } }, "node_modules/jest-config": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-29.7.0.tgz", - "integrity": "sha512-uXbpfeQ7R6TZBqI3/TxCU4q4ttk3u0PJeC+E0zbfSoSjq6bJ7buBPxzQPL0ifrkY4DNu4JUdk0ImlBUYi840eQ==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@jest/test-sequencer": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-jest": "^29.7.0", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "deepmerge": "^4.2.2", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-circus": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-runner": "^29.7.0", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "micromatch": "^4.0.4", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-config/-/jest-config-30.5.2.tgz", + "integrity": "sha512-U6221OZekabePvGcGPf4raIBKMvYQWFHvhobDJRojOYaFMj2HaGytAdknjDhYc6JTz2fdHW9+6k0wWUDaNeOFQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@jest/get-type": "30.5.0", + "@jest/pattern": "30.5.0", + "@jest/test-sequencer": "30.5.2", + "@jest/types": "30.5.1", + "babel-jest": "30.5.2", + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "deepmerge": "^4.3.1", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-circus": "30.5.2", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-runner": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", "parse-json": "^5.2.0", - "pretty-format": "^29.7.0", + "pretty-format": "30.5.1", "slash": "^3.0.0", "strip-json-comments": "^3.1.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" }, "peerDependencies": { "@types/node": "*", + "esbuild-register": ">=3.4.0", "ts-node": ">=9.0.0" }, "peerDependenciesMeta": { "@types/node": { "optional": true }, + "esbuild-register": { + "optional": true + }, "ts-node": { "optional": true } } }, "node_modules/jest-diff": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-29.7.0.tgz", - "integrity": "sha512-LMIgiIrhigmPrs03JHpxUh2yISK3vLFPkAodPeo0+BuF7wA2FoQbkEg1u8gBYBThncu7e1oEDUfIXVuTqLRUjw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-diff/-/jest-diff-30.5.2.tgz", + "integrity": "sha512-rBtHnI6BWTiWj3lM7fOLVfChx7R9B0u9VV3PRHawKs79x6ZjW1QoSrKenaigNGWlvhtoi2BqvDbABDie+Os3xQ==", "dev": true, + "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "diff-sequences": "^29.6.3", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@jest/diff-sequences": "30.5.0", + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-docblock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-29.7.0.tgz", - "integrity": "sha512-q617Auw3A612guyaFgsbFeYpNP5t2aoUNLwBUbc/0kD1R4t9ixDbyFTHd1nok4epoVFpr7PmeWHrhvuV3XaJ4g==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-docblock/-/jest-docblock-30.5.0.tgz", + "integrity": "sha512-NwDqcxtoZi33RhuW+zJS/RVA3rmheQ8BnwpYZuc/Eruaz6seQb7+aoCeDZu/3X7W2XmD8DbSo9Pn72DbKsBFYw==", "dev": true, + "license": "MIT", "dependencies": { - "detect-newline": "^3.0.0" + "detect-newline": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-each": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-29.7.0.tgz", - "integrity": "sha512-gns+Er14+ZrEoC5fhOfYCY1LOHHr0TI+rQUHZS8Ttw2l7gl+80eHc/gFf2Ktkw0+SIACDTeWvpFcv3B04VembQ==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-each/-/jest-each-30.5.2.tgz", + "integrity": "sha512-GRrW+7fmmgmkvyfEBqc1QFdWnF1Ex5yG6Y6AWL4TTxnkWlKIT98dsKh3P3UuWm6v4XsQwVE6DEzXIPMzWJ3ZbA==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", - "jest-util": "^29.7.0", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "chalk": "^4.1.2", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-environment-node": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-29.7.0.tgz", - "integrity": "sha512-DOSwCRqXirTOyheM+4d5YZOrWcdu0LNZ87ewUoywbcb2XR4wKgqiG8vNeYwhjFMbEkfju7wx2GYH0P2gevGvFw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-30.5.2.tgz", + "integrity": "sha512-Ciz4KgTGIbojxSKpuFImgWJj5EyqfE8xMq9NxWmOXnQywHHS03H9Mv+vaCB29J5pr3JBrY27WbRV18rBdjh8Dg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-mock": "^29.7.0", - "jest-util": "^29.7.0" + "jest-mock": "30.5.2", + "jest-util": "30.5.1", + "jest-validate": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-get-type": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-get-type/-/jest-get-type-29.6.3.tgz", - "integrity": "sha512-zrteXnqYxfQh7l5FHyL38jL39di8H8rHoecLH3JNxH3BwOrBsNeabdap5e0I23lD4HHI8W5VFBZqG4Eaq5LNcw==", - "dev": true, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-haste-map": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-29.7.0.tgz", - "integrity": "sha512-fP8u2pyfqx0K1rGn1R9pyE0/KTn+G7PxktWidOBTqFPLYX0b9ksaMFkhK5vrS3DVun09pckLdlx90QthlW7AmA==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-haste-map/-/jest-haste-map-30.5.1.tgz", + "integrity": "sha512-VIFgt67jW480YDxKfEv9IYQKrFpYt7bOCMn3VsnjK7AK9qo7p6acpnA1DHwsVOULE3dTaYew/6JaTD/d0VDHoQ==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "@types/graceful-fs": "^4.1.3", + "@jest/types": "30.5.1", + "@parcel/watcher": "^2.6.0", "@types/node": "*", - "anymatch": "^3.0.3", - "fb-watchman": "^2.0.0", - "graceful-fs": "^4.2.9", - "jest-regex-util": "^29.6.3", - "jest-util": "^29.7.0", - "jest-worker": "^29.7.0", - "micromatch": "^4.0.4", - "walker": "^1.0.8" + "anymatch": "^3.1.3", + "fb-watchman": "^2.0.2", + "fdir": "^6.5.0", + "graceful-fs": "^4.2.11", + "jest-regex-util": "30.5.0", + "jest-util": "30.5.1", + "jest-worker": "30.5.1", + "picomatch": "^4.0.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - }, - "optionalDependencies": { - "fsevents": "^2.3.2" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-leak-detector": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-29.7.0.tgz", - "integrity": "sha512-kYA8IJcSYtST2BY9I+SMC32nDpBT3J2NvWJx8+JCuCdl/CR1I4EKUJROiP8XtCcxqgTTBGJNdbB1A8XRKbTetw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-leak-detector/-/jest-leak-detector-30.5.1.tgz", + "integrity": "sha512-gt4GT2aWgEoCNTcBe4rqS74xTIUJxi+UD9SNSu9aOk5LmTEd6fS5KSTmAKAfitCCktQHNN+upUuL6EkBfFbMDQ==", "dev": true, + "license": "MIT", "dependencies": { - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-matcher-utils": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-29.7.0.tgz", - "integrity": "sha512-sBkD+Xi9DtcChsI3L3u0+N0opgPYnCRPtGcQYrgXmR+hmt/fYfWAL0xRXYU8eWOdfuLgBe0YCW3AFtnRLagq/g==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-matcher-utils/-/jest-matcher-utils-30.5.2.tgz", + "integrity": "sha512-lFkB365PTIHOhPzwrb9T6gvlDnPpOZ7/c3ewOKKB7bzztqjVrtlyRL2MkyfJXpyY2u2SKw001JKrTx14fBUFcQ==", "dev": true, + "license": "MIT", "dependencies": { - "chalk": "^4.0.0", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "pretty-format": "^29.7.0" + "@jest/get-type": "30.5.0", + "chalk": "^4.1.2", + "jest-diff": "30.5.2", + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-message-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-29.7.0.tgz", - "integrity": "sha512-GBEV4GRADeP+qtB2+6u61stea8mGcOT4mCtrYISZwfu9/ISHFJ/5zOMXYbpBE9RsS5+Gb63DW4FgmnKJ79Kf6w==", - "dev": true, - "dependencies": { - "@babel/code-frame": "^7.12.13", - "@jest/types": "^29.6.3", - "@types/stack-utils": "^2.0.0", - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "micromatch": "^4.0.4", - "pretty-format": "^29.7.0", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-message-util/-/jest-message-util-30.5.1.tgz", + "integrity": "sha512-UdQlLdd9wL/Ys7xRErckqwD6wPlSZYueosSWuHc1r2ztGLwlgPvtSJq2+BPEgaEY13WLvfFbmhTj8pba0Sd1jg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/code-frame": "^7.27.1", + "@jest/types": "30.5.1", + "@types/stack-utils": "^2.0.3", + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-util": "30.5.1", + "picomatch": "^4.0.3", + "pretty-format": "30.5.1", "slash": "^3.0.0", - "stack-utils": "^2.0.3" + "stack-utils": "^2.0.6" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-mock": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-29.7.0.tgz", - "integrity": "sha512-ITOMZn+UkYS4ZFh83xYAOzWStloNzJFO2s8DWrE4lhtGD+AorgnbkiKERe4wQVBydIGPx059g6riW5Btp6Llnw==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-mock/-/jest-mock-30.5.2.tgz", + "integrity": "sha512-KTHb37Fhj8xY8qPFvTFaFJHcdsumQp+ExsUlgoX232Agmc706gagBs53+CYvulV7MVQo9AgXOUxsqzzVBoJlrA==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", + "@jest/expect-utils": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "jest-util": "^29.7.0" + "jest-util": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" - } - }, - "node_modules/jest-pnp-resolver": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/jest-pnp-resolver/-/jest-pnp-resolver-1.2.3.tgz", - "integrity": "sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==", - "dev": true, - "engines": { - "node": ">=6" - }, - "peerDependencies": { - "jest-resolve": "*" - }, - "peerDependenciesMeta": { - "jest-resolve": { - "optional": true - } + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-regex-util": { - "version": "29.6.3", - "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-29.6.3.tgz", - "integrity": "sha512-KJJBsRCyyLNWCNBOvZyRDnAIfUiRJ8v+hOBQYGn8gDyF3UegwiP4gwRR3/SDa42g1YbVycTidUF3rKjyLFDWbg==", + "version": "30.5.0", + "resolved": "https://registry.npmjs.org/jest-regex-util/-/jest-regex-util-30.5.0.tgz", + "integrity": "sha512-Mg0WK7A6xRHLSA1udJ8y9f3lM0uUhFTBnLKzwPmqB9AylvpleJ6BLemR8K9dK27DY+cesDryoA7yLZCAHsPG1A==", "dev": true, + "license": "MIT", "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-resolve": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-29.7.0.tgz", - "integrity": "sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==", - "dev": true, - "dependencies": { - "chalk": "^4.0.0", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-pnp-resolver": "^1.2.2", - "jest-util": "^29.7.0", - "jest-validate": "^29.7.0", - "resolve": "^1.20.0", - "resolve.exports": "^2.0.0", - "slash": "^3.0.0" + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-resolve/-/jest-resolve-30.5.1.tgz", + "integrity": "sha512-wprhLejRtwN6h8ZgaqC0eYjGJ1uMdGPT/+b3eFncbG4NWuuP9QL+vWwRinu9waw7hkOLcpMJGVJAMgBwsPssMQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "chalk": "^4.1.2", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-util": "30.5.1", + "jest-validate": "30.5.1", + "slash": "^3.0.0", + "unrs-resolver": "^1.12.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-resolve-dependencies": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-29.7.0.tgz", - "integrity": "sha512-un0zD/6qxJ+S0et7WxeI3H5XSe9lTBBR7bOHCHXkKR6luG5mwDDlIzVQ0V5cZCuoTgEdcdwzTghYkTWfubi+nA==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-resolve-dependencies/-/jest-resolve-dependencies-30.5.2.tgz", + "integrity": "sha512-GMI0DP5enX9Z2qW2zFy1bOkrCfWAOPRJQ7qHt0pdfrxBPsgWxglMPrRSK2TX/wRWYxcPRSLFg3Z88qPOzHx7FQ==", "dev": true, + "license": "MIT", "dependencies": { - "jest-regex-util": "^29.6.3", - "jest-snapshot": "^29.7.0" + "jest-regex-util": "30.5.0", + "jest-snapshot": "30.5.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-runner": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-29.7.0.tgz", - "integrity": "sha512-fsc4N6cPCAahybGBfTRcq5wFR6fpLznMg47sY5aDpsoejOcVYFb07AHuSnR0liMcPTgBsA3ZJL6kFOjPdoNipQ==", - "dev": true, - "dependencies": { - "@jest/console": "^29.7.0", - "@jest/environment": "^29.7.0", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runner/-/jest-runner-30.5.2.tgz", + "integrity": "sha512-/B6px7hiiNhVSRwuv9AGn0nawYvwsHeQZ3ItTd5Gp2diFd0EOKaWVeWqcbw3L88vx1GfpCKjQkxWItZCTl11Rw==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/console": "30.5.2", + "@jest/environment": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", + "chalk": "^4.1.2", "emittery": "^0.13.1", - "graceful-fs": "^4.2.9", - "jest-docblock": "^29.7.0", - "jest-environment-node": "^29.7.0", - "jest-haste-map": "^29.7.0", - "jest-leak-detector": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-resolve": "^29.7.0", - "jest-runtime": "^29.7.0", - "jest-util": "^29.7.0", - "jest-watcher": "^29.7.0", - "jest-worker": "^29.7.0", - "p-limit": "^3.1.0", - "source-map-support": "0.5.13" + "exit-x": "^0.2.2", + "graceful-fs": "^4.2.11", + "jest-docblock": "30.5.0", + "jest-environment-node": "30.5.2", + "jest-haste-map": "30.5.1", + "jest-leak-detector": "30.5.1", + "jest-message-util": "30.5.1", + "jest-resolve": "30.5.1", + "jest-runtime": "30.5.2", + "jest-util": "30.5.1", + "jest-watcher": "30.5.2", + "jest-worker": "30.5.1", + "p-limit": "^3.1.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-runtime": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-29.7.0.tgz", - "integrity": "sha512-gUnLjgwdGqW7B4LvOIkbKs9WGbn+QLqRQQ9juC6HndeDiezIwhDP+mhMwHWCEcfQ5RUXa6OPnFF8BJh5xegwwQ==", - "dev": true, - "dependencies": { - "@jest/environment": "^29.7.0", - "@jest/fake-timers": "^29.7.0", - "@jest/globals": "^29.7.0", - "@jest/source-map": "^29.6.3", - "@jest/test-result": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-runtime/-/jest-runtime-30.5.2.tgz", + "integrity": "sha512-0paUAHBlheai10A3XSy9Xh+YBG0IROy+/qzcDPzQ/nbbXrznQzeWy5qniICWK6d3W3scaRQCVAbXdcK0ibBq4w==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jest/environment": "30.5.2", + "@jest/fake-timers": "30.5.2", + "@jest/globals": "30.5.2", + "@jest/source-map": "30.5.2", + "@jest/test-result": "30.5.2", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "cjs-module-lexer": "^1.0.0", - "collect-v8-coverage": "^1.0.0", - "glob": "^7.1.3", - "graceful-fs": "^4.2.9", - "jest-haste-map": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-mock": "^29.7.0", - "jest-regex-util": "^29.6.3", - "jest-resolve": "^29.7.0", - "jest-snapshot": "^29.7.0", - "jest-util": "^29.7.0", + "chalk": "^4.1.2", + "cjs-module-lexer": "^2.2.0", + "collect-v8-coverage": "^1.0.2", + "es-module-lexer": "^2.1.0", + "glob": "^13.0.6", + "graceful-fs": "^4.2.11", + "jest-haste-map": "30.5.1", + "jest-message-util": "30.5.1", + "jest-mock": "30.5.2", + "jest-regex-util": "30.5.0", + "jest-resolve": "30.5.1", + "jest-snapshot": "30.5.2", + "jest-util": "30.5.1", "slash": "^3.0.0", "strip-bom": "^4.0.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-snapshot": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-29.7.0.tgz", - "integrity": "sha512-Rm0BMWtxBcioHr1/OX5YCP8Uov4riHvKPknOGs804Zg9JGZgmIBkbtlxJC/7Z4msKYVbIJtfU+tKb8xlYNfdkw==", - "dev": true, - "dependencies": { - "@babel/core": "^7.11.6", - "@babel/generator": "^7.7.2", - "@babel/plugin-syntax-jsx": "^7.7.2", - "@babel/plugin-syntax-typescript": "^7.7.2", - "@babel/types": "^7.3.3", - "@jest/expect-utils": "^29.7.0", - "@jest/transform": "^29.7.0", - "@jest/types": "^29.6.3", - "babel-preset-current-node-syntax": "^1.0.0", - "chalk": "^4.0.0", - "expect": "^29.7.0", - "graceful-fs": "^4.2.9", - "jest-diff": "^29.7.0", - "jest-get-type": "^29.6.3", - "jest-matcher-utils": "^29.7.0", - "jest-message-util": "^29.7.0", - "jest-util": "^29.7.0", - "natural-compare": "^1.4.0", - "pretty-format": "^29.7.0", - "semver": "^7.5.3" - }, - "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-snapshot/-/jest-snapshot-30.5.2.tgz", + "integrity": "sha512-jKIdes25AnAH73dOCi2qE6J6vHJ6L2vyBS11M89kT50DVJcLTf2AOjvcc+2vVaN8lUbY5v2R83aqXo3Ro9fqYA==", + "dev": true, + "license": "MIT", + "dependencies": { + "@babel/core": "^7.27.4", + "@babel/generator": "^7.27.5", + "@babel/plugin-syntax-jsx": "^7.27.1", + "@babel/plugin-syntax-typescript": "^7.27.1", + "@babel/types": "^7.27.3", + "@jest/expect-utils": "30.5.2", + "@jest/get-type": "30.5.0", + "@jest/snapshot-utils": "30.5.1", + "@jest/transform": "30.5.2", + "@jest/types": "30.5.1", + "babel-preset-current-node-syntax": "^1.2.0", + "chalk": "^4.1.2", + "expect": "30.5.2", + "graceful-fs": "^4.2.11", + "jest-diff": "30.5.2", + "jest-matcher-utils": "30.5.2", + "jest-message-util": "30.5.1", + "jest-util": "30.5.1", + "pretty-format": "30.5.1", + "semver": "^7.7.2", + "synckit": "^0.11.8" + }, + "engines": { + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-snapshot/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -4792,37 +5808,39 @@ } }, "node_modules/jest-util": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-29.7.0.tgz", - "integrity": "sha512-z6EbKajIpqGKU56y5KBUgy1dt1ihhQJgWzUlZHArA/+X2ad7Cb5iF+AK1EWVL/Bo7Rz9uurpqw6SiBCefUbCGA==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-util/-/jest-util-30.5.1.tgz", + "integrity": "sha512-yKuxmNy2rSbTXw+3SIPanJo+nV4/BS1p26v44IYBFMsswSQySfMMcPHErnOncda7i9HEz0q605rIhSTBVgrZTg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", + "@jest/types": "30.5.1", "@types/node": "*", - "chalk": "^4.0.0", - "ci-info": "^3.2.0", - "graceful-fs": "^4.2.9", - "picomatch": "^2.2.3" + "chalk": "^4.1.2", + "ci-info": "^4.2.0", + "graceful-fs": "^4.2.11", + "picomatch": "^4.0.3" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-validate": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-29.7.0.tgz", - "integrity": "sha512-ZB7wHqaRGVw/9hST/OuFUReG7M8vKeq0/J2egIGLdvjHCmYqGARhzXmtgi+gVeZ5uXFF219aOc3Ls2yLg27tkw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-validate/-/jest-validate-30.5.1.tgz", + "integrity": "sha512-i/buJ56wTpxihE93hQYNMfdOThS87+HGvLZzZJmU4xggPcdTYQq051iwALLCHp3q+SkCGH+EFejQZz5EbBSkkg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/types": "^29.6.3", - "camelcase": "^6.2.0", - "chalk": "^4.0.0", - "jest-get-type": "^29.6.3", + "@jest/get-type": "30.5.0", + "@jest/types": "30.5.1", + "camelcase": "^6.3.0", + "chalk": "^4.1.2", "leven": "^3.1.0", - "pretty-format": "^29.7.0" + "pretty-format": "30.5.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-validate/node_modules/camelcase": { @@ -4830,6 +5848,7 @@ "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-6.3.0.tgz", "integrity": "sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -4838,37 +5857,40 @@ } }, "node_modules/jest-watcher": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-29.7.0.tgz", - "integrity": "sha512-49Fg7WXkU3Vl2h6LbLtMQ/HyB6rXSIX7SqvBLQmssRBGN9I0PNvPmAmCWSOY6SOvrjhI/F7/bGAv9RtnsPA03g==", + "version": "30.5.2", + "resolved": "https://registry.npmjs.org/jest-watcher/-/jest-watcher-30.5.2.tgz", + "integrity": "sha512-rqRgg4R11GA9m1UsEZwQeixHsgZReCn6TOHAHtIH33yXrIvoX0OGPA20Yzzjkz7X40fZvcRSxEpQppYPcWzmcQ==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/test-result": "^29.7.0", - "@jest/types": "^29.6.3", + "@jest/test-result": "30.5.2", + "@jest/types": "30.5.1", "@types/node": "*", - "ansi-escapes": "^4.2.1", - "chalk": "^4.0.0", + "ansi-escapes": "^4.3.2", + "chalk": "^4.1.2", "emittery": "^0.13.1", - "jest-util": "^29.7.0", - "string-length": "^4.0.1" + "jest-util": "30.5.1", + "string-length": "^4.0.2" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-worker": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-29.7.0.tgz", - "integrity": "sha512-eIz2msL/EzL9UFTFFx7jBTkeZfku0yUAyZZZmJ93H2TYEiroIx2PQjEXcwYtYl8zXCxb+PAmA2hLIt/6ZEkPHw==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/jest-worker/-/jest-worker-30.5.1.tgz", + "integrity": "sha512-Cbxh5v7AoLuFRmFJSM4/aHdQ68rjXvUWr716EE0Dh3I7T+T/3FgFKhOERGXHcU2Meftq9+9zxPM3TSNyI9D+HA==", "dev": true, + "license": "MIT", "dependencies": { "@types/node": "*", - "jest-util": "^29.7.0", + "@ungap/structured-clone": "^1.3.0", + "jest-util": "30.5.1", "merge-stream": "^2.0.0", - "supports-color": "^8.0.0" + "supports-color": "^8.1.1" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/jest-worker/node_modules/supports-color": { @@ -4876,6 +5898,7 @@ "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-8.1.1.tgz", "integrity": "sha512-MpUEN2OodtUzxvKQl72cUF7RQ5EiHsGvSsVG0ia9c5RbWGL2CI4C7EpPS8UTBIplnlzZiNuV56w+FuNxy3ty2Q==", "dev": true, + "license": "MIT", "dependencies": { "has-flag": "^4.0.0" }, @@ -4890,13 +5913,15 @@ "version": "1.4.0", "resolved": "https://registry.npmjs.org/jju/-/jju-1.4.0.tgz", "integrity": "sha512-8wb9Yw966OSxApiCt0K3yNJL8pnNeIv+OEq2YMidz4FKP6nonSRoOXc80iXY4JaN2FC11B9qsNmDsm+ZOfMROA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/joycon": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/joycon/-/joycon-3.1.1.tgz", "integrity": "sha512-34wB/Y7MW7bzjKRjUKTa46I2Z7eV62Rkhva+KkopW7Qvv/OSWBqvkSY7vusOPrNuZcUG3tApvdVgNB8POj3SPw==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" } @@ -4905,13 +5930,15 @@ "version": "4.0.0", "resolved": "https://registry.npmjs.org/js-tokens/-/js-tokens-4.0.0.tgz", "integrity": "sha512-RdJUflcE3cUzKiMqQgsCu06FPu9UdIJO0beYbPhHN4k6apgJtifcoCtT9bcxOpYBtpD2kCM6Sbzg4CausW/PKQ==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/js-yaml": { - "version": "3.14.1", - "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.14.1.tgz", - "integrity": "sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==", + "version": "3.15.2", + "resolved": "https://registry.npmjs.org/js-yaml/-/js-yaml-3.15.2.tgz", + "integrity": "sha512-6EuL879VkRA+1Cz578mKMiKvjPNEuk6+r1JaFzoSWejZmtf7xWbIyw1e3KkxlkzTIt9Taw6JBhEppG7utc1P+w==", "dev": true, + "license": "MIT", "dependencies": { "argparse": "^1.0.7", "esprima": "^4.0.0" @@ -4925,15 +5952,17 @@ "resolved": "https://registry.npmjs.org/js2xmlparser/-/js2xmlparser-4.0.2.tgz", "integrity": "sha512-6n4D8gLlLf1n5mNLQPRfViYzu9RATblzPEtm1SthMX1Pjao0r9YI9nw7ZIfRxQMERS87mcswrg+r/OYrPRX6jA==", "dev": true, + "license": "Apache-2.0", "dependencies": { "xmlcreate": "^2.0.4" } }, "node_modules/jsdoc": { - "version": "4.0.4", - "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.4.tgz", - "integrity": "sha512-zeFezwyXeG4syyYHbvh1A967IAqq/67yXtXvuL5wnqCkFZe8I0vKfm+EO+YEvLguo6w9CDUbrAXVtJSHh2E8rw==", + "version": "4.0.5", + "resolved": "https://registry.npmjs.org/jsdoc/-/jsdoc-4.0.5.tgz", + "integrity": "sha512-P4C6MWP9yIlMiK8nwoZvxN84vb6MsnXcHuy7XzVOvQoCizWX5JFCBsWIIWKXBltpoRZXddUOVQmCTOZt9yDj9g==", "dev": true, + "license": "Apache-2.0", "dependencies": { "@babel/parser": "^7.20.15", "@jsdoc/salty": "^0.2.1", @@ -4958,11 +5987,22 @@ "node": ">=12.0.0" } }, + "node_modules/jsdoc/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/jsesc": { - "version": "3.0.2", - "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.0.2.tgz", - "integrity": "sha512-xKqzzWXDttJuOcawBt4KnKHHIf5oQ/Cxax+0PWFG+DFDgHNAdi+TXECADI+RYiFUMmx8792xsMbbgXj4CwnP4g==", + "version": "3.1.0", + "resolved": "https://registry.npmjs.org/jsesc/-/jsesc-3.1.0.tgz", + "integrity": "sha512-/sM3dO2FOzXjKQhJuo0Q173wf2KOo8t4I8vHy6lF9poUp7bKT0/NHE8fPX23PwfhnykfqnC2xRxOnVw5XuGIaA==", "dev": true, + "license": "MIT", "bin": { "jsesc": "bin/jsesc" }, @@ -4970,46 +6010,39 @@ "node": ">=6" } }, - "node_modules/json-bignum": { - "version": "0.0.3", - "resolved": "https://registry.npmjs.org/json-bignum/-/json-bignum-0.0.3.tgz", - "integrity": "sha512-2WHyXj3OfHSgNyuzDbSxI1w2jgw5gkWSWhS7Qg4bWXx1nLk3jnbwfUeS0PSba3IzpTUWdHxBieELUzXRjQB2zg==", - "engines": { - "node": ">=0.8" - } - }, - "node_modules/json-buffer": { - "version": "3.0.1", - "resolved": "https://registry.npmjs.org/json-buffer/-/json-buffer-3.0.1.tgz", - "integrity": "sha512-4bV5BfR2mqfQTJm+V5tPPdf+ZpuhiIvTuAB5g8kcrXOZpTT/QwwVRWBywX1ozr6lEuPdbHxwaJlm9G6mI2sfSQ==", - "dev": true, - "peer": true - }, "node_modules/json-parse-even-better-errors": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/json-parse-even-better-errors/-/json-parse-even-better-errors-2.3.1.tgz", "integrity": "sha512-xyFwyhro/JEof6Ghe2iz2NcXoj2sloNsWr/XsERDK/oiPCfaNhl5ONfp+jQdAZRQQ0IJWNzH9zIZF7li91kh2w==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/json-schema-traverse": { "version": "0.4.1", "resolved": "https://registry.npmjs.org/json-schema-traverse/-/json-schema-traverse-0.4.1.tgz", "integrity": "sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==", "dev": true, - "peer": true + "license": "MIT" }, "node_modules/json-stable-stringify-without-jsonify": { "version": "1.0.1", "resolved": "https://registry.npmjs.org/json-stable-stringify-without-jsonify/-/json-stable-stringify-without-jsonify-1.0.1.tgz", "integrity": "sha512-Bdboy+l7tA3OGW6FjyFHWkP5LuByj1Tk33Ljyq0axyzdk9//JSi2u3fP1QSmd1KNwq6VOKYGlAu87CisVir6Pw==", "dev": true, - "peer": true + "license": "MIT" + }, + "node_modules/json-with-bigint": { + "version": "3.5.12", + "resolved": "https://registry.npmjs.org/json-with-bigint/-/json-with-bigint-3.5.12.tgz", + "integrity": "sha512-uwbF/wSSuOgC7qqlq27Xp5B6a2MHVug3t0idZdTqu0JnlFvgJuH7ju+KAk/J06C7GfhoYy2gnb9wz2INqcne7w==", + "license": "MIT" }, "node_modules/json5": { "version": "2.2.3", "resolved": "https://registry.npmjs.org/json5/-/json5-2.2.3.tgz", "integrity": "sha512-XmOWe7eyHYH14cLdVPoyg+GOH3rYX++KpzrylJwSW98t3Nk+U8XOl8FWKOgwtzdb8lXGf6zYwDUzeHMWfxasyg==", "dev": true, + "license": "MIT", "bin": { "json5": "lib/cli.js" }, @@ -5018,13 +6051,14 @@ } }, "node_modules/keyv": { - "version": "4.5.4", - "resolved": "https://registry.npmjs.org/keyv/-/keyv-4.5.4.tgz", - "integrity": "sha512-oxVHkHR/EJf2CNXnWxRLW6mg7JyCCUcG0DtEGmL2ctUo1PNTin1PUil+r/+4r5MpVgC/fn1kjsx7mjSujKqIpw==", + "version": "5.6.0", + "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.6.0.tgz", + "integrity": "sha512-CYDD3SOtsHtyXeEORYRx2qBtpDJFjRTGXUtmNEMGyzYOKj1TE3tycdlho7kA1Ufx9OYWZzg52QFBGALTirzDSw==", "dev": true, + "license": "MIT", "peer": true, "dependencies": { - "json-buffer": "3.0.1" + "@keyv/serialize": "^1.1.1" } }, "node_modules/klaw": { @@ -5032,36 +6066,30 @@ "resolved": "https://registry.npmjs.org/klaw/-/klaw-3.0.0.tgz", "integrity": "sha512-0Fo5oir+O9jnXu5EefYbVK+mHMBeEVEy2cmctR1O1NECcCkPRreJKrS6Qt/j3KC2C148Dfo9i3pCmCMsdqGr0g==", "dev": true, + "license": "MIT", "dependencies": { "graceful-fs": "^4.1.9" } }, - "node_modules/kleur": { - "version": "3.0.3", - "resolved": "https://registry.npmjs.org/kleur/-/kleur-3.0.3.tgz", - "integrity": "sha512-eTIzlVOSUR+JxdDFepEYcBMtZ9Qqdef+rnzWdRZuMbOywu5tO2w2N7rqjoANZ5k9vywhL6Br1VRjUIgTQx4E8w==", - "dev": true, - "engines": { - "node": ">=6" - } - }, "node_modules/leven": { "version": "3.1.0", "resolved": "https://registry.npmjs.org/leven/-/leven-3.1.0.tgz", "integrity": "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/levn": { - "version": "0.3.0", - "resolved": "https://registry.npmjs.org/levn/-/levn-0.3.0.tgz", - "integrity": "sha512-0OO4y2iOHix2W6ujICbKIaEQXvFQHue65vUG3pb5EUomzPI90z9hsA1VsO/dbIIpC53J8gxM9Q4Oho0jrCM/yA==", + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/levn/-/levn-0.4.1.tgz", + "integrity": "sha512-+bT2uH4E5LGE7h/n3evcS/sQlJXCpIp6ym8OWJ5eV6+67Dsql/LaaT7qJBAt2rzfoa/5QBGBhxDix1dMt2kQKQ==", "dev": true, + "license": "MIT", "dependencies": { - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2" + "prelude-ls": "^1.2.1", + "type-check": "~0.4.0" }, "engines": { "node": ">= 0.8.0" @@ -5072,6 +6100,7 @@ "resolved": "https://registry.npmjs.org/lilconfig/-/lilconfig-3.1.3.tgz", "integrity": "sha512-/vlFKAoH5Cgt3Ie+JLhRbwOsCQePABiU3tJ1egGvyQ+33R/vcwM2Zl2QR/LzjsBeItPt3oSVXapn+m4nQDvpzw==", "dev": true, + "license": "MIT", "engines": { "node": ">=14" }, @@ -5083,13 +6112,25 @@ "version": "1.2.4", "resolved": "https://registry.npmjs.org/lines-and-columns/-/lines-and-columns-1.2.4.tgz", "integrity": "sha512-7ylylesZQ/PV29jhEDl3Ufjo6ZX7gCqJr5F7PKrqc93v7fzSymt1BpwEU8nAUXs8qzzvqhbjhK5QZg6Mt/HkBg==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/linkify-it": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.0.tgz", - "integrity": "sha512-5aHCbzQRADcdP+ATqnDuhhJ/MRIqDkZX5pyjFHRRysS8vZ5AbqGEoFIb6pYHPZ+L/OC2Lc+xT8uHVVR5CAK/wQ==", + "version": "5.0.2", + "resolved": "https://registry.npmjs.org/linkify-it/-/linkify-it-5.0.2.tgz", + "integrity": "sha512-ONTm2jCMAVZjgQa/Fy1kScXsuOoF5NPTsoFBdE1KVIZ2vAh/r9+Bqo+0jINCBYnavTPQZz38QzFTme79ENoN3Q==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], + "license": "MIT", "dependencies": { "uc.micro": "^2.0.0" } @@ -5099,71 +6140,79 @@ "resolved": "https://registry.npmjs.org/load-tsconfig/-/load-tsconfig-0.2.5.tgz", "integrity": "sha512-IXO6OCs9yg8tMKzfPZ1YmheJbZCiEsnBdcB03l0OcfK9prKnJb96siuHCr5Fl37/yo9DnKU+TLpxzTUspw9shg==", "dev": true, + "license": "MIT", "engines": { "node": "^12.20.0 || ^14.13.1 || >=16.0.0" } }, "node_modules/locate-path": { - "version": "5.0.0", - "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", - "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-6.0.0.tgz", + "integrity": "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==", "dev": true, + "license": "MIT", "dependencies": { - "p-locate": "^4.1.0" + "p-locate": "^5.0.0" }, "engines": { - "node": ">=8" + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/lodash": { - "version": "4.17.21", - "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "version": "4.18.1", + "resolved": "https://registry.npmjs.org/lodash/-/lodash-4.18.1.tgz", + "integrity": "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q==", + "dev": true, + "license": "MIT" }, "node_modules/lodash.camelcase": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/lodash.camelcase/-/lodash.camelcase-4.3.0.tgz", - "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==" + "integrity": "sha512-TwuEnCnxbc3rAvhf/LbG7tJUDzhqXyFnv3dtzLOPgCG/hODL7WFnsbwktkD7yUV0RrreP/l1PALq/YSg6VvjlA==", + "license": "MIT" }, "node_modules/lodash.memoize": { "version": "4.1.2", "resolved": "https://registry.npmjs.org/lodash.memoize/-/lodash.memoize-4.1.2.tgz", "integrity": "sha512-t7j+NzmgnQzTAYXcsHYLgimltOV1MXHtlOWf6GjL9Kj8GK5FInw5JotxvbOs+IvV1/Dzo04/fCGfLVs7aXb4Ag==", - "dev": true - }, - "node_modules/lodash.merge": { - "version": "4.6.2", - "resolved": "https://registry.npmjs.org/lodash.merge/-/lodash.merge-4.6.2.tgz", - "integrity": "sha512-0KpjqXRVvrYyCsX1swR/XTK0va6VQkQM6MNo7PqW77ByjAhoARA8EfrP1N4+KlKj8YS0ZUCtRT/YUuhyYDujIQ==", "dev": true, - "peer": true - }, - "node_modules/lodash.sortby": { - "version": "4.7.0", - "resolved": "https://registry.npmjs.org/lodash.sortby/-/lodash.sortby-4.7.0.tgz", - "integrity": "sha512-HDWXG8isMntAyRF5vZ7xKuEvOhT4AhlRt/3czTSjvGUxjYCBVRQY48ViDHyfYz9VIoBkW4TMGQNapx+l3RUwdA==", - "dev": true + "license": "MIT" }, "node_modules/long": { - "version": "5.2.3", - "resolved": "https://registry.npmjs.org/long/-/long-5.2.3.tgz", - "integrity": "sha512-lcHwpNoggQTObv5apGNCTdJrO69eHOZMi4BNC+rTLER8iHAqGrUVeLh/irVIM7zTw2bOXA8T6uNPeujwOLg/2Q==" + "version": "5.3.2", + "resolved": "https://registry.npmjs.org/long/-/long-5.3.2.tgz", + "integrity": "sha512-mNAgZ1GmyNhD7AuqnTG3/VQ26o760+ZYBPKjPvugO8+nLbYfX6TVpJPseBvopbdY+qpZ/lKUnmEc1LeZYS3QAA==", + "license": "Apache-2.0" }, "node_modules/lru-cache": { "version": "5.1.1", "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-5.1.1.tgz", "integrity": "sha512-KpNARQA3Iwv+jTA0utUVVbrh+Jlrr1Fv0e56GGzAFOXN7dk/FviaDW8LHmK52DlcH4WP2n6gI8vN1aesBFgo9w==", "dev": true, + "license": "ISC", "dependencies": { "yallist": "^3.0.2" } }, + "node_modules/magic-string": { + "version": "0.30.21", + "resolved": "https://registry.npmjs.org/magic-string/-/magic-string-0.30.21.tgz", + "integrity": "sha512-vd2F4YUyEXKGcLHoq+TEyCjxueSeHnFxyyjNp80yg0XV4vUhnDer/lvvlqM/arB5bXQN5K2/3oinyCRyx8T2CQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "@jridgewell/sourcemap-codec": "^1.5.5" + } + }, "node_modules/make-dir": { "version": "4.0.0", "resolved": "https://registry.npmjs.org/make-dir/-/make-dir-4.0.0.tgz", "integrity": "sha512-hXdUTZYIVOt1Ex//jAQi+wTZZpUpwBj/0QsOzqegb3rGMMeJiSEu5xLHnYfBrRV4RH2+OCSOO95Is/7x1WJ4bw==", "dev": true, + "license": "MIT", "dependencies": { "semver": "^7.5.3" }, @@ -5175,10 +6224,11 @@ } }, "node_modules/make-dir/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -5190,26 +6240,29 @@ "version": "1.3.6", "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", - "dev": true - }, - "node_modules/makeerror": { - "version": "1.0.12", - "resolved": "https://registry.npmjs.org/makeerror/-/makeerror-1.0.12.tgz", - "integrity": "sha512-JmqCvUhmt43madlpFzG4BQzG2Z3m6tvQDNKdClZnO3VbIudJYmxsT0FNJMeiB2+JTSlTQTSbU8QdesVmwJcmLg==", "dev": true, - "dependencies": { - "tmpl": "1.0.5" - } + "license": "ISC" }, "node_modules/markdown-it": { - "version": "14.1.0", - "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.1.0.tgz", - "integrity": "sha512-a54IwgWPaeBCAAsv13YgmALOF1elABB08FxO9i+r4VFk5Vl4pKokRPeX8u5TCgSsPi6ec1otfLjdOpVcgbpshg==", + "version": "14.3.2", + "resolved": "https://registry.npmjs.org/markdown-it/-/markdown-it-14.3.2.tgz", + "integrity": "sha512-sHHjZ5fJKlgrG4qns2YwVcdNep35h5fERrfkD2YNsb9UFk0UIHarbiTaHKVMlPuWAoiilyK8Fv/jAm11slsY7Q==", "dev": true, + "funding": [ + { + "type": "github", + "url": "https://github.com/sponsors/puzrin" + }, + { + "type": "github", + "url": "https://github.com/sponsors/markdown-it" + } + ], + "license": "MIT", "dependencies": { "argparse": "^2.0.1", - "entities": "^4.4.0", - "linkify-it": "^5.0.0", + "entities": "^4.5.0", + "linkify-it": "^5.0.2", "mdurl": "^2.0.0", "punycode.js": "^2.3.1", "uc.micro": "^2.1.0" @@ -5223,6 +6276,7 @@ "resolved": "https://registry.npmjs.org/markdown-it-anchor/-/markdown-it-anchor-8.6.7.tgz", "integrity": "sha512-FlCHFwNnutLgVTflOYHPW2pPcl2AACqVzExlkGQNsi4CJgqOHN7YTgDd4LuhgN1BFO3TS0vLAruV1Td6dwWPJA==", "dev": true, + "license": "Unlicense", "peerDependencies": { "@types/markdown-it": "*", "markdown-it": "*" @@ -5232,13 +6286,15 @@ "version": "2.0.1", "resolved": "https://registry.npmjs.org/argparse/-/argparse-2.0.1.tgz", "integrity": "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q==", - "dev": true + "dev": true, + "license": "Python-2.0" }, "node_modules/marked": { "version": "4.3.0", "resolved": "https://registry.npmjs.org/marked/-/marked-4.3.0.tgz", "integrity": "sha512-PRsaiG84bK+AMvxziE/lCFss8juXjNaWzVbN5tXAm4XjeaS9NAHhop+PjQxz2A9h8Q4M/xGmzP8vqNwy6JeK0A==", "dev": true, + "license": "MIT", "bin": { "marked": "bin/marked.js" }, @@ -5247,58 +6303,43 @@ } }, "node_modules/mdurl": { - "version": "2.0.0", - "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.0.0.tgz", - "integrity": "sha512-Lf+9+2r+Tdp5wXDXC4PcIBjTDtq4UKjCPMQhKIuzpJNW0b96kVqSwW0bT7FhRSfmAiFYgP+SCRvdrDozfh0U5w==", - "dev": true + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/mdurl/-/mdurl-2.1.0.tgz", + "integrity": "sha512-1+HBaOx0zi/dQWht8rNv9MYf9qqpqL/kxI0hXImU6Y547zM6Sni8BQibt7ifgMcYtQg41ao3Ivd6cnSM86inpg==", + "dev": true, + "license": "MIT" }, "node_modules/merge-stream": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/merge-stream/-/merge-stream-2.0.0.tgz", "integrity": "sha512-abv/qOcuPfk3URPfDzmZU1LKmuw8kT+0nIHvKrKgFrwifol/doWcdA4ZqsWQ8ENrFKkd67Mfpo/LovbIUsbt3w==", - "dev": true - }, - "node_modules/merge2": { - "version": "1.4.1", - "resolved": "https://registry.npmjs.org/merge2/-/merge2-1.4.1.tgz", - "integrity": "sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg==", - "dev": true, - "engines": { - "node": ">= 8" - } - }, - "node_modules/micromatch": { - "version": "4.0.8", - "resolved": "https://registry.npmjs.org/micromatch/-/micromatch-4.0.8.tgz", - "integrity": "sha512-PXwfBhYu0hBCPw8Dn0E+WDYb7af3dSLVWKi3HGv84IdF4TyFoC0ysxFd0Goxw7nSv4T/PzEJQxsYsEiFCKo2BA==", "dev": true, - "dependencies": { - "braces": "^3.0.3", - "picomatch": "^2.3.1" - }, - "engines": { - "node": ">=8.6" - } + "license": "MIT" }, "node_modules/mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz", "integrity": "sha512-OqbOk5oEQeAZ8WXWydlu9HJjz9WVdEIvamMCcXmuqUYjTknH/sqsWvhQ3vgwKFRR1HpjvNBKQ37nbJgYzGqGcg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/minimatch": { - "version": "3.1.2", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-3.1.2.tgz", - "integrity": "sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==", + "version": "10.2.6", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-10.2.6.tgz", + "integrity": "sha512-vpLQEs+VLCr1nU0BXS07maYoFwlDAH0gngQuuttxIwutDFEMHq2blX+8vpgxDdK3J1PwjCJiep77OitTZ4Ll1A==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "brace-expansion": "^1.1.7" + "brace-expansion": "^5.0.8" }, "engines": { - "node": "*" + "node": "18 || 20 || >=22" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/minimist": { @@ -5306,15 +6347,17 @@ "resolved": "https://registry.npmjs.org/minimist/-/minimist-1.2.8.tgz", "integrity": "sha512-2yyAR8qBkN3YuheJanUpWC5U3bb5osDywNB8RzDVlDwDHbocAJveqqj1u8+SVD7jkWT4yvsHCpWqqWqAxb0zCA==", "dev": true, + "license": "MIT", "funding": { "url": "https://github.com/sponsors/ljharb" } }, "node_modules/minipass": { - "version": "7.1.2", - "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.2.tgz", - "integrity": "sha512-qOOzS1cBTWYF4BH8fVePDBOO9iptMnGUEZwNc/cMWnTV2nVLZ7VoNWEPHkYczZA0pdoA7dl6e7FL659nX9S2aw==", + "version": "7.1.3", + "resolved": "https://registry.npmjs.org/minipass/-/minipass-7.1.3.tgz", + "integrity": "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A==", "dev": true, + "license": "BlueOak-1.0.0", "engines": { "node": ">=16 || 14 >=14.17" } @@ -5324,6 +6367,7 @@ "resolved": "https://registry.npmjs.org/mkdirp/-/mkdirp-1.0.4.tgz", "integrity": "sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw==", "dev": true, + "license": "MIT", "bin": { "mkdirp": "bin/cmd.js" }, @@ -5331,46 +6375,98 @@ "node": ">=10" } }, + "node_modules/mlly": { + "version": "1.8.2", + "resolved": "https://registry.npmjs.org/mlly/-/mlly-1.8.2.tgz", + "integrity": "sha512-d+ObxMQFmbt10sretNDytwt85VrbkhhUA/JBGm1MPaWJ65Cl4wOgLaB1NYvJSZ0Ef03MMEU/0xpPMXUIQ29UfA==", + "dev": true, + "license": "MIT", + "dependencies": { + "acorn": "^8.16.0", + "pathe": "^2.0.3", + "pkg-types": "^1.3.1", + "ufo": "^1.6.3" + } + }, "node_modules/ms": { "version": "2.1.3", "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.3.tgz", "integrity": "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/mz": { "version": "2.7.0", "resolved": "https://registry.npmjs.org/mz/-/mz-2.7.0.tgz", "integrity": "sha512-z81GNO7nnYMEhrGh9LeymoE4+Yr0Wn5McHIZMK5cfQCl+NDX08sCZgUc9/6MHni9IWuFLm1Z3HTCXu2z9fN62Q==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.0.0", "object-assign": "^4.0.1", "thenify-all": "^1.0.0" } }, + "node_modules/napi-postinstall": { + "version": "0.3.4", + "resolved": "https://registry.npmjs.org/napi-postinstall/-/napi-postinstall-0.3.4.tgz", + "integrity": "sha512-PHI5f1O0EP5xJ9gQmFGMS6IZcrVvTjpXjz7Na41gTE7eE2hK11lg04CECCYEEjdc17EV4DO+fkGEtt7TpTaTiQ==", + "dev": true, + "license": "MIT", + "bin": { + "napi-postinstall": "lib/cli.js" + }, + "engines": { + "node": "^12.20.0 || ^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/napi-postinstall" + } + }, "node_modules/natural-compare": { "version": "1.4.0", "resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz", "integrity": "sha512-OWND8ei3VtNC9h7V60qff3SVobHr996CTwgxubgyQYEpg290h9J0buyECNNJexkFm5sOajh5G116RYA1c8ZMSw==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/neo-async": { + "version": "2.6.2", + "resolved": "https://registry.npmjs.org/neo-async/-/neo-async-2.6.2.tgz", + "integrity": "sha512-Yd3UES5mWCSqR+qNT93S3UoYUkqAZ9lLg8a7g9rimsWmYGK8cVToA4/sF3RrshdyV3sAGMXVUmpMYOw+dLpOuw==", + "dev": true, + "license": "MIT" + }, + "node_modules/node-addon-api": { + "version": "7.1.1", + "resolved": "https://registry.npmjs.org/node-addon-api/-/node-addon-api-7.1.1.tgz", + "integrity": "sha512-5m3bsyrjFWE1xf7nz7YXdN4udnVtXK6/Yfgn5qnahL6bCkf2yKt4k3nuTKAtT4r3IG8JNR2ncsIMdZuAzJjHQQ==", + "dev": true, + "license": "MIT" }, "node_modules/node-int64": { "version": "0.4.0", "resolved": "https://registry.npmjs.org/node-int64/-/node-int64-0.4.0.tgz", "integrity": "sha512-O5lz91xSOeoXP6DulyHfllpq+Eg00MWitZIbtPfoSEvqIHdl5gfcY6hYzDWnj0qD5tz52PI08u9qUvSVeUBeHw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/node-releases": { - "version": "2.0.18", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.18.tgz", - "integrity": "sha512-d9VeXT4SJ7ZeOqGX6R5EM022wpL+eWPooLI+5UpWn2jCT1aosUQEhQP214x33Wkwx3JQMvIm+tIoVOdodFS40g==", - "dev": true + "version": "2.0.57", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-2.0.57.tgz", + "integrity": "sha512-kQK9LGGFiHtrWiNhZtA7Qbw17AQz+dmsEKODRIVTXA9+e5MS/2gZEBhYJt13GrAz5/IOZKddH/0Z3TP/Zgo+yw==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=18" + } }, "node_modules/normalize-path": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/normalize-path/-/normalize-path-3.0.0.tgz", "integrity": "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5380,6 +6476,7 @@ "resolved": "https://registry.npmjs.org/npm-run-path/-/npm-run-path-4.0.1.tgz", "integrity": "sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw==", "dev": true, + "license": "MIT", "dependencies": { "path-key": "^3.0.0" }, @@ -5392,6 +6489,7 @@ "resolved": "https://registry.npmjs.org/object-assign/-/object-assign-4.1.1.tgz", "integrity": "sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5401,6 +6499,7 @@ "resolved": "https://registry.npmjs.org/once/-/once-1.4.0.tgz", "integrity": "sha512-lNaJgI+2Q5URQBkccEKHTQOPaXdUxnZZElQTZY0MFUAuaEqe1E+Nyvgdz/aIyNi6Z9MzO5dv1H8n58/GELp3+w==", "dev": true, + "license": "ISC", "dependencies": { "wrappy": "1" } @@ -5410,6 +6509,7 @@ "resolved": "https://registry.npmjs.org/onetime/-/onetime-5.1.2.tgz", "integrity": "sha512-kbpaSSGJTWdAY5KPVeMOKXSrPtr8C8C7wodJbcsd51jRnmD+GZu8Y0VoU6Dm5Z4vWr0Ig/1NKuWRKf7j5aaYSg==", "dev": true, + "license": "MIT", "dependencies": { "mimic-fn": "^2.1.0" }, @@ -5421,17 +6521,18 @@ } }, "node_modules/optionator": { - "version": "0.8.3", - "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.8.3.tgz", - "integrity": "sha512-+IW9pACdk3XWmmTXG8m3upGUJst5XRGzxMRjXzAuJ1XnIFNvfhjjIuYkDvysnPQ7qzqVzLt78BCruntqRhWQbA==", + "version": "0.9.4", + "resolved": "https://registry.npmjs.org/optionator/-/optionator-0.9.4.tgz", + "integrity": "sha512-6IpQ7mKUxRcZNLIObR0hz7lxsapSSIYNZJwXPGeF0mTVqGKFIXj1DQcMoT22S3ROcLyY/rz0PWaWZ9ayWmad9g==", "dev": true, + "license": "MIT", "dependencies": { - "deep-is": "~0.1.3", - "fast-levenshtein": "~2.0.6", - "levn": "~0.3.0", - "prelude-ls": "~1.1.2", - "type-check": "~0.3.2", - "word-wrap": "~1.2.3" + "deep-is": "^0.1.3", + "fast-levenshtein": "^2.0.6", + "levn": "^0.4.1", + "prelude-ls": "^1.2.1", + "type-check": "^0.4.0", + "word-wrap": "^1.2.5" }, "engines": { "node": ">= 0.8.0" @@ -5442,6 +6543,7 @@ "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz", "integrity": "sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==", "dev": true, + "license": "MIT", "dependencies": { "yocto-queue": "^0.1.0" }, @@ -5453,27 +6555,16 @@ } }, "node_modules/p-locate": { - "version": "4.1.0", - "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", - "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", - "dev": true, - "dependencies": { - "p-limit": "^2.2.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/p-locate/node_modules/p-limit": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", - "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-5.0.0.tgz", + "integrity": "sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==", "dev": true, + "license": "MIT", "dependencies": { - "p-try": "^2.0.0" + "p-limit": "^3.0.2" }, "engines": { - "node": ">=6" + "node": ">=10" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" @@ -5484,6 +6575,7 @@ "resolved": "https://registry.npmjs.org/p-try/-/p-try-2.2.0.tgz", "integrity": "sha512-R4nPAVTAU0B9D35/Gk3uJf/7XYbQcyohSKdvAxIRSNghFl4e71hVoGnBNQz9cWaXxO2I10KTC+3jMdvvoKw6dQ==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -5492,26 +6584,15 @@ "version": "1.0.1", "resolved": "https://registry.npmjs.org/package-json-from-dist/-/package-json-from-dist-1.0.1.tgz", "integrity": "sha512-UEZIS3/by4OC8vL3P2dTXRETpebLI2NiI5vIrjaD/5UtrkFX/tNbwjTSRAGC/+7CAo2pIcBaRgWmcBBHcsaCIw==", - "dev": true - }, - "node_modules/parent-module": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/parent-module/-/parent-module-1.0.1.tgz", - "integrity": "sha512-GQ2EWRpQV8/o+Aw8YqtfZZPfNRWZYkbidE9k5rpl/hC3vtHHBfGm2Ifi6qWV+coDGkrUKZAxE3Lot5kcsRlh+g==", "dev": true, - "peer": true, - "dependencies": { - "callsites": "^3.0.0" - }, - "engines": { - "node": ">=6" - } + "license": "BlueOak-1.0.0" }, "node_modules/parse-json": { "version": "5.2.0", "resolved": "https://registry.npmjs.org/parse-json/-/parse-json-5.2.0.tgz", "integrity": "sha512-ayCKvm/phCGxOkYRSCM82iDwct8/EonSEgCSxWxD7ve6jHggsFl4fZVQBPRNgQoKiuV/odhFrGzQXZwbifC8Rg==", "dev": true, + "license": "MIT", "dependencies": { "@babel/code-frame": "^7.0.0", "error-ex": "^1.3.1", @@ -5530,24 +6611,17 @@ "resolved": "https://registry.npmjs.org/path-exists/-/path-exists-4.0.0.tgz", "integrity": "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/path-is-absolute": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/path-is-absolute/-/path-is-absolute-1.0.1.tgz", - "integrity": "sha512-AVbw3UJ2e9bq64vSaS9Am0fje1Pa8pbGqTTsmXfaIiMpnr5DlDhfJOuLj9Sf95ZPVDAUerDfEk88MPmPe7UCQg==", - "dev": true, - "engines": { - "node": ">=0.10.0" - } - }, "node_modules/path-key": { "version": "3.1.1", "resolved": "https://registry.npmjs.org/path-key/-/path-key-3.1.1.tgz", "integrity": "sha512-ojmeN0qd+y0jszEtoY48r0Peq5dwMEkIlCOu6Q5f41lfkswXuKtYrhgoTpLnyIcHm24Uhqx+5Tqm2InSwLhE6Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -5556,53 +6630,69 @@ "version": "1.0.7", "resolved": "https://registry.npmjs.org/path-parse/-/path-parse-1.0.7.tgz", "integrity": "sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw==", - "dev": true + "dev": true, + "license": "MIT" }, "node_modules/path-scurry": { - "version": "1.11.1", - "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", - "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", + "version": "2.0.2", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-2.0.2.tgz", + "integrity": "sha512-3O/iVVsJAPsOnpwWIeD+d6z/7PmqApyQePUtCndjatj/9I5LylHvt5qluFaBT3I5h3r1ejfR056c+FCv+NnNXg==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "lru-cache": "^10.2.0", - "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" + "lru-cache": "^11.0.0", + "minipass": "^7.1.2" }, "engines": { - "node": ">=16 || 14 >=14.18" + "node": "18 || 20 || >=22" }, "funding": { "url": "https://github.com/sponsors/isaacs" } }, "node_modules/path-scurry/node_modules/lru-cache": { - "version": "10.4.3", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", - "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", - "dev": true + "version": "11.5.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-11.5.3.tgz", + "integrity": "sha512-U4N8FgzmWxc8k1VH8Kr6lQg18U7Fjvby6wXHVRX/ZZ7IwWbRMgrRbP0Wrb5q5NVinryp4SQampHKdvtecItxUg==", + "dev": true, + "license": "BlueOak-1.0.0", + "engines": { + "node": "20 || >=22" + } + }, + "node_modules/pathe": { + "version": "2.0.3", + "resolved": "https://registry.npmjs.org/pathe/-/pathe-2.0.3.tgz", + "integrity": "sha512-WUjGcAqP1gQacoQe+OBJsFA7Ld4DyXuUIjZ5cc75cLHvJ7dtNsTugphxIADwspS+AraAUePCKrSVtPLFj/F88w==", + "dev": true, + "license": "MIT" }, "node_modules/picocolors": { "version": "1.1.1", "resolved": "https://registry.npmjs.org/picocolors/-/picocolors-1.1.1.tgz", "integrity": "sha512-xceH2snhtb5M9liqDsmEw56le376mTZkEX/jEb/RxNFyegNul7eNslCXP9FDj/Lcu0X8KEyMceP2ntpaHrDEVA==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/picomatch": { - "version": "2.3.1", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-2.3.1.tgz", - "integrity": "sha512-JU3teHTNjmE2VCGFzuY8EXzCDVwEqB2a8fsIvwaStHhAWJEeVd1o1QD80CU6+ZdEXXSLbSsuLwJjkCBWqRQUVA==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.7.tgz", + "integrity": "sha512-qcJu88Q2IWqJsDD529JKMdwGm/dvInW4HvQnRwiH9JtihJvzGOscDtHE3x1pBKeUOTysQ8kVmLnJ2kJu7yhcGA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=8.6" + "node": ">=12" }, "funding": { "url": "https://github.com/sponsors/jonschlinkert" } }, "node_modules/pirates": { - "version": "4.0.6", - "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.6.tgz", - "integrity": "sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg==", + "version": "4.0.7", + "resolved": "https://registry.npmjs.org/pirates/-/pirates-4.0.7.tgz", + "integrity": "sha512-TfySrs/5nm8fQJDcBDuUng3VOUKsd7S+zqvbOTiGXHfxX4wK31ard+hoNuvkicM/2YFzlpDgABOevKSsB4G/FA==", "dev": true, + "license": "MIT", "engines": { "node": ">= 6" } @@ -5612,6 +6702,7 @@ "resolved": "https://registry.npmjs.org/pkg-dir/-/pkg-dir-4.2.0.tgz", "integrity": "sha512-HRDzbaKjC+AOWVXxAU/x54COGeIv9eb+6CkDSQoNTt4XyWoIJvuPsXizxu/Fr23EiekbtZwmh1IcIG/l/a10GQ==", "dev": true, + "license": "MIT", "dependencies": { "find-up": "^4.0.0" }, @@ -5619,6 +6710,74 @@ "node": ">=8" } }, + "node_modules/pkg-dir/node_modules/find-up": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/find-up/-/find-up-4.1.0.tgz", + "integrity": "sha512-PpOwAdQ/YlXQ2vj8a3h8IipDuYRi3wceVQQGYWxNINccq40Anw7BlsEXCMbt1Zt+OLA6Fq9suIpIWD0OsnISlw==", + "dev": true, + "license": "MIT", + "dependencies": { + "locate-path": "^5.0.0", + "path-exists": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/locate-path": { + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/locate-path/-/locate-path-5.0.0.tgz", + "integrity": "sha512-t7hw9pI+WvuwNJXwk5zVHpyhIqzg2qTlklJOf0mVxGSbe3Fp2VieZcduNYjaLDoy6p9uGpQEGWG87WpMKlNq8g==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-locate": "^4.1.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-dir/node_modules/p-limit": { + "version": "2.3.0", + "resolved": "https://registry.npmjs.org/p-limit/-/p-limit-2.3.0.tgz", + "integrity": "sha512-//88mFWSJx8lxCzwdAABTJL2MyWB12+eIY7MDL2SqLmAkeKU9qxRvWuSyTjm3FUmpBEMuFfckAIqEaVGUDxb6w==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-try": "^2.0.0" + }, + "engines": { + "node": ">=6" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, + "node_modules/pkg-dir/node_modules/p-locate": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/p-locate/-/p-locate-4.1.0.tgz", + "integrity": "sha512-R79ZZ/0wAxKGu3oYMlz8jy/kbhsNrS7SKZ7PxEHBgJ5+F2mtFW2fK2cOtBh1cHYkQsbzFV7I+EoRKe6Yt0oK7A==", + "dev": true, + "license": "MIT", + "dependencies": { + "p-limit": "^2.2.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/pkg-types": { + "version": "1.3.1", + "resolved": "https://registry.npmjs.org/pkg-types/-/pkg-types-1.3.1.tgz", + "integrity": "sha512-/Jm5M4RvtBFVkKWRu2BLUTNP8/M2a+UwuAX+ae4770q1qVGtfjG+WTCupoZixokjmHiry8uI+dlY8KXYV5HVVQ==", + "dev": true, + "license": "MIT", + "dependencies": { + "confbox": "^0.1.8", + "mlly": "^1.7.4", + "pathe": "^2.0.1" + } + }, "node_modules/postcss-load-config": { "version": "6.0.1", "resolved": "https://registry.npmjs.org/postcss-load-config/-/postcss-load-config-6.0.1.tgz", @@ -5634,6 +6793,7 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "lilconfig": "^3.1.1" }, @@ -5662,19 +6822,21 @@ } }, "node_modules/prelude-ls": { - "version": "1.1.2", - "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.1.2.tgz", - "integrity": "sha512-ESF23V4SKG6lVSGZgYNpbsiaAkdab6ZgOxe52p7+Kid3W3u3bxR4Vfd/o21dmN7jSt0IwgZ4v5MUd26FEtXE9w==", + "version": "1.2.1", + "resolved": "https://registry.npmjs.org/prelude-ls/-/prelude-ls-1.2.1.tgz", + "integrity": "sha512-vkcDPrRZo1QZLbn5RLGPpg/WmIQ65qoWWhcGKf/b5eplkkarX0m9z8ppCat4mlOqUsWpyNuYgO3VRyrYHSzX5g==", "dev": true, + "license": "MIT", "engines": { "node": ">= 0.8.0" } }, "node_modules/prettier": { - "version": "3.4.2", - "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.4.2.tgz", - "integrity": "sha512-e9MewbtFo+Fevyuxn/4rrcDAaq0IYxPGLvObpQjiZBMAzB9IGmzlnG9RZy3FFas+eBMu2vA0CszMeduow5dIuQ==", + "version": "3.9.9", + "resolved": "https://registry.npmjs.org/prettier/-/prettier-3.9.9.tgz", + "integrity": "sha512-Z/CJHIkdujO/OtN7nXUii0Rf3VT5SRuhjBA82Xvu2XhBUgX3nhP67T0LHceBdQLex7OOFGTox+Q5Yg8Jk2Qivg==", "dev": true, + "license": "MIT", "bin": { "prettier": "bin/prettier.cjs" }, @@ -5686,17 +6848,19 @@ } }, "node_modules/pretty-format": { - "version": "29.7.0", - "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-29.7.0.tgz", - "integrity": "sha512-Pdlw/oPxN+aXdmM9R00JVC9WVFoCLTKJvDVLgmJ+qAffBMxsV85l/Lu7sNx4zSzPyoL2euImuEwHhOXdEgNFZQ==", + "version": "30.5.1", + "resolved": "https://registry.npmjs.org/pretty-format/-/pretty-format-30.5.1.tgz", + "integrity": "sha512-byhRAPguVKMQIj4kjJwJ5lAskVhfuiSdiYl/aLTWpgkGEmic2jYhJh1yE9ih8Ox44Xg9ccCT11/S6QrzSJuNrg==", "dev": true, + "license": "MIT", "dependencies": { - "@jest/schemas": "^29.6.3", - "ansi-styles": "^5.0.0", - "react-is": "^18.0.0" + "@jest/react-is-18": "npm:react-is@^18.3.1", + "@jest/react-is-19": "npm:react-is@^19.2.5", + "@jest/schemas": "30.5.0", + "ansi-styles": "^5.2.0" }, "engines": { - "node": "^14.15.0 || ^16.10.0 || >=18.0.0" + "node": "^18.14.0 || ^20.0.0 || ^22.0.0 || >=24.0.0" } }, "node_modules/pretty-format/node_modules/ansi-styles": { @@ -5704,6 +6868,7 @@ "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-5.2.0.tgz", "integrity": "sha512-Cxwpt2SfTzTtXcfOlzGEee8O+c+MmUgGrNiBcXnuWxuFJHe6a5Hz7qwhwe5OgaSYI0IJvkLqWX1ASG+cJOkEiA==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, @@ -5711,85 +6876,101 @@ "url": "https://github.com/chalk/ansi-styles?sponsor=1" } }, - "node_modules/prompts": { - "version": "2.4.2", - "resolved": "https://registry.npmjs.org/prompts/-/prompts-2.4.2.tgz", - "integrity": "sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==", - "dev": true, - "dependencies": { - "kleur": "^3.0.3", - "sisteransi": "^1.0.5" - }, - "engines": { - "node": ">= 6" - } - }, "node_modules/protobufjs": { - "version": "7.4.0", - "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-7.4.0.tgz", - "integrity": "sha512-mRUWCc3KUU4w1jU8sGxICXH/gNS94DvI1gxqDvBzhj1JpcsimQkYiOJfwsPUykUI5ZaspFbSgmBLER8IrQ3tqw==", - "hasInstallScript": true, + "version": "8.8.0", + "resolved": "https://registry.npmjs.org/protobufjs/-/protobufjs-8.8.0.tgz", + "integrity": "sha512-N3xhQ5yyBx3vQq4gubBfASzYhJGNzeDbjqBpu61g7UVylsN/qyffU96TKWD3GbbLOKF82VGNRNvv1+BFgE31Eg==", + "license": "BSD-3-Clause", + "peer": true, "dependencies": { - "@protobufjs/aspromise": "^1.1.2", - "@protobufjs/base64": "^1.1.2", - "@protobufjs/codegen": "^2.0.4", - "@protobufjs/eventemitter": "^1.1.0", - "@protobufjs/fetch": "^1.1.0", - "@protobufjs/float": "^1.0.2", - "@protobufjs/inquire": "^1.1.0", - "@protobufjs/path": "^1.1.2", - "@protobufjs/pool": "^1.1.0", - "@protobufjs/utf8": "^1.1.0", - "@types/node": ">=13.7.0", - "long": "^5.0.0" + "long": "^5.3.2" }, "engines": { "node": ">=12.0.0" } }, "node_modules/protobufjs-cli": { - "version": "1.1.3", - "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-1.1.3.tgz", - "integrity": "sha512-MqD10lqF+FMsOayFiNOdOGNlXc4iKDCf0ZQPkPR+gizYh9gqUeGTWulABUCdI+N67w5RfJ6xhgX4J8pa8qmMXQ==", + "version": "2.7.0", + "resolved": "https://registry.npmjs.org/protobufjs-cli/-/protobufjs-cli-2.7.0.tgz", + "integrity": "sha512-wjrZPibf/U73dDJMh9jCqjyeDH7t6+OMD16vKp/Z1CY7yyVE/pX5a9EvCq89p3ADHo+KyaLknA5lxyaaM252KA==", "dev": true, + "license": "BSD-3-Clause", "dependencies": { - "chalk": "^4.0.0", - "escodegen": "^1.13.0", - "espree": "^9.0.0", + "escodegen": "^2.0.0", + "espree": "^9.6.1", "estraverse": "^5.1.0", - "glob": "^8.0.0", - "jsdoc": "^4.0.0", - "minimist": "^1.2.0", - "semver": "^7.1.2", - "tmp": "^0.2.1", - "uglify-js": "^3.7.7" + "glob": "^8.1.0", + "jsdoc": "^4.0.5", + "minimist": "^1.2.8", + "tmp": "^0.2.7" }, "bin": { "pbjs": "bin/pbjs", - "pbts": "bin/pbts" + "pbts": "bin/pbts", + "protoc-gen-pbjs": "bin/protoc-gen-pbjs" }, "engines": { "node": ">=12.0.0" }, "peerDependencies": { - "protobufjs": "^7.0.0" + "protobufjs": "^8.8.0" } }, + "node_modules/protobufjs-cli/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, "node_modules/protobufjs-cli/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", + "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, + "node_modules/protobufjs-cli/node_modules/eslint-visitor-keys": { + "version": "3.4.3", + "resolved": "https://registry.npmjs.org/eslint-visitor-keys/-/eslint-visitor-keys-3.4.3.tgz", + "integrity": "sha512-wpc+LXeiyiisxPlEkUzU6svyS1frIO3Mgxj1fdy7Pm8Ygzguax2N3Fa/D/ag1WqbOprdI+uY6wMUl8/a2G+iag==", + "dev": true, + "license": "Apache-2.0", + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, + "node_modules/protobufjs-cli/node_modules/espree": { + "version": "9.6.1", + "resolved": "https://registry.npmjs.org/espree/-/espree-9.6.1.tgz", + "integrity": "sha512-oruZaFkjorTpF32kDSI5/75ViwGeZginGGy2NoOSg3Q9bnwlnmDm4HLnkl0RE3n+njDXR037aY1+x58Z/zFdwQ==", + "dev": true, + "license": "BSD-2-Clause", + "dependencies": { + "acorn": "^8.9.0", + "acorn-jsx": "^5.3.2", + "eslint-visitor-keys": "^3.4.1" + }, + "engines": { + "node": "^12.22.0 || ^14.17.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/eslint" + } + }, "node_modules/protobufjs-cli/node_modules/glob": { "version": "8.1.0", "resolved": "https://registry.npmjs.org/glob/-/glob-8.1.0.tgz", "integrity": "sha512-r8hpEjiQEYlF2QU0df3dS+nxxSIreXQS1qRhMJM0Q5NDdR386C7jb7Hwwod8Fgiuex+k0GFjgft18yvxm5XoCQ==", - "deprecated": "Glob versions prior to v9 are no longer supported", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, + "license": "ISC", "dependencies": { "fs.realpath": "^1.0.0", "inflight": "^1.0.4", @@ -5805,10 +6986,11 @@ } }, "node_modules/protobufjs-cli/node_modules/minimatch": { - "version": "5.1.6", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.6.tgz", - "integrity": "sha512-lKwV/1brpG6mBUFHtb7NUmtABCb2WZZmm2wNiOA5hAb8VdCS4B3dtMWyvcoViccwAW/COERjXLt0zP1zXUN26g==", + "version": "5.1.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-5.1.9.tgz", + "integrity": "sha512-7o1wEA2RyMP7Iu7GNba9vc0RWWGACJOCZBJX2GJWip0ikV+wcOsgVuY9uE8CPiyQhkGFSlhuSkZPavN7u1c2Fw==", "dev": true, + "license": "ISC", "dependencies": { "brace-expansion": "^2.0.1" }, @@ -5816,23 +6998,12 @@ "node": ">=10" } }, - "node_modules/protobufjs-cli/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", - "dev": true, - "bin": { - "semver": "bin/semver.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/punycode": { "version": "2.3.1", "resolved": "https://registry.npmjs.org/punycode/-/punycode-2.3.1.tgz", "integrity": "sha512-vYt7UD1U9Wg6138shLtLOvdAu+8DsC/ilFtEVHcH+wydcSpNE20AfSOduf6MkRFahL5FY7X1oU7nKVZFtfq8Fg==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -5842,14 +7013,15 @@ "resolved": "https://registry.npmjs.org/punycode.js/-/punycode.js-2.3.1.tgz", "integrity": "sha512-uxFIHU0YlHYhDQtV4R9J6a52SLx28BCjT+4ieh7IGbgwVJWO+km431c4yRlREUAsAmt/uMjQUyQHNEPf0M39CA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } }, "node_modules/pure-rand": { - "version": "6.1.0", - "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.1.0.tgz", - "integrity": "sha512-bVWawvoZoBYpp6yIoQtQXHZjmz35RSVHnUOTefl8Vcjr8snTPY1wnpSPMWekcFwbxI6gtmT7rSYPFvz71ldiOA==", + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-7.0.1.tgz", + "integrity": "sha512-oTUZM/NAZS8p7ANR3SHh30kXB+zK2r2BPcEn/awJIbOvq82WoMN4p62AWWp3Hhw50G0xMsw1mhIBLqHw64EcNQ==", "dev": true, "funding": [ { @@ -5860,41 +7032,37 @@ "type": "opencollective", "url": "https://opencollective.com/fast-check" } - ] + ], + "license": "MIT" }, - "node_modules/queue-microtask": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/queue-microtask/-/queue-microtask-1.2.3.tgz", - "integrity": "sha512-NuaNSa6flKT5JaSYQzJok04JzTL1CA6aGhv5rfLW3PgqA+M2ChpZQnAC8h8i4ZFkBS8X5RqkDBHA7r4hej3K9A==", + "node_modules/qified": { + "version": "0.10.1", + "resolved": "https://registry.npmjs.org/qified/-/qified-0.10.1.tgz", + "integrity": "sha512-+Owyggi9IxT1ePKGafcI87ubSmxol6smwJ+RAHDQlx9+9cPwFWDiKFFCPuWhr9ignlGpZ9vDQLw67N4dcTVFEA==", "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ] + "license": "MIT", + "dependencies": { + "hookified": "^2.1.1" + }, + "engines": { + "node": ">=20" + } }, - "node_modules/react-is": { - "version": "18.3.1", - "resolved": "https://registry.npmjs.org/react-is/-/react-is-18.3.1.tgz", - "integrity": "sha512-/LLMVyas0ljjAtoYiPqYiL8VWXzUUdThrmU5+n20DZv+a+ClRoevUzw5JxU+Ieh5/c87ytoTBV9G1FiKfNJdmg==", - "dev": true + "node_modules/qified/node_modules/hookified": { + "version": "2.2.0", + "resolved": "https://registry.npmjs.org/hookified/-/hookified-2.2.0.tgz", + "integrity": "sha512-p/LgFzRN5FeoD3DLS6bkUapeye6E4SI6yJs6KetENd18S+FBthqYq2amJUWpt5z0EQwwHemidjY5OqJGEKm5uA==", + "dev": true, + "license": "MIT" }, "node_modules/readdirp": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.0.2.tgz", - "integrity": "sha512-yDMz9g+VaZkqBYS/ozoBJwaBhTbZo3UNYQHNRw1D3UFQB8oHB4uS/tAODO+ZLjGWmUbKnIlOWO+aaIiAxrUWHA==", + "version": "4.1.2", + "resolved": "https://registry.npmjs.org/readdirp/-/readdirp-4.1.2.tgz", + "integrity": "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg==", "dev": true, + "license": "MIT", "engines": { - "node": ">= 14.16.0" + "node": ">= 14.18.0" }, "funding": { "type": "individual", @@ -5905,6 +7073,7 @@ "version": "2.1.1", "resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz", "integrity": "sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==", + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5914,6 +7083,7 @@ "resolved": "https://registry.npmjs.org/require-from-string/-/require-from-string-2.0.2.tgz", "integrity": "sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } @@ -5923,23 +7093,29 @@ "resolved": "https://registry.npmjs.org/requizzle/-/requizzle-0.2.4.tgz", "integrity": "sha512-JRrFk1D4OQ4SqovXOgdav+K8EAhSB/LJZqCz8tbX0KObcdeM15Ss59ozWMBWmmINMagCwmqn4ZNryUGpBsl6Jw==", "dev": true, + "license": "MIT", "dependencies": { "lodash": "^4.17.21" } }, "node_modules/resolve": { - "version": "1.22.8", - "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.8.tgz", - "integrity": "sha512-oKWePCxqpd6FlLvGV1VU0x7bkPmmCNolxzjMf4NczoDnQcIWrAF+cPtZn5i6n+RfD2d9i0tzpKnG6Yk168yIyw==", + "version": "1.22.12", + "resolved": "https://registry.npmjs.org/resolve/-/resolve-1.22.12.tgz", + "integrity": "sha512-TyeJ1zif53BPfHootBGwPRYT1RUt6oGWsaQr8UyZW/eAm9bKoijtvruSDEmZHm92CwS9nj7/fWttqPCgzep8CA==", "dev": true, + "license": "MIT", "dependencies": { - "is-core-module": "^2.13.0", + "es-errors": "^1.3.0", + "is-core-module": "^2.16.1", "path-parse": "^1.0.7", "supports-preserve-symlinks-flag": "^1.0.0" }, "bin": { "resolve": "bin/resolve" }, + "engines": { + "node": ">= 0.4" + }, "funding": { "url": "https://github.com/sponsors/ljharb" } @@ -5949,6 +7125,7 @@ "resolved": "https://registry.npmjs.org/resolve-cwd/-/resolve-cwd-3.0.0.tgz", "integrity": "sha512-OrZaX2Mb+rJCpH/6CpSqt9xFVpN++x01XnN2ie9g6P5/3xelLAkXWVADpdz1IHD/KFfEXyE6V0U01OQ3UO2rEg==", "dev": true, + "license": "MIT", "dependencies": { "resolve-from": "^5.0.0" }, @@ -5961,36 +7138,19 @@ "resolved": "https://registry.npmjs.org/resolve-from/-/resolve-from-5.0.0.tgz", "integrity": "sha512-qYg9KP24dD5qka9J47d0aVky0N+b4fTU89LN9iDnjB5waksiC49rvMB0PrUJQGoTmH50XPiqOvAjDfaijGxYZw==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } }, - "node_modules/resolve.exports": { - "version": "2.0.3", - "resolved": "https://registry.npmjs.org/resolve.exports/-/resolve.exports-2.0.3.tgz", - "integrity": "sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==", - "dev": true, - "engines": { - "node": ">=10" - } - }, - "node_modules/reusify": { - "version": "1.0.4", - "resolved": "https://registry.npmjs.org/reusify/-/reusify-1.0.4.tgz", - "integrity": "sha512-U9nH88a3fc/ekCF1l0/UP1IosiuIjyTh7hBvXVMHYgVcfGvt897Xguj2UOLDeI5BG2m7/uwyaLVT6fbtCwTyzw==", - "dev": true, - "engines": { - "iojs": ">=1.0.0", - "node": ">=0.10.0" - } - }, "node_modules/rollup": { - "version": "4.28.1", - "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.28.1.tgz", - "integrity": "sha512-61fXYl/qNVinKmGSTHAZ6Yy8I3YIJC/r2m9feHo6SwVAVcLT5MPwOUFe7EuURA/4m0NR8lXG4BBXuo/IZEsjMg==", + "version": "4.63.5", + "resolved": "https://registry.npmjs.org/rollup/-/rollup-4.63.5.tgz", + "integrity": "sha512-KRWwmNLlPw5M7HcdYfm15oBv9n9LPtjzpzCIxS/phwqvPyxHSoKX6Y2YU3pxSPfy0CLquVgsx/j/hBi6OvH1Nw==", "dev": true, + "license": "MIT", "dependencies": { - "@types/estree": "1.0.6" + "@types/estree": "1.0.9" }, "bin": { "rollup": "dist/bin/rollup" @@ -6000,56 +7160,41 @@ "npm": ">=8.0.0" }, "optionalDependencies": { - "@rollup/rollup-android-arm-eabi": "4.28.1", - "@rollup/rollup-android-arm64": "4.28.1", - "@rollup/rollup-darwin-arm64": "4.28.1", - "@rollup/rollup-darwin-x64": "4.28.1", - "@rollup/rollup-freebsd-arm64": "4.28.1", - "@rollup/rollup-freebsd-x64": "4.28.1", - "@rollup/rollup-linux-arm-gnueabihf": "4.28.1", - "@rollup/rollup-linux-arm-musleabihf": "4.28.1", - "@rollup/rollup-linux-arm64-gnu": "4.28.1", - "@rollup/rollup-linux-arm64-musl": "4.28.1", - "@rollup/rollup-linux-loongarch64-gnu": "4.28.1", - "@rollup/rollup-linux-powerpc64le-gnu": "4.28.1", - "@rollup/rollup-linux-riscv64-gnu": "4.28.1", - "@rollup/rollup-linux-s390x-gnu": "4.28.1", - "@rollup/rollup-linux-x64-gnu": "4.28.1", - "@rollup/rollup-linux-x64-musl": "4.28.1", - "@rollup/rollup-win32-arm64-msvc": "4.28.1", - "@rollup/rollup-win32-ia32-msvc": "4.28.1", - "@rollup/rollup-win32-x64-msvc": "4.28.1", + "@napi-rs/lzma-linux-x64-gnu": "1.5.1", + "@rollup/rollup-android-arm-eabi": "4.63.5", + "@rollup/rollup-android-arm64": "4.63.5", + "@rollup/rollup-darwin-arm64": "4.63.5", + "@rollup/rollup-darwin-x64": "4.63.5", + "@rollup/rollup-freebsd-arm64": "4.63.5", + "@rollup/rollup-freebsd-x64": "4.63.5", + "@rollup/rollup-linux-arm-gnueabihf": "4.63.5", + "@rollup/rollup-linux-arm-musleabihf": "4.63.5", + "@rollup/rollup-linux-arm64-gnu": "4.63.5", + "@rollup/rollup-linux-arm64-musl": "4.63.5", + "@rollup/rollup-linux-loong64-gnu": "4.63.5", + "@rollup/rollup-linux-loong64-musl": "4.63.5", + "@rollup/rollup-linux-ppc64-gnu": "4.63.5", + "@rollup/rollup-linux-ppc64-musl": "4.63.5", + "@rollup/rollup-linux-riscv64-gnu": "4.63.5", + "@rollup/rollup-linux-riscv64-musl": "4.63.5", + "@rollup/rollup-linux-s390x-gnu": "4.63.5", + "@rollup/rollup-linux-x64-gnu": "4.63.5", + "@rollup/rollup-linux-x64-musl": "4.63.5", + "@rollup/rollup-openbsd-x64": "4.63.5", + "@rollup/rollup-openharmony-arm64": "4.63.5", + "@rollup/rollup-win32-arm64-msvc": "4.63.5", + "@rollup/rollup-win32-ia32-msvc": "4.63.5", + "@rollup/rollup-win32-x64-gnu": "4.63.5", + "@rollup/rollup-win32-x64-msvc": "4.63.5", "fsevents": "~2.3.2" } }, - "node_modules/run-parallel": { - "version": "1.2.0", - "resolved": "https://registry.npmjs.org/run-parallel/-/run-parallel-1.2.0.tgz", - "integrity": "sha512-5l4VyZR86LZ/lDxZTR6jqL8AFE2S0IFLMP26AbjsLVADxHdhB/c0GUsH+y39UfCi3dzz8OlQuPmnaJOMoDHQBA==", - "dev": true, - "funding": [ - { - "type": "github", - "url": "https://github.com/sponsors/feross" - }, - { - "type": "patreon", - "url": "https://www.patreon.com/feross" - }, - { - "type": "consulting", - "url": "https://feross.org/support" - } - ], - "dependencies": { - "queue-microtask": "^1.2.2" - } - }, "node_modules/semver": { "version": "6.3.1", "resolved": "https://registry.npmjs.org/semver/-/semver-6.3.1.tgz", "integrity": "sha512-BR7VvDCVHO+q2xBEWskxS6DJE1qRnb7DxzUrogb71CWoSficBxYsiAGd+Kl0mmq/MprG9yArRkyrQxTO6XjMzA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" } @@ -6059,6 +7204,7 @@ "resolved": "https://registry.npmjs.org/shebang-command/-/shebang-command-2.0.0.tgz", "integrity": "sha512-kHxr2zZpYtdmrN1qDjrrX/Z1rR1kG8Dx+gkpK1G4eXmvXswmcE1hTWBWYUzlraYw1/yZp6YuDY77YtvbN0dmDA==", "dev": true, + "license": "MIT", "dependencies": { "shebang-regex": "^3.0.0" }, @@ -6071,6 +7217,7 @@ "resolved": "https://registry.npmjs.org/shebang-regex/-/shebang-regex-3.0.0.tgz", "integrity": "sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6079,19 +7226,15 @@ "version": "3.0.7", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-3.0.7.tgz", "integrity": "sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==", - "dev": true - }, - "node_modules/sisteransi": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/sisteransi/-/sisteransi-1.0.5.tgz", - "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", "integrity": "sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6101,31 +7244,24 @@ "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.6.1.tgz", "integrity": "sha512-UjgapumWlbMhkBgzT7Ykc5YXUT46F0iKu8SGXq0bcwP5dz/h0Plj6enJqjz1Zbq2l5WaqYnrVbwWOWMyF3F47g==", "dev": true, + "license": "BSD-3-Clause", "engines": { "node": ">=0.10.0" } }, - "node_modules/source-map-support": { - "version": "0.5.13", - "resolved": "https://registry.npmjs.org/source-map-support/-/source-map-support-0.5.13.tgz", - "integrity": "sha512-SHSKFHadjVA5oR4PPqhtAVdcBWwRYVd6g6cAXnIbRiIwc2EhPrTuKUBdSLvlEKyIP3GCf89fltvcZiP9MMFA1w==", - "dev": true, - "dependencies": { - "buffer-from": "^1.0.0", - "source-map": "^0.6.0" - } - }, "node_modules/sprintf-js": { "version": "1.0.3", "resolved": "https://registry.npmjs.org/sprintf-js/-/sprintf-js-1.0.3.tgz", "integrity": "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g==", - "dev": true + "dev": true, + "license": "BSD-3-Clause" }, "node_modules/stack-utils": { "version": "2.0.6", "resolved": "https://registry.npmjs.org/stack-utils/-/stack-utils-2.0.6.tgz", "integrity": "sha512-XlkWvfIm6RmsWtNJx+uqtKLS8eqFbxUg0ZzLXqY0caEy9l7hruX8IpiDnjsLavoBgqCCR71TqWO8MaXYheJ3RQ==", "dev": true, + "license": "MIT", "dependencies": { "escape-string-regexp": "^2.0.0" }, @@ -6133,11 +7269,22 @@ "node": ">=10" } }, + "node_modules/stack-utils/node_modules/escape-string-regexp": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/escape-string-regexp/-/escape-string-regexp-2.0.0.tgz", + "integrity": "sha512-UpzcLCXolUWcNu5HtVMHYdXJjArjsF9C0aNnquZYY4uW/Vu0miy5YoWvbV345HauVvcAUnpRuhMMcqTcGOY2+w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">=8" + } + }, "node_modules/string-length": { "version": "4.0.2", "resolved": "https://registry.npmjs.org/string-length/-/string-length-4.0.2.tgz", "integrity": "sha512-+l6rNN5fYHNhZZy41RXsYptCjA2Igmq4EG7kZAYFQI1E1VTXarr6ZPXBg6eq7Y6eK4FEhY6AJlyuFIb/v/S0VQ==", "dev": true, + "license": "MIT", "dependencies": { "char-regex": "^1.0.2", "strip-ansi": "^6.0.0" @@ -6150,6 +7297,7 @@ "version": "4.2.3", "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -6165,6 +7313,7 @@ "resolved": "https://registry.npmjs.org/string-width/-/string-width-4.2.3.tgz", "integrity": "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g==", "dev": true, + "license": "MIT", "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -6178,6 +7327,7 @@ "version": "6.0.1", "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -6191,6 +7341,7 @@ "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-6.0.1.tgz", "integrity": "sha512-Y38VPSHcqkFrCpFnQ9vuSXmquuv5oXOKpGeT6aGrr3o3Gc9AlVa6JBfUSOCnbxGGZF+/0ooI7KrPuUSztUdU5A==", "dev": true, + "license": "MIT", "dependencies": { "ansi-regex": "^5.0.1" }, @@ -6203,6 +7354,7 @@ "resolved": "https://registry.npmjs.org/strip-bom/-/strip-bom-4.0.0.tgz", "integrity": "sha512-3xurFv5tEgii33Zi8Jtp55wEIILR9eh34FAW00PZf+JnSsTmV/ioewSgQl97JHvgjoRGwPShsWm+IdrxB35d0w==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" } @@ -6212,6 +7364,7 @@ "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-2.0.0.tgz", "integrity": "sha512-BrpvfNAE3dcvq7ll3xVumzjKjZQ5tI1sEUIKr3Uoks0XUl45St3FlatVqef9prk4jRDzhW6WZg+3bk93y6pLjA==", "dev": true, + "license": "MIT", "engines": { "node": ">=6" } @@ -6221,6 +7374,7 @@ "resolved": "https://registry.npmjs.org/strip-json-comments/-/strip-json-comments-3.1.1.tgz", "integrity": "sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==", "dev": true, + "license": "MIT", "engines": { "node": ">=8" }, @@ -6229,17 +7383,18 @@ } }, "node_modules/sucrase": { - "version": "3.35.0", - "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.0.tgz", - "integrity": "sha512-8EbVDiu9iN/nESwxeSxDKe0dunta1GOlHufmSSXxMD2z2/tMZpDMpvXQGsc+ajGo8y2uYUmixaSRUc/QPoQ0GA==", + "version": "3.35.1", + "resolved": "https://registry.npmjs.org/sucrase/-/sucrase-3.35.1.tgz", + "integrity": "sha512-DhuTmvZWux4H1UOnWMB3sk0sbaCVOoQZjv8u1rDoTV0HTdGem9hkAZtl4JZy8P2z4Bg0nT+YMeOFyVr4zcG5Tw==", "dev": true, + "license": "MIT", "dependencies": { "@jridgewell/gen-mapping": "^0.3.2", "commander": "^4.0.0", - "glob": "^10.3.10", "lines-and-columns": "^1.1.6", "mz": "^2.7.0", "pirates": "^4.0.1", + "tinyglobby": "^0.2.11", "ts-interface-checker": "^0.1.9" }, "bin": { @@ -6250,20 +7405,87 @@ "node": ">=16 || 14 >=14.17" } }, - "node_modules/sucrase/node_modules/brace-expansion": { - "version": "2.0.1", - "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.0.1.tgz", - "integrity": "sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==", + "node_modules/supports-color": { + "version": "7.2.0", + "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", + "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", + "dev": true, + "license": "MIT", + "dependencies": { + "has-flag": "^4.0.0" + }, + "engines": { + "node": ">=8" + } + }, + "node_modules/supports-preserve-symlinks-flag": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", + "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "dev": true, + "license": "MIT", + "engines": { + "node": ">= 0.4" + }, + "funding": { + "url": "https://github.com/sponsors/ljharb" + } + }, + "node_modules/synckit": { + "version": "0.11.13", + "resolved": "https://registry.npmjs.org/synckit/-/synckit-0.11.13.tgz", + "integrity": "sha512-eNRKgb3z66Yp3D2CixVujOUvXLFUTij/zVnV8KRyvFdQwpz7I5DS8UfRkTeLzb64u+dkzDSdelE24izu+zSSUg==", + "dev": true, + "license": "MIT", + "dependencies": { + "@pkgr/core": "^0.3.6" + }, + "engines": { + "node": "^14.18.0 || >=16.0.0" + }, + "funding": { + "url": "https://opencollective.com/synckit" + } + }, + "node_modules/test-exclude": { + "version": "7.0.2", + "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-7.0.2.tgz", + "integrity": "sha512-u9E6A+ZDYdp7a4WnarkXPZOx8Ilz46+kby6p1yZ8zsGTz9gYa6FIS7lj2oezzNKmtdyyJNNmmXDppga5GB7kSw==", + "dev": true, + "license": "ISC", + "dependencies": { + "@istanbuljs/schema": "^0.1.2", + "glob": "^10.4.1", + "minimatch": "^10.2.2" + }, + "engines": { + "node": ">=18" + } + }, + "node_modules/test-exclude/node_modules/balanced-match": { + "version": "1.0.2", + "resolved": "https://registry.npmjs.org/balanced-match/-/balanced-match-1.0.2.tgz", + "integrity": "sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==", + "dev": true, + "license": "MIT" + }, + "node_modules/test-exclude/node_modules/brace-expansion": { + "version": "2.1.7", + "resolved": "https://registry.npmjs.org/brace-expansion/-/brace-expansion-2.1.7.tgz", + "integrity": "sha512-uZbew1NqdmPDTMJ8ah1y+b+9QEJrfkXFk3RcTQw3X0jW/xRUvFKsg1CfQdSYGdTbXZWExtU3J3ccxtnfw1Fi0g==", "dev": true, + "license": "MIT", "dependencies": { "balanced-match": "^1.0.0" } }, - "node_modules/sucrase/node_modules/glob": { - "version": "10.4.5", - "resolved": "https://registry.npmjs.org/glob/-/glob-10.4.5.tgz", - "integrity": "sha512-7Bv8RF0k6xjo7d4A/PxYLbUCfb6c+Vpd2/mB2yRDlew7Jb5hEXiCD9ibfO7wpk8i4sevK6DFny9h7EYbM3/sHg==", + "node_modules/test-exclude/node_modules/glob": { + "version": "10.5.0", + "resolved": "https://registry.npmjs.org/glob/-/glob-10.5.0.tgz", + "integrity": "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg==", + "deprecated": "Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me", "dev": true, + "license": "ISC", "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", @@ -6279,13 +7501,14 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/sucrase/node_modules/minimatch": { - "version": "9.0.5", - "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.5.tgz", - "integrity": "sha512-G6T0ZX48xgozx7587koeX9Ys2NYy6Gmv//P89sEte9V9whIapMNF4idKxnW2QtCcLiTWlb/wfCabAtAFWhhBow==", + "node_modules/test-exclude/node_modules/glob/node_modules/minimatch": { + "version": "9.0.9", + "resolved": "https://registry.npmjs.org/minimatch/-/minimatch-9.0.9.tgz", + "integrity": "sha512-OBwBN9AL4dqmETlpS2zasx+vTeWclWzkblfZk7KTA5j3jeOONz/tRCnZomUyvNg83wL5Zv9Ss6HMJXAgL8R2Yg==", "dev": true, + "license": "ISC", "dependencies": { - "brace-expansion": "^2.0.1" + "brace-expansion": "^2.0.2" }, "engines": { "node": ">=16 || 14 >=14.17" @@ -6294,53 +7517,28 @@ "url": "https://github.com/sponsors/isaacs" } }, - "node_modules/supports-color": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-7.2.0.tgz", - "integrity": "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw==", - "dependencies": { - "has-flag": "^4.0.0" - }, - "engines": { - "node": ">=8" - } - }, - "node_modules/supports-preserve-symlinks-flag": { - "version": "1.0.0", - "resolved": "https://registry.npmjs.org/supports-preserve-symlinks-flag/-/supports-preserve-symlinks-flag-1.0.0.tgz", - "integrity": "sha512-ot0WnXS9fgdkgIcePe6RHNk1WA8+muPa6cSjeR3V8K27q9BB1rTE3R1p7Hv0z1ZyAc8s6Vvv8DIyWf681MAt0w==", + "node_modules/test-exclude/node_modules/lru-cache": { + "version": "10.4.3", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.4.3.tgz", + "integrity": "sha512-JNAzZcXrCt42VGLuYz0zfAzDfAvJWW6AfYlDBQyDV5DClI2m5sAmK+OIO7s59XfsRsWHp02jAJrRadPRGTt6SQ==", "dev": true, - "engines": { - "node": ">= 0.4" - }, - "funding": { - "url": "https://github.com/sponsors/ljharb" - } - }, - "node_modules/table-layout": { - "version": "4.1.1", - "resolved": "https://registry.npmjs.org/table-layout/-/table-layout-4.1.1.tgz", - "integrity": "sha512-iK5/YhZxq5GO5z8wb0bY1317uDF3Zjpha0QFFLA8/trAoiLbQD0HUbMesEaxyzUgDxi2QlcbM8IvqOlEjgoXBA==", - "dependencies": { - "array-back": "^6.2.2", - "wordwrapjs": "^5.1.0" - }, - "engines": { - "node": ">=12.17" - } + "license": "ISC" }, - "node_modules/test-exclude": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/test-exclude/-/test-exclude-6.0.0.tgz", - "integrity": "sha512-cAGWPIyOHU6zlmg88jwm7VRyXnMN7iV68OGAbYDk/Mh/xC/pzVPlQtY6ngoIH/5/tciuhGfvESU8GrHrcxD56w==", + "node_modules/test-exclude/node_modules/path-scurry": { + "version": "1.11.1", + "resolved": "https://registry.npmjs.org/path-scurry/-/path-scurry-1.11.1.tgz", + "integrity": "sha512-Xa4Nw17FS9ApQFJ9umLiJS4orGjm7ZzwUrwamcGQuHSzDyth9boKDaycYdDcZDuqYATXw4HFXgaqWTctW/v1HA==", "dev": true, + "license": "BlueOak-1.0.0", "dependencies": { - "@istanbuljs/schema": "^0.1.2", - "glob": "^7.1.4", - "minimatch": "^3.0.4" + "lru-cache": "^10.2.0", + "minipass": "^5.0.0 || ^6.0.2 || ^7.0.0" }, "engines": { - "node": ">=8" + "node": ">=16 || 14 >=14.18" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/thenify": { @@ -6348,6 +7546,7 @@ "resolved": "https://registry.npmjs.org/thenify/-/thenify-3.3.1.tgz", "integrity": "sha512-RVZSIV5IG10Hk3enotrhvz0T9em6cyHBLkH/YAZuKqd8hRkKhSfCGIcP2KUY0EPxndzANBmNllzWPwak+bheSw==", "dev": true, + "license": "MIT", "dependencies": { "any-promise": "^1.0.0" } @@ -6357,6 +7556,7 @@ "resolved": "https://registry.npmjs.org/thenify-all/-/thenify-all-1.6.0.tgz", "integrity": "sha512-RNxQH/qI8/t3thXJDwcstUO4zeqo64+Uy/+sNVRBx4Xn2OX+OZ9oP+iJnNFqplFra2ZUVeKCSa2oVWi3T4uVmA==", "dev": true, + "license": "MIT", "dependencies": { "thenify": ">= 3.1.0 < 4" }, @@ -6365,127 +7565,84 @@ } }, "node_modules/tinyexec": { - "version": "0.3.1", - "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.1.tgz", - "integrity": "sha512-WiCJLEECkO18gwqIp6+hJg0//p23HXp4S+gGtAKu3mI2F2/sXC4FvHvXvB0zJVVaTPhx1/tOwdbRsa1sOBIKqQ==", - "dev": true + "version": "0.3.2", + "resolved": "https://registry.npmjs.org/tinyexec/-/tinyexec-0.3.2.tgz", + "integrity": "sha512-KQQR9yN7R5+OSwaK0XQoj22pwHoTlgYqmUscPYoknOoWCWfj/5/ABTMRi69FrKU5ffPVh5QcFikpWJI/P1ocHA==", + "dev": true, + "license": "MIT" }, "node_modules/tinyglobby": { - "version": "0.2.10", - "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.10.tgz", - "integrity": "sha512-Zc+8eJlFMvgatPZTl6A9L/yht8QqdmUNtURHaKZLmKBE12hNPSrqNkUp2cs3M/UKmNVVAMFQYSjYIVHDjW5zew==", + "version": "0.2.17", + "resolved": "https://registry.npmjs.org/tinyglobby/-/tinyglobby-0.2.17.tgz", + "integrity": "sha512-wXR/dYpcqKmfWpEdZjiKJOwCNFndD0DMnrW/cYjVGttEkBfVgcLFHoNrlj47mjOVic9yyNu65alsgF4NQyTa2g==", "dev": true, + "license": "MIT", "dependencies": { - "fdir": "^6.4.2", - "picomatch": "^4.0.2" + "fdir": "^6.5.0", + "picomatch": "^4.0.4" }, "engines": { "node": ">=12.0.0" - } - }, - "node_modules/tinyglobby/node_modules/fdir": { - "version": "6.4.2", - "resolved": "https://registry.npmjs.org/fdir/-/fdir-6.4.2.tgz", - "integrity": "sha512-KnhMXsKSPZlAhp7+IjUkRZKPb4fUyccpDrdFXbi4QL1qkmFh9kVY09Yox+n4MaOb3lHZ1Tv829C3oaaXoMYPDQ==", - "dev": true, - "peerDependencies": { - "picomatch": "^3 || ^4" - }, - "peerDependenciesMeta": { - "picomatch": { - "optional": true - } - } - }, - "node_modules/tinyglobby/node_modules/picomatch": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/picomatch/-/picomatch-4.0.2.tgz", - "integrity": "sha512-M7BAV6Rlcy5u+m6oPhAPFgJTzAioX/6B0DxyvDlo9l8+T3nLKbrczg2WLUyzd45L8RqfUMyGPzekbMvX2Ldkwg==", - "dev": true, - "engines": { - "node": ">=12" }, "funding": { - "url": "https://github.com/sponsors/jonschlinkert" + "url": "https://github.com/sponsors/SuperchupuDev" } }, "node_modules/tmp": { - "version": "0.2.3", - "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.3.tgz", - "integrity": "sha512-nZD7m9iCPC5g0pYmcaxogYKggSfLsdxl8of3Q/oIbqCqLLIO9IAF0GWjX1z9NZRHPiXv8Wex4yDCaZsgEw0Y8w==", + "version": "0.2.7", + "resolved": "https://registry.npmjs.org/tmp/-/tmp-0.2.7.tgz", + "integrity": "sha512-e0votIpp4Uo2AJYSzVHV6xCcawuiez3DzqDAbrTc3YxBkplN6e+dM13ZeIcZnDg/QpSuU2zfZ3rzwY8ukEnaXw==", "dev": true, + "license": "MIT", "engines": { "node": ">=14.14" } }, - "node_modules/tmpl": { - "version": "1.0.5", - "resolved": "https://registry.npmjs.org/tmpl/-/tmpl-1.0.5.tgz", - "integrity": "sha512-3f0uOEAQwIqGuWW2MVzYg8fV/QNnc/IpuJNG837rLuczAaLVHslWHZQj4IGiEl5Hs3kkbhwL9Ab7Hrsmuj+Smw==", - "dev": true - }, - "node_modules/to-regex-range": { - "version": "5.0.1", - "resolved": "https://registry.npmjs.org/to-regex-range/-/to-regex-range-5.0.1.tgz", - "integrity": "sha512-65P7iz6X5yEr1cwcgvQxbbIw7Uk3gOy5dIdtZ4rDveLqhrdJP+Li/Hx6tyK0NEb+2GCyneCMJiGqrADCSNk8sQ==", - "dev": true, - "dependencies": { - "is-number": "^7.0.0" - }, - "engines": { - "node": ">=8.0" - } - }, - "node_modules/tr46": { - "version": "1.0.1", - "resolved": "https://registry.npmjs.org/tr46/-/tr46-1.0.1.tgz", - "integrity": "sha512-dTpowEjclQ7Kgx5SdBkqRzVhERQXov8/l9Ft9dVM9fmg0W0KQSVaXX9T4i6twCPNtYiZM53lpSSUAwJbFPOHxA==", - "dev": true, - "dependencies": { - "punycode": "^2.1.0" - } - }, "node_modules/tree-kill": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/tree-kill/-/tree-kill-1.2.2.tgz", "integrity": "sha512-L0Orpi8qGpRG//Nd+H90vFB+3iHnue1zSSGmNOOCh1GLJ7rUKVwV2HvijphGQS2UmhUZewS9VgvxYIdgr+fG1A==", "dev": true, + "license": "MIT", "bin": { "tree-kill": "cli.js" } }, "node_modules/ts-api-utils": { - "version": "1.4.3", - "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-1.4.3.tgz", - "integrity": "sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==", + "version": "2.5.0", + "resolved": "https://registry.npmjs.org/ts-api-utils/-/ts-api-utils-2.5.0.tgz", + "integrity": "sha512-OJ/ibxhPlqrMM0UiNHJ/0CKQkoKF243/AEmplt3qpRgkW8VG7IfOS41h7V8TjITqdByHzrjcS/2si+y4lIh8NA==", "dev": true, + "license": "MIT", "engines": { - "node": ">=16" + "node": ">=18.12" }, "peerDependencies": { - "typescript": ">=4.2.0" + "typescript": ">=4.8.4" } }, "node_modules/ts-interface-checker": { "version": "0.1.13", "resolved": "https://registry.npmjs.org/ts-interface-checker/-/ts-interface-checker-0.1.13.tgz", "integrity": "sha512-Y/arvbn+rrz3JCKl9C4kVNfTfSm2/mEp5FSz5EsZSANGPSlQrpRI5M4PKF+mJnE52jOO90PnPSc3Ur3bTQw0gA==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/ts-jest": { - "version": "29.2.5", - "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.2.5.tgz", - "integrity": "sha512-KD8zB2aAZrcKIdGk4OwpJggeLcH1FgrICqDSROWqlnJXGCXK4Mn6FcdK2B6670Xr73lHMG1kHw8R87A0ecZ+vA==", + "version": "29.4.14", + "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-29.4.14.tgz", + "integrity": "sha512-+943G6wCX5E3VpzTQhBGBFntCmdT+QAkTvUlp03edTONFBvqskuXPhpyX16xdUotO4P5HQKyppldSWjocoltLQ==", "dev": true, + "license": "MIT", "dependencies": { "bs-logger": "^0.2.6", - "ejs": "^3.1.10", "fast-json-stable-stringify": "^2.1.0", - "jest-util": "^29.0.0", + "handlebars": "^4.7.9", "json5": "^2.2.3", "lodash.memoize": "^4.1.2", "make-error": "^1.3.6", - "semver": "^7.6.3", + "semver": "^7.8.5", + "type-fest": "^4.41.0", "yargs-parser": "^21.1.1" }, "bin": { @@ -6495,12 +7652,13 @@ "node": "^14.15.0 || ^16.10.0 || ^18.0.0 || >=20.0.0" }, "peerDependencies": { - "@babel/core": ">=7.0.0-beta.0 <8", - "@jest/transform": "^29.0.0", - "@jest/types": "^29.0.0", - "babel-jest": "^29.0.0", - "jest": "^29.0.0", - "typescript": ">=4.3 <6" + "@babel/core": ">=7.0.0-beta.0 <9", + "@jest/transform": "^29.0.0 || ^30.0.0", + "@jest/types": "^29.0.0 || ^30.0.0", + "babel-jest": "^29.0.0 || ^30.0.0", + "jest": "^29.0.0 || ^30.0.0", + "jest-util": "^29.0.0 || ^30.0.0", + "typescript": ">=4.3 <7" }, "peerDependenciesMeta": { "@babel/core": { @@ -6517,14 +7675,18 @@ }, "esbuild": { "optional": true + }, + "jest-util": { + "optional": true } } }, "node_modules/ts-jest/node_modules/semver": { - "version": "7.6.3", - "resolved": "https://registry.npmjs.org/semver/-/semver-7.6.3.tgz", - "integrity": "sha512-oVekP1cKtI+CTDvHWYFUcMtsK/00wmAEfyqKfNdARm8u1wNVhSgaX7A8d4UuIlUI5e84iEwOhs7ZPYRmzU9U6A==", + "version": "7.8.5", + "resolved": "https://registry.npmjs.org/semver/-/semver-7.8.5.tgz", + "integrity": "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA==", "dev": true, + "license": "ISC", "bin": { "semver": "bin/semver.js" }, @@ -6532,32 +7694,48 @@ "node": ">=10" } }, + "node_modules/ts-jest/node_modules/type-fest": { + "version": "4.41.0", + "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-4.41.0.tgz", + "integrity": "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA==", + "dev": true, + "license": "(MIT OR CC0-1.0)", + "engines": { + "node": ">=16" + }, + "funding": { + "url": "https://github.com/sponsors/sindresorhus" + } + }, "node_modules/tslib": { "version": "2.8.1", "resolved": "https://registry.npmjs.org/tslib/-/tslib-2.8.1.tgz", - "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==" + "integrity": "sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==", + "license": "0BSD" }, "node_modules/tsup": { - "version": "8.3.5", - "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.3.5.tgz", - "integrity": "sha512-Tunf6r6m6tnZsG9GYWndg0z8dEV7fD733VBFzFJ5Vcm1FtlXB8xBD/rtrBi2a3YKEV7hHtxiZtW5EAVADoe1pA==", + "version": "8.5.1", + "resolved": "https://registry.npmjs.org/tsup/-/tsup-8.5.1.tgz", + "integrity": "sha512-xtgkqwdhpKWr3tKPmCkvYmS9xnQK3m3XgxZHwSUjvfTjp7YfXe5tT3GgWi0F2N+ZSMsOeWeZFh7ZZFg5iPhing==", "dev": true, + "license": "MIT", "dependencies": { - "bundle-require": "^5.0.0", + "bundle-require": "^5.1.0", "cac": "^6.7.14", - "chokidar": "^4.0.1", - "consola": "^3.2.3", - "debug": "^4.3.7", - "esbuild": "^0.24.0", + "chokidar": "^4.0.3", + "consola": "^3.4.0", + "debug": "^4.4.0", + "esbuild": "^0.27.0", + "fix-dts-default-cjs-exports": "^1.0.0", "joycon": "^3.1.1", "picocolors": "^1.1.1", "postcss-load-config": "^6.0.1", "resolve-from": "^5.0.0", - "rollup": "^4.24.0", - "source-map": "0.8.0-beta.0", + "rollup": "^4.34.8", + "source-map": "^0.7.6", "sucrase": "^3.35.0", - "tinyexec": "^0.3.1", - "tinyglobby": "^0.2.9", + "tinyexec": "^0.3.2", + "tinyglobby": "^0.2.11", "tree-kill": "^1.2.2" }, "bin": { @@ -6589,24 +7767,23 @@ } }, "node_modules/tsup/node_modules/source-map": { - "version": "0.8.0-beta.0", - "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.8.0-beta.0.tgz", - "integrity": "sha512-2ymg6oRBpebeZi9UUNsgQ89bhx01TcTkmNTGnNO88imTmbSgy4nfujrgVEFKWpMTEGA11EDkTt7mqObTPdigIA==", + "version": "0.7.6", + "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.7.6.tgz", + "integrity": "sha512-i5uvt8C3ikiWeNZSVZNWcfZPItFQOsYTUAOkcUPGd8DqDy1uOUikjt5dG+uRlwyvR108Fb9DOd4GvXfT0N2/uQ==", "dev": true, - "dependencies": { - "whatwg-url": "^7.0.0" - }, + "license": "BSD-3-Clause", "engines": { - "node": ">= 8" + "node": ">= 12" } }, "node_modules/type-check": { - "version": "0.3.2", - "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.3.2.tgz", - "integrity": "sha512-ZCmOJdvOWDBYJlzAoFkC+Q0+bUyEOS1ltgp1MGU03fqHG+dbi9tBFU2Rd9QKiDZFAYrhPh2JUf7rZRIuHRKtOg==", + "version": "0.4.0", + "resolved": "https://registry.npmjs.org/type-check/-/type-check-0.4.0.tgz", + "integrity": "sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==", "dev": true, + "license": "MIT", "dependencies": { - "prelude-ls": "~1.1.2" + "prelude-ls": "^1.2.1" }, "engines": { "node": ">= 0.8.0" @@ -6617,6 +7794,7 @@ "resolved": "https://registry.npmjs.org/type-detect/-/type-detect-4.0.8.tgz", "integrity": "sha512-0fr/mIH1dlO+x7TlcMy+bIDqKPsw/70tVyeHW787goQjhmqaZe10uwLujubK9q9Lg6Fiho1KUKDYz0Z7k7g5/g==", "dev": true, + "license": "MIT", "engines": { "node": ">=4" } @@ -6626,6 +7804,7 @@ "resolved": "https://registry.npmjs.org/type-fest/-/type-fest-0.21.3.tgz", "integrity": "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w==", "dev": true, + "license": "(MIT OR CC0-1.0)", "engines": { "node": ">=10" }, @@ -6634,10 +7813,12 @@ } }, "node_modules/typescript": { - "version": "5.7.2", - "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.7.2.tgz", - "integrity": "sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==", + "version": "6.0.3", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-6.0.3.tgz", + "integrity": "sha512-y2TvuxSZPDyQakkFRPZHKFm+KKVqIisdg9/CZwm9ftvKXLP8NRWj38/ODjNbr43SsoXqNuAisEf1GdCxqWcdBw==", "dev": true, + "license": "Apache-2.0", + "peer": true, "bin": { "tsc": "bin/tsc", "tsserver": "bin/tsserver" @@ -6647,14 +7828,16 @@ } }, "node_modules/typescript-eslint": { - "version": "8.17.0", - "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.17.0.tgz", - "integrity": "sha512-409VXvFd/f1br1DCbuKNFqQpXICoTB+V51afcwG1pn1a3Cp92MqAUges3YjwEdQ0cMUoCIodjVDAYzyD8h3SYA==", + "version": "8.71.0", + "resolved": "https://registry.npmjs.org/typescript-eslint/-/typescript-eslint-8.71.0.tgz", + "integrity": "sha512-fBdHYiqQ14RW6mOMXD14Svn82ZsCYAoQSzGRzyEjR59S5A2Krh/l7fGTOQ7iCr8gGy/mHVXtEF7s5fgjEdV0Pw==", "dev": true, + "license": "MIT", "dependencies": { - "@typescript-eslint/eslint-plugin": "8.17.0", - "@typescript-eslint/parser": "8.17.0", - "@typescript-eslint/utils": "8.17.0" + "@typescript-eslint/eslint-plugin": "8.71.0", + "@typescript-eslint/parser": "8.71.0", + "@typescript-eslint/typescript-estree": "8.71.0", + "@typescript-eslint/utils": "8.71.0" }, "engines": { "node": "^18.18.0 || ^20.9.0 || >=21.1.0" @@ -6664,33 +7847,31 @@ "url": "https://opencollective.com/typescript-eslint" }, "peerDependencies": { - "eslint": "^8.57.0 || ^9.0.0" - }, - "peerDependenciesMeta": { - "typescript": { - "optional": true - } - } - }, - "node_modules/typical": { - "version": "7.3.0", - "resolved": "https://registry.npmjs.org/typical/-/typical-7.3.0.tgz", - "integrity": "sha512-ya4mg/30vm+DOWfBg4YK3j2WD6TWtRkCbasOJr40CseYENzCUby/7rIvXA99JGsQHeNxLbnXdyLLxKSv3tauFw==", - "engines": { - "node": ">=12.17" + "eslint": "^8.57.0 || ^9.0.0 || ^10.0.0", + "typescript": ">=4.8.4 <6.1.0" } }, "node_modules/uc.micro": { "version": "2.1.0", "resolved": "https://registry.npmjs.org/uc.micro/-/uc.micro-2.1.0.tgz", "integrity": "sha512-ARDJmphmdvUk6Glw7y9DQ2bFkKBHwQHLi2lsaH6PPmz/Ka9sFOBsBluozhDltWmnv9u/cF6Rt87znRTPV+yp/A==", - "dev": true + "dev": true, + "license": "MIT" + }, + "node_modules/ufo": { + "version": "1.6.4", + "resolved": "https://registry.npmjs.org/ufo/-/ufo-1.6.4.tgz", + "integrity": "sha512-JFNbkD1Svwe0KvGi8GOeLcP4kAWQ609twvCdcHxq1oSL8svv39ZuSvajcD8B+5D0eL4+s1Is2D/O6KN3qcTeRA==", + "dev": true, + "license": "MIT" }, "node_modules/uglify-js": { "version": "3.19.3", "resolved": "https://registry.npmjs.org/uglify-js/-/uglify-js-3.19.3.tgz", "integrity": "sha512-v3Xu+yuwBXisp6QYTcH4UbH+xYJXqnq2m/LtQVWKWzYc1iehYnLixoQDN9FH6/j9/oybfd6W9Ghwkl8+UMKTKQ==", "dev": true, + "license": "BSD-2-Clause", + "optional": true, "bin": { "uglifyjs": "bin/uglifyjs" }, @@ -6699,20 +7880,60 @@ } }, "node_modules/underscore": { - "version": "1.13.7", - "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.7.tgz", - "integrity": "sha512-GMXzWtsc57XAtguZgaQViUOzs0KTkk8ojr3/xAxXLITqf/3EMwxC0inyETfDFjH/Krbhuep0HNbbjI9i/q3F3g==", - "dev": true + "version": "1.13.8", + "resolved": "https://registry.npmjs.org/underscore/-/underscore-1.13.8.tgz", + "integrity": "sha512-DXtD3ZtEQzc7M8m4cXotyHR+FAS18C64asBYY5vqZexfYryNNnDc02W4hKg3rdQuqOYas1jkseX0+nZXjTXnvQ==", + "dev": true, + "license": "MIT" }, "node_modules/undici-types": { - "version": "7.16.0", - "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-7.16.0.tgz", - "integrity": "sha512-Zz+aZWSj8LE6zoxD+xrjh4VfkIG8Ya6LvYkZqtUQGJPZjYl53ypCaUwWqo7eI0x66KBGeRo+mlBEkMSeSZ38Nw==" + "version": "8.9.0", + "resolved": "https://registry.npmjs.org/undici-types/-/undici-types-8.9.0.tgz", + "integrity": "sha512-KTDyRTYX8sWmKXAikPHHSyc63CRPETMctyjKFupcC6OBLXT3xsN0e9aF7m+mIXutFWpUXuedtowG7iLOzp0kQg==", + "license": "MIT" + }, + "node_modules/unrs-resolver": { + "version": "1.12.2", + "resolved": "https://registry.npmjs.org/unrs-resolver/-/unrs-resolver-1.12.2.tgz", + "integrity": "sha512-dmlRxBJJayXjqTwC+JtF1HhJmgf3ftQ3YejFcZrf4+KKtJv0qDsK1pjqaaVjG7wJ5NJ6UVP1OqRMQ71Z4C3rxQ==", + "dev": true, + "hasInstallScript": true, + "license": "MIT", + "dependencies": { + "napi-postinstall": "^0.3.4" + }, + "funding": { + "url": "https://opencollective.com/unrs-resolver" + }, + "optionalDependencies": { + "@unrs/resolver-binding-android-arm-eabi": "1.12.2", + "@unrs/resolver-binding-android-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-arm64": "1.12.2", + "@unrs/resolver-binding-darwin-x64": "1.12.2", + "@unrs/resolver-binding-freebsd-x64": "1.12.2", + "@unrs/resolver-binding-linux-arm-gnueabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm-musleabihf": "1.12.2", + "@unrs/resolver-binding-linux-arm64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-arm64-musl": "1.12.2", + "@unrs/resolver-binding-linux-loong64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-loong64-musl": "1.12.2", + "@unrs/resolver-binding-linux-ppc64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-riscv64-musl": "1.12.2", + "@unrs/resolver-binding-linux-s390x-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-gnu": "1.12.2", + "@unrs/resolver-binding-linux-x64-musl": "1.12.2", + "@unrs/resolver-binding-openharmony-arm64": "1.12.2", + "@unrs/resolver-binding-wasm32-wasi": "1.12.2", + "@unrs/resolver-binding-win32-arm64-msvc": "1.12.2", + "@unrs/resolver-binding-win32-ia32-msvc": "1.12.2", + "@unrs/resolver-binding-win32-x64-msvc": "1.12.2" + } }, "node_modules/update-browserslist-db": { - "version": "1.1.1", - "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.1.1.tgz", - "integrity": "sha512-R8UzCaa9Az+38REPiJ1tXlImTJXlVfgHZsglwBD/k6nj76ctsH1E3q4doGrukiLQd3sGQYu56r5+lo5r94l29A==", + "version": "1.3.3", + "resolved": "https://registry.npmjs.org/update-browserslist-db/-/update-browserslist-db-1.3.3.tgz", + "integrity": "sha512-pJ2sYawQS0R/WI928Gj5GlPhTGzbMelq0+4INtSYNDV9ErKJcX6xjGWkoG/VnB3dpUm00zALaqkrUD77pO5TDQ==", "dev": true, "funding": [ { @@ -6728,9 +7949,10 @@ "url": "https://github.com/sponsors/ai" } ], + "license": "MIT", "dependencies": { "escalade": "^3.2.0", - "picocolors": "^1.1.0" + "picocolors": "^1.1.1" }, "bin": { "update-browserslist-db": "cli.js" @@ -6744,6 +7966,7 @@ "resolved": "https://registry.npmjs.org/uri-js/-/uri-js-4.4.1.tgz", "integrity": "sha512-7rKUyy33Q1yc98pQ1DAmLtwX109F7TIfWlW1Ydo8Wl1ii1SeHieeh0HHfPeL2fMXK6z0s8ecKs9frCuLJvndBg==", "dev": true, + "license": "BSD-2-Clause", "dependencies": { "punycode": "^2.1.0" } @@ -6753,6 +7976,7 @@ "resolved": "https://registry.npmjs.org/v8-to-istanbul/-/v8-to-istanbul-9.3.0.tgz", "integrity": "sha512-kiGUalWN+rgBJ/1OHZsBtU4rXZOfj/7rKQxULKlIzwzQSvMJUUNgPwJEEh7gU6xEVxC0ahoOBvN2YI8GH6FNgA==", "dev": true, + "license": "ISC", "dependencies": { "@jridgewell/trace-mapping": "^0.3.12", "@types/istanbul-lib-coverage": "^2.0.1", @@ -6762,37 +7986,12 @@ "node": ">=10.12.0" } }, - "node_modules/walker": { - "version": "1.0.8", - "resolved": "https://registry.npmjs.org/walker/-/walker-1.0.8.tgz", - "integrity": "sha512-ts/8E8l5b7kY0vlWLewOkDXMmPdLcVV4GmOQLyxuSswIJsweeFZtAsMF7k1Nszz+TYBQrlYRmzOnr398y1JemQ==", - "dev": true, - "dependencies": { - "makeerror": "1.0.12" - } - }, - "node_modules/webidl-conversions": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/webidl-conversions/-/webidl-conversions-4.0.2.tgz", - "integrity": "sha512-YQ+BmxuTgd6UXZW3+ICGfyqRyHXVlD5GtQr5+qjiNW7bF0cqrzX500HVXPBOvgXb5YnzDd+h0zqyv61KUD7+Sg==", - "dev": true - }, - "node_modules/whatwg-url": { - "version": "7.1.0", - "resolved": "https://registry.npmjs.org/whatwg-url/-/whatwg-url-7.1.0.tgz", - "integrity": "sha512-WUu7Rg1DroM7oQvGWfOiAK21n74Gg+T4elXEQYkOhtyLeWiJFoOGLXPKI/9gzIie9CtwVLm8wtw6YJdKyxSjeg==", - "dev": true, - "dependencies": { - "lodash.sortby": "^4.7.0", - "tr46": "^1.0.1", - "webidl-conversions": "^4.0.2" - } - }, "node_modules/which": { "version": "2.0.2", "resolved": "https://registry.npmjs.org/which/-/which-2.0.2.tgz", "integrity": "sha512-BLI3Tl1TW3Pvl70l3yq3Y64i+awpwXqsGBYWkkqMtnbXgrMD+yj7rhW0kuEDxzJaYXGjEW5ogapKNMEKNMjibA==", "dev": true, + "license": "ISC", "dependencies": { "isexe": "^2.0.0" }, @@ -6808,22 +8007,23 @@ "resolved": "https://registry.npmjs.org/word-wrap/-/word-wrap-1.2.5.tgz", "integrity": "sha512-BN22B5eaMMI9UMtjrGd5g5eCYPpCPDUy0FJXbYsaT5zYxjFOckS53SQDE3pWkVoWpHXVb3BrYcEN4Twa55B5cA==", "dev": true, + "license": "MIT", "engines": { "node": ">=0.10.0" } }, - "node_modules/wordwrapjs": { - "version": "5.1.0", - "resolved": "https://registry.npmjs.org/wordwrapjs/-/wordwrapjs-5.1.0.tgz", - "integrity": "sha512-JNjcULU2e4KJwUNv6CHgI46UvDGitb6dGryHajXTDiLgg1/RiGoPSDw4kZfYnwGtEXf2ZMeIewDQgFGzkCB2Sg==", - "engines": { - "node": ">=12.17" - } + "node_modules/wordwrap": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/wordwrap/-/wordwrap-1.0.0.tgz", + "integrity": "sha512-gvVzJFlPycKc5dZN4yPkP8w7Dc37BtP1yczEneOb4uq34pXZcvrtRTmWV8W+Ume+XCxKgbjM+nevkyFPMybd4Q==", + "dev": true, + "license": "MIT" }, "node_modules/wrap-ansi": { "version": "7.0.0", "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -6842,6 +8042,7 @@ "resolved": "https://registry.npmjs.org/wrap-ansi/-/wrap-ansi-7.0.0.tgz", "integrity": "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q==", "dev": true, + "license": "MIT", "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", @@ -6858,31 +8059,48 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/wrappy/-/wrappy-1.0.2.tgz", "integrity": "sha512-l4Sp/DRseor9wL6EvV2+TuQn63dMkPjZ/sp9XkghTEbV9KlPS1xUsZ3u7/IQO4wxtcFB4bgpQPRcR3QCvezPcQ==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/write-file-atomic": { - "version": "4.0.2", - "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-4.0.2.tgz", - "integrity": "sha512-7KxauUdBmSdWnmpaGFg+ppNjKF8uNLry8LyzjauQDOVONfFLNKrKvQOxZ/VuTIcS/gge/YNahf5RIIQWTSarlg==", + "version": "5.0.1", + "resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-5.0.1.tgz", + "integrity": "sha512-+QU2zd6OTD8XWIJCbffaiQeH9U73qIqafo1x6V1snCWYGJf6cVE0cDR4D8xRzcEnfI21IFrUPzPGtcPf8AC+Rw==", "dev": true, + "license": "ISC", "dependencies": { "imurmurhash": "^0.1.4", - "signal-exit": "^3.0.7" + "signal-exit": "^4.0.1" }, "engines": { - "node": "^12.13.0 || ^14.15.0 || >=16.0.0" + "node": "^14.17.0 || ^16.13.0 || >=18.0.0" + } + }, + "node_modules/write-file-atomic/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "dev": true, + "license": "ISC", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" } }, "node_modules/xmlcreate": { "version": "2.0.4", "resolved": "https://registry.npmjs.org/xmlcreate/-/xmlcreate-2.0.4.tgz", "integrity": "sha512-nquOebG4sngPmGPICTS5EnxqhKbCmz5Ox5hsszI2T6U5qdrJizBc+0ilYSEjTSzU0yZcmvppztXe/5Al5fUwdg==", - "dev": true + "dev": true, + "license": "Apache-2.0" }, "node_modules/y18n": { "version": "5.0.8", "resolved": "https://registry.npmjs.org/y18n/-/y18n-5.0.8.tgz", "integrity": "sha512-0pfFzegeDWJHJIAmTLRP2DwHjdF5s7jo9tuztdQxAhINCdvS+3nGINqPd00AphqJR/0LhANUS6/+7SCb98YOfA==", + "license": "ISC", "engines": { "node": ">=10" } @@ -6891,12 +8109,14 @@ "version": "3.1.1", "resolved": "https://registry.npmjs.org/yallist/-/yallist-3.1.1.tgz", "integrity": "sha512-a4UGQaWPH59mOXUYnAG2ewncQS4i4F43Tv3JoAM+s2VDAmS9NsK8GpDMLrCHPksFT7h3K6TOoUNn2pb7RoXx4g==", - "dev": true + "dev": true, + "license": "ISC" }, "node_modules/yargs": { - "version": "17.7.2", - "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.2.tgz", - "integrity": "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==", + "version": "17.7.3", + "resolved": "https://registry.npmjs.org/yargs/-/yargs-17.7.3.tgz", + "integrity": "sha512-GZtjxm/J/4TSxuL3FNYjCmLktBTnIw/rVmKSIyKeYAZpmJB2ig9VauCC5xsa82GNKVKDAqpOn3KVzNt0zmrU0g==", + "license": "MIT", "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", @@ -6914,6 +8134,7 @@ "version": "21.1.1", "resolved": "https://registry.npmjs.org/yargs-parser/-/yargs-parser-21.1.1.tgz", "integrity": "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw==", + "license": "ISC", "engines": { "node": ">=12" } @@ -6923,6 +8144,7 @@ "resolved": "https://registry.npmjs.org/yocto-queue/-/yocto-queue-0.1.0.tgz", "integrity": "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==", "dev": true, + "license": "MIT", "engines": { "node": ">=10" }, diff --git a/package.json b/package.json index 1a567d4..03ea9d8 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,8 @@ "types": "dist/index.d.ts", "scripts": { "build": "tsup", - "test": "jest" + "test": "jest", + "generate-protos": "cd protos && pbjs -t static-module -w commonjs -o ../src/generated/flight.js Flight.proto && pbts -o ../src/generated/flight.d.ts ../src/generated/flight.js && pbjs -t static-module -w commonjs -r fsql -o ../src/generated/flightsql.js FlightSql.proto && pbts -o ../src/generated/flightsql.d.ts ../src/generated/flightsql.js && pbjs -t static-module -w commonjs -o ../src/generated/any.js any.proto && pbts -o ../src/generated/any.d.ts ../src/generated/any.js" }, "files": [ "dist" @@ -19,22 +20,23 @@ "author": "Weston Pace", "license": "Apache-2.0", "devDependencies": { - "@eslint/js": "^9.16.0", - "@jest/globals": "^29.7.0", - "eslint-plugin-tsdoc": "^0.4.0", - "jest": "^29.7.0", - "prettier": "^3.4.2", - "protobufjs-cli": "^1.1.3", - "ts-jest": "^29.2.5", - "tsup": "^8.3.5", - "typescript": "^5.7.2", - "typescript-eslint": "^8.17.0" + "@eslint/js": "^10.0.1", + "@jest/globals": "^30.5.2", + "eslint": "^10.0.0", + "eslint-plugin-tsdoc": "^0.5.3", + "jest": "^30.5.2", + "prettier": "^3.9.9", + "protobufjs-cli": "^2.7.0", + "ts-jest": "^29.4.14", + "tsup": "^8.5.1", + "typescript": "^6.0.3", + "typescript-eslint": "^8.71.0" }, "dependencies": { - "@grpc/grpc-js": "^1.12.4", - "@grpc/proto-loader": "^0.7.13", - "apache-arrow": "^21.1.0", + "@grpc/grpc-js": "^1.14.5", + "@grpc/proto-loader": "^0.8.1", + "apache-arrow": "^21.2.0", "iter-ops": "^3.5.0", - "protobufjs": "^7.4.0" + "protobufjs": "^8.8.0" } } diff --git a/src/flightsql.ts b/src/flightsql.ts index 7a58cf0..fcbe1be 100644 --- a/src/flightsql.ts +++ b/src/flightsql.ts @@ -52,7 +52,7 @@ export class FlightSqlClient { // wait for the next message. We can optimize this later if we see it in the wild. const helloRsp = await firstValueFrom(call.responses); - const defaultMetadata = {}; + const defaultMetadata: Record = {}; if (defaultDatabase) { defaultMetadata["database"] = defaultDatabase; } diff --git a/src/generated/any.d.ts b/src/generated/any.d.ts index 66e96fd..86367c4 100644 --- a/src/generated/any.d.ts +++ b/src/generated/any.d.ts @@ -1,42 +1,44 @@ import * as $protobuf from "protobufjs"; import Long = require("long"); + /** Namespace google. */ export namespace google { /** Namespace protobuf. */ namespace protobuf { - /** Properties of an Any. */ - interface IAny { - - /** Any typeUrl */ - typeUrl?: (string|null); - - /** Any value */ - value?: (Uint8Array|null); + /** + * Properties of an Any. + * @deprecated Use google.protobuf.Any.$Properties instead. + */ + interface IAny extends google.protobuf.Any.$Properties { } /** Represents an Any. */ - class Any implements IAny { + class Any { /** * Constructs a new Any. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IAny); + constructor(properties?: google.protobuf.Any.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Any typeUrl. */ - public typeUrl: string; + typeUrl: string; /** Any value. */ - public value: Uint8Array; + value: Uint8Array; /** * Creates a new Any instance using the specified properties. * @param [properties] Properties to set * @returns Any instance */ - public static create(properties?: google.protobuf.IAny): google.protobuf.Any; + static create(properties: google.protobuf.Any.$Shape): google.protobuf.Any & google.protobuf.Any.$Shape; + static create(properties?: google.protobuf.Any.$Properties): google.protobuf.Any; /** * Encodes the specified Any message. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. @@ -44,7 +46,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.Any.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Any message, length delimited. Does not implicitly {@link google.protobuf.Any.verify|verify} messages. @@ -52,40 +54,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IAny, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.Any.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Any message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Any + * @returns {google.protobuf.Any & google.protobuf.Any.$Shape} Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Any & google.protobuf.Any.$Shape; /** * Decodes an Any message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Any + * @returns {google.protobuf.Any & google.protobuf.Any.$Shape} Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Any & google.protobuf.Any.$Shape; /** * Verifies an Any message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an Any message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Any */ - public static fromObject(object: { [k: string]: any }): google.protobuf.Any; + static fromObject(object: { [k: string]: any }): google.protobuf.Any; /** * Creates a plain object from an Any message. Also converts values to other types if specified. @@ -93,20 +95,39 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.Any, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Any to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Any - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Any + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace Any { + + /** Properties of an Any. */ + interface $Properties { + + /** Any typeUrl */ + typeUrl?: (string|null); + + /** Any value */ + value?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an Any. */ + type $Shape = google.protobuf.Any.$Properties; } } } diff --git a/src/generated/any.js b/src/generated/any.js index 120567c..243e602 100644 --- a/src/generated/any.js +++ b/src/generated/any.js @@ -1,10 +1,11 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-mixed-operators, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ "use strict"; var $protobuf = require("protobufjs/minimal"); // Common aliases var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; +var $Object = $util.global.Object, $undefined = $util.global.undefined, $Error = $util.global.Error, $RangeError = $util.global.RangeError, $TypeError = $util.global.TypeError, $String = $util.global.String, $Array = $util.global.Array; // Exported root namespace var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); @@ -31,26 +32,39 @@ $root.google = (function() { /** * Properties of an Any. - * @memberof google.protobuf - * @interface IAny + * @typedef {Object} google.protobuf.Any.$Properties * @property {string|null} [typeUrl] Any typeUrl * @property {Uint8Array|null} [value] Any value + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an Any. + * @memberof google.protobuf + * @interface IAny + * @augments google.protobuf.Any.$Properties + * @deprecated Use google.protobuf.Any.$Properties instead. + */ + + /** + * Shape of an Any. + * @typedef {google.protobuf.Any.$Properties} google.protobuf.Any.$Shape */ /** * Constructs a new Any. * @memberof google.protobuf * @classdesc Represents an Any. - * @implements IAny * @constructor - * @param {google.protobuf.IAny=} [properties] Properties to set + * @param {google.protobuf.Any.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Any(properties) { + var Any = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Any typeUrl. @@ -73,10 +87,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.Any * @static - * @param {google.protobuf.IAny=} [properties] Properties to set + * @param {google.protobuf.Any.$Properties=} [properties] Properties to set * @returns {google.protobuf.Any} Any instance + * @type {{ + * (properties: google.protobuf.Any.$Shape): google.protobuf.Any & google.protobuf.Any.$Shape; + * (properties?: google.protobuf.Any.$Properties): google.protobuf.Any; + * }} */ - Any.create = function create(properties) { + Any.create = function(properties) { return new Any(properties); }; @@ -85,17 +103,24 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.Any * @static - * @param {google.protobuf.IAny} message Any message or plain object to encode + * @param {google.protobuf.Any.$Properties} message Any message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Any.encode = function encode(message, writer) { + Any.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.typeUrl != null && Object.hasOwnProperty.call(message, "typeUrl")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.typeUrl != null && $Object.hasOwnProperty.call(message, "typeUrl") && message.typeUrl !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.typeUrl); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) + if (message.value != null && $Object.hasOwnProperty.call(message, "value") && message.value.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.value); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -104,12 +129,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.Any * @static - * @param {google.protobuf.IAny} message Any message or plain object to encode + * @param {google.protobuf.Any.$Properties} message Any message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Any.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Any.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -119,30 +144,69 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.Any} Any + * @returns {google.protobuf.Any & google.protobuf.Any.$Shape} Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Any.decode = function decode(reader, length) { + Any.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Any(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.Any(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.typeUrl = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.typeUrl = value; + else + delete message.typeUrl; + continue; } case 2: { - message.value = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.value = value; + else + delete message.value; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -152,11 +216,11 @@ $root.google = (function() { * @memberof google.protobuf.Any * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.Any} Any + * @returns {google.protobuf.Any & google.protobuf.Any.$Shape} Any * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Any.decodeDelimited = function decodeDelimited(reader) { + Any.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -170,13 +234,17 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Any.verify = function verify(message) { + Any.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.typeUrl != null && message.hasOwnProperty("typeUrl")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.typeUrl != null && $Object.hasOwnProperty.call(message, "typeUrl")) if (!$util.isString(message.typeUrl)) return "typeUrl: string expected"; - if (message.value != null && message.hasOwnProperty("value")) + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) if (!(message.value && typeof message.value.length === "number" || $util.isString(message.value))) return "value: buffer expected"; return null; @@ -190,17 +258,25 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.Any} Any */ - Any.fromObject = function fromObject(object) { + Any.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.Any) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.Any: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.Any(); if (object.typeUrl != null) - message.typeUrl = String(object.typeUrl); + if (typeof object.typeUrl !== "string" || object.typeUrl.length) + message.typeUrl = $String(object.typeUrl); if (object.value != null) - if (typeof object.value === "string") - $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); - else if (object.value.length >= 0) - message.value = object.value; + if (object.value.length) + if (typeof object.value === "string") + $util.base64.decode(object.value, message.value = $util.newBuffer($util.base64.length(object.value)), 0); + else if (object.value.length >= 0) + message.value = object.value; return message; }; @@ -213,24 +289,28 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Any.toObject = function toObject(message, options) { + Any.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.typeUrl = ""; - if (options.bytes === String) + if (options.bytes === $String) object.value = ""; else { object.value = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.value = $util.newBuffer(object.value); } } - if (message.typeUrl != null && message.hasOwnProperty("typeUrl")) + if (message.typeUrl != null && $Object.hasOwnProperty.call(message, "typeUrl")) object.typeUrl = message.typeUrl; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.bytes === String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === Array ? Array.prototype.slice.call(message.value) : message.value; + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + object.value = options.bytes === $String ? $util.base64.encode(message.value, 0, message.value.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.value) : message.value; return object; }; @@ -241,23 +321,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - Any.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Any.prototype.toJSON = function() { + return Any.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Any + * Gets the type url for Any * @function getTypeUrl * @memberof google.protobuf.Any * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Any.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.Any"; + Any.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.Any"; }; return Any; diff --git a/src/generated/flight.d.ts b/src/generated/flight.d.ts index 5a51593..11ba0f7 100644 --- a/src/generated/flight.d.ts +++ b/src/generated/flight.d.ts @@ -1,5 +1,6 @@ import * as $protobuf from "protobufjs"; import Long = require("long"); + /** Namespace arrow. */ export namespace arrow { @@ -27,147 +28,37 @@ export namespace arrow { * @param [responseDelimited=false] Whether responses are length-delimited * @returns RPC service. Useful where requests and/or responses are streamed. */ - public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): FlightService; - - /** - * Calls Handshake. - * @param request HandshakeRequest message or plain object - * @param callback Node-style callback called with the error, if any, and HandshakeResponse - */ - public handshake(request: arrow.flight.protocol.IHandshakeRequest, callback: arrow.flight.protocol.FlightService.HandshakeCallback): void; - - /** - * Calls Handshake. - * @param request HandshakeRequest message or plain object - * @returns Promise - */ - public handshake(request: arrow.flight.protocol.IHandshakeRequest): Promise; + static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): FlightService; - /** - * Calls ListFlights. - * @param request Criteria message or plain object - * @param callback Node-style callback called with the error, if any, and FlightInfo - */ - public listFlights(request: arrow.flight.protocol.ICriteria, callback: arrow.flight.protocol.FlightService.ListFlightsCallback): void; + /** Calls Handshake. */ + handshake: arrow.flight.protocol.FlightService.Handshake; - /** - * Calls ListFlights. - * @param request Criteria message or plain object - * @returns Promise - */ - public listFlights(request: arrow.flight.protocol.ICriteria): Promise; - - /** - * Calls GetFlightInfo. - * @param request FlightDescriptor message or plain object - * @param callback Node-style callback called with the error, if any, and FlightInfo - */ - public getFlightInfo(request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetFlightInfoCallback): void; + /** Calls ListFlights. */ + listFlights: arrow.flight.protocol.FlightService.ListFlights; - /** - * Calls GetFlightInfo. - * @param request FlightDescriptor message or plain object - * @returns Promise - */ - public getFlightInfo(request: arrow.flight.protocol.IFlightDescriptor): Promise; + /** Calls GetFlightInfo. */ + getFlightInfo: arrow.flight.protocol.FlightService.GetFlightInfo; - /** - * Calls PollFlightInfo. - * @param request FlightDescriptor message or plain object - * @param callback Node-style callback called with the error, if any, and PollInfo - */ - public pollFlightInfo(request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.PollFlightInfoCallback): void; + /** Calls PollFlightInfo. */ + pollFlightInfo: arrow.flight.protocol.FlightService.PollFlightInfo; - /** - * Calls PollFlightInfo. - * @param request FlightDescriptor message or plain object - * @returns Promise - */ - public pollFlightInfo(request: arrow.flight.protocol.IFlightDescriptor): Promise; + /** Calls GetSchema. */ + getSchema: arrow.flight.protocol.FlightService.GetSchema; - /** - * Calls GetSchema. - * @param request FlightDescriptor message or plain object - * @param callback Node-style callback called with the error, if any, and SchemaResult - */ - public getSchema(request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetSchemaCallback): void; + /** Calls DoGet. */ + doGet: arrow.flight.protocol.FlightService.DoGet; - /** - * Calls GetSchema. - * @param request FlightDescriptor message or plain object - * @returns Promise - */ - public getSchema(request: arrow.flight.protocol.IFlightDescriptor): Promise; + /** Calls DoPut. */ + doPut: arrow.flight.protocol.FlightService.DoPut; - /** - * Calls DoGet. - * @param request Ticket message or plain object - * @param callback Node-style callback called with the error, if any, and FlightData - */ - public doGet(request: arrow.flight.protocol.ITicket, callback: arrow.flight.protocol.FlightService.DoGetCallback): void; + /** Calls DoExchange. */ + doExchange: arrow.flight.protocol.FlightService.DoExchange; - /** - * Calls DoGet. - * @param request Ticket message or plain object - * @returns Promise - */ - public doGet(request: arrow.flight.protocol.ITicket): Promise; + /** Calls DoAction. */ + doAction: arrow.flight.protocol.FlightService.DoAction; - /** - * Calls DoPut. - * @param request FlightData message or plain object - * @param callback Node-style callback called with the error, if any, and PutResult - */ - public doPut(request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoPutCallback): void; - - /** - * Calls DoPut. - * @param request FlightData message or plain object - * @returns Promise - */ - public doPut(request: arrow.flight.protocol.IFlightData): Promise; - - /** - * Calls DoExchange. - * @param request FlightData message or plain object - * @param callback Node-style callback called with the error, if any, and FlightData - */ - public doExchange(request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoExchangeCallback): void; - - /** - * Calls DoExchange. - * @param request FlightData message or plain object - * @returns Promise - */ - public doExchange(request: arrow.flight.protocol.IFlightData): Promise; - - /** - * Calls DoAction. - * @param request Action message or plain object - * @param callback Node-style callback called with the error, if any, and Result - */ - public doAction(request: arrow.flight.protocol.IAction, callback: arrow.flight.protocol.FlightService.DoActionCallback): void; - - /** - * Calls DoAction. - * @param request Action message or plain object - * @returns Promise - */ - public doAction(request: arrow.flight.protocol.IAction): Promise; - - /** - * Calls ListActions. - * @param request Empty message or plain object - * @param callback Node-style callback called with the error, if any, and ActionType - */ - public listActions(request: arrow.flight.protocol.IEmpty, callback: arrow.flight.protocol.FlightService.ListActionsCallback): void; - - /** - * Calls ListActions. - * @param request Empty message or plain object - * @returns Promise - */ - public listActions(request: arrow.flight.protocol.IEmpty): Promise; + /** Calls ListActions. */ + listActions: arrow.flight.protocol.FlightService.ListActions; } namespace FlightService { @@ -179,6 +70,18 @@ export namespace arrow { */ type HandshakeCallback = (error: (Error|null), response?: arrow.flight.protocol.HandshakeResponse) => void; + /** Calls Handshake. */ + type Handshake = { + (request: arrow.flight.protocol.IHandshakeRequest, callback: arrow.flight.protocol.FlightService.HandshakeCallback): void; + (request: arrow.flight.protocol.IHandshakeRequest): Promise; + readonly name: "Handshake"; + readonly path: "/arrow.flight.protocol.FlightService/Handshake"; + readonly requestType: "HandshakeRequest"; + readonly responseType: "HandshakeResponse"; + readonly requestStream: true; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#listFlights}. * @param error Error, if any @@ -186,6 +89,18 @@ export namespace arrow { */ type ListFlightsCallback = (error: (Error|null), response?: arrow.flight.protocol.FlightInfo) => void; + /** Calls ListFlights. */ + type ListFlights = { + (request: arrow.flight.protocol.ICriteria, callback: arrow.flight.protocol.FlightService.ListFlightsCallback): void; + (request: arrow.flight.protocol.ICriteria): Promise; + readonly name: "ListFlights"; + readonly path: "/arrow.flight.protocol.FlightService/ListFlights"; + readonly requestType: "Criteria"; + readonly responseType: "FlightInfo"; + readonly requestStream: undefined; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#getFlightInfo}. * @param error Error, if any @@ -193,6 +108,18 @@ export namespace arrow { */ type GetFlightInfoCallback = (error: (Error|null), response?: arrow.flight.protocol.FlightInfo) => void; + /** Calls GetFlightInfo. */ + type GetFlightInfo = { + (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetFlightInfoCallback): void; + (request: arrow.flight.protocol.IFlightDescriptor): Promise; + readonly name: "GetFlightInfo"; + readonly path: "/arrow.flight.protocol.FlightService/GetFlightInfo"; + readonly requestType: "FlightDescriptor"; + readonly responseType: "FlightInfo"; + readonly requestStream: undefined; + readonly responseStream: undefined; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#pollFlightInfo}. * @param error Error, if any @@ -200,6 +127,18 @@ export namespace arrow { */ type PollFlightInfoCallback = (error: (Error|null), response?: arrow.flight.protocol.PollInfo) => void; + /** Calls PollFlightInfo. */ + type PollFlightInfo = { + (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.PollFlightInfoCallback): void; + (request: arrow.flight.protocol.IFlightDescriptor): Promise; + readonly name: "PollFlightInfo"; + readonly path: "/arrow.flight.protocol.FlightService/PollFlightInfo"; + readonly requestType: "FlightDescriptor"; + readonly responseType: "PollInfo"; + readonly requestStream: undefined; + readonly responseStream: undefined; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#getSchema}. * @param error Error, if any @@ -207,6 +146,18 @@ export namespace arrow { */ type GetSchemaCallback = (error: (Error|null), response?: arrow.flight.protocol.SchemaResult) => void; + /** Calls GetSchema. */ + type GetSchema = { + (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetSchemaCallback): void; + (request: arrow.flight.protocol.IFlightDescriptor): Promise; + readonly name: "GetSchema"; + readonly path: "/arrow.flight.protocol.FlightService/GetSchema"; + readonly requestType: "FlightDescriptor"; + readonly responseType: "SchemaResult"; + readonly requestStream: undefined; + readonly responseStream: undefined; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#doGet}. * @param error Error, if any @@ -214,6 +165,18 @@ export namespace arrow { */ type DoGetCallback = (error: (Error|null), response?: arrow.flight.protocol.FlightData) => void; + /** Calls DoGet. */ + type DoGet = { + (request: arrow.flight.protocol.ITicket, callback: arrow.flight.protocol.FlightService.DoGetCallback): void; + (request: arrow.flight.protocol.ITicket): Promise; + readonly name: "DoGet"; + readonly path: "/arrow.flight.protocol.FlightService/DoGet"; + readonly requestType: "Ticket"; + readonly responseType: "FlightData"; + readonly requestStream: undefined; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#doPut}. * @param error Error, if any @@ -221,6 +184,18 @@ export namespace arrow { */ type DoPutCallback = (error: (Error|null), response?: arrow.flight.protocol.PutResult) => void; + /** Calls DoPut. */ + type DoPut = { + (request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoPutCallback): void; + (request: arrow.flight.protocol.IFlightData): Promise; + readonly name: "DoPut"; + readonly path: "/arrow.flight.protocol.FlightService/DoPut"; + readonly requestType: "FlightData"; + readonly responseType: "PutResult"; + readonly requestStream: true; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#doExchange}. * @param error Error, if any @@ -228,6 +203,18 @@ export namespace arrow { */ type DoExchangeCallback = (error: (Error|null), response?: arrow.flight.protocol.FlightData) => void; + /** Calls DoExchange. */ + type DoExchange = { + (request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoExchangeCallback): void; + (request: arrow.flight.protocol.IFlightData): Promise; + readonly name: "DoExchange"; + readonly path: "/arrow.flight.protocol.FlightService/DoExchange"; + readonly requestType: "FlightData"; + readonly responseType: "FlightData"; + readonly requestStream: true; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#doAction}. * @param error Error, if any @@ -235,45 +222,70 @@ export namespace arrow { */ type DoActionCallback = (error: (Error|null), response?: arrow.flight.protocol.Result) => void; + /** Calls DoAction. */ + type DoAction = { + (request: arrow.flight.protocol.IAction, callback: arrow.flight.protocol.FlightService.DoActionCallback): void; + (request: arrow.flight.protocol.IAction): Promise; + readonly name: "DoAction"; + readonly path: "/arrow.flight.protocol.FlightService/DoAction"; + readonly requestType: "Action"; + readonly responseType: "Result"; + readonly requestStream: undefined; + readonly responseStream: true; + }; + /** * Callback as used by {@link arrow.flight.protocol.FlightService#listActions}. * @param error Error, if any * @param [response] ActionType */ type ListActionsCallback = (error: (Error|null), response?: arrow.flight.protocol.ActionType) => void; - } - - /** Properties of a HandshakeRequest. */ - interface IHandshakeRequest { - /** HandshakeRequest protocolVersion */ - protocolVersion?: (number|Long|null); + /** Calls ListActions. */ + type ListActions = { + (request: arrow.flight.protocol.IEmpty, callback: arrow.flight.protocol.FlightService.ListActionsCallback): void; + (request: arrow.flight.protocol.IEmpty): Promise; + readonly name: "ListActions"; + readonly path: "/arrow.flight.protocol.FlightService/ListActions"; + readonly requestType: "Empty"; + readonly responseType: "ActionType"; + readonly requestStream: undefined; + readonly responseStream: true; + }; + } - /** HandshakeRequest payload */ - payload?: (Uint8Array|null); + /** + * Properties of a HandshakeRequest. + * @deprecated Use arrow.flight.protocol.HandshakeRequest.$Properties instead. + */ + interface IHandshakeRequest extends arrow.flight.protocol.HandshakeRequest.$Properties { } /** Represents a HandshakeRequest. */ - class HandshakeRequest implements IHandshakeRequest { + class HandshakeRequest { /** * Constructs a new HandshakeRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IHandshakeRequest); + constructor(properties?: arrow.flight.protocol.HandshakeRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** HandshakeRequest protocolVersion. */ - public protocolVersion: (number|Long); + protocolVersion: (number|Long); /** HandshakeRequest payload. */ - public payload: Uint8Array; + payload: Uint8Array; /** * Creates a new HandshakeRequest instance using the specified properties. * @param [properties] Properties to set * @returns HandshakeRequest instance */ - public static create(properties?: arrow.flight.protocol.IHandshakeRequest): arrow.flight.protocol.HandshakeRequest; + static create(properties: arrow.flight.protocol.HandshakeRequest.$Shape): arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape; + static create(properties?: arrow.flight.protocol.HandshakeRequest.$Properties): arrow.flight.protocol.HandshakeRequest; /** * Encodes the specified HandshakeRequest message. Does not implicitly {@link arrow.flight.protocol.HandshakeRequest.verify|verify} messages. @@ -281,7 +293,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IHandshakeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.HandshakeRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HandshakeRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.HandshakeRequest.verify|verify} messages. @@ -289,40 +301,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IHandshakeRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.HandshakeRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HandshakeRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns HandshakeRequest + * @returns {arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape} HandshakeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.HandshakeRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape; /** * Decodes a HandshakeRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns HandshakeRequest + * @returns {arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape} HandshakeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.HandshakeRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape; /** * Verifies a HandshakeRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a HandshakeRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HandshakeRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.HandshakeRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.HandshakeRequest; /** * Creates a plain object from a HandshakeRequest message. Also converts values to other types if specified. @@ -330,53 +342,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.HandshakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.HandshakeRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HandshakeRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for HandshakeRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for HandshakeRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a HandshakeResponse. */ - interface IHandshakeResponse { + namespace HandshakeRequest { + + /** Properties of a HandshakeRequest. */ + interface $Properties { - /** HandshakeResponse protocolVersion */ - protocolVersion?: (number|Long|null); + /** HandshakeRequest protocolVersion */ + protocolVersion?: (number|Long|null); - /** HandshakeResponse payload */ - payload?: (Uint8Array|null); + /** HandshakeRequest payload */ + payload?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a HandshakeRequest. */ + type $Shape = arrow.flight.protocol.HandshakeRequest.$Properties; + } + + /** + * Properties of a HandshakeResponse. + * @deprecated Use arrow.flight.protocol.HandshakeResponse.$Properties instead. + */ + interface IHandshakeResponse extends arrow.flight.protocol.HandshakeResponse.$Properties { } /** Represents a HandshakeResponse. */ - class HandshakeResponse implements IHandshakeResponse { + class HandshakeResponse { /** * Constructs a new HandshakeResponse. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IHandshakeResponse); + constructor(properties?: arrow.flight.protocol.HandshakeResponse.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** HandshakeResponse protocolVersion. */ - public protocolVersion: (number|Long); + protocolVersion: (number|Long); /** HandshakeResponse payload. */ - public payload: Uint8Array; + payload: Uint8Array; /** * Creates a new HandshakeResponse instance using the specified properties. * @param [properties] Properties to set * @returns HandshakeResponse instance */ - public static create(properties?: arrow.flight.protocol.IHandshakeResponse): arrow.flight.protocol.HandshakeResponse; + static create(properties: arrow.flight.protocol.HandshakeResponse.$Shape): arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape; + static create(properties?: arrow.flight.protocol.HandshakeResponse.$Properties): arrow.flight.protocol.HandshakeResponse; /** * Encodes the specified HandshakeResponse message. Does not implicitly {@link arrow.flight.protocol.HandshakeResponse.verify|verify} messages. @@ -384,7 +416,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IHandshakeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.HandshakeResponse.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified HandshakeResponse message, length delimited. Does not implicitly {@link arrow.flight.protocol.HandshakeResponse.verify|verify} messages. @@ -392,40 +424,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IHandshakeResponse, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.HandshakeResponse.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a HandshakeResponse message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns HandshakeResponse + * @returns {arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape} HandshakeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.HandshakeResponse; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape; /** * Decodes a HandshakeResponse message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns HandshakeResponse + * @returns {arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape} HandshakeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.HandshakeResponse; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape; /** * Verifies a HandshakeResponse message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a HandshakeResponse message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns HandshakeResponse */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.HandshakeResponse; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.HandshakeResponse; /** * Creates a plain object from a HandshakeResponse message. Also converts values to other types if specified. @@ -433,53 +465,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.HandshakeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.HandshakeResponse, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this HandshakeResponse to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for HandshakeResponse - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for HandshakeResponse + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a BasicAuth. */ - interface IBasicAuth { + namespace HandshakeResponse { + + /** Properties of a HandshakeResponse. */ + interface $Properties { + + /** HandshakeResponse protocolVersion */ + protocolVersion?: (number|Long|null); + + /** HandshakeResponse payload */ + payload?: (Uint8Array|null); - /** BasicAuth username */ - username?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** BasicAuth password */ - password?: (string|null); + /** Shape of a HandshakeResponse. */ + type $Shape = arrow.flight.protocol.HandshakeResponse.$Properties; + } + + /** + * Properties of a BasicAuth. + * @deprecated Use arrow.flight.protocol.BasicAuth.$Properties instead. + */ + interface IBasicAuth extends arrow.flight.protocol.BasicAuth.$Properties { } /** Represents a BasicAuth. */ - class BasicAuth implements IBasicAuth { + class BasicAuth { /** * Constructs a new BasicAuth. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IBasicAuth); + constructor(properties?: arrow.flight.protocol.BasicAuth.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** BasicAuth username. */ - public username: string; + username: string; /** BasicAuth password. */ - public password: string; + password: string; /** * Creates a new BasicAuth instance using the specified properties. * @param [properties] Properties to set * @returns BasicAuth instance */ - public static create(properties?: arrow.flight.protocol.IBasicAuth): arrow.flight.protocol.BasicAuth; + static create(properties: arrow.flight.protocol.BasicAuth.$Shape): arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape; + static create(properties?: arrow.flight.protocol.BasicAuth.$Properties): arrow.flight.protocol.BasicAuth; /** * Encodes the specified BasicAuth message. Does not implicitly {@link arrow.flight.protocol.BasicAuth.verify|verify} messages. @@ -487,7 +539,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IBasicAuth, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.BasicAuth.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified BasicAuth message, length delimited. Does not implicitly {@link arrow.flight.protocol.BasicAuth.verify|verify} messages. @@ -495,40 +547,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IBasicAuth, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.BasicAuth.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a BasicAuth message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns BasicAuth + * @returns {arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape} BasicAuth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.BasicAuth; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape; /** * Decodes a BasicAuth message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns BasicAuth + * @returns {arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape} BasicAuth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.BasicAuth; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape; /** * Verifies a BasicAuth message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a BasicAuth message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns BasicAuth */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.BasicAuth; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.BasicAuth; /** * Creates a plain object from a BasicAuth message. Also converts values to other types if specified. @@ -536,41 +588,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.BasicAuth, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.BasicAuth, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this BasicAuth to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for BasicAuth - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for BasicAuth + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an Empty. */ - interface IEmpty { + namespace BasicAuth { + + /** Properties of a BasicAuth. */ + interface $Properties { + + /** BasicAuth username */ + username?: (string|null); + + /** BasicAuth password */ + password?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a BasicAuth. */ + type $Shape = arrow.flight.protocol.BasicAuth.$Properties; + } + + /** + * Properties of an Empty. + * @deprecated Use arrow.flight.protocol.Empty.$Properties instead. + */ + interface IEmpty extends arrow.flight.protocol.Empty.$Properties { } /** Represents an Empty. */ - class Empty implements IEmpty { + class Empty { /** * Constructs a new Empty. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IEmpty); + constructor(properties?: arrow.flight.protocol.Empty.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * Creates a new Empty instance using the specified properties. * @param [properties] Properties to set * @returns Empty instance */ - public static create(properties?: arrow.flight.protocol.IEmpty): arrow.flight.protocol.Empty; + static create(properties: arrow.flight.protocol.Empty.$Shape): arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape; + static create(properties?: arrow.flight.protocol.Empty.$Properties): arrow.flight.protocol.Empty; /** * Encodes the specified Empty message. Does not implicitly {@link arrow.flight.protocol.Empty.verify|verify} messages. @@ -578,7 +656,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Empty.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Empty message, length delimited. Does not implicitly {@link arrow.flight.protocol.Empty.verify|verify} messages. @@ -586,40 +664,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IEmpty, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Empty.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Empty message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Empty + * @returns {arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape} Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Empty; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape; /** * Decodes an Empty message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Empty + * @returns {arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape} Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Empty; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape; /** * Verifies an Empty message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an Empty message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Empty */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Empty; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Empty; /** * Creates a plain object from an Empty message. Also converts values to other types if specified. @@ -627,53 +705,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Empty, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Empty to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Empty - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Empty + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionType. */ - interface IActionType { + namespace Empty { - /** ActionType type */ - type?: (string|null); + /** Properties of an Empty. */ + interface $Properties { - /** ActionType description */ - description?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an Empty. */ + type $Shape = arrow.flight.protocol.Empty.$Properties; + } + + /** + * Properties of an ActionType. + * @deprecated Use arrow.flight.protocol.ActionType.$Properties instead. + */ + interface IActionType extends arrow.flight.protocol.ActionType.$Properties { } /** Represents an ActionType. */ - class ActionType implements IActionType { + class ActionType { /** * Constructs a new ActionType. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IActionType); + constructor(properties?: arrow.flight.protocol.ActionType.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionType type. */ - public type: string; + type: string; /** ActionType description. */ - public description: string; + description: string; /** * Creates a new ActionType instance using the specified properties. * @param [properties] Properties to set * @returns ActionType instance */ - public static create(properties?: arrow.flight.protocol.IActionType): arrow.flight.protocol.ActionType; + static create(properties: arrow.flight.protocol.ActionType.$Shape): arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape; + static create(properties?: arrow.flight.protocol.ActionType.$Properties): arrow.flight.protocol.ActionType; /** * Encodes the specified ActionType message. Does not implicitly {@link arrow.flight.protocol.ActionType.verify|verify} messages. @@ -681,7 +773,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IActionType, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.ActionType.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionType message, length delimited. Does not implicitly {@link arrow.flight.protocol.ActionType.verify|verify} messages. @@ -689,40 +781,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IActionType, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.ActionType.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionType message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionType + * @returns {arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape} ActionType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.ActionType; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape; /** * Decodes an ActionType message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionType + * @returns {arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape} ActionType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.ActionType; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape; /** * Verifies an ActionType message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionType message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionType */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.ActionType; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.ActionType; /** * Creates a plain object from an ActionType message. Also converts values to other types if specified. @@ -730,47 +822,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.ActionType, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.ActionType, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionType to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionType - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionType + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a Criteria. */ - interface ICriteria { + namespace ActionType { + + /** Properties of an ActionType. */ + interface $Properties { + + /** ActionType type */ + type?: (string|null); + + /** ActionType description */ + description?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** Criteria expression */ - expression?: (Uint8Array|null); + /** Shape of an ActionType. */ + type $Shape = arrow.flight.protocol.ActionType.$Properties; + } + + /** + * Properties of a Criteria. + * @deprecated Use arrow.flight.protocol.Criteria.$Properties instead. + */ + interface ICriteria extends arrow.flight.protocol.Criteria.$Properties { } /** Represents a Criteria. */ - class Criteria implements ICriteria { + class Criteria { /** * Constructs a new Criteria. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ICriteria); + constructor(properties?: arrow.flight.protocol.Criteria.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Criteria expression. */ - public expression: Uint8Array; + expression: Uint8Array; /** * Creates a new Criteria instance using the specified properties. * @param [properties] Properties to set * @returns Criteria instance */ - public static create(properties?: arrow.flight.protocol.ICriteria): arrow.flight.protocol.Criteria; + static create(properties: arrow.flight.protocol.Criteria.$Shape): arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape; + static create(properties?: arrow.flight.protocol.Criteria.$Properties): arrow.flight.protocol.Criteria; /** * Encodes the specified Criteria message. Does not implicitly {@link arrow.flight.protocol.Criteria.verify|verify} messages. @@ -778,7 +893,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ICriteria, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Criteria.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Criteria message, length delimited. Does not implicitly {@link arrow.flight.protocol.Criteria.verify|verify} messages. @@ -786,40 +901,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ICriteria, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Criteria.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Criteria message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Criteria + * @returns {arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape} Criteria * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Criteria; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape; /** * Decodes a Criteria message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Criteria + * @returns {arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape} Criteria * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Criteria; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape; /** * Verifies a Criteria message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Criteria message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Criteria */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Criteria; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Criteria; /** * Creates a plain object from a Criteria message. Also converts values to other types if specified. @@ -827,53 +942,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Criteria, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Criteria, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Criteria to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Criteria - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Criteria + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an Action. */ - interface IAction { + namespace Criteria { + + /** Properties of a Criteria. */ + interface $Properties { - /** Action type */ - type?: (string|null); + /** Criteria expression */ + expression?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** Action body */ - body?: (Uint8Array|null); + /** Shape of a Criteria. */ + type $Shape = arrow.flight.protocol.Criteria.$Properties; + } + + /** + * Properties of an Action. + * @deprecated Use arrow.flight.protocol.Action.$Properties instead. + */ + interface IAction extends arrow.flight.protocol.Action.$Properties { } /** Represents an Action. */ - class Action implements IAction { + class Action { /** * Constructs a new Action. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IAction); + constructor(properties?: arrow.flight.protocol.Action.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Action type. */ - public type: string; + type: string; /** Action body. */ - public body: Uint8Array; + body: Uint8Array; /** * Creates a new Action instance using the specified properties. * @param [properties] Properties to set * @returns Action instance */ - public static create(properties?: arrow.flight.protocol.IAction): arrow.flight.protocol.Action; + static create(properties: arrow.flight.protocol.Action.$Shape): arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape; + static create(properties?: arrow.flight.protocol.Action.$Properties): arrow.flight.protocol.Action; /** * Encodes the specified Action message. Does not implicitly {@link arrow.flight.protocol.Action.verify|verify} messages. @@ -881,7 +1013,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IAction, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Action.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Action message, length delimited. Does not implicitly {@link arrow.flight.protocol.Action.verify|verify} messages. @@ -889,40 +1021,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IAction, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Action.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Action message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Action + * @returns {arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape} Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Action; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape; /** * Decodes an Action message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Action + * @returns {arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape} Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Action; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape; /** * Verifies an Action message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an Action message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Action */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Action; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Action; /** * Creates a plain object from an Action message. Also converts values to other types if specified. @@ -930,47 +1062,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Action, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Action, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Action to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Action - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Action + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a Result. */ - interface IResult { + namespace Action { + + /** Properties of an Action. */ + interface $Properties { + + /** Action type */ + type?: (string|null); - /** Result body */ - body?: (Uint8Array|null); + /** Action body */ + body?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an Action. */ + type $Shape = arrow.flight.protocol.Action.$Properties; + } + + /** + * Properties of a Result. + * @deprecated Use arrow.flight.protocol.Result.$Properties instead. + */ + interface IResult extends arrow.flight.protocol.Result.$Properties { } /** Represents a Result. */ - class Result implements IResult { + class Result { /** * Constructs a new Result. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IResult); + constructor(properties?: arrow.flight.protocol.Result.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Result body. */ - public body: Uint8Array; + body: Uint8Array; /** * Creates a new Result instance using the specified properties. * @param [properties] Properties to set * @returns Result instance */ - public static create(properties?: arrow.flight.protocol.IResult): arrow.flight.protocol.Result; + static create(properties: arrow.flight.protocol.Result.$Shape): arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape; + static create(properties?: arrow.flight.protocol.Result.$Properties): arrow.flight.protocol.Result; /** * Encodes the specified Result message. Does not implicitly {@link arrow.flight.protocol.Result.verify|verify} messages. @@ -978,7 +1133,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Result.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Result message, length delimited. Does not implicitly {@link arrow.flight.protocol.Result.verify|verify} messages. @@ -986,40 +1141,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Result.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Result message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Result + * @returns {arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape} Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Result; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape; /** * Decodes a Result message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Result + * @returns {arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape} Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Result; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape; /** * Verifies a Result message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Result message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Result */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Result; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Result; /** * Creates a plain object from a Result message. Also converts values to other types if specified. @@ -1027,47 +1182,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Result, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Result, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Result to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Result - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Result + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a SchemaResult. */ - interface ISchemaResult { + namespace Result { + + /** Properties of a Result. */ + interface $Properties { + + /** Result body */ + body?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** SchemaResult schema */ - schema?: (Uint8Array|null); + /** Shape of a Result. */ + type $Shape = arrow.flight.protocol.Result.$Properties; + } + + /** + * Properties of a SchemaResult. + * @deprecated Use arrow.flight.protocol.SchemaResult.$Properties instead. + */ + interface ISchemaResult extends arrow.flight.protocol.SchemaResult.$Properties { } /** Represents a SchemaResult. */ - class SchemaResult implements ISchemaResult { + class SchemaResult { /** * Constructs a new SchemaResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ISchemaResult); + constructor(properties?: arrow.flight.protocol.SchemaResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SchemaResult schema. */ - public schema: Uint8Array; + schema: Uint8Array; /** * Creates a new SchemaResult instance using the specified properties. * @param [properties] Properties to set * @returns SchemaResult instance */ - public static create(properties?: arrow.flight.protocol.ISchemaResult): arrow.flight.protocol.SchemaResult; + static create(properties: arrow.flight.protocol.SchemaResult.$Shape): arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape; + static create(properties?: arrow.flight.protocol.SchemaResult.$Properties): arrow.flight.protocol.SchemaResult; /** * Encodes the specified SchemaResult message. Does not implicitly {@link arrow.flight.protocol.SchemaResult.verify|verify} messages. @@ -1075,7 +1250,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SchemaResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SchemaResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.SchemaResult.verify|verify} messages. @@ -1083,40 +1258,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ISchemaResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SchemaResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SchemaResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SchemaResult + * @returns {arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape} SchemaResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SchemaResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape; /** * Decodes a SchemaResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SchemaResult + * @returns {arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape} SchemaResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SchemaResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape; /** * Verifies a SchemaResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SchemaResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SchemaResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SchemaResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SchemaResult; /** * Creates a plain object from a SchemaResult message. Also converts values to other types if specified. @@ -1124,59 +1299,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SchemaResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SchemaResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SchemaResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SchemaResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SchemaResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a FlightDescriptor. */ - interface IFlightDescriptor { + namespace SchemaResult { - /** FlightDescriptor type */ - type?: (arrow.flight.protocol.FlightDescriptor.DescriptorType|null); + /** Properties of a SchemaResult. */ + interface $Properties { - /** FlightDescriptor cmd */ - cmd?: (Uint8Array|null); + /** SchemaResult schema */ + schema?: (Uint8Array|null); - /** FlightDescriptor path */ - path?: (string[]|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a SchemaResult. */ + type $Shape = arrow.flight.protocol.SchemaResult.$Properties; + } + + /** + * Properties of a FlightDescriptor. + * @deprecated Use arrow.flight.protocol.FlightDescriptor.$Properties instead. + */ + interface IFlightDescriptor extends arrow.flight.protocol.FlightDescriptor.$Properties { } /** Represents a FlightDescriptor. */ - class FlightDescriptor implements IFlightDescriptor { + class FlightDescriptor { /** * Constructs a new FlightDescriptor. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IFlightDescriptor); + constructor(properties?: arrow.flight.protocol.FlightDescriptor.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FlightDescriptor type. */ - public type: arrow.flight.protocol.FlightDescriptor.DescriptorType; + type: arrow.flight.protocol.FlightDescriptor.DescriptorType; /** FlightDescriptor cmd. */ - public cmd: Uint8Array; + cmd: Uint8Array; /** FlightDescriptor path. */ - public path: string[]; + path: string[]; /** * Creates a new FlightDescriptor instance using the specified properties. * @param [properties] Properties to set * @returns FlightDescriptor instance */ - public static create(properties?: arrow.flight.protocol.IFlightDescriptor): arrow.flight.protocol.FlightDescriptor; + static create(properties: arrow.flight.protocol.FlightDescriptor.$Shape): arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape; + static create(properties?: arrow.flight.protocol.FlightDescriptor.$Properties): arrow.flight.protocol.FlightDescriptor; /** * Encodes the specified FlightDescriptor message. Does not implicitly {@link arrow.flight.protocol.FlightDescriptor.verify|verify} messages. @@ -1184,7 +1373,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IFlightDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.FlightDescriptor.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlightDescriptor message, length delimited. Does not implicitly {@link arrow.flight.protocol.FlightDescriptor.verify|verify} messages. @@ -1192,40 +1381,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IFlightDescriptor, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.FlightDescriptor.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlightDescriptor message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FlightDescriptor + * @returns {arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape} FlightDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightDescriptor; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape; /** * Decodes a FlightDescriptor message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FlightDescriptor + * @returns {arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape} FlightDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightDescriptor; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape; /** * Verifies a FlightDescriptor message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlightDescriptor message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlightDescriptor */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightDescriptor; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightDescriptor; /** * Creates a plain object from a FlightDescriptor message. Also converts values to other types if specified. @@ -1233,93 +1422,104 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.FlightDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.FlightDescriptor, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlightDescriptor to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FlightDescriptor - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FlightDescriptor + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace FlightDescriptor { - /** DescriptorType enum. */ - enum DescriptorType { - UNKNOWN = 0, - PATH = 1, - CMD = 2 - } - } + /** Properties of a FlightDescriptor. */ + interface $Properties { - /** Properties of a FlightInfo. */ - interface IFlightInfo { + /** FlightDescriptor type */ + type?: (arrow.flight.protocol.FlightDescriptor.DescriptorType|null); - /** FlightInfo schema */ - schema?: (Uint8Array|null); + /** FlightDescriptor cmd */ + cmd?: (Uint8Array|null); - /** FlightInfo flightDescriptor */ - flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + /** FlightDescriptor path */ + path?: (string[]|null); - /** FlightInfo endpoint */ - endpoint?: (arrow.flight.protocol.IFlightEndpoint[]|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** FlightInfo totalRecords */ - totalRecords?: (number|Long|null); + /** Shape of a FlightDescriptor. */ + type $Shape = arrow.flight.protocol.FlightDescriptor.$Properties; - /** FlightInfo totalBytes */ - totalBytes?: (number|Long|null); + /** DescriptorType enum. */ + enum DescriptorType { - /** FlightInfo ordered */ - ordered?: (boolean|null); + /** UNKNOWN value */ + UNKNOWN = 0, - /** FlightInfo appMetadata */ - appMetadata?: (Uint8Array|null); + /** PATH value */ + PATH = 1, + + /** CMD value */ + CMD = 2 + } + } + + /** + * Properties of a FlightInfo. + * @deprecated Use arrow.flight.protocol.FlightInfo.$Properties instead. + */ + interface IFlightInfo extends arrow.flight.protocol.FlightInfo.$Properties { } /** Represents a FlightInfo. */ - class FlightInfo implements IFlightInfo { + class FlightInfo { /** * Constructs a new FlightInfo. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IFlightInfo); + constructor(properties?: arrow.flight.protocol.FlightInfo.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FlightInfo schema. */ - public schema: Uint8Array; + schema: Uint8Array; /** FlightInfo flightDescriptor. */ - public flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); /** FlightInfo endpoint. */ - public endpoint: arrow.flight.protocol.IFlightEndpoint[]; + endpoint: arrow.flight.protocol.FlightEndpoint.$Properties[]; /** FlightInfo totalRecords. */ - public totalRecords: (number|Long); + totalRecords: (number|Long); /** FlightInfo totalBytes. */ - public totalBytes: (number|Long); + totalBytes: (number|Long); /** FlightInfo ordered. */ - public ordered: boolean; + ordered: boolean; /** FlightInfo appMetadata. */ - public appMetadata: Uint8Array; + appMetadata: Uint8Array; /** * Creates a new FlightInfo instance using the specified properties. * @param [properties] Properties to set * @returns FlightInfo instance */ - public static create(properties?: arrow.flight.protocol.IFlightInfo): arrow.flight.protocol.FlightInfo; + static create(properties: arrow.flight.protocol.FlightInfo.$Shape): arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape; + static create(properties?: arrow.flight.protocol.FlightInfo.$Properties): arrow.flight.protocol.FlightInfo; /** * Encodes the specified FlightInfo message. Does not implicitly {@link arrow.flight.protocol.FlightInfo.verify|verify} messages. @@ -1327,7 +1527,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IFlightInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.FlightInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlightInfo message, length delimited. Does not implicitly {@link arrow.flight.protocol.FlightInfo.verify|verify} messages. @@ -1335,40 +1535,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IFlightInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.FlightInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlightInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FlightInfo + * @returns {arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape} FlightInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape; /** * Decodes a FlightInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FlightInfo + * @returns {arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape} FlightInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape; /** * Verifies a FlightInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlightInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlightInfo */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightInfo; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightInfo; /** * Creates a plain object from a FlightInfo message. Also converts values to other types if specified. @@ -1376,65 +1576,94 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.FlightInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.FlightInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlightInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FlightInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FlightInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a PollInfo. */ - interface IPollInfo { + namespace FlightInfo { - /** PollInfo info */ - info?: (arrow.flight.protocol.IFlightInfo|null); + /** Properties of a FlightInfo. */ + interface $Properties { - /** PollInfo flightDescriptor */ - flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + /** FlightInfo schema */ + schema?: (Uint8Array|null); - /** PollInfo progress */ - progress?: (number|null); + /** FlightInfo flightDescriptor */ + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); + + /** FlightInfo endpoint */ + endpoint?: (arrow.flight.protocol.FlightEndpoint.$Properties[]|null); - /** PollInfo expirationTime */ - expirationTime?: (google.protobuf.ITimestamp|null); + /** FlightInfo totalRecords */ + totalRecords?: (number|Long|null); + + /** FlightInfo totalBytes */ + totalBytes?: (number|Long|null); + + /** FlightInfo ordered */ + ordered?: (boolean|null); + + /** FlightInfo appMetadata */ + appMetadata?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FlightInfo. */ + type $Shape = arrow.flight.protocol.FlightInfo.$Properties; + } + + /** + * Properties of a PollInfo. + * @deprecated Use arrow.flight.protocol.PollInfo.$Properties instead. + */ + interface IPollInfo extends arrow.flight.protocol.PollInfo.$Properties { } /** Represents a PollInfo. */ - class PollInfo implements IPollInfo { + class PollInfo { /** * Constructs a new PollInfo. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IPollInfo); + constructor(properties?: arrow.flight.protocol.PollInfo.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** PollInfo info. */ - public info?: (arrow.flight.protocol.IFlightInfo|null); + info?: (arrow.flight.protocol.FlightInfo.$Properties|null); /** PollInfo flightDescriptor. */ - public flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); /** PollInfo progress. */ - public progress?: (number|null); + progress?: (number|null); /** PollInfo expirationTime. */ - public expirationTime?: (google.protobuf.ITimestamp|null); + expirationTime?: (google.protobuf.Timestamp.$Properties|null); /** * Creates a new PollInfo instance using the specified properties. * @param [properties] Properties to set * @returns PollInfo instance */ - public static create(properties?: arrow.flight.protocol.IPollInfo): arrow.flight.protocol.PollInfo; + static create(properties: arrow.flight.protocol.PollInfo.$Shape): arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape; + static create(properties?: arrow.flight.protocol.PollInfo.$Properties): arrow.flight.protocol.PollInfo; /** * Encodes the specified PollInfo message. Does not implicitly {@link arrow.flight.protocol.PollInfo.verify|verify} messages. @@ -1442,7 +1671,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IPollInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.PollInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PollInfo message, length delimited. Does not implicitly {@link arrow.flight.protocol.PollInfo.verify|verify} messages. @@ -1450,40 +1679,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IPollInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.PollInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PollInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PollInfo + * @returns {arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape} PollInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.PollInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape; /** * Decodes a PollInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns PollInfo + * @returns {arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape} PollInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.PollInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape; /** * Verifies a PollInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a PollInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PollInfo */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.PollInfo; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.PollInfo; /** * Creates a plain object from a PollInfo message. Also converts values to other types if specified. @@ -1491,47 +1720,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.PollInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.PollInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PollInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for PollInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for PollInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CancelFlightInfoRequest. */ - interface ICancelFlightInfoRequest { + namespace PollInfo { - /** CancelFlightInfoRequest info */ - info?: (arrow.flight.protocol.IFlightInfo|null); + /** Properties of a PollInfo. */ + interface $Properties { + + /** PollInfo info */ + info?: (arrow.flight.protocol.FlightInfo.$Properties|null); + + /** PollInfo flightDescriptor */ + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); + + /** PollInfo progress */ + progress?: (number|null); + + /** PollInfo expirationTime */ + expirationTime?: (google.protobuf.Timestamp.$Properties|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a PollInfo. */ + type $Shape = arrow.flight.protocol.PollInfo.$Properties; + } + + /** + * Properties of a CancelFlightInfoRequest. + * @deprecated Use arrow.flight.protocol.CancelFlightInfoRequest.$Properties instead. + */ + interface ICancelFlightInfoRequest extends arrow.flight.protocol.CancelFlightInfoRequest.$Properties { } /** Represents a CancelFlightInfoRequest. */ - class CancelFlightInfoRequest implements ICancelFlightInfoRequest { + class CancelFlightInfoRequest { /** * Constructs a new CancelFlightInfoRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ICancelFlightInfoRequest); + constructor(properties?: arrow.flight.protocol.CancelFlightInfoRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CancelFlightInfoRequest info. */ - public info?: (arrow.flight.protocol.IFlightInfo|null); + info?: (arrow.flight.protocol.FlightInfo.$Properties|null); /** * Creates a new CancelFlightInfoRequest instance using the specified properties. * @param [properties] Properties to set * @returns CancelFlightInfoRequest instance */ - public static create(properties?: arrow.flight.protocol.ICancelFlightInfoRequest): arrow.flight.protocol.CancelFlightInfoRequest; + static create(properties: arrow.flight.protocol.CancelFlightInfoRequest.$Shape): arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape; + static create(properties?: arrow.flight.protocol.CancelFlightInfoRequest.$Properties): arrow.flight.protocol.CancelFlightInfoRequest; /** * Encodes the specified CancelFlightInfoRequest message. Does not implicitly {@link arrow.flight.protocol.CancelFlightInfoRequest.verify|verify} messages. @@ -1539,7 +1797,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ICancelFlightInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.CancelFlightInfoRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CancelFlightInfoRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.CancelFlightInfoRequest.verify|verify} messages. @@ -1547,40 +1805,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ICancelFlightInfoRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.CancelFlightInfoRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CancelFlightInfoRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CancelFlightInfoRequest + * @returns {arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape} CancelFlightInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CancelFlightInfoRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape; /** * Decodes a CancelFlightInfoRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CancelFlightInfoRequest + * @returns {arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape} CancelFlightInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CancelFlightInfoRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape; /** * Verifies a CancelFlightInfoRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CancelFlightInfoRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelFlightInfoRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CancelFlightInfoRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CancelFlightInfoRequest; /** * Creates a plain object from a CancelFlightInfoRequest message. Also converts values to other types if specified. @@ -1588,55 +1846,83 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.CancelFlightInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.CancelFlightInfoRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelFlightInfoRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CancelFlightInfoRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CancelFlightInfoRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace CancelFlightInfoRequest { + + /** Properties of a CancelFlightInfoRequest. */ + interface $Properties { + + /** CancelFlightInfoRequest info */ + info?: (arrow.flight.protocol.FlightInfo.$Properties|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CancelFlightInfoRequest. */ + type $Shape = arrow.flight.protocol.CancelFlightInfoRequest.$Properties; } /** CancelStatus enum. */ enum CancelStatus { + + /** CANCEL_STATUS_UNSPECIFIED value */ CANCEL_STATUS_UNSPECIFIED = 0, + + /** CANCEL_STATUS_CANCELLED value */ CANCEL_STATUS_CANCELLED = 1, + + /** CANCEL_STATUS_CANCELLING value */ CANCEL_STATUS_CANCELLING = 2, + + /** CANCEL_STATUS_NOT_CANCELLABLE value */ CANCEL_STATUS_NOT_CANCELLABLE = 3 } - /** Properties of a CancelFlightInfoResult. */ - interface ICancelFlightInfoResult { - - /** CancelFlightInfoResult status */ - status?: (arrow.flight.protocol.CancelStatus|null); + /** + * Properties of a CancelFlightInfoResult. + * @deprecated Use arrow.flight.protocol.CancelFlightInfoResult.$Properties instead. + */ + interface ICancelFlightInfoResult extends arrow.flight.protocol.CancelFlightInfoResult.$Properties { } /** Represents a CancelFlightInfoResult. */ - class CancelFlightInfoResult implements ICancelFlightInfoResult { + class CancelFlightInfoResult { /** * Constructs a new CancelFlightInfoResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ICancelFlightInfoResult); + constructor(properties?: arrow.flight.protocol.CancelFlightInfoResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CancelFlightInfoResult status. */ - public status: arrow.flight.protocol.CancelStatus; + status: arrow.flight.protocol.CancelStatus; /** * Creates a new CancelFlightInfoResult instance using the specified properties. * @param [properties] Properties to set * @returns CancelFlightInfoResult instance */ - public static create(properties?: arrow.flight.protocol.ICancelFlightInfoResult): arrow.flight.protocol.CancelFlightInfoResult; + static create(properties: arrow.flight.protocol.CancelFlightInfoResult.$Shape): arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape; + static create(properties?: arrow.flight.protocol.CancelFlightInfoResult.$Properties): arrow.flight.protocol.CancelFlightInfoResult; /** * Encodes the specified CancelFlightInfoResult message. Does not implicitly {@link arrow.flight.protocol.CancelFlightInfoResult.verify|verify} messages. @@ -1644,7 +1930,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ICancelFlightInfoResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.CancelFlightInfoResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CancelFlightInfoResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.CancelFlightInfoResult.verify|verify} messages. @@ -1652,40 +1938,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ICancelFlightInfoResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.CancelFlightInfoResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CancelFlightInfoResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CancelFlightInfoResult + * @returns {arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape} CancelFlightInfoResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CancelFlightInfoResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape; /** * Decodes a CancelFlightInfoResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CancelFlightInfoResult + * @returns {arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape} CancelFlightInfoResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CancelFlightInfoResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape; /** * Verifies a CancelFlightInfoResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CancelFlightInfoResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CancelFlightInfoResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CancelFlightInfoResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CancelFlightInfoResult; /** * Creates a plain object from a CancelFlightInfoResult message. Also converts values to other types if specified. @@ -1693,47 +1979,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.CancelFlightInfoResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.CancelFlightInfoResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CancelFlightInfoResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CancelFlightInfoResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CancelFlightInfoResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a Ticket. */ - interface ITicket { + namespace CancelFlightInfoResult { - /** Ticket ticket */ - ticket?: (Uint8Array|null); + /** Properties of a CancelFlightInfoResult. */ + interface $Properties { + + /** CancelFlightInfoResult status */ + status?: (arrow.flight.protocol.CancelStatus|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CancelFlightInfoResult. */ + type $Shape = arrow.flight.protocol.CancelFlightInfoResult.$Properties; + } + + /** + * Properties of a Ticket. + * @deprecated Use arrow.flight.protocol.Ticket.$Properties instead. + */ + interface ITicket extends arrow.flight.protocol.Ticket.$Properties { } /** Represents a Ticket. */ - class Ticket implements ITicket { + class Ticket { /** * Constructs a new Ticket. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ITicket); + constructor(properties?: arrow.flight.protocol.Ticket.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Ticket ticket. */ - public ticket: Uint8Array; + ticket: Uint8Array; /** * Creates a new Ticket instance using the specified properties. * @param [properties] Properties to set * @returns Ticket instance */ - public static create(properties?: arrow.flight.protocol.ITicket): arrow.flight.protocol.Ticket; + static create(properties: arrow.flight.protocol.Ticket.$Shape): arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape; + static create(properties?: arrow.flight.protocol.Ticket.$Properties): arrow.flight.protocol.Ticket; /** * Encodes the specified Ticket message. Does not implicitly {@link arrow.flight.protocol.Ticket.verify|verify} messages. @@ -1741,7 +2047,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ITicket, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Ticket.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Ticket message, length delimited. Does not implicitly {@link arrow.flight.protocol.Ticket.verify|verify} messages. @@ -1749,40 +2055,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ITicket, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Ticket.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Ticket message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Ticket + * @returns {arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape} Ticket * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Ticket; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape; /** * Decodes a Ticket message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Ticket + * @returns {arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape} Ticket * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Ticket; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape; /** * Verifies a Ticket message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Ticket message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Ticket */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Ticket; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Ticket; /** * Creates a plain object from a Ticket message. Also converts values to other types if specified. @@ -1790,47 +2096,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Ticket, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Ticket, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Ticket to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Ticket - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Ticket + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a Location. */ - interface ILocation { + namespace Ticket { + + /** Properties of a Ticket. */ + interface $Properties { + + /** Ticket ticket */ + ticket?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a Ticket. */ + type $Shape = arrow.flight.protocol.Ticket.$Properties; + } - /** Location uri */ - uri?: (string|null); + /** + * Properties of a Location. + * @deprecated Use arrow.flight.protocol.Location.$Properties instead. + */ + interface ILocation extends arrow.flight.protocol.Location.$Properties { } /** Represents a Location. */ - class Location implements ILocation { + class Location { /** * Constructs a new Location. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ILocation); + constructor(properties?: arrow.flight.protocol.Location.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Location uri. */ - public uri: string; + uri: string; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ - public static create(properties?: arrow.flight.protocol.ILocation): arrow.flight.protocol.Location; + static create(properties: arrow.flight.protocol.Location.$Shape): arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape; + static create(properties?: arrow.flight.protocol.Location.$Properties): arrow.flight.protocol.Location; /** * Encodes the specified Location message. Does not implicitly {@link arrow.flight.protocol.Location.verify|verify} messages. @@ -1838,7 +2164,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.Location.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link arrow.flight.protocol.Location.verify|verify} messages. @@ -1846,40 +2172,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.Location.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Location + * @returns {arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Location; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Location + * @returns {arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Location; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Location; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. @@ -1887,65 +2213,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Location - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Location + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a FlightEndpoint. */ - interface IFlightEndpoint { + namespace Location { - /** FlightEndpoint ticket */ - ticket?: (arrow.flight.protocol.ITicket|null); + /** Properties of a Location. */ + interface $Properties { - /** FlightEndpoint location */ - location?: (arrow.flight.protocol.ILocation[]|null); + /** Location uri */ + uri?: (string|null); - /** FlightEndpoint expirationTime */ - expirationTime?: (google.protobuf.ITimestamp|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** FlightEndpoint appMetadata */ - appMetadata?: (Uint8Array|null); + /** Shape of a Location. */ + type $Shape = arrow.flight.protocol.Location.$Properties; + } + + /** + * Properties of a FlightEndpoint. + * @deprecated Use arrow.flight.protocol.FlightEndpoint.$Properties instead. + */ + interface IFlightEndpoint extends arrow.flight.protocol.FlightEndpoint.$Properties { } /** Represents a FlightEndpoint. */ - class FlightEndpoint implements IFlightEndpoint { + class FlightEndpoint { /** * Constructs a new FlightEndpoint. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IFlightEndpoint); + constructor(properties?: arrow.flight.protocol.FlightEndpoint.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FlightEndpoint ticket. */ - public ticket?: (arrow.flight.protocol.ITicket|null); + ticket?: (arrow.flight.protocol.Ticket.$Properties|null); /** FlightEndpoint location. */ - public location: arrow.flight.protocol.ILocation[]; + location: arrow.flight.protocol.Location.$Properties[]; /** FlightEndpoint expirationTime. */ - public expirationTime?: (google.protobuf.ITimestamp|null); + expirationTime?: (google.protobuf.Timestamp.$Properties|null); /** FlightEndpoint appMetadata. */ - public appMetadata: Uint8Array; + appMetadata: Uint8Array; /** * Creates a new FlightEndpoint instance using the specified properties. * @param [properties] Properties to set * @returns FlightEndpoint instance */ - public static create(properties?: arrow.flight.protocol.IFlightEndpoint): arrow.flight.protocol.FlightEndpoint; + static create(properties: arrow.flight.protocol.FlightEndpoint.$Shape): arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape; + static create(properties?: arrow.flight.protocol.FlightEndpoint.$Properties): arrow.flight.protocol.FlightEndpoint; /** * Encodes the specified FlightEndpoint message. Does not implicitly {@link arrow.flight.protocol.FlightEndpoint.verify|verify} messages. @@ -1953,7 +2290,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IFlightEndpoint, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.FlightEndpoint.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlightEndpoint message, length delimited. Does not implicitly {@link arrow.flight.protocol.FlightEndpoint.verify|verify} messages. @@ -1961,40 +2298,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IFlightEndpoint, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.FlightEndpoint.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlightEndpoint message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FlightEndpoint + * @returns {arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape} FlightEndpoint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightEndpoint; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape; /** * Decodes a FlightEndpoint message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FlightEndpoint + * @returns {arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape} FlightEndpoint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightEndpoint; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape; /** * Verifies a FlightEndpoint message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlightEndpoint message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlightEndpoint */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightEndpoint; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightEndpoint; /** * Creates a plain object from a FlightEndpoint message. Also converts values to other types if specified. @@ -2002,47 +2339,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.FlightEndpoint, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.FlightEndpoint, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlightEndpoint to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FlightEndpoint - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FlightEndpoint + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a RenewFlightEndpointRequest. */ - interface IRenewFlightEndpointRequest { + namespace FlightEndpoint { + + /** Properties of a FlightEndpoint. */ + interface $Properties { + + /** FlightEndpoint ticket */ + ticket?: (arrow.flight.protocol.Ticket.$Properties|null); + + /** FlightEndpoint location */ + location?: (arrow.flight.protocol.Location.$Properties[]|null); + + /** FlightEndpoint expirationTime */ + expirationTime?: (google.protobuf.Timestamp.$Properties|null); + + /** FlightEndpoint appMetadata */ + appMetadata?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** RenewFlightEndpointRequest endpoint */ - endpoint?: (arrow.flight.protocol.IFlightEndpoint|null); + /** Shape of a FlightEndpoint. */ + type $Shape = arrow.flight.protocol.FlightEndpoint.$Properties; + } + + /** + * Properties of a RenewFlightEndpointRequest. + * @deprecated Use arrow.flight.protocol.RenewFlightEndpointRequest.$Properties instead. + */ + interface IRenewFlightEndpointRequest extends arrow.flight.protocol.RenewFlightEndpointRequest.$Properties { } /** Represents a RenewFlightEndpointRequest. */ - class RenewFlightEndpointRequest implements IRenewFlightEndpointRequest { + class RenewFlightEndpointRequest { /** * Constructs a new RenewFlightEndpointRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IRenewFlightEndpointRequest); + constructor(properties?: arrow.flight.protocol.RenewFlightEndpointRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** RenewFlightEndpointRequest endpoint. */ - public endpoint?: (arrow.flight.protocol.IFlightEndpoint|null); + endpoint?: (arrow.flight.protocol.FlightEndpoint.$Properties|null); /** * Creates a new RenewFlightEndpointRequest instance using the specified properties. * @param [properties] Properties to set * @returns RenewFlightEndpointRequest instance */ - public static create(properties?: arrow.flight.protocol.IRenewFlightEndpointRequest): arrow.flight.protocol.RenewFlightEndpointRequest; + static create(properties: arrow.flight.protocol.RenewFlightEndpointRequest.$Shape): arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape; + static create(properties?: arrow.flight.protocol.RenewFlightEndpointRequest.$Properties): arrow.flight.protocol.RenewFlightEndpointRequest; /** * Encodes the specified RenewFlightEndpointRequest message. Does not implicitly {@link arrow.flight.protocol.RenewFlightEndpointRequest.verify|verify} messages. @@ -2050,7 +2416,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IRenewFlightEndpointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.RenewFlightEndpointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified RenewFlightEndpointRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.RenewFlightEndpointRequest.verify|verify} messages. @@ -2058,40 +2424,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IRenewFlightEndpointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.RenewFlightEndpointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a RenewFlightEndpointRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns RenewFlightEndpointRequest + * @returns {arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape} RenewFlightEndpointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.RenewFlightEndpointRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape; /** * Decodes a RenewFlightEndpointRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns RenewFlightEndpointRequest + * @returns {arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape} RenewFlightEndpointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.RenewFlightEndpointRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape; /** * Verifies a RenewFlightEndpointRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a RenewFlightEndpointRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns RenewFlightEndpointRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.RenewFlightEndpointRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.RenewFlightEndpointRequest; /** * Creates a plain object from a RenewFlightEndpointRequest message. Also converts values to other types if specified. @@ -2099,65 +2465,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.RenewFlightEndpointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.RenewFlightEndpointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this RenewFlightEndpointRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for RenewFlightEndpointRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for RenewFlightEndpointRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a FlightData. */ - interface IFlightData { + namespace RenewFlightEndpointRequest { - /** FlightData flightDescriptor */ - flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + /** Properties of a RenewFlightEndpointRequest. */ + interface $Properties { - /** FlightData dataHeader */ - dataHeader?: (Uint8Array|null); + /** RenewFlightEndpointRequest endpoint */ + endpoint?: (arrow.flight.protocol.FlightEndpoint.$Properties|null); - /** FlightData appMetadata */ - appMetadata?: (Uint8Array|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** FlightData dataBody */ - dataBody?: (Uint8Array|null); + /** Shape of a RenewFlightEndpointRequest. */ + type $Shape = arrow.flight.protocol.RenewFlightEndpointRequest.$Properties; + } + + /** + * Properties of a FlightData. + * @deprecated Use arrow.flight.protocol.FlightData.$Properties instead. + */ + interface IFlightData extends arrow.flight.protocol.FlightData.$Properties { } /** Represents a FlightData. */ - class FlightData implements IFlightData { + class FlightData { /** * Constructs a new FlightData. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IFlightData); + constructor(properties?: arrow.flight.protocol.FlightData.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FlightData flightDescriptor. */ - public flightDescriptor?: (arrow.flight.protocol.IFlightDescriptor|null); + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); /** FlightData dataHeader. */ - public dataHeader: Uint8Array; + dataHeader: Uint8Array; /** FlightData appMetadata. */ - public appMetadata: Uint8Array; + appMetadata: Uint8Array; /** FlightData dataBody. */ - public dataBody: Uint8Array; + dataBody: Uint8Array; /** * Creates a new FlightData instance using the specified properties. * @param [properties] Properties to set * @returns FlightData instance */ - public static create(properties?: arrow.flight.protocol.IFlightData): arrow.flight.protocol.FlightData; + static create(properties: arrow.flight.protocol.FlightData.$Shape): arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape; + static create(properties?: arrow.flight.protocol.FlightData.$Properties): arrow.flight.protocol.FlightData; /** * Encodes the specified FlightData message. Does not implicitly {@link arrow.flight.protocol.FlightData.verify|verify} messages. @@ -2165,7 +2542,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IFlightData, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.FlightData.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FlightData message, length delimited. Does not implicitly {@link arrow.flight.protocol.FlightData.verify|verify} messages. @@ -2173,40 +2550,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IFlightData, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.FlightData.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FlightData message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FlightData + * @returns {arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape} FlightData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightData; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape; /** * Decodes a FlightData message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FlightData + * @returns {arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape} FlightData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightData; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape; /** * Verifies a FlightData message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FlightData message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FlightData */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightData; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.FlightData; /** * Creates a plain object from a FlightData message. Also converts values to other types if specified. @@ -2214,47 +2591,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.FlightData, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.FlightData, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FlightData to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FlightData - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FlightData + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a PutResult. */ - interface IPutResult { + namespace FlightData { + + /** Properties of a FlightData. */ + interface $Properties { + + /** FlightData flightDescriptor */ + flightDescriptor?: (arrow.flight.protocol.FlightDescriptor.$Properties|null); + + /** FlightData dataHeader */ + dataHeader?: (Uint8Array|null); + + /** FlightData appMetadata */ + appMetadata?: (Uint8Array|null); + + /** FlightData dataBody */ + dataBody?: (Uint8Array|null); - /** PutResult appMetadata */ - appMetadata?: (Uint8Array|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FlightData. */ + type $Shape = arrow.flight.protocol.FlightData.$Properties; + } + + /** + * Properties of a PutResult. + * @deprecated Use arrow.flight.protocol.PutResult.$Properties instead. + */ + interface IPutResult extends arrow.flight.protocol.PutResult.$Properties { } /** The response message associated with the submission of a DoPut. */ - class PutResult implements IPutResult { + class PutResult { /** * Constructs a new PutResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IPutResult); + constructor(properties?: arrow.flight.protocol.PutResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** PutResult appMetadata. */ - public appMetadata: Uint8Array; + appMetadata: Uint8Array; /** * Creates a new PutResult instance using the specified properties. * @param [properties] Properties to set * @returns PutResult instance */ - public static create(properties?: arrow.flight.protocol.IPutResult): arrow.flight.protocol.PutResult; + static create(properties: arrow.flight.protocol.PutResult.$Shape): arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape; + static create(properties?: arrow.flight.protocol.PutResult.$Properties): arrow.flight.protocol.PutResult; /** * Encodes the specified PutResult message. Does not implicitly {@link arrow.flight.protocol.PutResult.verify|verify} messages. @@ -2262,7 +2668,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IPutResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.PutResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified PutResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.PutResult.verify|verify} messages. @@ -2270,40 +2676,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IPutResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.PutResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a PutResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns PutResult + * @returns {arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape} PutResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.PutResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape; /** * Decodes a PutResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns PutResult + * @returns {arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape} PutResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.PutResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape; /** * Verifies a PutResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a PutResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns PutResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.PutResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.PutResult; /** * Creates a plain object from a PutResult message. Also converts values to other types if specified. @@ -2311,74 +2717,82 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.PutResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.PutResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this PutResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for PutResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for PutResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a SessionOptionValue. */ - interface ISessionOptionValue { + namespace PutResult { - /** SessionOptionValue stringValue */ - stringValue?: (string|null); + /** Properties of a PutResult. */ + interface $Properties { - /** SessionOptionValue boolValue */ - boolValue?: (boolean|null); + /** PutResult appMetadata */ + appMetadata?: (Uint8Array|null); - /** SessionOptionValue int64Value */ - int64Value?: (number|Long|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** SessionOptionValue doubleValue */ - doubleValue?: (number|null); + /** Shape of a PutResult. */ + type $Shape = arrow.flight.protocol.PutResult.$Properties; + } - /** SessionOptionValue stringListValue */ - stringListValue?: (arrow.flight.protocol.SessionOptionValue.IStringListValue|null); + /** + * Properties of a SessionOptionValue. + * @deprecated Use arrow.flight.protocol.SessionOptionValue.$Properties instead. + */ + interface ISessionOptionValue extends arrow.flight.protocol.SessionOptionValue.$Properties { } /** Represents a SessionOptionValue. */ - class SessionOptionValue implements ISessionOptionValue { + class SessionOptionValue { /** * Constructs a new SessionOptionValue. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ISessionOptionValue); + constructor(properties?: arrow.flight.protocol.SessionOptionValue.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SessionOptionValue stringValue. */ - public stringValue?: (string|null); + stringValue?: (string|null); /** SessionOptionValue boolValue. */ - public boolValue?: (boolean|null); + boolValue?: (boolean|null); /** SessionOptionValue int64Value. */ - public int64Value?: (number|Long|null); + int64Value?: (number|Long|null); /** SessionOptionValue doubleValue. */ - public doubleValue?: (number|null); + doubleValue?: (number|null); /** SessionOptionValue stringListValue. */ - public stringListValue?: (arrow.flight.protocol.SessionOptionValue.IStringListValue|null); + stringListValue?: (arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties|null); /** SessionOptionValue optionValue. */ - public optionValue?: ("stringValue"|"boolValue"|"int64Value"|"doubleValue"|"stringListValue"); + optionValue?: ("stringValue"|"boolValue"|"int64Value"|"doubleValue"|"stringListValue"); /** * Creates a new SessionOptionValue instance using the specified properties. * @param [properties] Properties to set * @returns SessionOptionValue instance */ - public static create(properties?: arrow.flight.protocol.ISessionOptionValue): arrow.flight.protocol.SessionOptionValue; + static create(properties: arrow.flight.protocol.SessionOptionValue.$Shape): arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape; + static create(properties?: arrow.flight.protocol.SessionOptionValue.$Properties): arrow.flight.protocol.SessionOptionValue; /** * Encodes the specified SessionOptionValue message. Does not implicitly {@link arrow.flight.protocol.SessionOptionValue.verify|verify} messages. @@ -2386,7 +2800,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ISessionOptionValue, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SessionOptionValue.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SessionOptionValue message, length delimited. Does not implicitly {@link arrow.flight.protocol.SessionOptionValue.verify|verify} messages. @@ -2394,40 +2808,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ISessionOptionValue, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SessionOptionValue.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SessionOptionValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SessionOptionValue + * @returns {arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape} SessionOptionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SessionOptionValue; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape; /** * Decodes a SessionOptionValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SessionOptionValue + * @returns {arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape} SessionOptionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SessionOptionValue; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape; /** * Verifies a SessionOptionValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SessionOptionValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SessionOptionValue */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SessionOptionValue; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SessionOptionValue; /** * Creates a plain object from a SessionOptionValue message. Also converts values to other types if specified. @@ -2435,49 +2849,90 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SessionOptionValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SessionOptionValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SessionOptionValue to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SessionOptionValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SessionOptionValue + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace SessionOptionValue { - /** Properties of a StringListValue. */ - interface IStringListValue { + /** Properties of a SessionOptionValue. */ + interface $Properties { + + /** SessionOptionValue stringValue */ + stringValue?: (string|null); + + /** SessionOptionValue boolValue */ + boolValue?: (boolean|null); + + /** SessionOptionValue int64Value */ + int64Value?: (number|Long|null); + + /** SessionOptionValue doubleValue */ + doubleValue?: (number|null); + + /** SessionOptionValue stringListValue */ + stringListValue?: (arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties|null); + + /** SessionOptionValue optionValue */ + optionValue?: ("stringValue"|"boolValue"|"int64Value"|"doubleValue"|"stringListValue"); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Narrowed shape of a SessionOptionValue. */ + type $Shape = { + stringValue?: string|null; + boolValue?: boolean|null; + int64Value?: number|Long|null; + doubleValue?: number|null; + stringListValue?: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape|null; + $unknowns?: Uint8Array[]; + } & ( + ({ optionValue?: undefined; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "stringValue"; stringValue: string; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "boolValue"; stringValue?: null; boolValue: boolean; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "int64Value"; stringValue?: null; boolValue?: null; int64Value: number|Long; doubleValue?: null; stringListValue?: null }|{ optionValue?: "doubleValue"; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue: number; stringListValue?: null }|{ optionValue?: "stringListValue"; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape }) + ); - /** StringListValue values */ - values?: (string[]|null); + /** + * Properties of a StringListValue. + * @deprecated Use arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties instead. + */ + interface IStringListValue extends arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties { } /** Represents a StringListValue. */ - class StringListValue implements IStringListValue { + class StringListValue { /** * Constructs a new StringListValue. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.SessionOptionValue.IStringListValue); + constructor(properties?: arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** StringListValue values. */ - public values: string[]; + values: string[]; /** * Creates a new StringListValue instance using the specified properties. * @param [properties] Properties to set * @returns StringListValue instance */ - public static create(properties?: arrow.flight.protocol.SessionOptionValue.IStringListValue): arrow.flight.protocol.SessionOptionValue.StringListValue; + static create(properties: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape): arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape; + static create(properties?: arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties): arrow.flight.protocol.SessionOptionValue.StringListValue; /** * Encodes the specified StringListValue message. Does not implicitly {@link arrow.flight.protocol.SessionOptionValue.StringListValue.verify|verify} messages. @@ -2485,7 +2940,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.SessionOptionValue.IStringListValue, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified StringListValue message, length delimited. Does not implicitly {@link arrow.flight.protocol.SessionOptionValue.StringListValue.verify|verify} messages. @@ -2493,40 +2948,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.SessionOptionValue.IStringListValue, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a StringListValue message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns StringListValue + * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape} StringListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SessionOptionValue.StringListValue; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape; /** * Decodes a StringListValue message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns StringListValue + * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape} StringListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SessionOptionValue.StringListValue; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape; /** * Verifies a StringListValue message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a StringListValue message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns StringListValue */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SessionOptionValue.StringListValue; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SessionOptionValue.StringListValue; /** * Creates a plain object from a StringListValue message. Also converts values to other types if specified. @@ -2534,48 +2989,68 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SessionOptionValue.StringListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SessionOptionValue.StringListValue, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this StringListValue to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for StringListValue - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for StringListValue + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - } - /** Properties of a SetSessionOptionsRequest. */ - interface ISetSessionOptionsRequest { + namespace StringListValue { + + /** Properties of a StringListValue. */ + interface $Properties { - /** SetSessionOptionsRequest sessionOptions */ - sessionOptions?: ({ [k: string]: arrow.flight.protocol.ISessionOptionValue }|null); + /** StringListValue values */ + values?: (string[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a StringListValue. */ + type $Shape = arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties; + } + } + + /** + * Properties of a SetSessionOptionsRequest. + * @deprecated Use arrow.flight.protocol.SetSessionOptionsRequest.$Properties instead. + */ + interface ISetSessionOptionsRequest extends arrow.flight.protocol.SetSessionOptionsRequest.$Properties { } /** Represents a SetSessionOptionsRequest. */ - class SetSessionOptionsRequest implements ISetSessionOptionsRequest { + class SetSessionOptionsRequest { /** * Constructs a new SetSessionOptionsRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ISetSessionOptionsRequest); + constructor(properties?: arrow.flight.protocol.SetSessionOptionsRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SetSessionOptionsRequest sessionOptions. */ - public sessionOptions: { [k: string]: arrow.flight.protocol.ISessionOptionValue }; + sessionOptions: { [k: string]: arrow.flight.protocol.SessionOptionValue.$Properties }; /** * Creates a new SetSessionOptionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns SetSessionOptionsRequest instance */ - public static create(properties?: arrow.flight.protocol.ISetSessionOptionsRequest): arrow.flight.protocol.SetSessionOptionsRequest; + static create(properties: arrow.flight.protocol.SetSessionOptionsRequest.$Shape): arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape; + static create(properties?: arrow.flight.protocol.SetSessionOptionsRequest.$Properties): arrow.flight.protocol.SetSessionOptionsRequest; /** * Encodes the specified SetSessionOptionsRequest message. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsRequest.verify|verify} messages. @@ -2583,7 +3058,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ISetSessionOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SetSessionOptionsRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SetSessionOptionsRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsRequest.verify|verify} messages. @@ -2591,40 +3066,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ISetSessionOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SetSessionOptionsRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SetSessionOptionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SetSessionOptionsRequest + * @returns {arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape} SetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape; /** * Decodes a SetSessionOptionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SetSessionOptionsRequest + * @returns {arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape} SetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape; /** * Verifies a SetSessionOptionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SetSessionOptionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SetSessionOptionsRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsRequest; /** * Creates a plain object from a SetSessionOptionsRequest message. Also converts values to other types if specified. @@ -2632,47 +3107,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SetSessionOptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SetSessionOptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SetSessionOptionsRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SetSessionOptionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SetSessionOptionsRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a SetSessionOptionsResult. */ - interface ISetSessionOptionsResult { + namespace SetSessionOptionsRequest { + + /** Properties of a SetSessionOptionsRequest. */ + interface $Properties { + + /** SetSessionOptionsRequest sessionOptions */ + sessionOptions?: ({ [k: string]: arrow.flight.protocol.SessionOptionValue.$Properties }|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** SetSessionOptionsResult errors */ - errors?: ({ [k: string]: arrow.flight.protocol.SetSessionOptionsResult.IError }|null); + /** Shape of a SetSessionOptionsRequest. */ + type $Shape = { + sessionOptions?: { [k: string]: arrow.flight.protocol.SessionOptionValue.$Shape }|null; + $unknowns?: Uint8Array[]; + }; + } + + /** + * Properties of a SetSessionOptionsResult. + * @deprecated Use arrow.flight.protocol.SetSessionOptionsResult.$Properties instead. + */ + interface ISetSessionOptionsResult extends arrow.flight.protocol.SetSessionOptionsResult.$Properties { } /** Represents a SetSessionOptionsResult. */ - class SetSessionOptionsResult implements ISetSessionOptionsResult { + class SetSessionOptionsResult { /** * Constructs a new SetSessionOptionsResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ISetSessionOptionsResult); + constructor(properties?: arrow.flight.protocol.SetSessionOptionsResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SetSessionOptionsResult errors. */ - public errors: { [k: string]: arrow.flight.protocol.SetSessionOptionsResult.IError }; + errors: { [k: string]: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties }; /** * Creates a new SetSessionOptionsResult instance using the specified properties. * @param [properties] Properties to set * @returns SetSessionOptionsResult instance */ - public static create(properties?: arrow.flight.protocol.ISetSessionOptionsResult): arrow.flight.protocol.SetSessionOptionsResult; + static create(properties: arrow.flight.protocol.SetSessionOptionsResult.$Shape): arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape; + static create(properties?: arrow.flight.protocol.SetSessionOptionsResult.$Properties): arrow.flight.protocol.SetSessionOptionsResult; /** * Encodes the specified SetSessionOptionsResult message. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsResult.verify|verify} messages. @@ -2680,7 +3178,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ISetSessionOptionsResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SetSessionOptionsResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SetSessionOptionsResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsResult.verify|verify} messages. @@ -2688,40 +3186,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ISetSessionOptionsResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SetSessionOptionsResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SetSessionOptionsResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SetSessionOptionsResult + * @returns {arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape} SetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape; /** * Decodes a SetSessionOptionsResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SetSessionOptionsResult + * @returns {arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape} SetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape; /** * Verifies a SetSessionOptionsResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SetSessionOptionsResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SetSessionOptionsResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsResult; /** * Creates a plain object from a SetSessionOptionsResult message. Also converts values to other types if specified. @@ -2729,57 +3227,82 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SetSessionOptionsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SetSessionOptionsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SetSessionOptionsResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SetSessionOptionsResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SetSessionOptionsResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace SetSessionOptionsResult { + /** Properties of a SetSessionOptionsResult. */ + interface $Properties { + + /** SetSessionOptionsResult errors */ + errors?: ({ [k: string]: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties }|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a SetSessionOptionsResult. */ + type $Shape = arrow.flight.protocol.SetSessionOptionsResult.$Properties; + /** ErrorValue enum. */ enum ErrorValue { + + /** UNSPECIFIED value */ UNSPECIFIED = 0, + + /** INVALID_NAME value */ INVALID_NAME = 1, + + /** INVALID_VALUE value */ INVALID_VALUE = 2, + + /** ERROR value */ ERROR = 3 } - /** Properties of an Error. */ - interface IError { - - /** Error value */ - value?: (arrow.flight.protocol.SetSessionOptionsResult.ErrorValue|null); + /** + * Properties of an Error. + * @deprecated Use arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties instead. + */ + interface IError extends arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties { } /** Represents an Error. */ - class Error implements IError { + class Error { /** * Constructs a new Error. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.SetSessionOptionsResult.IError); + constructor(properties?: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Error value. */ - public value: arrow.flight.protocol.SetSessionOptionsResult.ErrorValue; + value: arrow.flight.protocol.SetSessionOptionsResult.ErrorValue; /** * Creates a new Error instance using the specified properties. * @param [properties] Properties to set * @returns Error instance */ - public static create(properties?: arrow.flight.protocol.SetSessionOptionsResult.IError): arrow.flight.protocol.SetSessionOptionsResult.Error; + static create(properties: arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape): arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape; + static create(properties?: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties): arrow.flight.protocol.SetSessionOptionsResult.Error; /** * Encodes the specified Error message. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsResult.Error.verify|verify} messages. @@ -2787,7 +3310,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.SetSessionOptionsResult.IError, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Error message, length delimited. Does not implicitly {@link arrow.flight.protocol.SetSessionOptionsResult.Error.verify|verify} messages. @@ -2795,40 +3318,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.SetSessionOptionsResult.IError, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Error message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Error + * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape} Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsResult.Error; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape; /** * Decodes an Error message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Error + * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape} Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsResult.Error; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape; /** * Verifies an Error message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an Error message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Error */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsResult.Error; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.SetSessionOptionsResult.Error; /** * Creates a plain object from an Error message. Also converts values to other types if specified. @@ -2836,42 +3359,65 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.SetSessionOptionsResult.Error, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.SetSessionOptionsResult.Error, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Error to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Error - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Error + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace Error { + + /** Properties of an Error. */ + interface $Properties { + + /** Error value */ + value?: (arrow.flight.protocol.SetSessionOptionsResult.ErrorValue|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an Error. */ + type $Shape = arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties; } } - /** Properties of a GetSessionOptionsRequest. */ - interface IGetSessionOptionsRequest { + /** + * Properties of a GetSessionOptionsRequest. + * @deprecated Use arrow.flight.protocol.GetSessionOptionsRequest.$Properties instead. + */ + interface IGetSessionOptionsRequest extends arrow.flight.protocol.GetSessionOptionsRequest.$Properties { } /** Represents a GetSessionOptionsRequest. */ - class GetSessionOptionsRequest implements IGetSessionOptionsRequest { + class GetSessionOptionsRequest { /** * Constructs a new GetSessionOptionsRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IGetSessionOptionsRequest); + constructor(properties?: arrow.flight.protocol.GetSessionOptionsRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * Creates a new GetSessionOptionsRequest instance using the specified properties. * @param [properties] Properties to set * @returns GetSessionOptionsRequest instance */ - public static create(properties?: arrow.flight.protocol.IGetSessionOptionsRequest): arrow.flight.protocol.GetSessionOptionsRequest; + static create(properties: arrow.flight.protocol.GetSessionOptionsRequest.$Shape): arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape; + static create(properties?: arrow.flight.protocol.GetSessionOptionsRequest.$Properties): arrow.flight.protocol.GetSessionOptionsRequest; /** * Encodes the specified GetSessionOptionsRequest message. Does not implicitly {@link arrow.flight.protocol.GetSessionOptionsRequest.verify|verify} messages. @@ -2879,7 +3425,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IGetSessionOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.GetSessionOptionsRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSessionOptionsRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.GetSessionOptionsRequest.verify|verify} messages. @@ -2887,40 +3433,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IGetSessionOptionsRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.GetSessionOptionsRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSessionOptionsRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetSessionOptionsRequest + * @returns {arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape} GetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.GetSessionOptionsRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape; /** * Decodes a GetSessionOptionsRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns GetSessionOptionsRequest + * @returns {arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape} GetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.GetSessionOptionsRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape; /** * Verifies a GetSessionOptionsRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSessionOptionsRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSessionOptionsRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.GetSessionOptionsRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.GetSessionOptionsRequest; /** * Creates a plain object from a GetSessionOptionsRequest message. Also converts values to other types if specified. @@ -2928,47 +3474,64 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.GetSessionOptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.GetSessionOptionsRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSessionOptionsRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for GetSessionOptionsRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for GetSessionOptionsRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a GetSessionOptionsResult. */ - interface IGetSessionOptionsResult { + namespace GetSessionOptionsRequest { - /** GetSessionOptionsResult sessionOptions */ - sessionOptions?: ({ [k: string]: arrow.flight.protocol.ISessionOptionValue }|null); + /** Properties of a GetSessionOptionsRequest. */ + interface $Properties { + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a GetSessionOptionsRequest. */ + type $Shape = arrow.flight.protocol.GetSessionOptionsRequest.$Properties; + } + + /** + * Properties of a GetSessionOptionsResult. + * @deprecated Use arrow.flight.protocol.GetSessionOptionsResult.$Properties instead. + */ + interface IGetSessionOptionsResult extends arrow.flight.protocol.GetSessionOptionsResult.$Properties { } /** Represents a GetSessionOptionsResult. */ - class GetSessionOptionsResult implements IGetSessionOptionsResult { + class GetSessionOptionsResult { /** * Constructs a new GetSessionOptionsResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.IGetSessionOptionsResult); + constructor(properties?: arrow.flight.protocol.GetSessionOptionsResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** GetSessionOptionsResult sessionOptions. */ - public sessionOptions: { [k: string]: arrow.flight.protocol.ISessionOptionValue }; + sessionOptions: { [k: string]: arrow.flight.protocol.SessionOptionValue.$Properties }; /** * Creates a new GetSessionOptionsResult instance using the specified properties. * @param [properties] Properties to set * @returns GetSessionOptionsResult instance */ - public static create(properties?: arrow.flight.protocol.IGetSessionOptionsResult): arrow.flight.protocol.GetSessionOptionsResult; + static create(properties: arrow.flight.protocol.GetSessionOptionsResult.$Shape): arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape; + static create(properties?: arrow.flight.protocol.GetSessionOptionsResult.$Properties): arrow.flight.protocol.GetSessionOptionsResult; /** * Encodes the specified GetSessionOptionsResult message. Does not implicitly {@link arrow.flight.protocol.GetSessionOptionsResult.verify|verify} messages. @@ -2976,7 +3539,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.IGetSessionOptionsResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.GetSessionOptionsResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GetSessionOptionsResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.GetSessionOptionsResult.verify|verify} messages. @@ -2984,40 +3547,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.IGetSessionOptionsResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.GetSessionOptionsResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GetSessionOptionsResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GetSessionOptionsResult + * @returns {arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape} GetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.GetSessionOptionsResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape; /** * Decodes a GetSessionOptionsResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns GetSessionOptionsResult + * @returns {arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape} GetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.GetSessionOptionsResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape; /** * Verifies a GetSessionOptionsResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a GetSessionOptionsResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GetSessionOptionsResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.GetSessionOptionsResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.GetSessionOptionsResult; /** * Creates a plain object from a GetSessionOptionsResult message. Also converts values to other types if specified. @@ -3025,41 +3588,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.GetSessionOptionsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.GetSessionOptionsResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GetSessionOptionsResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for GetSessionOptionsResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for GetSessionOptionsResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CloseSessionRequest. */ - interface ICloseSessionRequest { + namespace GetSessionOptionsResult { + + /** Properties of a GetSessionOptionsResult. */ + interface $Properties { + + /** GetSessionOptionsResult sessionOptions */ + sessionOptions?: ({ [k: string]: arrow.flight.protocol.SessionOptionValue.$Properties }|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a GetSessionOptionsResult. */ + type $Shape = { + sessionOptions?: { [k: string]: arrow.flight.protocol.SessionOptionValue.$Shape }|null; + $unknowns?: Uint8Array[]; + }; + } + + /** + * Properties of a CloseSessionRequest. + * @deprecated Use arrow.flight.protocol.CloseSessionRequest.$Properties instead. + */ + interface ICloseSessionRequest extends arrow.flight.protocol.CloseSessionRequest.$Properties { } /** Represents a CloseSessionRequest. */ - class CloseSessionRequest implements ICloseSessionRequest { + class CloseSessionRequest { /** * Constructs a new CloseSessionRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ICloseSessionRequest); + constructor(properties?: arrow.flight.protocol.CloseSessionRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * Creates a new CloseSessionRequest instance using the specified properties. * @param [properties] Properties to set * @returns CloseSessionRequest instance */ - public static create(properties?: arrow.flight.protocol.ICloseSessionRequest): arrow.flight.protocol.CloseSessionRequest; + static create(properties: arrow.flight.protocol.CloseSessionRequest.$Shape): arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape; + static create(properties?: arrow.flight.protocol.CloseSessionRequest.$Properties): arrow.flight.protocol.CloseSessionRequest; /** * Encodes the specified CloseSessionRequest message. Does not implicitly {@link arrow.flight.protocol.CloseSessionRequest.verify|verify} messages. @@ -3067,7 +3656,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ICloseSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.CloseSessionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloseSessionRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.CloseSessionRequest.verify|verify} messages. @@ -3075,40 +3664,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ICloseSessionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.CloseSessionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloseSessionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloseSessionRequest + * @returns {arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape} CloseSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CloseSessionRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape; /** * Decodes a CloseSessionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CloseSessionRequest + * @returns {arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape} CloseSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CloseSessionRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape; /** * Verifies a CloseSessionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloseSessionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloseSessionRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CloseSessionRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CloseSessionRequest; /** * Creates a plain object from a CloseSessionRequest message. Also converts values to other types if specified. @@ -3116,47 +3705,64 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.CloseSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.CloseSessionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloseSessionRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CloseSessionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CloseSessionRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CloseSessionResult. */ - interface ICloseSessionResult { + namespace CloseSessionRequest { + + /** Properties of a CloseSessionRequest. */ + interface $Properties { + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CloseSessionRequest. */ + type $Shape = arrow.flight.protocol.CloseSessionRequest.$Properties; + } - /** CloseSessionResult status */ - status?: (arrow.flight.protocol.CloseSessionResult.Status|null); + /** + * Properties of a CloseSessionResult. + * @deprecated Use arrow.flight.protocol.CloseSessionResult.$Properties instead. + */ + interface ICloseSessionResult extends arrow.flight.protocol.CloseSessionResult.$Properties { } /** Represents a CloseSessionResult. */ - class CloseSessionResult implements ICloseSessionResult { + class CloseSessionResult { /** * Constructs a new CloseSessionResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.ICloseSessionResult); + constructor(properties?: arrow.flight.protocol.CloseSessionResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CloseSessionResult status. */ - public status: arrow.flight.protocol.CloseSessionResult.Status; + status: arrow.flight.protocol.CloseSessionResult.Status; /** * Creates a new CloseSessionResult instance using the specified properties. * @param [properties] Properties to set * @returns CloseSessionResult instance */ - public static create(properties?: arrow.flight.protocol.ICloseSessionResult): arrow.flight.protocol.CloseSessionResult; + static create(properties: arrow.flight.protocol.CloseSessionResult.$Shape): arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape; + static create(properties?: arrow.flight.protocol.CloseSessionResult.$Properties): arrow.flight.protocol.CloseSessionResult; /** * Encodes the specified CloseSessionResult message. Does not implicitly {@link arrow.flight.protocol.CloseSessionResult.verify|verify} messages. @@ -3164,7 +3770,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.ICloseSessionResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.CloseSessionResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CloseSessionResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.CloseSessionResult.verify|verify} messages. @@ -3172,40 +3778,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.ICloseSessionResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.CloseSessionResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CloseSessionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CloseSessionResult + * @returns {arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape} CloseSessionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CloseSessionResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape; /** * Decodes a CloseSessionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CloseSessionResult + * @returns {arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape} CloseSessionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CloseSessionResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape; /** * Verifies a CloseSessionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CloseSessionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CloseSessionResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CloseSessionResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.CloseSessionResult; /** * Creates a plain object from a CloseSessionResult message. Also converts values to other types if specified. @@ -3213,29 +3819,50 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.CloseSessionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.CloseSessionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CloseSessionResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CloseSessionResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CloseSessionResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace CloseSessionResult { + /** Properties of a CloseSessionResult. */ + interface $Properties { + + /** CloseSessionResult status */ + status?: (arrow.flight.protocol.CloseSessionResult.Status|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CloseSessionResult. */ + type $Shape = arrow.flight.protocol.CloseSessionResult.$Properties; + /** Status enum. */ enum Status { + + /** UNSPECIFIED value */ UNSPECIFIED = 0, + + /** CLOSED value */ CLOSED = 1, + + /** CLOSING value */ CLOSING = 2, + + /** NOT_CLOSEABLE value */ NOT_CLOSEABLE = 3 } } @@ -3249,37 +3876,38 @@ export namespace google { /** Namespace protobuf. */ namespace protobuf { - /** Properties of a Timestamp. */ - interface ITimestamp { - - /** Timestamp seconds */ - seconds?: (number|Long|null); - - /** Timestamp nanos */ - nanos?: (number|null); + /** + * Properties of a Timestamp. + * @deprecated Use google.protobuf.Timestamp.$Properties instead. + */ + interface ITimestamp extends google.protobuf.Timestamp.$Properties { } /** Represents a Timestamp. */ - class Timestamp implements ITimestamp { + class Timestamp { /** * Constructs a new Timestamp. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.ITimestamp); + constructor(properties?: google.protobuf.Timestamp.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Timestamp seconds. */ - public seconds: (number|Long); + seconds: (number|Long); /** Timestamp nanos. */ - public nanos: number; + nanos: number; /** * Creates a new Timestamp instance using the specified properties. * @param [properties] Properties to set * @returns Timestamp instance */ - public static create(properties?: google.protobuf.ITimestamp): google.protobuf.Timestamp; + static create(properties: google.protobuf.Timestamp.$Shape): google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape; + static create(properties?: google.protobuf.Timestamp.$Properties): google.protobuf.Timestamp; /** * Encodes the specified Timestamp message. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. @@ -3287,7 +3915,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.Timestamp.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Timestamp message, length delimited. Does not implicitly {@link google.protobuf.Timestamp.verify|verify} messages. @@ -3295,40 +3923,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.ITimestamp, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.Timestamp.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Timestamp message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Timestamp + * @returns {google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape} Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape; /** * Decodes a Timestamp message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Timestamp + * @returns {google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape} Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape; /** * Verifies a Timestamp message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Timestamp message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Timestamp */ - public static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; + static fromObject(object: { [k: string]: any }): google.protobuf.Timestamp; /** * Creates a plain object from a Timestamp message. Also converts values to other types if specified. @@ -3336,20 +3964,39 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.Timestamp, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Timestamp to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Timestamp - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Timestamp + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace Timestamp { + + /** Properties of a Timestamp. */ + interface $Properties { + + /** Timestamp seconds */ + seconds?: (number|Long|null); + + /** Timestamp nanos */ + nanos?: (number|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a Timestamp. */ + type $Shape = google.protobuf.Timestamp.$Properties; } } } diff --git a/src/generated/flight.js b/src/generated/flight.js index b0d684f..6105ab8 100644 --- a/src/generated/flight.js +++ b/src/generated/flight.js @@ -1,10 +1,11 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-mixed-operators, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ "use strict"; var $protobuf = require("protobufjs/minimal"); // Common aliases var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; +var $Object = $util.global.Object, $undefined = $util.global.undefined, $Error = $util.global.Error, $RangeError = $util.global.RangeError, $TypeError = $util.global.TypeError, $Number = $util.global.Number, $parseInt = $util.global.parseInt, $String = $util.global.String, $BigInt = $util.global.BigInt, $Array = $util.global.Array, $Boolean = $util.global.Boolean, $isFinite = $util.global.isFinite; // Exported root namespace var $root = $protobuf.roots["default"] || ($protobuf.roots["default"] = {}); @@ -48,11 +49,11 @@ $root.arrow = (function() { * @param {boolean} [requestDelimited=false] Whether requests are length-delimited * @param {boolean} [responseDelimited=false] Whether responses are length-delimited */ - function FlightService(rpcImpl, requestDelimited, responseDelimited) { + var FlightService = function(rpcImpl, requestDelimited, responseDelimited) { $protobuf.rpc.Service.call(this, rpcImpl, requestDelimited, responseDelimited); - } + }; - (FlightService.prototype = Object.create($protobuf.rpc.Service.prototype)).constructor = FlightService; + $Object.defineProperty(FlightService.prototype = $Object.create($protobuf.rpc.Service.prototype), "constructor", { value: FlightService, writable: true, enumerable: false, configurable: true }); /** * Creates new FlightService service using the specified rpc implementation. @@ -64,7 +65,7 @@ $root.arrow = (function() { * @param {boolean} [responseDelimited=false] Whether responses are length-delimited * @returns {FlightService} RPC service. Useful where requests and/or responses are streamed. */ - FlightService.create = function create(rpcImpl, requestDelimited, responseDelimited) { + FlightService.create = function(rpcImpl, requestDelimited, responseDelimited) { return new this(rpcImpl, requestDelimited, responseDelimited); }; @@ -79,27 +80,35 @@ $root.arrow = (function() { /** * Calls Handshake. - * @function handshake * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IHandshakeRequest} request HandshakeRequest message or plain object - * @param {arrow.flight.protocol.FlightService.HandshakeCallback} callback Node-style callback called with the error, if any, and HandshakeResponse - * @returns {undefined} - * @variation 1 + * @typedef Handshake + * @type {{ + * (request: arrow.flight.protocol.IHandshakeRequest, callback: arrow.flight.protocol.FlightService.HandshakeCallback): void; + * (request: arrow.flight.protocol.IHandshakeRequest): Promise; + * readonly name: "Handshake"; + * readonly path: "/arrow.flight.protocol.FlightService/Handshake"; + * readonly requestType: "HandshakeRequest"; + * readonly responseType: "HandshakeResponse"; + * readonly requestStream: true; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.handshake = function handshake(request, callback) { - return this.rpcCall(handshake, $root.arrow.flight.protocol.HandshakeRequest, $root.arrow.flight.protocol.HandshakeResponse, request, callback); - }, "name", { value: "Handshake" }); /** * Calls Handshake. - * @function handshake - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IHandshakeRequest} request HandshakeRequest message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#handshake + * @type {arrow.flight.protocol.FlightService.Handshake} + */ + $Object.defineProperties(FlightService.prototype.handshake = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.handshake, $root.arrow.flight.protocol.HandshakeRequest, $root.arrow.flight.protocol.HandshakeResponse, request, callback); + }, { + name: { value: "Handshake" }, + path: { value: "/arrow.flight.protocol.FlightService/Handshake" }, + requestType: { value: "HandshakeRequest" }, + responseType: { value: "HandshakeResponse" }, + requestStream: { value: true }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#listFlights}. @@ -112,27 +121,35 @@ $root.arrow = (function() { /** * Calls ListFlights. - * @function listFlights * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.ICriteria} request Criteria message or plain object - * @param {arrow.flight.protocol.FlightService.ListFlightsCallback} callback Node-style callback called with the error, if any, and FlightInfo - * @returns {undefined} - * @variation 1 + * @typedef ListFlights + * @type {{ + * (request: arrow.flight.protocol.ICriteria, callback: arrow.flight.protocol.FlightService.ListFlightsCallback): void; + * (request: arrow.flight.protocol.ICriteria): Promise; + * readonly name: "ListFlights"; + * readonly path: "/arrow.flight.protocol.FlightService/ListFlights"; + * readonly requestType: "Criteria"; + * readonly responseType: "FlightInfo"; + * readonly requestStream: undefined; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.listFlights = function listFlights(request, callback) { - return this.rpcCall(listFlights, $root.arrow.flight.protocol.Criteria, $root.arrow.flight.protocol.FlightInfo, request, callback); - }, "name", { value: "ListFlights" }); /** * Calls ListFlights. - * @function listFlights - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.ICriteria} request Criteria message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#listFlights + * @type {arrow.flight.protocol.FlightService.ListFlights} + */ + $Object.defineProperties(FlightService.prototype.listFlights = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.listFlights, $root.arrow.flight.protocol.Criteria, $root.arrow.flight.protocol.FlightInfo, request, callback); + }, { + name: { value: "ListFlights" }, + path: { value: "/arrow.flight.protocol.FlightService/ListFlights" }, + requestType: { value: "Criteria" }, + responseType: { value: "FlightInfo" }, + requestStream: { value: $undefined }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#getFlightInfo}. @@ -145,27 +162,35 @@ $root.arrow = (function() { /** * Calls GetFlightInfo. - * @function getFlightInfo * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @param {arrow.flight.protocol.FlightService.GetFlightInfoCallback} callback Node-style callback called with the error, if any, and FlightInfo - * @returns {undefined} - * @variation 1 + * @typedef GetFlightInfo + * @type {{ + * (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetFlightInfoCallback): void; + * (request: arrow.flight.protocol.IFlightDescriptor): Promise; + * readonly name: "GetFlightInfo"; + * readonly path: "/arrow.flight.protocol.FlightService/GetFlightInfo"; + * readonly requestType: "FlightDescriptor"; + * readonly responseType: "FlightInfo"; + * readonly requestStream: undefined; + * readonly responseStream: undefined; + * }} */ - Object.defineProperty(FlightService.prototype.getFlightInfo = function getFlightInfo(request, callback) { - return this.rpcCall(getFlightInfo, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.FlightInfo, request, callback); - }, "name", { value: "GetFlightInfo" }); /** * Calls GetFlightInfo. - * @function getFlightInfo - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#getFlightInfo + * @type {arrow.flight.protocol.FlightService.GetFlightInfo} + */ + $Object.defineProperties(FlightService.prototype.getFlightInfo = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.getFlightInfo, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.FlightInfo, request, callback); + }, { + name: { value: "GetFlightInfo" }, + path: { value: "/arrow.flight.protocol.FlightService/GetFlightInfo" }, + requestType: { value: "FlightDescriptor" }, + responseType: { value: "FlightInfo" }, + requestStream: { value: $undefined }, + responseStream: { value: $undefined } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#pollFlightInfo}. @@ -178,27 +203,35 @@ $root.arrow = (function() { /** * Calls PollFlightInfo. - * @function pollFlightInfo * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @param {arrow.flight.protocol.FlightService.PollFlightInfoCallback} callback Node-style callback called with the error, if any, and PollInfo - * @returns {undefined} - * @variation 1 + * @typedef PollFlightInfo + * @type {{ + * (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.PollFlightInfoCallback): void; + * (request: arrow.flight.protocol.IFlightDescriptor): Promise; + * readonly name: "PollFlightInfo"; + * readonly path: "/arrow.flight.protocol.FlightService/PollFlightInfo"; + * readonly requestType: "FlightDescriptor"; + * readonly responseType: "PollInfo"; + * readonly requestStream: undefined; + * readonly responseStream: undefined; + * }} */ - Object.defineProperty(FlightService.prototype.pollFlightInfo = function pollFlightInfo(request, callback) { - return this.rpcCall(pollFlightInfo, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.PollInfo, request, callback); - }, "name", { value: "PollFlightInfo" }); /** * Calls PollFlightInfo. - * @function pollFlightInfo - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#pollFlightInfo + * @type {arrow.flight.protocol.FlightService.PollFlightInfo} + */ + $Object.defineProperties(FlightService.prototype.pollFlightInfo = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.pollFlightInfo, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.PollInfo, request, callback); + }, { + name: { value: "PollFlightInfo" }, + path: { value: "/arrow.flight.protocol.FlightService/PollFlightInfo" }, + requestType: { value: "FlightDescriptor" }, + responseType: { value: "PollInfo" }, + requestStream: { value: $undefined }, + responseStream: { value: $undefined } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#getSchema}. @@ -211,27 +244,35 @@ $root.arrow = (function() { /** * Calls GetSchema. - * @function getSchema * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @param {arrow.flight.protocol.FlightService.GetSchemaCallback} callback Node-style callback called with the error, if any, and SchemaResult - * @returns {undefined} - * @variation 1 + * @typedef GetSchema + * @type {{ + * (request: arrow.flight.protocol.IFlightDescriptor, callback: arrow.flight.protocol.FlightService.GetSchemaCallback): void; + * (request: arrow.flight.protocol.IFlightDescriptor): Promise; + * readonly name: "GetSchema"; + * readonly path: "/arrow.flight.protocol.FlightService/GetSchema"; + * readonly requestType: "FlightDescriptor"; + * readonly responseType: "SchemaResult"; + * readonly requestStream: undefined; + * readonly responseStream: undefined; + * }} */ - Object.defineProperty(FlightService.prototype.getSchema = function getSchema(request, callback) { - return this.rpcCall(getSchema, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.SchemaResult, request, callback); - }, "name", { value: "GetSchema" }); /** * Calls GetSchema. - * @function getSchema - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightDescriptor} request FlightDescriptor message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#getSchema + * @type {arrow.flight.protocol.FlightService.GetSchema} + */ + $Object.defineProperties(FlightService.prototype.getSchema = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.getSchema, $root.arrow.flight.protocol.FlightDescriptor, $root.arrow.flight.protocol.SchemaResult, request, callback); + }, { + name: { value: "GetSchema" }, + path: { value: "/arrow.flight.protocol.FlightService/GetSchema" }, + requestType: { value: "FlightDescriptor" }, + responseType: { value: "SchemaResult" }, + requestStream: { value: $undefined }, + responseStream: { value: $undefined } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#doGet}. @@ -244,27 +285,35 @@ $root.arrow = (function() { /** * Calls DoGet. - * @function doGet * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.ITicket} request Ticket message or plain object - * @param {arrow.flight.protocol.FlightService.DoGetCallback} callback Node-style callback called with the error, if any, and FlightData - * @returns {undefined} - * @variation 1 + * @typedef DoGet + * @type {{ + * (request: arrow.flight.protocol.ITicket, callback: arrow.flight.protocol.FlightService.DoGetCallback): void; + * (request: arrow.flight.protocol.ITicket): Promise; + * readonly name: "DoGet"; + * readonly path: "/arrow.flight.protocol.FlightService/DoGet"; + * readonly requestType: "Ticket"; + * readonly responseType: "FlightData"; + * readonly requestStream: undefined; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.doGet = function doGet(request, callback) { - return this.rpcCall(doGet, $root.arrow.flight.protocol.Ticket, $root.arrow.flight.protocol.FlightData, request, callback); - }, "name", { value: "DoGet" }); /** * Calls DoGet. - * @function doGet - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.ITicket} request Ticket message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#doGet + * @type {arrow.flight.protocol.FlightService.DoGet} + */ + $Object.defineProperties(FlightService.prototype.doGet = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.doGet, $root.arrow.flight.protocol.Ticket, $root.arrow.flight.protocol.FlightData, request, callback); + }, { + name: { value: "DoGet" }, + path: { value: "/arrow.flight.protocol.FlightService/DoGet" }, + requestType: { value: "Ticket" }, + responseType: { value: "FlightData" }, + requestStream: { value: $undefined }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#doPut}. @@ -277,27 +326,35 @@ $root.arrow = (function() { /** * Calls DoPut. - * @function doPut * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightData} request FlightData message or plain object - * @param {arrow.flight.protocol.FlightService.DoPutCallback} callback Node-style callback called with the error, if any, and PutResult - * @returns {undefined} - * @variation 1 + * @typedef DoPut + * @type {{ + * (request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoPutCallback): void; + * (request: arrow.flight.protocol.IFlightData): Promise; + * readonly name: "DoPut"; + * readonly path: "/arrow.flight.protocol.FlightService/DoPut"; + * readonly requestType: "FlightData"; + * readonly responseType: "PutResult"; + * readonly requestStream: true; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.doPut = function doPut(request, callback) { - return this.rpcCall(doPut, $root.arrow.flight.protocol.FlightData, $root.arrow.flight.protocol.PutResult, request, callback); - }, "name", { value: "DoPut" }); /** * Calls DoPut. - * @function doPut - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightData} request FlightData message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#doPut + * @type {arrow.flight.protocol.FlightService.DoPut} + */ + $Object.defineProperties(FlightService.prototype.doPut = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.doPut, $root.arrow.flight.protocol.FlightData, $root.arrow.flight.protocol.PutResult, request, callback); + }, { + name: { value: "DoPut" }, + path: { value: "/arrow.flight.protocol.FlightService/DoPut" }, + requestType: { value: "FlightData" }, + responseType: { value: "PutResult" }, + requestStream: { value: true }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#doExchange}. @@ -310,27 +367,35 @@ $root.arrow = (function() { /** * Calls DoExchange. - * @function doExchange * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightData} request FlightData message or plain object - * @param {arrow.flight.protocol.FlightService.DoExchangeCallback} callback Node-style callback called with the error, if any, and FlightData - * @returns {undefined} - * @variation 1 + * @typedef DoExchange + * @type {{ + * (request: arrow.flight.protocol.IFlightData, callback: arrow.flight.protocol.FlightService.DoExchangeCallback): void; + * (request: arrow.flight.protocol.IFlightData): Promise; + * readonly name: "DoExchange"; + * readonly path: "/arrow.flight.protocol.FlightService/DoExchange"; + * readonly requestType: "FlightData"; + * readonly responseType: "FlightData"; + * readonly requestStream: true; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.doExchange = function doExchange(request, callback) { - return this.rpcCall(doExchange, $root.arrow.flight.protocol.FlightData, $root.arrow.flight.protocol.FlightData, request, callback); - }, "name", { value: "DoExchange" }); /** * Calls DoExchange. - * @function doExchange - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IFlightData} request FlightData message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#doExchange + * @type {arrow.flight.protocol.FlightService.DoExchange} + */ + $Object.defineProperties(FlightService.prototype.doExchange = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.doExchange, $root.arrow.flight.protocol.FlightData, $root.arrow.flight.protocol.FlightData, request, callback); + }, { + name: { value: "DoExchange" }, + path: { value: "/arrow.flight.protocol.FlightService/DoExchange" }, + requestType: { value: "FlightData" }, + responseType: { value: "FlightData" }, + requestStream: { value: true }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#doAction}. @@ -343,27 +408,35 @@ $root.arrow = (function() { /** * Calls DoAction. - * @function doAction * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IAction} request Action message or plain object - * @param {arrow.flight.protocol.FlightService.DoActionCallback} callback Node-style callback called with the error, if any, and Result - * @returns {undefined} - * @variation 1 + * @typedef DoAction + * @type {{ + * (request: arrow.flight.protocol.IAction, callback: arrow.flight.protocol.FlightService.DoActionCallback): void; + * (request: arrow.flight.protocol.IAction): Promise; + * readonly name: "DoAction"; + * readonly path: "/arrow.flight.protocol.FlightService/DoAction"; + * readonly requestType: "Action"; + * readonly responseType: "Result"; + * readonly requestStream: undefined; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.doAction = function doAction(request, callback) { - return this.rpcCall(doAction, $root.arrow.flight.protocol.Action, $root.arrow.flight.protocol.Result, request, callback); - }, "name", { value: "DoAction" }); /** * Calls DoAction. - * @function doAction - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IAction} request Action message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#doAction + * @type {arrow.flight.protocol.FlightService.DoAction} + */ + $Object.defineProperties(FlightService.prototype.doAction = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.doAction, $root.arrow.flight.protocol.Action, $root.arrow.flight.protocol.Result, request, callback); + }, { + name: { value: "DoAction" }, + path: { value: "/arrow.flight.protocol.FlightService/DoAction" }, + requestType: { value: "Action" }, + responseType: { value: "Result" }, + requestStream: { value: $undefined }, + responseStream: { value: true } + }); /** * Callback as used by {@link arrow.flight.protocol.FlightService#listActions}. @@ -376,27 +449,35 @@ $root.arrow = (function() { /** * Calls ListActions. - * @function listActions * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IEmpty} request Empty message or plain object - * @param {arrow.flight.protocol.FlightService.ListActionsCallback} callback Node-style callback called with the error, if any, and ActionType - * @returns {undefined} - * @variation 1 + * @typedef ListActions + * @type {{ + * (request: arrow.flight.protocol.IEmpty, callback: arrow.flight.protocol.FlightService.ListActionsCallback): void; + * (request: arrow.flight.protocol.IEmpty): Promise; + * readonly name: "ListActions"; + * readonly path: "/arrow.flight.protocol.FlightService/ListActions"; + * readonly requestType: "Empty"; + * readonly responseType: "ActionType"; + * readonly requestStream: undefined; + * readonly responseStream: true; + * }} */ - Object.defineProperty(FlightService.prototype.listActions = function listActions(request, callback) { - return this.rpcCall(listActions, $root.arrow.flight.protocol.Empty, $root.arrow.flight.protocol.ActionType, request, callback); - }, "name", { value: "ListActions" }); /** * Calls ListActions. - * @function listActions - * @memberof arrow.flight.protocol.FlightService - * @instance - * @param {arrow.flight.protocol.IEmpty} request Empty message or plain object - * @returns {Promise} Promise - * @variation 2 - */ + * @name arrow.flight.protocol.FlightService#listActions + * @type {arrow.flight.protocol.FlightService.ListActions} + */ + $Object.defineProperties(FlightService.prototype.listActions = function(request, callback) { + return $protobuf.rpc.Service.prototype.rpcCall.call(this, FlightService.prototype.listActions, $root.arrow.flight.protocol.Empty, $root.arrow.flight.protocol.ActionType, request, callback); + }, { + name: { value: "ListActions" }, + path: { value: "/arrow.flight.protocol.FlightService/ListActions" }, + requestType: { value: "Empty" }, + responseType: { value: "ActionType" }, + requestStream: { value: $undefined }, + responseStream: { value: true } + }); return FlightService; })(); @@ -405,26 +486,39 @@ $root.arrow = (function() { /** * Properties of a HandshakeRequest. - * @memberof arrow.flight.protocol - * @interface IHandshakeRequest + * @typedef {Object} arrow.flight.protocol.HandshakeRequest.$Properties * @property {number|Long|null} [protocolVersion] HandshakeRequest protocolVersion * @property {Uint8Array|null} [payload] HandshakeRequest payload + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a HandshakeRequest. + * @memberof arrow.flight.protocol + * @interface IHandshakeRequest + * @augments arrow.flight.protocol.HandshakeRequest.$Properties + * @deprecated Use arrow.flight.protocol.HandshakeRequest.$Properties instead. + */ + + /** + * Shape of a HandshakeRequest. + * @typedef {arrow.flight.protocol.HandshakeRequest.$Properties} arrow.flight.protocol.HandshakeRequest.$Shape */ /** * Constructs a new HandshakeRequest. * @memberof arrow.flight.protocol * @classdesc Represents a HandshakeRequest. - * @implements IHandshakeRequest * @constructor - * @param {arrow.flight.protocol.IHandshakeRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.HandshakeRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function HandshakeRequest(properties) { + var HandshakeRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * HandshakeRequest protocolVersion. @@ -447,10 +541,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.HandshakeRequest * @static - * @param {arrow.flight.protocol.IHandshakeRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.HandshakeRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.HandshakeRequest} HandshakeRequest instance + * @type {{ + * (properties: arrow.flight.protocol.HandshakeRequest.$Shape): arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape; + * (properties?: arrow.flight.protocol.HandshakeRequest.$Properties): arrow.flight.protocol.HandshakeRequest; + * }} */ - HandshakeRequest.create = function create(properties) { + HandshakeRequest.create = function(properties) { return new HandshakeRequest(properties); }; @@ -459,17 +557,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.HandshakeRequest * @static - * @param {arrow.flight.protocol.IHandshakeRequest} message HandshakeRequest message or plain object to encode + * @param {arrow.flight.protocol.HandshakeRequest.$Properties} message HandshakeRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - HandshakeRequest.encode = function encode(message, writer) { + HandshakeRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.protocolVersion != null && Object.hasOwnProperty.call(message, "protocolVersion")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion") && (typeof message.protocolVersion === "object" ? message.protocolVersion.low || message.protocolVersion.high : message.protocolVersion !== 0)) writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.protocolVersion); - if (message.payload != null && Object.hasOwnProperty.call(message, "payload")) + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload") && message.payload.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.payload); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -478,12 +583,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.HandshakeRequest * @static - * @param {arrow.flight.protocol.IHandshakeRequest} message HandshakeRequest message or plain object to encode + * @param {arrow.flight.protocol.HandshakeRequest.$Properties} message HandshakeRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - HandshakeRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + HandshakeRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -493,30 +598,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.HandshakeRequest} HandshakeRequest + * @returns {arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape} HandshakeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - HandshakeRequest.decode = function decode(reader, length) { + HandshakeRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.HandshakeRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.HandshakeRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.protocolVersion = reader.uint64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) + message.protocolVersion = value; + else + delete message.protocolVersion; + continue; } case 2: { - message.payload = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.payload = value; + else + delete message.payload; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -526,11 +670,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.HandshakeRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.HandshakeRequest} HandshakeRequest + * @returns {arrow.flight.protocol.HandshakeRequest & arrow.flight.protocol.HandshakeRequest.$Shape} HandshakeRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - HandshakeRequest.decodeDelimited = function decodeDelimited(reader) { + HandshakeRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -544,13 +688,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - HandshakeRequest.verify = function verify(message) { + HandshakeRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion")) if (!$util.isInteger(message.protocolVersion) && !(message.protocolVersion && $util.isInteger(message.protocolVersion.low) && $util.isInteger(message.protocolVersion.high))) return "protocolVersion: integer|Long expected"; - if (message.payload != null && message.hasOwnProperty("payload")) + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload")) if (!(message.payload && typeof message.payload.length === "number" || $util.isString(message.payload))) return "payload: buffer expected"; return null; @@ -564,24 +712,32 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.HandshakeRequest} HandshakeRequest */ - HandshakeRequest.fromObject = function fromObject(object) { + HandshakeRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.HandshakeRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.HandshakeRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.HandshakeRequest(); if (object.protocolVersion != null) - if ($util.Long) - (message.protocolVersion = $util.Long.fromValue(object.protocolVersion)).unsigned = true; - else if (typeof object.protocolVersion === "string") - message.protocolVersion = parseInt(object.protocolVersion, 10); - else if (typeof object.protocolVersion === "number") - message.protocolVersion = object.protocolVersion; - else if (typeof object.protocolVersion === "object") - message.protocolVersion = new $util.LongBits(object.protocolVersion.low >>> 0, object.protocolVersion.high >>> 0).toNumber(true); + if (typeof object.protocolVersion === "object" ? object.protocolVersion.low || object.protocolVersion.high : $Number(object.protocolVersion) !== 0) + if ($util.Long) + message.protocolVersion = $util.Long.fromValue(object.protocolVersion, true); + else if (typeof object.protocolVersion === "string") + message.protocolVersion = $parseInt(object.protocolVersion, 10); + else if (typeof object.protocolVersion === "number") + message.protocolVersion = object.protocolVersion; + else if (typeof object.protocolVersion === "object") + message.protocolVersion = new $util.LongBits(object.protocolVersion.low >>> 0, object.protocolVersion.high >>> 0).toNumber(true); if (object.payload != null) - if (typeof object.payload === "string") - $util.base64.decode(object.payload, message.payload = $util.newBuffer($util.base64.length(object.payload)), 0); - else if (object.payload.length >= 0) - message.payload = object.payload; + if (object.payload.length) + if (typeof object.payload === "string") + $util.base64.decode(object.payload, message.payload = $util.newBuffer($util.base64.length(object.payload)), 0); + else if (object.payload.length >= 0) + message.payload = object.payload; return message; }; @@ -594,31 +750,37 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - HandshakeRequest.toObject = function toObject(message, options) { + HandshakeRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { if ($util.Long) { var long = new $util.Long(0, 0, true); - object.protocolVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.protocolVersion = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.protocolVersion = options.longs === String ? "0" : 0; - if (options.bytes === String) + object.protocolVersion = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; + if (options.bytes === $String) object.payload = ""; else { object.payload = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.payload = $util.newBuffer(object.payload); } } - if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion")) - if (typeof message.protocolVersion === "number") - object.protocolVersion = options.longs === String ? String(message.protocolVersion) : message.protocolVersion; + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.protocolVersion = typeof message.protocolVersion === "number" ? $BigInt(message.protocolVersion) : $util.Long.fromBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0, true).toBigInt(); + else if (typeof message.protocolVersion === "number") + object.protocolVersion = options.longs === $String ? $String(message.protocolVersion) : message.protocolVersion; else - object.protocolVersion = options.longs === String ? $util.Long.prototype.toString.call(message.protocolVersion) : options.longs === Number ? new $util.LongBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0).toNumber(true) : message.protocolVersion; - if (message.payload != null && message.hasOwnProperty("payload")) - object.payload = options.bytes === String ? $util.base64.encode(message.payload, 0, message.payload.length) : options.bytes === Array ? Array.prototype.slice.call(message.payload) : message.payload; + object.protocolVersion = options.longs === $String ? $util.Long.prototype.toString.call(message.protocolVersion) : options.longs === $Number ? new $util.LongBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0).toNumber(true) : message.protocolVersion; + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload")) + object.payload = options.bytes === $String ? $util.base64.encode(message.payload, 0, message.payload.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.payload) : message.payload; return object; }; @@ -629,23 +791,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - HandshakeRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + HandshakeRequest.prototype.toJSON = function() { + return HandshakeRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for HandshakeRequest + * Gets the type url for HandshakeRequest * @function getTypeUrl * @memberof arrow.flight.protocol.HandshakeRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - HandshakeRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.HandshakeRequest"; + HandshakeRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.HandshakeRequest"; }; return HandshakeRequest; @@ -655,26 +816,39 @@ $root.arrow = (function() { /** * Properties of a HandshakeResponse. - * @memberof arrow.flight.protocol - * @interface IHandshakeResponse + * @typedef {Object} arrow.flight.protocol.HandshakeResponse.$Properties * @property {number|Long|null} [protocolVersion] HandshakeResponse protocolVersion * @property {Uint8Array|null} [payload] HandshakeResponse payload + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a HandshakeResponse. + * @memberof arrow.flight.protocol + * @interface IHandshakeResponse + * @augments arrow.flight.protocol.HandshakeResponse.$Properties + * @deprecated Use arrow.flight.protocol.HandshakeResponse.$Properties instead. + */ + + /** + * Shape of a HandshakeResponse. + * @typedef {arrow.flight.protocol.HandshakeResponse.$Properties} arrow.flight.protocol.HandshakeResponse.$Shape */ /** * Constructs a new HandshakeResponse. * @memberof arrow.flight.protocol * @classdesc Represents a HandshakeResponse. - * @implements IHandshakeResponse * @constructor - * @param {arrow.flight.protocol.IHandshakeResponse=} [properties] Properties to set + * @param {arrow.flight.protocol.HandshakeResponse.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function HandshakeResponse(properties) { + var HandshakeResponse = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * HandshakeResponse protocolVersion. @@ -697,10 +871,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.HandshakeResponse * @static - * @param {arrow.flight.protocol.IHandshakeResponse=} [properties] Properties to set + * @param {arrow.flight.protocol.HandshakeResponse.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.HandshakeResponse} HandshakeResponse instance + * @type {{ + * (properties: arrow.flight.protocol.HandshakeResponse.$Shape): arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape; + * (properties?: arrow.flight.protocol.HandshakeResponse.$Properties): arrow.flight.protocol.HandshakeResponse; + * }} */ - HandshakeResponse.create = function create(properties) { + HandshakeResponse.create = function(properties) { return new HandshakeResponse(properties); }; @@ -709,17 +887,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.HandshakeResponse * @static - * @param {arrow.flight.protocol.IHandshakeResponse} message HandshakeResponse message or plain object to encode + * @param {arrow.flight.protocol.HandshakeResponse.$Properties} message HandshakeResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - HandshakeResponse.encode = function encode(message, writer) { + HandshakeResponse.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.protocolVersion != null && Object.hasOwnProperty.call(message, "protocolVersion")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion") && (typeof message.protocolVersion === "object" ? message.protocolVersion.low || message.protocolVersion.high : message.protocolVersion !== 0)) writer.uint32(/* id 1, wireType 0 =*/8).uint64(message.protocolVersion); - if (message.payload != null && Object.hasOwnProperty.call(message, "payload")) + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload") && message.payload.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.payload); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -728,12 +913,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.HandshakeResponse * @static - * @param {arrow.flight.protocol.IHandshakeResponse} message HandshakeResponse message or plain object to encode + * @param {arrow.flight.protocol.HandshakeResponse.$Properties} message HandshakeResponse message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - HandshakeResponse.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + HandshakeResponse.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -743,30 +928,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.HandshakeResponse} HandshakeResponse + * @returns {arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape} HandshakeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - HandshakeResponse.decode = function decode(reader, length) { + HandshakeResponse.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.HandshakeResponse(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.HandshakeResponse(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.protocolVersion = reader.uint64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.uint64()) === "object" ? value.low || value.high : value !== 0) + message.protocolVersion = value; + else + delete message.protocolVersion; + continue; } case 2: { - message.payload = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.payload = value; + else + delete message.payload; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -776,11 +1000,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.HandshakeResponse * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.HandshakeResponse} HandshakeResponse + * @returns {arrow.flight.protocol.HandshakeResponse & arrow.flight.protocol.HandshakeResponse.$Shape} HandshakeResponse * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - HandshakeResponse.decodeDelimited = function decodeDelimited(reader) { + HandshakeResponse.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -794,13 +1018,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - HandshakeResponse.verify = function verify(message) { + HandshakeResponse.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion")) if (!$util.isInteger(message.protocolVersion) && !(message.protocolVersion && $util.isInteger(message.protocolVersion.low) && $util.isInteger(message.protocolVersion.high))) return "protocolVersion: integer|Long expected"; - if (message.payload != null && message.hasOwnProperty("payload")) + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload")) if (!(message.payload && typeof message.payload.length === "number" || $util.isString(message.payload))) return "payload: buffer expected"; return null; @@ -814,24 +1042,32 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.HandshakeResponse} HandshakeResponse */ - HandshakeResponse.fromObject = function fromObject(object) { + HandshakeResponse.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.HandshakeResponse) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.HandshakeResponse: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.HandshakeResponse(); if (object.protocolVersion != null) - if ($util.Long) - (message.protocolVersion = $util.Long.fromValue(object.protocolVersion)).unsigned = true; - else if (typeof object.protocolVersion === "string") - message.protocolVersion = parseInt(object.protocolVersion, 10); - else if (typeof object.protocolVersion === "number") - message.protocolVersion = object.protocolVersion; - else if (typeof object.protocolVersion === "object") - message.protocolVersion = new $util.LongBits(object.protocolVersion.low >>> 0, object.protocolVersion.high >>> 0).toNumber(true); + if (typeof object.protocolVersion === "object" ? object.protocolVersion.low || object.protocolVersion.high : $Number(object.protocolVersion) !== 0) + if ($util.Long) + message.protocolVersion = $util.Long.fromValue(object.protocolVersion, true); + else if (typeof object.protocolVersion === "string") + message.protocolVersion = $parseInt(object.protocolVersion, 10); + else if (typeof object.protocolVersion === "number") + message.protocolVersion = object.protocolVersion; + else if (typeof object.protocolVersion === "object") + message.protocolVersion = new $util.LongBits(object.protocolVersion.low >>> 0, object.protocolVersion.high >>> 0).toNumber(true); if (object.payload != null) - if (typeof object.payload === "string") - $util.base64.decode(object.payload, message.payload = $util.newBuffer($util.base64.length(object.payload)), 0); - else if (object.payload.length >= 0) - message.payload = object.payload; + if (object.payload.length) + if (typeof object.payload === "string") + $util.base64.decode(object.payload, message.payload = $util.newBuffer($util.base64.length(object.payload)), 0); + else if (object.payload.length >= 0) + message.payload = object.payload; return message; }; @@ -844,31 +1080,37 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - HandshakeResponse.toObject = function toObject(message, options) { + HandshakeResponse.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { if ($util.Long) { var long = new $util.Long(0, 0, true); - object.protocolVersion = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.protocolVersion = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.protocolVersion = options.longs === String ? "0" : 0; - if (options.bytes === String) + object.protocolVersion = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; + if (options.bytes === $String) object.payload = ""; else { object.payload = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.payload = $util.newBuffer(object.payload); } } - if (message.protocolVersion != null && message.hasOwnProperty("protocolVersion")) - if (typeof message.protocolVersion === "number") - object.protocolVersion = options.longs === String ? String(message.protocolVersion) : message.protocolVersion; + if (message.protocolVersion != null && $Object.hasOwnProperty.call(message, "protocolVersion")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.protocolVersion = typeof message.protocolVersion === "number" ? $BigInt(message.protocolVersion) : $util.Long.fromBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0, true).toBigInt(); + else if (typeof message.protocolVersion === "number") + object.protocolVersion = options.longs === $String ? $String(message.protocolVersion) : message.protocolVersion; else - object.protocolVersion = options.longs === String ? $util.Long.prototype.toString.call(message.protocolVersion) : options.longs === Number ? new $util.LongBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0).toNumber(true) : message.protocolVersion; - if (message.payload != null && message.hasOwnProperty("payload")) - object.payload = options.bytes === String ? $util.base64.encode(message.payload, 0, message.payload.length) : options.bytes === Array ? Array.prototype.slice.call(message.payload) : message.payload; + object.protocolVersion = options.longs === $String ? $util.Long.prototype.toString.call(message.protocolVersion) : options.longs === $Number ? new $util.LongBits(message.protocolVersion.low >>> 0, message.protocolVersion.high >>> 0).toNumber(true) : message.protocolVersion; + if (message.payload != null && $Object.hasOwnProperty.call(message, "payload")) + object.payload = options.bytes === $String ? $util.base64.encode(message.payload, 0, message.payload.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.payload) : message.payload; return object; }; @@ -879,23 +1121,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - HandshakeResponse.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + HandshakeResponse.prototype.toJSON = function() { + return HandshakeResponse.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for HandshakeResponse + * Gets the type url for HandshakeResponse * @function getTypeUrl * @memberof arrow.flight.protocol.HandshakeResponse * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - HandshakeResponse.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.HandshakeResponse"; + HandshakeResponse.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.HandshakeResponse"; }; return HandshakeResponse; @@ -905,26 +1146,39 @@ $root.arrow = (function() { /** * Properties of a BasicAuth. - * @memberof arrow.flight.protocol - * @interface IBasicAuth + * @typedef {Object} arrow.flight.protocol.BasicAuth.$Properties * @property {string|null} [username] BasicAuth username * @property {string|null} [password] BasicAuth password + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a BasicAuth. + * @memberof arrow.flight.protocol + * @interface IBasicAuth + * @augments arrow.flight.protocol.BasicAuth.$Properties + * @deprecated Use arrow.flight.protocol.BasicAuth.$Properties instead. + */ + + /** + * Shape of a BasicAuth. + * @typedef {arrow.flight.protocol.BasicAuth.$Properties} arrow.flight.protocol.BasicAuth.$Shape */ /** * Constructs a new BasicAuth. * @memberof arrow.flight.protocol * @classdesc Represents a BasicAuth. - * @implements IBasicAuth * @constructor - * @param {arrow.flight.protocol.IBasicAuth=} [properties] Properties to set + * @param {arrow.flight.protocol.BasicAuth.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function BasicAuth(properties) { + var BasicAuth = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * BasicAuth username. @@ -947,10 +1201,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.BasicAuth * @static - * @param {arrow.flight.protocol.IBasicAuth=} [properties] Properties to set + * @param {arrow.flight.protocol.BasicAuth.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.BasicAuth} BasicAuth instance + * @type {{ + * (properties: arrow.flight.protocol.BasicAuth.$Shape): arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape; + * (properties?: arrow.flight.protocol.BasicAuth.$Properties): arrow.flight.protocol.BasicAuth; + * }} */ - BasicAuth.create = function create(properties) { + BasicAuth.create = function(properties) { return new BasicAuth(properties); }; @@ -959,17 +1217,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.BasicAuth * @static - * @param {arrow.flight.protocol.IBasicAuth} message BasicAuth message or plain object to encode + * @param {arrow.flight.protocol.BasicAuth.$Properties} message BasicAuth message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BasicAuth.encode = function encode(message, writer) { + BasicAuth.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.username != null && Object.hasOwnProperty.call(message, "username")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.username != null && $Object.hasOwnProperty.call(message, "username") && message.username !== "") writer.uint32(/* id 2, wireType 2 =*/18).string(message.username); - if (message.password != null && Object.hasOwnProperty.call(message, "password")) + if (message.password != null && $Object.hasOwnProperty.call(message, "password") && message.password !== "") writer.uint32(/* id 3, wireType 2 =*/26).string(message.password); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -978,12 +1243,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.BasicAuth * @static - * @param {arrow.flight.protocol.IBasicAuth} message BasicAuth message or plain object to encode + * @param {arrow.flight.protocol.BasicAuth.$Properties} message BasicAuth message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - BasicAuth.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + BasicAuth.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -993,30 +1258,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.BasicAuth} BasicAuth + * @returns {arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape} BasicAuth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BasicAuth.decode = function decode(reader, length) { + BasicAuth.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.BasicAuth(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.BasicAuth(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 2: { - message.username = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.username = value; + else + delete message.username; + continue; } case 3: { - message.password = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.password = value; + else + delete message.password; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1026,11 +1330,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.BasicAuth * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.BasicAuth} BasicAuth + * @returns {arrow.flight.protocol.BasicAuth & arrow.flight.protocol.BasicAuth.$Shape} BasicAuth * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - BasicAuth.decodeDelimited = function decodeDelimited(reader) { + BasicAuth.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1044,13 +1348,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - BasicAuth.verify = function verify(message) { + BasicAuth.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.username != null && message.hasOwnProperty("username")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.username != null && $Object.hasOwnProperty.call(message, "username")) if (!$util.isString(message.username)) return "username: string expected"; - if (message.password != null && message.hasOwnProperty("password")) + if (message.password != null && $Object.hasOwnProperty.call(message, "password")) if (!$util.isString(message.password)) return "password: string expected"; return null; @@ -1064,14 +1372,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.BasicAuth} BasicAuth */ - BasicAuth.fromObject = function fromObject(object) { + BasicAuth.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.BasicAuth) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.BasicAuth: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.BasicAuth(); if (object.username != null) - message.username = String(object.username); + if (typeof object.username !== "string" || object.username.length) + message.username = $String(object.username); if (object.password != null) - message.password = String(object.password); + if (typeof object.password !== "string" || object.password.length) + message.password = $String(object.password); return message; }; @@ -1084,17 +1400,21 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - BasicAuth.toObject = function toObject(message, options) { + BasicAuth.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.username = ""; object.password = ""; } - if (message.username != null && message.hasOwnProperty("username")) + if (message.username != null && $Object.hasOwnProperty.call(message, "username")) object.username = message.username; - if (message.password != null && message.hasOwnProperty("password")) + if (message.password != null && $Object.hasOwnProperty.call(message, "password")) object.password = message.password; return object; }; @@ -1106,23 +1426,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - BasicAuth.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + BasicAuth.prototype.toJSON = function() { + return BasicAuth.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for BasicAuth + * Gets the type url for BasicAuth * @function getTypeUrl * @memberof arrow.flight.protocol.BasicAuth * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - BasicAuth.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.BasicAuth"; + BasicAuth.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.BasicAuth"; }; return BasicAuth; @@ -1130,36 +1449,53 @@ $root.arrow = (function() { protocol.Empty = (function() { + /** + * Properties of an Empty. + * @typedef {Object} arrow.flight.protocol.Empty.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an Empty. * @memberof arrow.flight.protocol * @interface IEmpty + * @augments arrow.flight.protocol.Empty.$Properties + * @deprecated Use arrow.flight.protocol.Empty.$Properties instead. + */ + + /** + * Shape of an Empty. + * @typedef {arrow.flight.protocol.Empty.$Properties} arrow.flight.protocol.Empty.$Shape */ /** * Constructs a new Empty. * @memberof arrow.flight.protocol * @classdesc Represents an Empty. - * @implements IEmpty * @constructor - * @param {arrow.flight.protocol.IEmpty=} [properties] Properties to set + * @param {arrow.flight.protocol.Empty.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Empty(properties) { + var Empty = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new Empty instance using the specified properties. * @function create * @memberof arrow.flight.protocol.Empty * @static - * @param {arrow.flight.protocol.IEmpty=} [properties] Properties to set + * @param {arrow.flight.protocol.Empty.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Empty} Empty instance + * @type {{ + * (properties: arrow.flight.protocol.Empty.$Shape): arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape; + * (properties?: arrow.flight.protocol.Empty.$Properties): arrow.flight.protocol.Empty; + * }} */ - Empty.create = function create(properties) { + Empty.create = function(properties) { return new Empty(properties); }; @@ -1168,13 +1504,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Empty * @static - * @param {arrow.flight.protocol.IEmpty} message Empty message or plain object to encode + * @param {arrow.flight.protocol.Empty.$Properties} message Empty message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Empty.encode = function encode(message, writer) { + Empty.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1183,12 +1526,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Empty * @static - * @param {arrow.flight.protocol.IEmpty} message Empty message or plain object to encode + * @param {arrow.flight.protocol.Empty.$Properties} message Empty message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Empty.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Empty.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1198,22 +1541,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Empty} Empty + * @returns {arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape} Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Empty.decode = function decode(reader, length) { + Empty.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Empty(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Empty(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1223,11 +1592,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Empty * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Empty} Empty + * @returns {arrow.flight.protocol.Empty & arrow.flight.protocol.Empty.$Shape} Empty * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Empty.decodeDelimited = function decodeDelimited(reader) { + Empty.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1241,9 +1610,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Empty.verify = function verify(message) { + Empty.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -1255,9 +1628,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Empty} Empty */ - Empty.fromObject = function fromObject(object) { + Empty.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Empty) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Empty: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.Empty(); }; @@ -1270,7 +1649,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Empty.toObject = function toObject() { + Empty.toObject = function () { return {}; }; @@ -1281,23 +1660,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Empty.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Empty.prototype.toJSON = function() { + return Empty.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Empty + * Gets the type url for Empty * @function getTypeUrl * @memberof arrow.flight.protocol.Empty * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Empty.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Empty"; + Empty.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Empty"; }; return Empty; @@ -1307,26 +1685,39 @@ $root.arrow = (function() { /** * Properties of an ActionType. - * @memberof arrow.flight.protocol - * @interface IActionType + * @typedef {Object} arrow.flight.protocol.ActionType.$Properties * @property {string|null} [type] ActionType type * @property {string|null} [description] ActionType description + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionType. + * @memberof arrow.flight.protocol + * @interface IActionType + * @augments arrow.flight.protocol.ActionType.$Properties + * @deprecated Use arrow.flight.protocol.ActionType.$Properties instead. + */ + + /** + * Shape of an ActionType. + * @typedef {arrow.flight.protocol.ActionType.$Properties} arrow.flight.protocol.ActionType.$Shape */ /** * Constructs a new ActionType. * @memberof arrow.flight.protocol * @classdesc Represents an ActionType. - * @implements IActionType * @constructor - * @param {arrow.flight.protocol.IActionType=} [properties] Properties to set + * @param {arrow.flight.protocol.ActionType.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionType(properties) { + var ActionType = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionType type. @@ -1349,10 +1740,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.ActionType * @static - * @param {arrow.flight.protocol.IActionType=} [properties] Properties to set + * @param {arrow.flight.protocol.ActionType.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.ActionType} ActionType instance + * @type {{ + * (properties: arrow.flight.protocol.ActionType.$Shape): arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape; + * (properties?: arrow.flight.protocol.ActionType.$Properties): arrow.flight.protocol.ActionType; + * }} */ - ActionType.create = function create(properties) { + ActionType.create = function(properties) { return new ActionType(properties); }; @@ -1361,17 +1756,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.ActionType * @static - * @param {arrow.flight.protocol.IActionType} message ActionType message or plain object to encode + * @param {arrow.flight.protocol.ActionType.$Properties} message ActionType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionType.encode = function encode(message, writer) { + ActionType.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.type != null && $Object.hasOwnProperty.call(message, "type") && message.type !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.type); - if (message.description != null && Object.hasOwnProperty.call(message, "description")) + if (message.description != null && $Object.hasOwnProperty.call(message, "description") && message.description !== "") writer.uint32(/* id 2, wireType 2 =*/18).string(message.description); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1380,12 +1782,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.ActionType * @static - * @param {arrow.flight.protocol.IActionType} message ActionType message or plain object to encode + * @param {arrow.flight.protocol.ActionType.$Properties} message ActionType message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionType.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionType.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1395,30 +1797,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.ActionType} ActionType + * @returns {arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape} ActionType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionType.decode = function decode(reader, length) { + ActionType.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.ActionType(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.ActionType(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.type = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.type = value; + else + delete message.type; + continue; } case 2: { - message.description = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.description = value; + else + delete message.description; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1428,11 +1869,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.ActionType * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.ActionType} ActionType + * @returns {arrow.flight.protocol.ActionType & arrow.flight.protocol.ActionType.$Shape} ActionType * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionType.decodeDelimited = function decodeDelimited(reader) { + ActionType.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1446,13 +1887,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionType.verify = function verify(message) { + ActionType.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) if (!$util.isString(message.type)) return "type: string expected"; - if (message.description != null && message.hasOwnProperty("description")) + if (message.description != null && $Object.hasOwnProperty.call(message, "description")) if (!$util.isString(message.description)) return "description: string expected"; return null; @@ -1466,14 +1911,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.ActionType} ActionType */ - ActionType.fromObject = function fromObject(object) { + ActionType.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.ActionType) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.ActionType: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.ActionType(); if (object.type != null) - message.type = String(object.type); + if (typeof object.type !== "string" || object.type.length) + message.type = $String(object.type); if (object.description != null) - message.description = String(object.description); + if (typeof object.description !== "string" || object.description.length) + message.description = $String(object.description); return message; }; @@ -1486,17 +1939,21 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionType.toObject = function toObject(message, options) { + ActionType.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.type = ""; object.description = ""; } - if (message.type != null && message.hasOwnProperty("type")) + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) object.type = message.type; - if (message.description != null && message.hasOwnProperty("description")) + if (message.description != null && $Object.hasOwnProperty.call(message, "description")) object.description = message.description; return object; }; @@ -1508,23 +1965,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionType.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionType.prototype.toJSON = function() { + return ActionType.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionType + * Gets the type url for ActionType * @function getTypeUrl * @memberof arrow.flight.protocol.ActionType * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionType.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.ActionType"; + ActionType.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.ActionType"; }; return ActionType; @@ -1532,27 +1988,40 @@ $root.arrow = (function() { protocol.Criteria = (function() { + /** + * Properties of a Criteria. + * @typedef {Object} arrow.flight.protocol.Criteria.$Properties + * @property {Uint8Array|null} [expression] Criteria expression + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a Criteria. * @memberof arrow.flight.protocol * @interface ICriteria - * @property {Uint8Array|null} [expression] Criteria expression + * @augments arrow.flight.protocol.Criteria.$Properties + * @deprecated Use arrow.flight.protocol.Criteria.$Properties instead. + */ + + /** + * Shape of a Criteria. + * @typedef {arrow.flight.protocol.Criteria.$Properties} arrow.flight.protocol.Criteria.$Shape */ /** * Constructs a new Criteria. * @memberof arrow.flight.protocol * @classdesc Represents a Criteria. - * @implements ICriteria * @constructor - * @param {arrow.flight.protocol.ICriteria=} [properties] Properties to set + * @param {arrow.flight.protocol.Criteria.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Criteria(properties) { + var Criteria = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Criteria expression. @@ -1567,10 +2036,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.Criteria * @static - * @param {arrow.flight.protocol.ICriteria=} [properties] Properties to set + * @param {arrow.flight.protocol.Criteria.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Criteria} Criteria instance + * @type {{ + * (properties: arrow.flight.protocol.Criteria.$Shape): arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape; + * (properties?: arrow.flight.protocol.Criteria.$Properties): arrow.flight.protocol.Criteria; + * }} */ - Criteria.create = function create(properties) { + Criteria.create = function(properties) { return new Criteria(properties); }; @@ -1579,15 +2052,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Criteria * @static - * @param {arrow.flight.protocol.ICriteria} message Criteria message or plain object to encode + * @param {arrow.flight.protocol.Criteria.$Properties} message Criteria message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Criteria.encode = function encode(message, writer) { + Criteria.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.expression != null && Object.hasOwnProperty.call(message, "expression")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.expression != null && $Object.hasOwnProperty.call(message, "expression") && message.expression.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.expression); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1596,12 +2076,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Criteria * @static - * @param {arrow.flight.protocol.ICriteria} message Criteria message or plain object to encode + * @param {arrow.flight.protocol.Criteria.$Properties} message Criteria message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Criteria.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Criteria.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1611,26 +2091,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Criteria} Criteria + * @returns {arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape} Criteria * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Criteria.decode = function decode(reader, length) { + Criteria.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Criteria(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Criteria(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.expression = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.expression = value; + else + delete message.expression; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1640,11 +2154,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Criteria * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Criteria} Criteria + * @returns {arrow.flight.protocol.Criteria & arrow.flight.protocol.Criteria.$Shape} Criteria * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Criteria.decodeDelimited = function decodeDelimited(reader) { + Criteria.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1658,10 +2172,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Criteria.verify = function verify(message) { + Criteria.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.expression != null && message.hasOwnProperty("expression")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.expression != null && $Object.hasOwnProperty.call(message, "expression")) if (!(message.expression && typeof message.expression.length === "number" || $util.isString(message.expression))) return "expression: buffer expected"; return null; @@ -1675,15 +2193,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Criteria} Criteria */ - Criteria.fromObject = function fromObject(object) { + Criteria.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Criteria) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Criteria: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.Criteria(); if (object.expression != null) - if (typeof object.expression === "string") - $util.base64.decode(object.expression, message.expression = $util.newBuffer($util.base64.length(object.expression)), 0); - else if (object.expression.length >= 0) - message.expression = object.expression; + if (object.expression.length) + if (typeof object.expression === "string") + $util.base64.decode(object.expression, message.expression = $util.newBuffer($util.base64.length(object.expression)), 0); + else if (object.expression.length >= 0) + message.expression = object.expression; return message; }; @@ -1696,20 +2221,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Criteria.toObject = function toObject(message, options) { + Criteria.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.expression = ""; else { object.expression = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.expression = $util.newBuffer(object.expression); } - if (message.expression != null && message.hasOwnProperty("expression")) - object.expression = options.bytes === String ? $util.base64.encode(message.expression, 0, message.expression.length) : options.bytes === Array ? Array.prototype.slice.call(message.expression) : message.expression; + if (message.expression != null && $Object.hasOwnProperty.call(message, "expression")) + object.expression = options.bytes === $String ? $util.base64.encode(message.expression, 0, message.expression.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.expression) : message.expression; return object; }; @@ -1720,23 +2249,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Criteria.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Criteria.prototype.toJSON = function() { + return Criteria.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Criteria + * Gets the type url for Criteria * @function getTypeUrl * @memberof arrow.flight.protocol.Criteria * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Criteria.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Criteria"; + Criteria.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Criteria"; }; return Criteria; @@ -1746,26 +2274,39 @@ $root.arrow = (function() { /** * Properties of an Action. - * @memberof arrow.flight.protocol - * @interface IAction + * @typedef {Object} arrow.flight.protocol.Action.$Properties * @property {string|null} [type] Action type * @property {Uint8Array|null} [body] Action body + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an Action. + * @memberof arrow.flight.protocol + * @interface IAction + * @augments arrow.flight.protocol.Action.$Properties + * @deprecated Use arrow.flight.protocol.Action.$Properties instead. + */ + + /** + * Shape of an Action. + * @typedef {arrow.flight.protocol.Action.$Properties} arrow.flight.protocol.Action.$Shape */ /** * Constructs a new Action. * @memberof arrow.flight.protocol * @classdesc Represents an Action. - * @implements IAction * @constructor - * @param {arrow.flight.protocol.IAction=} [properties] Properties to set + * @param {arrow.flight.protocol.Action.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Action(properties) { + var Action = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Action type. @@ -1788,10 +2329,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.Action * @static - * @param {arrow.flight.protocol.IAction=} [properties] Properties to set + * @param {arrow.flight.protocol.Action.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Action} Action instance + * @type {{ + * (properties: arrow.flight.protocol.Action.$Shape): arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape; + * (properties?: arrow.flight.protocol.Action.$Properties): arrow.flight.protocol.Action; + * }} */ - Action.create = function create(properties) { + Action.create = function(properties) { return new Action(properties); }; @@ -1800,17 +2345,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Action * @static - * @param {arrow.flight.protocol.IAction} message Action message or plain object to encode + * @param {arrow.flight.protocol.Action.$Properties} message Action message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Action.encode = function encode(message, writer) { + Action.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.type != null && $Object.hasOwnProperty.call(message, "type") && message.type !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.type); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) + if (message.body != null && $Object.hasOwnProperty.call(message, "body") && message.body.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.body); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1819,12 +2371,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Action * @static - * @param {arrow.flight.protocol.IAction} message Action message or plain object to encode + * @param {arrow.flight.protocol.Action.$Properties} message Action message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Action.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Action.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1834,30 +2386,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Action} Action + * @returns {arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape} Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Action.decode = function decode(reader, length) { + Action.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Action(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Action(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.type = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.type = value; + else + delete message.type; + continue; } case 2: { - message.body = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.body = value; + else + delete message.body; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1867,11 +2458,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Action * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Action} Action + * @returns {arrow.flight.protocol.Action & arrow.flight.protocol.Action.$Shape} Action * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Action.decodeDelimited = function decodeDelimited(reader) { + Action.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1885,13 +2476,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Action.verify = function verify(message) { + Action.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) if (!$util.isString(message.type)) return "type: string expected"; - if (message.body != null && message.hasOwnProperty("body")) + if (message.body != null && $Object.hasOwnProperty.call(message, "body")) if (!(message.body && typeof message.body.length === "number" || $util.isString(message.body))) return "body: buffer expected"; return null; @@ -1905,17 +2500,25 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Action} Action */ - Action.fromObject = function fromObject(object) { + Action.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Action) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Action: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.Action(); if (object.type != null) - message.type = String(object.type); + if (typeof object.type !== "string" || object.type.length) + message.type = $String(object.type); if (object.body != null) - if (typeof object.body === "string") - $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0); - else if (object.body.length >= 0) - message.body = object.body; + if (object.body.length) + if (typeof object.body === "string") + $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0); + else if (object.body.length >= 0) + message.body = object.body; return message; }; @@ -1928,24 +2531,28 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Action.toObject = function toObject(message, options) { + Action.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.type = ""; - if (options.bytes === String) + if (options.bytes === $String) object.body = ""; else { object.body = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.body = $util.newBuffer(object.body); } } - if (message.type != null && message.hasOwnProperty("type")) + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) object.type = message.type; - if (message.body != null && message.hasOwnProperty("body")) - object.body = options.bytes === String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === Array ? Array.prototype.slice.call(message.body) : message.body; + if (message.body != null && $Object.hasOwnProperty.call(message, "body")) + object.body = options.bytes === $String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.body) : message.body; return object; }; @@ -1956,23 +2563,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Action.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Action.prototype.toJSON = function() { + return Action.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Action + * Gets the type url for Action * @function getTypeUrl * @memberof arrow.flight.protocol.Action * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Action.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Action"; + Action.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Action"; }; return Action; @@ -1980,27 +2586,40 @@ $root.arrow = (function() { protocol.Result = (function() { + /** + * Properties of a Result. + * @typedef {Object} arrow.flight.protocol.Result.$Properties + * @property {Uint8Array|null} [body] Result body + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a Result. * @memberof arrow.flight.protocol * @interface IResult - * @property {Uint8Array|null} [body] Result body + * @augments arrow.flight.protocol.Result.$Properties + * @deprecated Use arrow.flight.protocol.Result.$Properties instead. + */ + + /** + * Shape of a Result. + * @typedef {arrow.flight.protocol.Result.$Properties} arrow.flight.protocol.Result.$Shape */ /** * Constructs a new Result. * @memberof arrow.flight.protocol * @classdesc Represents a Result. - * @implements IResult * @constructor - * @param {arrow.flight.protocol.IResult=} [properties] Properties to set + * @param {arrow.flight.protocol.Result.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Result(properties) { + var Result = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Result body. @@ -2015,10 +2634,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.Result * @static - * @param {arrow.flight.protocol.IResult=} [properties] Properties to set + * @param {arrow.flight.protocol.Result.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Result} Result instance + * @type {{ + * (properties: arrow.flight.protocol.Result.$Shape): arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape; + * (properties?: arrow.flight.protocol.Result.$Properties): arrow.flight.protocol.Result; + * }} */ - Result.create = function create(properties) { + Result.create = function(properties) { return new Result(properties); }; @@ -2027,15 +2650,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Result * @static - * @param {arrow.flight.protocol.IResult} message Result message or plain object to encode + * @param {arrow.flight.protocol.Result.$Properties} message Result message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Result.encode = function encode(message, writer) { + Result.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.body != null && Object.hasOwnProperty.call(message, "body")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.body != null && $Object.hasOwnProperty.call(message, "body") && message.body.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.body); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2044,12 +2674,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Result * @static - * @param {arrow.flight.protocol.IResult} message Result message or plain object to encode + * @param {arrow.flight.protocol.Result.$Properties} message Result message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Result.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Result.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2059,26 +2689,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Result} Result + * @returns {arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape} Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Result.decode = function decode(reader, length) { + Result.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Result(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Result(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.body = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.body = value; + else + delete message.body; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2088,11 +2752,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Result * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Result} Result + * @returns {arrow.flight.protocol.Result & arrow.flight.protocol.Result.$Shape} Result * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Result.decodeDelimited = function decodeDelimited(reader) { + Result.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2106,10 +2770,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Result.verify = function verify(message) { + Result.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.body != null && message.hasOwnProperty("body")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.body != null && $Object.hasOwnProperty.call(message, "body")) if (!(message.body && typeof message.body.length === "number" || $util.isString(message.body))) return "body: buffer expected"; return null; @@ -2123,15 +2791,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Result} Result */ - Result.fromObject = function fromObject(object) { + Result.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Result) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Result: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.Result(); if (object.body != null) - if (typeof object.body === "string") - $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0); - else if (object.body.length >= 0) - message.body = object.body; + if (object.body.length) + if (typeof object.body === "string") + $util.base64.decode(object.body, message.body = $util.newBuffer($util.base64.length(object.body)), 0); + else if (object.body.length >= 0) + message.body = object.body; return message; }; @@ -2144,20 +2819,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Result.toObject = function toObject(message, options) { + Result.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.body = ""; else { object.body = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.body = $util.newBuffer(object.body); } - if (message.body != null && message.hasOwnProperty("body")) - object.body = options.bytes === String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === Array ? Array.prototype.slice.call(message.body) : message.body; + if (message.body != null && $Object.hasOwnProperty.call(message, "body")) + object.body = options.bytes === $String ? $util.base64.encode(message.body, 0, message.body.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.body) : message.body; return object; }; @@ -2168,23 +2847,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Result.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Result.prototype.toJSON = function() { + return Result.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Result + * Gets the type url for Result * @function getTypeUrl * @memberof arrow.flight.protocol.Result * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Result.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Result"; + Result.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Result"; }; return Result; @@ -2192,27 +2870,40 @@ $root.arrow = (function() { protocol.SchemaResult = (function() { + /** + * Properties of a SchemaResult. + * @typedef {Object} arrow.flight.protocol.SchemaResult.$Properties + * @property {Uint8Array|null} [schema] SchemaResult schema + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a SchemaResult. * @memberof arrow.flight.protocol * @interface ISchemaResult - * @property {Uint8Array|null} [schema] SchemaResult schema + * @augments arrow.flight.protocol.SchemaResult.$Properties + * @deprecated Use arrow.flight.protocol.SchemaResult.$Properties instead. + */ + + /** + * Shape of a SchemaResult. + * @typedef {arrow.flight.protocol.SchemaResult.$Properties} arrow.flight.protocol.SchemaResult.$Shape */ /** * Constructs a new SchemaResult. * @memberof arrow.flight.protocol * @classdesc Represents a SchemaResult. - * @implements ISchemaResult * @constructor - * @param {arrow.flight.protocol.ISchemaResult=} [properties] Properties to set + * @param {arrow.flight.protocol.SchemaResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SchemaResult(properties) { + var SchemaResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SchemaResult schema. @@ -2227,10 +2918,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SchemaResult * @static - * @param {arrow.flight.protocol.ISchemaResult=} [properties] Properties to set + * @param {arrow.flight.protocol.SchemaResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SchemaResult} SchemaResult instance + * @type {{ + * (properties: arrow.flight.protocol.SchemaResult.$Shape): arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape; + * (properties?: arrow.flight.protocol.SchemaResult.$Properties): arrow.flight.protocol.SchemaResult; + * }} */ - SchemaResult.create = function create(properties) { + SchemaResult.create = function(properties) { return new SchemaResult(properties); }; @@ -2239,15 +2934,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SchemaResult * @static - * @param {arrow.flight.protocol.ISchemaResult} message SchemaResult message or plain object to encode + * @param {arrow.flight.protocol.SchemaResult.$Properties} message SchemaResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SchemaResult.encode = function encode(message, writer) { + SchemaResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.schema != null && Object.hasOwnProperty.call(message, "schema")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema") && message.schema.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.schema); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2256,12 +2958,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SchemaResult * @static - * @param {arrow.flight.protocol.ISchemaResult} message SchemaResult message or plain object to encode + * @param {arrow.flight.protocol.SchemaResult.$Properties} message SchemaResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SchemaResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SchemaResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2271,26 +2973,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SchemaResult} SchemaResult + * @returns {arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape} SchemaResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SchemaResult.decode = function decode(reader, length) { + SchemaResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SchemaResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SchemaResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.schema = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.schema = value; + else + delete message.schema; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2300,11 +3036,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SchemaResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SchemaResult} SchemaResult + * @returns {arrow.flight.protocol.SchemaResult & arrow.flight.protocol.SchemaResult.$Shape} SchemaResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SchemaResult.decodeDelimited = function decodeDelimited(reader) { + SchemaResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2318,10 +3054,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SchemaResult.verify = function verify(message) { + SchemaResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.schema != null && message.hasOwnProperty("schema")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) if (!(message.schema && typeof message.schema.length === "number" || $util.isString(message.schema))) return "schema: buffer expected"; return null; @@ -2335,15 +3075,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SchemaResult} SchemaResult */ - SchemaResult.fromObject = function fromObject(object) { + SchemaResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SchemaResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SchemaResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SchemaResult(); if (object.schema != null) - if (typeof object.schema === "string") - $util.base64.decode(object.schema, message.schema = $util.newBuffer($util.base64.length(object.schema)), 0); - else if (object.schema.length >= 0) - message.schema = object.schema; + if (object.schema.length) + if (typeof object.schema === "string") + $util.base64.decode(object.schema, message.schema = $util.newBuffer($util.base64.length(object.schema)), 0); + else if (object.schema.length >= 0) + message.schema = object.schema; return message; }; @@ -2356,20 +3103,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SchemaResult.toObject = function toObject(message, options) { + SchemaResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.schema = ""; else { object.schema = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.schema = $util.newBuffer(object.schema); } - if (message.schema != null && message.hasOwnProperty("schema")) - object.schema = options.bytes === String ? $util.base64.encode(message.schema, 0, message.schema.length) : options.bytes === Array ? Array.prototype.slice.call(message.schema) : message.schema; + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) + object.schema = options.bytes === $String ? $util.base64.encode(message.schema, 0, message.schema.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.schema) : message.schema; return object; }; @@ -2380,23 +3131,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - SchemaResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SchemaResult.prototype.toJSON = function() { + return SchemaResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SchemaResult + * Gets the type url for SchemaResult * @function getTypeUrl * @memberof arrow.flight.protocol.SchemaResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SchemaResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SchemaResult"; + SchemaResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SchemaResult"; }; return SchemaResult; @@ -2406,28 +3156,41 @@ $root.arrow = (function() { /** * Properties of a FlightDescriptor. - * @memberof arrow.flight.protocol - * @interface IFlightDescriptor + * @typedef {Object} arrow.flight.protocol.FlightDescriptor.$Properties * @property {arrow.flight.protocol.FlightDescriptor.DescriptorType|null} [type] FlightDescriptor type * @property {Uint8Array|null} [cmd] FlightDescriptor cmd * @property {Array.|null} [path] FlightDescriptor path + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FlightDescriptor. + * @memberof arrow.flight.protocol + * @interface IFlightDescriptor + * @augments arrow.flight.protocol.FlightDescriptor.$Properties + * @deprecated Use arrow.flight.protocol.FlightDescriptor.$Properties instead. + */ + + /** + * Shape of a FlightDescriptor. + * @typedef {arrow.flight.protocol.FlightDescriptor.$Properties} arrow.flight.protocol.FlightDescriptor.$Shape */ /** * Constructs a new FlightDescriptor. * @memberof arrow.flight.protocol * @classdesc Represents a FlightDescriptor. - * @implements IFlightDescriptor * @constructor - * @param {arrow.flight.protocol.IFlightDescriptor=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightDescriptor.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FlightDescriptor(properties) { + var FlightDescriptor = function (properties) { this.path = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FlightDescriptor type. @@ -2458,10 +3221,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.FlightDescriptor * @static - * @param {arrow.flight.protocol.IFlightDescriptor=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightDescriptor.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.FlightDescriptor} FlightDescriptor instance + * @type {{ + * (properties: arrow.flight.protocol.FlightDescriptor.$Shape): arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape; + * (properties?: arrow.flight.protocol.FlightDescriptor.$Properties): arrow.flight.protocol.FlightDescriptor; + * }} */ - FlightDescriptor.create = function create(properties) { + FlightDescriptor.create = function(properties) { return new FlightDescriptor(properties); }; @@ -2470,20 +3237,27 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.FlightDescriptor * @static - * @param {arrow.flight.protocol.IFlightDescriptor} message FlightDescriptor message or plain object to encode + * @param {arrow.flight.protocol.FlightDescriptor.$Properties} message FlightDescriptor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightDescriptor.encode = function encode(message, writer) { + FlightDescriptor.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.type != null && $Object.hasOwnProperty.call(message, "type") && message.type !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.type); - if (message.cmd != null && Object.hasOwnProperty.call(message, "cmd")) + if (message.cmd != null && $Object.hasOwnProperty.call(message, "cmd") && message.cmd.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.cmd); if (message.path != null && message.path.length) for (var i = 0; i < message.path.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.path[i]); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2492,12 +3266,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.FlightDescriptor * @static - * @param {arrow.flight.protocol.IFlightDescriptor} message FlightDescriptor message or plain object to encode + * @param {arrow.flight.protocol.FlightDescriptor.$Properties} message FlightDescriptor message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightDescriptor.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FlightDescriptor.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2507,36 +3281,77 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.FlightDescriptor} FlightDescriptor + * @returns {arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape} FlightDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightDescriptor.decode = function decode(reader, length) { + FlightDescriptor.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.FlightDescriptor(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.FlightDescriptor(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.type = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.type = value; + else + delete message.type; + continue; } case 2: { - message.cmd = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.cmd = value; + else + delete message.cmd; + continue; } case 3: { + if (wireType !== 2) + break; if (!(message.path && message.path.length)) message.path = []; - message.path.push(reader.string()); - break; + message.path.push(reader.stringVerify()); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2546,11 +3361,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.FlightDescriptor * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.FlightDescriptor} FlightDescriptor + * @returns {arrow.flight.protocol.FlightDescriptor & arrow.flight.protocol.FlightDescriptor.$Shape} FlightDescriptor * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightDescriptor.decodeDelimited = function decodeDelimited(reader) { + FlightDescriptor.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2564,23 +3379,21 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FlightDescriptor.verify = function verify(message) { + FlightDescriptor.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + if (typeof message.type !== "number" || (message.type | 0) !== message.type) return "type: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.cmd != null && message.hasOwnProperty("cmd")) + if (message.cmd != null && $Object.hasOwnProperty.call(message, "cmd")) if (!(message.cmd && typeof message.cmd.length === "number" || $util.isString(message.cmd))) return "cmd: buffer expected"; - if (message.path != null && message.hasOwnProperty("path")) { - if (!Array.isArray(message.path)) + if (message.path != null && $Object.hasOwnProperty.call(message, "path")) { + if (!$Array.isArray(message.path)) return "path: array expected"; for (var i = 0; i < message.path.length; ++i) if (!$util.isString(message.path[i])) @@ -2597,41 +3410,46 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.FlightDescriptor} FlightDescriptor */ - FlightDescriptor.fromObject = function fromObject(object) { + FlightDescriptor.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.FlightDescriptor) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.FlightDescriptor: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.FlightDescriptor(); - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; + if (object.type !== 0 && (typeof object.type !== "string" || $root.arrow.flight.protocol.FlightDescriptor.DescriptorType[object.type] !== 0)) + switch (object.type) { + case "UNKNOWN": + case 0: + message.type = 0; + break; + case "PATH": + case 1: + message.type = 1; + break; + case "CMD": + case 2: + message.type = 2; break; + default: + if (typeof object.type === "number" && (object.type | 0) === object.type) + message.type = object.type; } - break; - case "UNKNOWN": - case 0: - message.type = 0; - break; - case "PATH": - case 1: - message.type = 1; - break; - case "CMD": - case 2: - message.type = 2; - break; - } if (object.cmd != null) - if (typeof object.cmd === "string") - $util.base64.decode(object.cmd, message.cmd = $util.newBuffer($util.base64.length(object.cmd)), 0); - else if (object.cmd.length >= 0) - message.cmd = object.cmd; + if (object.cmd.length) + if (typeof object.cmd === "string") + $util.base64.decode(object.cmd, message.cmd = $util.newBuffer($util.base64.length(object.cmd)), 0); + else if (object.cmd.length >= 0) + message.cmd = object.cmd; if (object.path) { - if (!Array.isArray(object.path)) - throw TypeError(".arrow.flight.protocol.FlightDescriptor.path: array expected"); - message.path = []; + if (!$Array.isArray(object.path)) + throw $TypeError(".arrow.flight.protocol.FlightDescriptor.path: array expected"); + message.path = $Array(object.path.length); for (var i = 0; i < object.path.length; ++i) - message.path[i] = String(object.path[i]); + message.path[i] = $String(object.path[i]); } return message; }; @@ -2645,28 +3463,32 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FlightDescriptor.toObject = function toObject(message, options) { + FlightDescriptor.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.path = []; if (options.defaults) { - object.type = options.enums === String ? "UNKNOWN" : 0; - if (options.bytes === String) + object.type = options.enums === $String ? "UNKNOWN" : 0; + if (options.bytes === $String) object.cmd = ""; else { object.cmd = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.cmd = $util.newBuffer(object.cmd); } } - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.arrow.flight.protocol.FlightDescriptor.DescriptorType[message.type] === undefined ? message.type : $root.arrow.flight.protocol.FlightDescriptor.DescriptorType[message.type] : message.type; - if (message.cmd != null && message.hasOwnProperty("cmd")) - object.cmd = options.bytes === String ? $util.base64.encode(message.cmd, 0, message.cmd.length) : options.bytes === Array ? Array.prototype.slice.call(message.cmd) : message.cmd; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + object.type = options.enums === $String ? $root.arrow.flight.protocol.FlightDescriptor.DescriptorType[message.type] === $undefined ? message.type : $root.arrow.flight.protocol.FlightDescriptor.DescriptorType[message.type] : message.type; + if (message.cmd != null && $Object.hasOwnProperty.call(message, "cmd")) + object.cmd = options.bytes === $String ? $util.base64.encode(message.cmd, 0, message.cmd.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.cmd) : message.cmd; if (message.path && message.path.length) { - object.path = []; + object.path = $Array(message.path.length); for (var j = 0; j < message.path.length; ++j) object.path[j] = message.path[j]; } @@ -2680,23 +3502,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - FlightDescriptor.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FlightDescriptor.prototype.toJSON = function() { + return FlightDescriptor.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FlightDescriptor + * Gets the type url for FlightDescriptor * @function getTypeUrl * @memberof arrow.flight.protocol.FlightDescriptor * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FlightDescriptor.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.FlightDescriptor"; + FlightDescriptor.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.FlightDescriptor"; }; /** @@ -2708,7 +3529,7 @@ $root.arrow = (function() { * @property {number} CMD=2 CMD value */ FlightDescriptor.DescriptorType = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "UNKNOWN"] = 0; values[valuesById[1] = "PATH"] = 1; values[valuesById[2] = "CMD"] = 2; @@ -2722,32 +3543,45 @@ $root.arrow = (function() { /** * Properties of a FlightInfo. - * @memberof arrow.flight.protocol - * @interface IFlightInfo + * @typedef {Object} arrow.flight.protocol.FlightInfo.$Properties * @property {Uint8Array|null} [schema] FlightInfo schema - * @property {arrow.flight.protocol.IFlightDescriptor|null} [flightDescriptor] FlightInfo flightDescriptor - * @property {Array.|null} [endpoint] FlightInfo endpoint + * @property {arrow.flight.protocol.FlightDescriptor.$Properties|null} [flightDescriptor] FlightInfo flightDescriptor + * @property {Array.|null} [endpoint] FlightInfo endpoint * @property {number|Long|null} [totalRecords] FlightInfo totalRecords * @property {number|Long|null} [totalBytes] FlightInfo totalBytes * @property {boolean|null} [ordered] FlightInfo ordered * @property {Uint8Array|null} [appMetadata] FlightInfo appMetadata + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FlightInfo. + * @memberof arrow.flight.protocol + * @interface IFlightInfo + * @augments arrow.flight.protocol.FlightInfo.$Properties + * @deprecated Use arrow.flight.protocol.FlightInfo.$Properties instead. + */ + + /** + * Shape of a FlightInfo. + * @typedef {arrow.flight.protocol.FlightInfo.$Properties} arrow.flight.protocol.FlightInfo.$Shape */ /** * Constructs a new FlightInfo. * @memberof arrow.flight.protocol * @classdesc Represents a FlightInfo. - * @implements IFlightInfo * @constructor - * @param {arrow.flight.protocol.IFlightInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FlightInfo(properties) { + var FlightInfo = function (properties) { this.endpoint = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FlightInfo schema. @@ -2759,7 +3593,7 @@ $root.arrow = (function() { /** * FlightInfo flightDescriptor. - * @member {arrow.flight.protocol.IFlightDescriptor|null|undefined} flightDescriptor + * @member {arrow.flight.protocol.FlightDescriptor.$Properties|null|undefined} flightDescriptor * @memberof arrow.flight.protocol.FlightInfo * @instance */ @@ -2767,7 +3601,7 @@ $root.arrow = (function() { /** * FlightInfo endpoint. - * @member {Array.} endpoint + * @member {Array.} endpoint * @memberof arrow.flight.protocol.FlightInfo * @instance */ @@ -2810,10 +3644,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.FlightInfo * @static - * @param {arrow.flight.protocol.IFlightInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightInfo.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.FlightInfo} FlightInfo instance + * @type {{ + * (properties: arrow.flight.protocol.FlightInfo.$Shape): arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape; + * (properties?: arrow.flight.protocol.FlightInfo.$Properties): arrow.flight.protocol.FlightInfo; + * }} */ - FlightInfo.create = function create(properties) { + FlightInfo.create = function(properties) { return new FlightInfo(properties); }; @@ -2822,28 +3660,35 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.FlightInfo * @static - * @param {arrow.flight.protocol.IFlightInfo} message FlightInfo message or plain object to encode + * @param {arrow.flight.protocol.FlightInfo.$Properties} message FlightInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightInfo.encode = function encode(message, writer) { + FlightInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.schema != null && Object.hasOwnProperty.call(message, "schema")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema") && message.schema.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.schema); - if (message.flightDescriptor != null && Object.hasOwnProperty.call(message, "flightDescriptor")) - $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); if (message.endpoint != null && message.endpoint.length) for (var i = 0; i < message.endpoint.length; ++i) - $root.arrow.flight.protocol.FlightEndpoint.encode(message.endpoint[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.totalRecords != null && Object.hasOwnProperty.call(message, "totalRecords")) + $root.arrow.flight.protocol.FlightEndpoint.encode(message.endpoint[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.totalRecords != null && $Object.hasOwnProperty.call(message, "totalRecords") && (typeof message.totalRecords === "object" ? message.totalRecords.low || message.totalRecords.high : message.totalRecords !== 0)) writer.uint32(/* id 4, wireType 0 =*/32).int64(message.totalRecords); - if (message.totalBytes != null && Object.hasOwnProperty.call(message, "totalBytes")) + if (message.totalBytes != null && $Object.hasOwnProperty.call(message, "totalBytes") && (typeof message.totalBytes === "object" ? message.totalBytes.low || message.totalBytes.high : message.totalBytes !== 0)) writer.uint32(/* id 5, wireType 0 =*/40).int64(message.totalBytes); - if (message.ordered != null && Object.hasOwnProperty.call(message, "ordered")) + if (message.ordered != null && $Object.hasOwnProperty.call(message, "ordered") && message.ordered !== false) writer.uint32(/* id 6, wireType 0 =*/48).bool(message.ordered); - if (message.appMetadata != null && Object.hasOwnProperty.call(message, "appMetadata")) + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata") && message.appMetadata.length) writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.appMetadata); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2852,12 +3697,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.FlightInfo * @static - * @param {arrow.flight.protocol.IFlightInfo} message FlightInfo message or plain object to encode + * @param {arrow.flight.protocol.FlightInfo.$Properties} message FlightInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FlightInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2867,52 +3712,110 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.FlightInfo} FlightInfo + * @returns {arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape} FlightInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightInfo.decode = function decode(reader, length) { + FlightInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.FlightInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.FlightInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.schema = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.schema = value; + else + delete message.schema; + continue; } case 2: { - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32(), $undefined, _depth + 1, message.flightDescriptor); + continue; } case 3: { + if (wireType !== 2) + break; if (!(message.endpoint && message.endpoint.length)) message.endpoint = []; - message.endpoint.push($root.arrow.flight.protocol.FlightEndpoint.decode(reader, reader.uint32())); - break; + message.endpoint.push($root.arrow.flight.protocol.FlightEndpoint.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 4: { - message.totalRecords = reader.int64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.int64()) === "object" ? value.low || value.high : value !== 0) + message.totalRecords = value; + else + delete message.totalRecords; + continue; } case 5: { - message.totalBytes = reader.int64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.int64()) === "object" ? value.low || value.high : value !== 0) + message.totalBytes = value; + else + delete message.totalBytes; + continue; } case 6: { - message.ordered = reader.bool(); - break; + if (wireType !== 0) + break; + if (value = reader.bool()) + message.ordered = value; + else + delete message.ordered; + continue; } case 7: { - message.appMetadata = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.appMetadata = value; + else + delete message.appMetadata; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2922,11 +3825,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.FlightInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.FlightInfo} FlightInfo + * @returns {arrow.flight.protocol.FlightInfo & arrow.flight.protocol.FlightInfo.$Shape} FlightInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightInfo.decodeDelimited = function decodeDelimited(reader) { + FlightInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2940,36 +3843,40 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FlightInfo.verify = function verify(message) { + FlightInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.schema != null && message.hasOwnProperty("schema")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) if (!(message.schema && typeof message.schema.length === "number" || $util.isString(message.schema))) return "schema: buffer expected"; - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) { - var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) { + var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor, _depth + 1); if (error) return "flightDescriptor." + error; } - if (message.endpoint != null && message.hasOwnProperty("endpoint")) { - if (!Array.isArray(message.endpoint)) + if (message.endpoint != null && $Object.hasOwnProperty.call(message, "endpoint")) { + if (!$Array.isArray(message.endpoint)) return "endpoint: array expected"; for (var i = 0; i < message.endpoint.length; ++i) { - var error = $root.arrow.flight.protocol.FlightEndpoint.verify(message.endpoint[i]); + var error = $root.arrow.flight.protocol.FlightEndpoint.verify(message.endpoint[i], _depth + 1); if (error) return "endpoint." + error; } } - if (message.totalRecords != null && message.hasOwnProperty("totalRecords")) + if (message.totalRecords != null && $Object.hasOwnProperty.call(message, "totalRecords")) if (!$util.isInteger(message.totalRecords) && !(message.totalRecords && $util.isInteger(message.totalRecords.low) && $util.isInteger(message.totalRecords.high))) return "totalRecords: integer|Long expected"; - if (message.totalBytes != null && message.hasOwnProperty("totalBytes")) + if (message.totalBytes != null && $Object.hasOwnProperty.call(message, "totalBytes")) if (!$util.isInteger(message.totalBytes) && !(message.totalBytes && $util.isInteger(message.totalBytes.low) && $util.isInteger(message.totalBytes.high))) return "totalBytes: integer|Long expected"; - if (message.ordered != null && message.hasOwnProperty("ordered")) + if (message.ordered != null && $Object.hasOwnProperty.call(message, "ordered")) if (typeof message.ordered !== "boolean") return "ordered: boolean expected"; - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) if (!(message.appMetadata && typeof message.appMetadata.length === "number" || $util.isString(message.appMetadata))) return "appMetadata: buffer expected"; return null; @@ -2983,55 +3890,66 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.FlightInfo} FlightInfo */ - FlightInfo.fromObject = function fromObject(object) { + FlightInfo.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.FlightInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.FlightInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.FlightInfo(); if (object.schema != null) - if (typeof object.schema === "string") - $util.base64.decode(object.schema, message.schema = $util.newBuffer($util.base64.length(object.schema)), 0); - else if (object.schema.length >= 0) - message.schema = object.schema; + if (object.schema.length) + if (typeof object.schema === "string") + $util.base64.decode(object.schema, message.schema = $util.newBuffer($util.base64.length(object.schema)), 0); + else if (object.schema.length >= 0) + message.schema = object.schema; if (object.flightDescriptor != null) { - if (typeof object.flightDescriptor !== "object") - throw TypeError(".arrow.flight.protocol.FlightInfo.flightDescriptor: object expected"); - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor); + if (!$util.isObject(object.flightDescriptor)) + throw $TypeError(".arrow.flight.protocol.FlightInfo.flightDescriptor: object expected"); + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor, _depth + 1); } if (object.endpoint) { - if (!Array.isArray(object.endpoint)) - throw TypeError(".arrow.flight.protocol.FlightInfo.endpoint: array expected"); - message.endpoint = []; + if (!$Array.isArray(object.endpoint)) + throw $TypeError(".arrow.flight.protocol.FlightInfo.endpoint: array expected"); + message.endpoint = $Array(object.endpoint.length); for (var i = 0; i < object.endpoint.length; ++i) { - if (typeof object.endpoint[i] !== "object") - throw TypeError(".arrow.flight.protocol.FlightInfo.endpoint: object expected"); - message.endpoint[i] = $root.arrow.flight.protocol.FlightEndpoint.fromObject(object.endpoint[i]); + if (!$util.isObject(object.endpoint[i])) + throw $TypeError(".arrow.flight.protocol.FlightInfo.endpoint: object expected"); + message.endpoint[i] = $root.arrow.flight.protocol.FlightEndpoint.fromObject(object.endpoint[i], _depth + 1); } } if (object.totalRecords != null) - if ($util.Long) - (message.totalRecords = $util.Long.fromValue(object.totalRecords)).unsigned = false; - else if (typeof object.totalRecords === "string") - message.totalRecords = parseInt(object.totalRecords, 10); - else if (typeof object.totalRecords === "number") - message.totalRecords = object.totalRecords; - else if (typeof object.totalRecords === "object") - message.totalRecords = new $util.LongBits(object.totalRecords.low >>> 0, object.totalRecords.high >>> 0).toNumber(); + if (typeof object.totalRecords === "object" ? object.totalRecords.low || object.totalRecords.high : $Number(object.totalRecords) !== 0) + if ($util.Long) + message.totalRecords = $util.Long.fromValue(object.totalRecords, false); + else if (typeof object.totalRecords === "string") + message.totalRecords = $parseInt(object.totalRecords, 10); + else if (typeof object.totalRecords === "number") + message.totalRecords = object.totalRecords; + else if (typeof object.totalRecords === "object") + message.totalRecords = new $util.LongBits(object.totalRecords.low >>> 0, object.totalRecords.high >>> 0).toNumber(); if (object.totalBytes != null) - if ($util.Long) - (message.totalBytes = $util.Long.fromValue(object.totalBytes)).unsigned = false; - else if (typeof object.totalBytes === "string") - message.totalBytes = parseInt(object.totalBytes, 10); - else if (typeof object.totalBytes === "number") - message.totalBytes = object.totalBytes; - else if (typeof object.totalBytes === "object") - message.totalBytes = new $util.LongBits(object.totalBytes.low >>> 0, object.totalBytes.high >>> 0).toNumber(); + if (typeof object.totalBytes === "object" ? object.totalBytes.low || object.totalBytes.high : $Number(object.totalBytes) !== 0) + if ($util.Long) + message.totalBytes = $util.Long.fromValue(object.totalBytes, false); + else if (typeof object.totalBytes === "string") + message.totalBytes = $parseInt(object.totalBytes, 10); + else if (typeof object.totalBytes === "number") + message.totalBytes = object.totalBytes; + else if (typeof object.totalBytes === "object") + message.totalBytes = new $util.LongBits(object.totalBytes.low >>> 0, object.totalBytes.high >>> 0).toNumber(); if (object.ordered != null) - message.ordered = Boolean(object.ordered); + if (object.ordered) + message.ordered = $Boolean(object.ordered); if (object.appMetadata != null) - if (typeof object.appMetadata === "string") - $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); - else if (object.appMetadata.length >= 0) - message.appMetadata = object.appMetadata; + if (object.appMetadata.length) + if (typeof object.appMetadata === "string") + $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); + else if (object.appMetadata.length >= 0) + message.appMetadata = object.appMetadata; return message; }; @@ -3044,63 +3962,71 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FlightInfo.toObject = function toObject(message, options) { + FlightInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.endpoint = []; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.schema = ""; else { object.schema = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.schema = $util.newBuffer(object.schema); } object.flightDescriptor = null; if ($util.Long) { var long = new $util.Long(0, 0, false); - object.totalRecords = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.totalRecords = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.totalRecords = options.longs === String ? "0" : 0; + object.totalRecords = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; if ($util.Long) { var long = new $util.Long(0, 0, false); - object.totalBytes = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.totalBytes = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.totalBytes = options.longs === String ? "0" : 0; + object.totalBytes = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; object.ordered = false; - if (options.bytes === String) + if (options.bytes === $String) object.appMetadata = ""; else { object.appMetadata = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.appMetadata = $util.newBuffer(object.appMetadata); } } - if (message.schema != null && message.hasOwnProperty("schema")) - object.schema = options.bytes === String ? $util.base64.encode(message.schema, 0, message.schema.length) : options.bytes === Array ? Array.prototype.slice.call(message.schema) : message.schema; - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) - object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options); + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) + object.schema = options.bytes === $String ? $util.base64.encode(message.schema, 0, message.schema.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.schema) : message.schema; + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options, _depth + 1); if (message.endpoint && message.endpoint.length) { - object.endpoint = []; + object.endpoint = $Array(message.endpoint.length); for (var j = 0; j < message.endpoint.length; ++j) - object.endpoint[j] = $root.arrow.flight.protocol.FlightEndpoint.toObject(message.endpoint[j], options); + object.endpoint[j] = $root.arrow.flight.protocol.FlightEndpoint.toObject(message.endpoint[j], options, _depth + 1); } - if (message.totalRecords != null && message.hasOwnProperty("totalRecords")) - if (typeof message.totalRecords === "number") - object.totalRecords = options.longs === String ? String(message.totalRecords) : message.totalRecords; + if (message.totalRecords != null && $Object.hasOwnProperty.call(message, "totalRecords")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.totalRecords = typeof message.totalRecords === "number" ? $BigInt(message.totalRecords) : $util.Long.fromBits(message.totalRecords.low >>> 0, message.totalRecords.high >>> 0, false).toBigInt(); + else if (typeof message.totalRecords === "number") + object.totalRecords = options.longs === $String ? $String(message.totalRecords) : message.totalRecords; else - object.totalRecords = options.longs === String ? $util.Long.prototype.toString.call(message.totalRecords) : options.longs === Number ? new $util.LongBits(message.totalRecords.low >>> 0, message.totalRecords.high >>> 0).toNumber() : message.totalRecords; - if (message.totalBytes != null && message.hasOwnProperty("totalBytes")) - if (typeof message.totalBytes === "number") - object.totalBytes = options.longs === String ? String(message.totalBytes) : message.totalBytes; + object.totalRecords = options.longs === $String ? $util.Long.prototype.toString.call(message.totalRecords) : options.longs === $Number ? new $util.LongBits(message.totalRecords.low >>> 0, message.totalRecords.high >>> 0).toNumber() : message.totalRecords; + if (message.totalBytes != null && $Object.hasOwnProperty.call(message, "totalBytes")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.totalBytes = typeof message.totalBytes === "number" ? $BigInt(message.totalBytes) : $util.Long.fromBits(message.totalBytes.low >>> 0, message.totalBytes.high >>> 0, false).toBigInt(); + else if (typeof message.totalBytes === "number") + object.totalBytes = options.longs === $String ? $String(message.totalBytes) : message.totalBytes; else - object.totalBytes = options.longs === String ? $util.Long.prototype.toString.call(message.totalBytes) : options.longs === Number ? new $util.LongBits(message.totalBytes.low >>> 0, message.totalBytes.high >>> 0).toNumber() : message.totalBytes; - if (message.ordered != null && message.hasOwnProperty("ordered")) + object.totalBytes = options.longs === $String ? $util.Long.prototype.toString.call(message.totalBytes) : options.longs === $Number ? new $util.LongBits(message.totalBytes.low >>> 0, message.totalBytes.high >>> 0).toNumber() : message.totalBytes; + if (message.ordered != null && $Object.hasOwnProperty.call(message, "ordered")) object.ordered = message.ordered; - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) - object.appMetadata = options.bytes === String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === Array ? Array.prototype.slice.call(message.appMetadata) : message.appMetadata; + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) + object.appMetadata = options.bytes === $String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.appMetadata) : message.appMetadata; return object; }; @@ -3111,23 +4037,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - FlightInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FlightInfo.prototype.toJSON = function() { + return FlightInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FlightInfo + * Gets the type url for FlightInfo * @function getTypeUrl * @memberof arrow.flight.protocol.FlightInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FlightInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.FlightInfo"; + FlightInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.FlightInfo"; }; return FlightInfo; @@ -3135,34 +4060,47 @@ $root.arrow = (function() { protocol.PollInfo = (function() { + /** + * Properties of a PollInfo. + * @typedef {Object} arrow.flight.protocol.PollInfo.$Properties + * @property {arrow.flight.protocol.FlightInfo.$Properties|null} [info] PollInfo info + * @property {arrow.flight.protocol.FlightDescriptor.$Properties|null} [flightDescriptor] PollInfo flightDescriptor + * @property {number|null} [progress] PollInfo progress + * @property {google.protobuf.Timestamp.$Properties|null} [expirationTime] PollInfo expirationTime + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a PollInfo. * @memberof arrow.flight.protocol * @interface IPollInfo - * @property {arrow.flight.protocol.IFlightInfo|null} [info] PollInfo info - * @property {arrow.flight.protocol.IFlightDescriptor|null} [flightDescriptor] PollInfo flightDescriptor - * @property {number|null} [progress] PollInfo progress - * @property {google.protobuf.ITimestamp|null} [expirationTime] PollInfo expirationTime + * @augments arrow.flight.protocol.PollInfo.$Properties + * @deprecated Use arrow.flight.protocol.PollInfo.$Properties instead. + */ + + /** + * Shape of a PollInfo. + * @typedef {arrow.flight.protocol.PollInfo.$Properties} arrow.flight.protocol.PollInfo.$Shape */ /** * Constructs a new PollInfo. * @memberof arrow.flight.protocol * @classdesc Represents a PollInfo. - * @implements IPollInfo * @constructor - * @param {arrow.flight.protocol.IPollInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.PollInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function PollInfo(properties) { + var PollInfo = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * PollInfo info. - * @member {arrow.flight.protocol.IFlightInfo|null|undefined} info + * @member {arrow.flight.protocol.FlightInfo.$Properties|null|undefined} info * @memberof arrow.flight.protocol.PollInfo * @instance */ @@ -3170,7 +4108,7 @@ $root.arrow = (function() { /** * PollInfo flightDescriptor. - * @member {arrow.flight.protocol.IFlightDescriptor|null|undefined} flightDescriptor + * @member {arrow.flight.protocol.FlightDescriptor.$Properties|null|undefined} flightDescriptor * @memberof arrow.flight.protocol.PollInfo * @instance */ @@ -3186,7 +4124,7 @@ $root.arrow = (function() { /** * PollInfo expirationTime. - * @member {google.protobuf.ITimestamp|null|undefined} expirationTime + * @member {google.protobuf.Timestamp.$Properties|null|undefined} expirationTime * @memberof arrow.flight.protocol.PollInfo * @instance */ @@ -3196,7 +4134,7 @@ $root.arrow = (function() { var $oneOfFields; // Virtual OneOf for proto3 optional field - Object.defineProperty(PollInfo.prototype, "_progress", { + $Object.defineProperty(PollInfo.prototype, "_progress", { get: $util.oneOfGetter($oneOfFields = ["progress"]), set: $util.oneOfSetter($oneOfFields) }); @@ -3206,10 +4144,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.PollInfo * @static - * @param {arrow.flight.protocol.IPollInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.PollInfo.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.PollInfo} PollInfo instance + * @type {{ + * (properties: arrow.flight.protocol.PollInfo.$Shape): arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape; + * (properties?: arrow.flight.protocol.PollInfo.$Properties): arrow.flight.protocol.PollInfo; + * }} */ - PollInfo.create = function create(properties) { + PollInfo.create = function(properties) { return new PollInfo(properties); }; @@ -3218,21 +4160,28 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.PollInfo * @static - * @param {arrow.flight.protocol.IPollInfo} message PollInfo message or plain object to encode + * @param {arrow.flight.protocol.PollInfo.$Properties} message PollInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PollInfo.encode = function encode(message, writer) { + PollInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.info != null && Object.hasOwnProperty.call(message, "info")) - $root.arrow.flight.protocol.FlightInfo.encode(message.info, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.flightDescriptor != null && Object.hasOwnProperty.call(message, "flightDescriptor")) - $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.progress != null && Object.hasOwnProperty.call(message, "progress")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) + $root.arrow.flight.protocol.FlightInfo.encode(message.info, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.progress != null && $Object.hasOwnProperty.call(message, "progress")) writer.uint32(/* id 3, wireType 1 =*/25).double(message.progress); - if (message.expirationTime != null && Object.hasOwnProperty.call(message, "expirationTime")) - $root.google.protobuf.Timestamp.encode(message.expirationTime, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) + $root.google.protobuf.Timestamp.encode(message.expirationTime, writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3241,12 +4190,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.PollInfo * @static - * @param {arrow.flight.protocol.IPollInfo} message PollInfo message or plain object to encode + * @param {arrow.flight.protocol.PollInfo.$Properties} message PollInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PollInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + PollInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3256,38 +4205,76 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.PollInfo} PollInfo + * @returns {arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape} PollInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PollInfo.decode = function decode(reader, length) { + PollInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.PollInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.PollInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.info = $root.arrow.flight.protocol.FlightInfo.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.info = $root.arrow.flight.protocol.FlightInfo.decode(reader, reader.uint32(), $undefined, _depth + 1, message.info); + continue; } case 2: { - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32(), $undefined, _depth + 1, message.flightDescriptor); + continue; } case 3: { + if (wireType !== 1) + break; message.progress = reader.double(); - break; + message._progress = "progress"; + continue; } case 4: { - message.expirationTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.expirationTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32(), $undefined, _depth + 1, message.expirationTime); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3297,11 +4284,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.PollInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.PollInfo} PollInfo + * @returns {arrow.flight.protocol.PollInfo & arrow.flight.protocol.PollInfo.$Shape} PollInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PollInfo.decodeDelimited = function decodeDelimited(reader) { + PollInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3315,27 +4302,31 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PollInfo.verify = function verify(message) { + PollInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.info != null && message.hasOwnProperty("info")) { - var error = $root.arrow.flight.protocol.FlightInfo.verify(message.info); + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) { + var error = $root.arrow.flight.protocol.FlightInfo.verify(message.info, _depth + 1); if (error) return "info." + error; } - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) { - var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) { + var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor, _depth + 1); if (error) return "flightDescriptor." + error; } - if (message.progress != null && message.hasOwnProperty("progress")) { + if (message.progress != null && $Object.hasOwnProperty.call(message, "progress")) { properties._progress = 1; if (typeof message.progress !== "number") return "progress: number expected"; } - if (message.expirationTime != null && message.hasOwnProperty("expirationTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.expirationTime); + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.expirationTime, _depth + 1); if (error) return "expirationTime." + error; } @@ -3350,26 +4341,32 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.PollInfo} PollInfo */ - PollInfo.fromObject = function fromObject(object) { + PollInfo.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.PollInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.PollInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.PollInfo(); if (object.info != null) { - if (typeof object.info !== "object") - throw TypeError(".arrow.flight.protocol.PollInfo.info: object expected"); - message.info = $root.arrow.flight.protocol.FlightInfo.fromObject(object.info); + if (!$util.isObject(object.info)) + throw $TypeError(".arrow.flight.protocol.PollInfo.info: object expected"); + message.info = $root.arrow.flight.protocol.FlightInfo.fromObject(object.info, _depth + 1); } if (object.flightDescriptor != null) { - if (typeof object.flightDescriptor !== "object") - throw TypeError(".arrow.flight.protocol.PollInfo.flightDescriptor: object expected"); - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor); + if (!$util.isObject(object.flightDescriptor)) + throw $TypeError(".arrow.flight.protocol.PollInfo.flightDescriptor: object expected"); + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor, _depth + 1); } if (object.progress != null) - message.progress = Number(object.progress); + message.progress = $Number(object.progress); if (object.expirationTime != null) { - if (typeof object.expirationTime !== "object") - throw TypeError(".arrow.flight.protocol.PollInfo.expirationTime: object expected"); - message.expirationTime = $root.google.protobuf.Timestamp.fromObject(object.expirationTime); + if (!$util.isObject(object.expirationTime)) + throw $TypeError(".arrow.flight.protocol.PollInfo.expirationTime: object expected"); + message.expirationTime = $root.google.protobuf.Timestamp.fromObject(object.expirationTime, _depth + 1); } return message; }; @@ -3383,26 +4380,27 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - PollInfo.toObject = function toObject(message, options) { + PollInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.info = null; object.flightDescriptor = null; object.expirationTime = null; } - if (message.info != null && message.hasOwnProperty("info")) - object.info = $root.arrow.flight.protocol.FlightInfo.toObject(message.info, options); - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) - object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options); - if (message.progress != null && message.hasOwnProperty("progress")) { - object.progress = options.json && !isFinite(message.progress) ? String(message.progress) : message.progress; - if (options.oneofs) - object._progress = "progress"; - } - if (message.expirationTime != null && message.hasOwnProperty("expirationTime")) - object.expirationTime = $root.google.protobuf.Timestamp.toObject(message.expirationTime, options); + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) + object.info = $root.arrow.flight.protocol.FlightInfo.toObject(message.info, options, _depth + 1); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options, _depth + 1); + if (message.progress != null && $Object.hasOwnProperty.call(message, "progress")) + object.progress = options.json && !$isFinite(message.progress) ? $String(message.progress) : message.progress; + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) + object.expirationTime = $root.google.protobuf.Timestamp.toObject(message.expirationTime, options, _depth + 1); return object; }; @@ -3413,23 +4411,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - PollInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + PollInfo.prototype.toJSON = function() { + return PollInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for PollInfo + * Gets the type url for PollInfo * @function getTypeUrl * @memberof arrow.flight.protocol.PollInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - PollInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.PollInfo"; + PollInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.PollInfo"; }; return PollInfo; @@ -3437,31 +4434,44 @@ $root.arrow = (function() { protocol.CancelFlightInfoRequest = (function() { + /** + * Properties of a CancelFlightInfoRequest. + * @typedef {Object} arrow.flight.protocol.CancelFlightInfoRequest.$Properties + * @property {arrow.flight.protocol.FlightInfo.$Properties|null} [info] CancelFlightInfoRequest info + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CancelFlightInfoRequest. * @memberof arrow.flight.protocol * @interface ICancelFlightInfoRequest - * @property {arrow.flight.protocol.IFlightInfo|null} [info] CancelFlightInfoRequest info + * @augments arrow.flight.protocol.CancelFlightInfoRequest.$Properties + * @deprecated Use arrow.flight.protocol.CancelFlightInfoRequest.$Properties instead. + */ + + /** + * Shape of a CancelFlightInfoRequest. + * @typedef {arrow.flight.protocol.CancelFlightInfoRequest.$Properties} arrow.flight.protocol.CancelFlightInfoRequest.$Shape */ /** * Constructs a new CancelFlightInfoRequest. * @memberof arrow.flight.protocol * @classdesc Represents a CancelFlightInfoRequest. - * @implements ICancelFlightInfoRequest * @constructor - * @param {arrow.flight.protocol.ICancelFlightInfoRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.CancelFlightInfoRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CancelFlightInfoRequest(properties) { + var CancelFlightInfoRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CancelFlightInfoRequest info. - * @member {arrow.flight.protocol.IFlightInfo|null|undefined} info + * @member {arrow.flight.protocol.FlightInfo.$Properties|null|undefined} info * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @instance */ @@ -3472,10 +4482,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @static - * @param {arrow.flight.protocol.ICancelFlightInfoRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.CancelFlightInfoRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.CancelFlightInfoRequest} CancelFlightInfoRequest instance + * @type {{ + * (properties: arrow.flight.protocol.CancelFlightInfoRequest.$Shape): arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape; + * (properties?: arrow.flight.protocol.CancelFlightInfoRequest.$Properties): arrow.flight.protocol.CancelFlightInfoRequest; + * }} */ - CancelFlightInfoRequest.create = function create(properties) { + CancelFlightInfoRequest.create = function(properties) { return new CancelFlightInfoRequest(properties); }; @@ -3484,15 +4498,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @static - * @param {arrow.flight.protocol.ICancelFlightInfoRequest} message CancelFlightInfoRequest message or plain object to encode + * @param {arrow.flight.protocol.CancelFlightInfoRequest.$Properties} message CancelFlightInfoRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CancelFlightInfoRequest.encode = function encode(message, writer) { + CancelFlightInfoRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.info != null && Object.hasOwnProperty.call(message, "info")) - $root.arrow.flight.protocol.FlightInfo.encode(message.info, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) + $root.arrow.flight.protocol.FlightInfo.encode(message.info, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3501,12 +4522,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @static - * @param {arrow.flight.protocol.ICancelFlightInfoRequest} message CancelFlightInfoRequest message or plain object to encode + * @param {arrow.flight.protocol.CancelFlightInfoRequest.$Properties} message CancelFlightInfoRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CancelFlightInfoRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CancelFlightInfoRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3516,26 +4537,57 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.CancelFlightInfoRequest} CancelFlightInfoRequest + * @returns {arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape} CancelFlightInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CancelFlightInfoRequest.decode = function decode(reader, length) { + CancelFlightInfoRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.CancelFlightInfoRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.CancelFlightInfoRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.info = $root.arrow.flight.protocol.FlightInfo.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.info = $root.arrow.flight.protocol.FlightInfo.decode(reader, reader.uint32(), $undefined, _depth + 1, message.info); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3545,11 +4597,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.CancelFlightInfoRequest} CancelFlightInfoRequest + * @returns {arrow.flight.protocol.CancelFlightInfoRequest & arrow.flight.protocol.CancelFlightInfoRequest.$Shape} CancelFlightInfoRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CancelFlightInfoRequest.decodeDelimited = function decodeDelimited(reader) { + CancelFlightInfoRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3563,11 +4615,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CancelFlightInfoRequest.verify = function verify(message) { + CancelFlightInfoRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.info != null && message.hasOwnProperty("info")) { - var error = $root.arrow.flight.protocol.FlightInfo.verify(message.info); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) { + var error = $root.arrow.flight.protocol.FlightInfo.verify(message.info, _depth + 1); if (error) return "info." + error; } @@ -3582,14 +4638,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.CancelFlightInfoRequest} CancelFlightInfoRequest */ - CancelFlightInfoRequest.fromObject = function fromObject(object) { + CancelFlightInfoRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.CancelFlightInfoRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.CancelFlightInfoRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.CancelFlightInfoRequest(); if (object.info != null) { - if (typeof object.info !== "object") - throw TypeError(".arrow.flight.protocol.CancelFlightInfoRequest.info: object expected"); - message.info = $root.arrow.flight.protocol.FlightInfo.fromObject(object.info); + if (!$util.isObject(object.info)) + throw $TypeError(".arrow.flight.protocol.CancelFlightInfoRequest.info: object expected"); + message.info = $root.arrow.flight.protocol.FlightInfo.fromObject(object.info, _depth + 1); } return message; }; @@ -3603,14 +4665,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CancelFlightInfoRequest.toObject = function toObject(message, options) { + CancelFlightInfoRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.info = null; - if (message.info != null && message.hasOwnProperty("info")) - object.info = $root.arrow.flight.protocol.FlightInfo.toObject(message.info, options); + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) + object.info = $root.arrow.flight.protocol.FlightInfo.toObject(message.info, options, _depth + 1); return object; }; @@ -3621,23 +4687,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CancelFlightInfoRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CancelFlightInfoRequest.prototype.toJSON = function() { + return CancelFlightInfoRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CancelFlightInfoRequest + * Gets the type url for CancelFlightInfoRequest * @function getTypeUrl * @memberof arrow.flight.protocol.CancelFlightInfoRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CancelFlightInfoRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.CancelFlightInfoRequest"; + CancelFlightInfoRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.CancelFlightInfoRequest"; }; return CancelFlightInfoRequest; @@ -3653,7 +4718,7 @@ $root.arrow = (function() { * @property {number} CANCEL_STATUS_NOT_CANCELLABLE=3 CANCEL_STATUS_NOT_CANCELLABLE value */ protocol.CancelStatus = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "CANCEL_STATUS_UNSPECIFIED"] = 0; values[valuesById[1] = "CANCEL_STATUS_CANCELLED"] = 1; values[valuesById[2] = "CANCEL_STATUS_CANCELLING"] = 2; @@ -3663,27 +4728,40 @@ $root.arrow = (function() { protocol.CancelFlightInfoResult = (function() { + /** + * Properties of a CancelFlightInfoResult. + * @typedef {Object} arrow.flight.protocol.CancelFlightInfoResult.$Properties + * @property {arrow.flight.protocol.CancelStatus|null} [status] CancelFlightInfoResult status + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CancelFlightInfoResult. * @memberof arrow.flight.protocol * @interface ICancelFlightInfoResult - * @property {arrow.flight.protocol.CancelStatus|null} [status] CancelFlightInfoResult status + * @augments arrow.flight.protocol.CancelFlightInfoResult.$Properties + * @deprecated Use arrow.flight.protocol.CancelFlightInfoResult.$Properties instead. + */ + + /** + * Shape of a CancelFlightInfoResult. + * @typedef {arrow.flight.protocol.CancelFlightInfoResult.$Properties} arrow.flight.protocol.CancelFlightInfoResult.$Shape */ /** * Constructs a new CancelFlightInfoResult. * @memberof arrow.flight.protocol * @classdesc Represents a CancelFlightInfoResult. - * @implements ICancelFlightInfoResult * @constructor - * @param {arrow.flight.protocol.ICancelFlightInfoResult=} [properties] Properties to set + * @param {arrow.flight.protocol.CancelFlightInfoResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CancelFlightInfoResult(properties) { + var CancelFlightInfoResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CancelFlightInfoResult status. @@ -3698,10 +4776,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.CancelFlightInfoResult * @static - * @param {arrow.flight.protocol.ICancelFlightInfoResult=} [properties] Properties to set + * @param {arrow.flight.protocol.CancelFlightInfoResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.CancelFlightInfoResult} CancelFlightInfoResult instance + * @type {{ + * (properties: arrow.flight.protocol.CancelFlightInfoResult.$Shape): arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape; + * (properties?: arrow.flight.protocol.CancelFlightInfoResult.$Properties): arrow.flight.protocol.CancelFlightInfoResult; + * }} */ - CancelFlightInfoResult.create = function create(properties) { + CancelFlightInfoResult.create = function(properties) { return new CancelFlightInfoResult(properties); }; @@ -3710,15 +4792,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.CancelFlightInfoResult * @static - * @param {arrow.flight.protocol.ICancelFlightInfoResult} message CancelFlightInfoResult message or plain object to encode + * @param {arrow.flight.protocol.CancelFlightInfoResult.$Properties} message CancelFlightInfoResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CancelFlightInfoResult.encode = function encode(message, writer) { + CancelFlightInfoResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.status != null && Object.hasOwnProperty.call(message, "status")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.status != null && $Object.hasOwnProperty.call(message, "status") && message.status !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3727,12 +4816,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.CancelFlightInfoResult * @static - * @param {arrow.flight.protocol.ICancelFlightInfoResult} message CancelFlightInfoResult message or plain object to encode + * @param {arrow.flight.protocol.CancelFlightInfoResult.$Properties} message CancelFlightInfoResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CancelFlightInfoResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CancelFlightInfoResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3742,26 +4831,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.CancelFlightInfoResult} CancelFlightInfoResult + * @returns {arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape} CancelFlightInfoResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CancelFlightInfoResult.decode = function decode(reader, length) { + CancelFlightInfoResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.CancelFlightInfoResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.CancelFlightInfoResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.status = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.status = value; + else + delete message.status; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3771,11 +4894,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.CancelFlightInfoResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.CancelFlightInfoResult} CancelFlightInfoResult + * @returns {arrow.flight.protocol.CancelFlightInfoResult & arrow.flight.protocol.CancelFlightInfoResult.$Shape} CancelFlightInfoResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CancelFlightInfoResult.decodeDelimited = function decodeDelimited(reader) { + CancelFlightInfoResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3789,19 +4912,16 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CancelFlightInfoResult.verify = function verify(message) { + CancelFlightInfoResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.status != null && message.hasOwnProperty("status")) - switch (message.status) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.status != null && $Object.hasOwnProperty.call(message, "status")) + if (typeof message.status !== "number" || (message.status | 0) !== message.status) return "status: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } return null; }; @@ -3813,34 +4933,38 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.CancelFlightInfoResult} CancelFlightInfoResult */ - CancelFlightInfoResult.fromObject = function fromObject(object) { + CancelFlightInfoResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.CancelFlightInfoResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.CancelFlightInfoResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.CancelFlightInfoResult(); - switch (object.status) { - default: - if (typeof object.status === "number") { - message.status = object.status; + if (object.status !== 0 && (typeof object.status !== "string" || $root.arrow.flight.protocol.CancelStatus[object.status] !== 0)) + switch (object.status) { + case "CANCEL_STATUS_UNSPECIFIED": + case 0: + message.status = 0; + break; + case "CANCEL_STATUS_CANCELLED": + case 1: + message.status = 1; + break; + case "CANCEL_STATUS_CANCELLING": + case 2: + message.status = 2; break; + case "CANCEL_STATUS_NOT_CANCELLABLE": + case 3: + message.status = 3; + break; + default: + if (typeof object.status === "number" && (object.status | 0) === object.status) + message.status = object.status; } - break; - case "CANCEL_STATUS_UNSPECIFIED": - case 0: - message.status = 0; - break; - case "CANCEL_STATUS_CANCELLED": - case 1: - message.status = 1; - break; - case "CANCEL_STATUS_CANCELLING": - case 2: - message.status = 2; - break; - case "CANCEL_STATUS_NOT_CANCELLABLE": - case 3: - message.status = 3; - break; - } return message; }; @@ -3853,14 +4977,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CancelFlightInfoResult.toObject = function toObject(message, options) { + CancelFlightInfoResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - object.status = options.enums === String ? "CANCEL_STATUS_UNSPECIFIED" : 0; - if (message.status != null && message.hasOwnProperty("status")) - object.status = options.enums === String ? $root.arrow.flight.protocol.CancelStatus[message.status] === undefined ? message.status : $root.arrow.flight.protocol.CancelStatus[message.status] : message.status; + object.status = options.enums === $String ? "CANCEL_STATUS_UNSPECIFIED" : 0; + if (message.status != null && $Object.hasOwnProperty.call(message, "status")) + object.status = options.enums === $String ? $root.arrow.flight.protocol.CancelStatus[message.status] === $undefined ? message.status : $root.arrow.flight.protocol.CancelStatus[message.status] : message.status; return object; }; @@ -3871,23 +4999,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CancelFlightInfoResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CancelFlightInfoResult.prototype.toJSON = function() { + return CancelFlightInfoResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CancelFlightInfoResult + * Gets the type url for CancelFlightInfoResult * @function getTypeUrl * @memberof arrow.flight.protocol.CancelFlightInfoResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CancelFlightInfoResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.CancelFlightInfoResult"; + CancelFlightInfoResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.CancelFlightInfoResult"; }; return CancelFlightInfoResult; @@ -3895,27 +5022,40 @@ $root.arrow = (function() { protocol.Ticket = (function() { + /** + * Properties of a Ticket. + * @typedef {Object} arrow.flight.protocol.Ticket.$Properties + * @property {Uint8Array|null} [ticket] Ticket ticket + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a Ticket. * @memberof arrow.flight.protocol * @interface ITicket - * @property {Uint8Array|null} [ticket] Ticket ticket + * @augments arrow.flight.protocol.Ticket.$Properties + * @deprecated Use arrow.flight.protocol.Ticket.$Properties instead. + */ + + /** + * Shape of a Ticket. + * @typedef {arrow.flight.protocol.Ticket.$Properties} arrow.flight.protocol.Ticket.$Shape */ /** * Constructs a new Ticket. * @memberof arrow.flight.protocol * @classdesc Represents a Ticket. - * @implements ITicket * @constructor - * @param {arrow.flight.protocol.ITicket=} [properties] Properties to set + * @param {arrow.flight.protocol.Ticket.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Ticket(properties) { + var Ticket = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Ticket ticket. @@ -3930,10 +5070,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.Ticket * @static - * @param {arrow.flight.protocol.ITicket=} [properties] Properties to set + * @param {arrow.flight.protocol.Ticket.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Ticket} Ticket instance + * @type {{ + * (properties: arrow.flight.protocol.Ticket.$Shape): arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape; + * (properties?: arrow.flight.protocol.Ticket.$Properties): arrow.flight.protocol.Ticket; + * }} */ - Ticket.create = function create(properties) { + Ticket.create = function(properties) { return new Ticket(properties); }; @@ -3942,15 +5086,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Ticket * @static - * @param {arrow.flight.protocol.ITicket} message Ticket message or plain object to encode + * @param {arrow.flight.protocol.Ticket.$Properties} message Ticket message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Ticket.encode = function encode(message, writer) { + Ticket.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.ticket != null && Object.hasOwnProperty.call(message, "ticket")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket") && message.ticket.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.ticket); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3959,12 +5110,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Ticket * @static - * @param {arrow.flight.protocol.ITicket} message Ticket message or plain object to encode + * @param {arrow.flight.protocol.Ticket.$Properties} message Ticket message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Ticket.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Ticket.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3974,26 +5125,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Ticket} Ticket + * @returns {arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape} Ticket * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Ticket.decode = function decode(reader, length) { + Ticket.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Ticket(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Ticket(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.ticket = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.ticket = value; + else + delete message.ticket; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4003,11 +5188,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Ticket * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Ticket} Ticket + * @returns {arrow.flight.protocol.Ticket & arrow.flight.protocol.Ticket.$Shape} Ticket * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Ticket.decodeDelimited = function decodeDelimited(reader) { + Ticket.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4021,10 +5206,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Ticket.verify = function verify(message) { + Ticket.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ticket != null && message.hasOwnProperty("ticket")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket")) if (!(message.ticket && typeof message.ticket.length === "number" || $util.isString(message.ticket))) return "ticket: buffer expected"; return null; @@ -4038,15 +5227,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Ticket} Ticket */ - Ticket.fromObject = function fromObject(object) { + Ticket.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Ticket) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Ticket: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.Ticket(); if (object.ticket != null) - if (typeof object.ticket === "string") - $util.base64.decode(object.ticket, message.ticket = $util.newBuffer($util.base64.length(object.ticket)), 0); - else if (object.ticket.length >= 0) - message.ticket = object.ticket; + if (object.ticket.length) + if (typeof object.ticket === "string") + $util.base64.decode(object.ticket, message.ticket = $util.newBuffer($util.base64.length(object.ticket)), 0); + else if (object.ticket.length >= 0) + message.ticket = object.ticket; return message; }; @@ -4059,20 +5255,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Ticket.toObject = function toObject(message, options) { + Ticket.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.ticket = ""; else { object.ticket = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.ticket = $util.newBuffer(object.ticket); } - if (message.ticket != null && message.hasOwnProperty("ticket")) - object.ticket = options.bytes === String ? $util.base64.encode(message.ticket, 0, message.ticket.length) : options.bytes === Array ? Array.prototype.slice.call(message.ticket) : message.ticket; + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket")) + object.ticket = options.bytes === $String ? $util.base64.encode(message.ticket, 0, message.ticket.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.ticket) : message.ticket; return object; }; @@ -4083,23 +5283,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Ticket.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Ticket.prototype.toJSON = function() { + return Ticket.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Ticket + * Gets the type url for Ticket * @function getTypeUrl * @memberof arrow.flight.protocol.Ticket * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Ticket.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Ticket"; + Ticket.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Ticket"; }; return Ticket; @@ -4107,27 +5306,40 @@ $root.arrow = (function() { protocol.Location = (function() { + /** + * Properties of a Location. + * @typedef {Object} arrow.flight.protocol.Location.$Properties + * @property {string|null} [uri] Location uri + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a Location. * @memberof arrow.flight.protocol * @interface ILocation - * @property {string|null} [uri] Location uri + * @augments arrow.flight.protocol.Location.$Properties + * @deprecated Use arrow.flight.protocol.Location.$Properties instead. + */ + + /** + * Shape of a Location. + * @typedef {arrow.flight.protocol.Location.$Properties} arrow.flight.protocol.Location.$Shape */ /** * Constructs a new Location. * @memberof arrow.flight.protocol * @classdesc Represents a Location. - * @implements ILocation * @constructor - * @param {arrow.flight.protocol.ILocation=} [properties] Properties to set + * @param {arrow.flight.protocol.Location.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Location(properties) { + var Location = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Location uri. @@ -4142,10 +5354,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.Location * @static - * @param {arrow.flight.protocol.ILocation=} [properties] Properties to set + * @param {arrow.flight.protocol.Location.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.Location} Location instance + * @type {{ + * (properties: arrow.flight.protocol.Location.$Shape): arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape; + * (properties?: arrow.flight.protocol.Location.$Properties): arrow.flight.protocol.Location; + * }} */ - Location.create = function create(properties) { + Location.create = function(properties) { return new Location(properties); }; @@ -4154,15 +5370,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.Location * @static - * @param {arrow.flight.protocol.ILocation} message Location message or plain object to encode + * @param {arrow.flight.protocol.Location.$Properties} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Location.encode = function encode(message, writer) { + Location.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.uri != null && Object.hasOwnProperty.call(message, "uri")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.uri != null && $Object.hasOwnProperty.call(message, "uri") && message.uri !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.uri); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4171,12 +5394,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.Location * @static - * @param {arrow.flight.protocol.ILocation} message Location message or plain object to encode + * @param {arrow.flight.protocol.Location.$Properties} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Location.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Location.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4186,26 +5409,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.Location} Location + * @returns {arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Location.decode = function decode(reader, length) { + Location.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.Location(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.Location(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.uri = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.uri = value; + else + delete message.uri; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4215,11 +5472,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.Location * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.Location} Location + * @returns {arrow.flight.protocol.Location & arrow.flight.protocol.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Location.decodeDelimited = function decodeDelimited(reader) { + Location.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4233,10 +5490,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Location.verify = function verify(message) { + Location.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.uri != null && message.hasOwnProperty("uri")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.uri != null && $Object.hasOwnProperty.call(message, "uri")) if (!$util.isString(message.uri)) return "uri: string expected"; return null; @@ -4250,12 +5511,19 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.Location} Location */ - Location.fromObject = function fromObject(object) { + Location.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.Location) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.Location: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.Location(); if (object.uri != null) - message.uri = String(object.uri); + if (typeof object.uri !== "string" || object.uri.length) + message.uri = $String(object.uri); return message; }; @@ -4268,13 +5536,17 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Location.toObject = function toObject(message, options) { + Location.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.uri = ""; - if (message.uri != null && message.hasOwnProperty("uri")) + if (message.uri != null && $Object.hasOwnProperty.call(message, "uri")) object.uri = message.uri; return object; }; @@ -4286,23 +5558,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Location.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Location.prototype.toJSON = function() { + return Location.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Location + * Gets the type url for Location * @function getTypeUrl * @memberof arrow.flight.protocol.Location * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.Location"; + Location.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.Location"; }; return Location; @@ -4310,35 +5581,48 @@ $root.arrow = (function() { protocol.FlightEndpoint = (function() { + /** + * Properties of a FlightEndpoint. + * @typedef {Object} arrow.flight.protocol.FlightEndpoint.$Properties + * @property {arrow.flight.protocol.Ticket.$Properties|null} [ticket] FlightEndpoint ticket + * @property {Array.|null} [location] FlightEndpoint location + * @property {google.protobuf.Timestamp.$Properties|null} [expirationTime] FlightEndpoint expirationTime + * @property {Uint8Array|null} [appMetadata] FlightEndpoint appMetadata + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a FlightEndpoint. * @memberof arrow.flight.protocol * @interface IFlightEndpoint - * @property {arrow.flight.protocol.ITicket|null} [ticket] FlightEndpoint ticket - * @property {Array.|null} [location] FlightEndpoint location - * @property {google.protobuf.ITimestamp|null} [expirationTime] FlightEndpoint expirationTime - * @property {Uint8Array|null} [appMetadata] FlightEndpoint appMetadata + * @augments arrow.flight.protocol.FlightEndpoint.$Properties + * @deprecated Use arrow.flight.protocol.FlightEndpoint.$Properties instead. + */ + + /** + * Shape of a FlightEndpoint. + * @typedef {arrow.flight.protocol.FlightEndpoint.$Properties} arrow.flight.protocol.FlightEndpoint.$Shape */ /** * Constructs a new FlightEndpoint. * @memberof arrow.flight.protocol * @classdesc Represents a FlightEndpoint. - * @implements IFlightEndpoint * @constructor - * @param {arrow.flight.protocol.IFlightEndpoint=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightEndpoint.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FlightEndpoint(properties) { + var FlightEndpoint = function (properties) { this.location = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FlightEndpoint ticket. - * @member {arrow.flight.protocol.ITicket|null|undefined} ticket + * @member {arrow.flight.protocol.Ticket.$Properties|null|undefined} ticket * @memberof arrow.flight.protocol.FlightEndpoint * @instance */ @@ -4346,7 +5630,7 @@ $root.arrow = (function() { /** * FlightEndpoint location. - * @member {Array.} location + * @member {Array.} location * @memberof arrow.flight.protocol.FlightEndpoint * @instance */ @@ -4354,7 +5638,7 @@ $root.arrow = (function() { /** * FlightEndpoint expirationTime. - * @member {google.protobuf.ITimestamp|null|undefined} expirationTime + * @member {google.protobuf.Timestamp.$Properties|null|undefined} expirationTime * @memberof arrow.flight.protocol.FlightEndpoint * @instance */ @@ -4373,10 +5657,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.FlightEndpoint * @static - * @param {arrow.flight.protocol.IFlightEndpoint=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightEndpoint.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.FlightEndpoint} FlightEndpoint instance + * @type {{ + * (properties: arrow.flight.protocol.FlightEndpoint.$Shape): arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape; + * (properties?: arrow.flight.protocol.FlightEndpoint.$Properties): arrow.flight.protocol.FlightEndpoint; + * }} */ - FlightEndpoint.create = function create(properties) { + FlightEndpoint.create = function(properties) { return new FlightEndpoint(properties); }; @@ -4385,22 +5673,29 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.FlightEndpoint * @static - * @param {arrow.flight.protocol.IFlightEndpoint} message FlightEndpoint message or plain object to encode + * @param {arrow.flight.protocol.FlightEndpoint.$Properties} message FlightEndpoint message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightEndpoint.encode = function encode(message, writer) { + FlightEndpoint.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.ticket != null && Object.hasOwnProperty.call(message, "ticket")) - $root.arrow.flight.protocol.Ticket.encode(message.ticket, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket")) + $root.arrow.flight.protocol.Ticket.encode(message.ticket, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); if (message.location != null && message.location.length) for (var i = 0; i < message.location.length; ++i) - $root.arrow.flight.protocol.Location.encode(message.location[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.expirationTime != null && Object.hasOwnProperty.call(message, "expirationTime")) - $root.google.protobuf.Timestamp.encode(message.expirationTime, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); - if (message.appMetadata != null && Object.hasOwnProperty.call(message, "appMetadata")) + $root.arrow.flight.protocol.Location.encode(message.location[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) + $root.google.protobuf.Timestamp.encode(message.expirationTime, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata") && message.appMetadata.length) writer.uint32(/* id 4, wireType 2 =*/34).bytes(message.appMetadata); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4409,12 +5704,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.FlightEndpoint * @static - * @param {arrow.flight.protocol.IFlightEndpoint} message FlightEndpoint message or plain object to encode + * @param {arrow.flight.protocol.FlightEndpoint.$Properties} message FlightEndpoint message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightEndpoint.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FlightEndpoint.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4424,40 +5719,80 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.FlightEndpoint} FlightEndpoint + * @returns {arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape} FlightEndpoint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightEndpoint.decode = function decode(reader, length) { + FlightEndpoint.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.FlightEndpoint(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.FlightEndpoint(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.ticket = $root.arrow.flight.protocol.Ticket.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.ticket = $root.arrow.flight.protocol.Ticket.decode(reader, reader.uint32(), $undefined, _depth + 1, message.ticket); + continue; } case 2: { + if (wireType !== 2) + break; if (!(message.location && message.location.length)) message.location = []; - message.location.push($root.arrow.flight.protocol.Location.decode(reader, reader.uint32())); - break; + message.location.push($root.arrow.flight.protocol.Location.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 3: { - message.expirationTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.expirationTime = $root.google.protobuf.Timestamp.decode(reader, reader.uint32(), $undefined, _depth + 1, message.expirationTime); + continue; } case 4: { - message.appMetadata = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.appMetadata = value; + else + delete message.appMetadata; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4467,11 +5802,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.FlightEndpoint * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.FlightEndpoint} FlightEndpoint + * @returns {arrow.flight.protocol.FlightEndpoint & arrow.flight.protocol.FlightEndpoint.$Shape} FlightEndpoint * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightEndpoint.decodeDelimited = function decodeDelimited(reader) { + FlightEndpoint.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4485,29 +5820,33 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FlightEndpoint.verify = function verify(message) { + FlightEndpoint.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ticket != null && message.hasOwnProperty("ticket")) { - var error = $root.arrow.flight.protocol.Ticket.verify(message.ticket); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket")) { + var error = $root.arrow.flight.protocol.Ticket.verify(message.ticket, _depth + 1); if (error) return "ticket." + error; } - if (message.location != null && message.hasOwnProperty("location")) { - if (!Array.isArray(message.location)) + if (message.location != null && $Object.hasOwnProperty.call(message, "location")) { + if (!$Array.isArray(message.location)) return "location: array expected"; for (var i = 0; i < message.location.length; ++i) { - var error = $root.arrow.flight.protocol.Location.verify(message.location[i]); + var error = $root.arrow.flight.protocol.Location.verify(message.location[i], _depth + 1); if (error) return "location." + error; } } - if (message.expirationTime != null && message.hasOwnProperty("expirationTime")) { - var error = $root.google.protobuf.Timestamp.verify(message.expirationTime); + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) { + var error = $root.google.protobuf.Timestamp.verify(message.expirationTime, _depth + 1); if (error) return "expirationTime." + error; } - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) if (!(message.appMetadata && typeof message.appMetadata.length === "number" || $util.isString(message.appMetadata))) return "appMetadata: buffer expected"; return null; @@ -4521,35 +5860,42 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.FlightEndpoint} FlightEndpoint */ - FlightEndpoint.fromObject = function fromObject(object) { + FlightEndpoint.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.FlightEndpoint) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.FlightEndpoint: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.FlightEndpoint(); if (object.ticket != null) { - if (typeof object.ticket !== "object") - throw TypeError(".arrow.flight.protocol.FlightEndpoint.ticket: object expected"); - message.ticket = $root.arrow.flight.protocol.Ticket.fromObject(object.ticket); + if (!$util.isObject(object.ticket)) + throw $TypeError(".arrow.flight.protocol.FlightEndpoint.ticket: object expected"); + message.ticket = $root.arrow.flight.protocol.Ticket.fromObject(object.ticket, _depth + 1); } if (object.location) { - if (!Array.isArray(object.location)) - throw TypeError(".arrow.flight.protocol.FlightEndpoint.location: array expected"); - message.location = []; + if (!$Array.isArray(object.location)) + throw $TypeError(".arrow.flight.protocol.FlightEndpoint.location: array expected"); + message.location = $Array(object.location.length); for (var i = 0; i < object.location.length; ++i) { - if (typeof object.location[i] !== "object") - throw TypeError(".arrow.flight.protocol.FlightEndpoint.location: object expected"); - message.location[i] = $root.arrow.flight.protocol.Location.fromObject(object.location[i]); + if (!$util.isObject(object.location[i])) + throw $TypeError(".arrow.flight.protocol.FlightEndpoint.location: object expected"); + message.location[i] = $root.arrow.flight.protocol.Location.fromObject(object.location[i], _depth + 1); } } if (object.expirationTime != null) { - if (typeof object.expirationTime !== "object") - throw TypeError(".arrow.flight.protocol.FlightEndpoint.expirationTime: object expected"); - message.expirationTime = $root.google.protobuf.Timestamp.fromObject(object.expirationTime); + if (!$util.isObject(object.expirationTime)) + throw $TypeError(".arrow.flight.protocol.FlightEndpoint.expirationTime: object expected"); + message.expirationTime = $root.google.protobuf.Timestamp.fromObject(object.expirationTime, _depth + 1); } if (object.appMetadata != null) - if (typeof object.appMetadata === "string") - $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); - else if (object.appMetadata.length >= 0) - message.appMetadata = object.appMetadata; + if (object.appMetadata.length) + if (typeof object.appMetadata === "string") + $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); + else if (object.appMetadata.length >= 0) + message.appMetadata = object.appMetadata; return message; }; @@ -4562,34 +5908,38 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FlightEndpoint.toObject = function toObject(message, options) { + FlightEndpoint.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.location = []; if (options.defaults) { object.ticket = null; object.expirationTime = null; - if (options.bytes === String) + if (options.bytes === $String) object.appMetadata = ""; else { object.appMetadata = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.appMetadata = $util.newBuffer(object.appMetadata); } } - if (message.ticket != null && message.hasOwnProperty("ticket")) - object.ticket = $root.arrow.flight.protocol.Ticket.toObject(message.ticket, options); + if (message.ticket != null && $Object.hasOwnProperty.call(message, "ticket")) + object.ticket = $root.arrow.flight.protocol.Ticket.toObject(message.ticket, options, _depth + 1); if (message.location && message.location.length) { - object.location = []; + object.location = $Array(message.location.length); for (var j = 0; j < message.location.length; ++j) - object.location[j] = $root.arrow.flight.protocol.Location.toObject(message.location[j], options); + object.location[j] = $root.arrow.flight.protocol.Location.toObject(message.location[j], options, _depth + 1); } - if (message.expirationTime != null && message.hasOwnProperty("expirationTime")) - object.expirationTime = $root.google.protobuf.Timestamp.toObject(message.expirationTime, options); - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) - object.appMetadata = options.bytes === String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === Array ? Array.prototype.slice.call(message.appMetadata) : message.appMetadata; + if (message.expirationTime != null && $Object.hasOwnProperty.call(message, "expirationTime")) + object.expirationTime = $root.google.protobuf.Timestamp.toObject(message.expirationTime, options, _depth + 1); + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) + object.appMetadata = options.bytes === $String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.appMetadata) : message.appMetadata; return object; }; @@ -4600,23 +5950,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - FlightEndpoint.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FlightEndpoint.prototype.toJSON = function() { + return FlightEndpoint.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FlightEndpoint + * Gets the type url for FlightEndpoint * @function getTypeUrl * @memberof arrow.flight.protocol.FlightEndpoint * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FlightEndpoint.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.FlightEndpoint"; + FlightEndpoint.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.FlightEndpoint"; }; return FlightEndpoint; @@ -4624,31 +5973,44 @@ $root.arrow = (function() { protocol.RenewFlightEndpointRequest = (function() { + /** + * Properties of a RenewFlightEndpointRequest. + * @typedef {Object} arrow.flight.protocol.RenewFlightEndpointRequest.$Properties + * @property {arrow.flight.protocol.FlightEndpoint.$Properties|null} [endpoint] RenewFlightEndpointRequest endpoint + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a RenewFlightEndpointRequest. * @memberof arrow.flight.protocol * @interface IRenewFlightEndpointRequest - * @property {arrow.flight.protocol.IFlightEndpoint|null} [endpoint] RenewFlightEndpointRequest endpoint + * @augments arrow.flight.protocol.RenewFlightEndpointRequest.$Properties + * @deprecated Use arrow.flight.protocol.RenewFlightEndpointRequest.$Properties instead. + */ + + /** + * Shape of a RenewFlightEndpointRequest. + * @typedef {arrow.flight.protocol.RenewFlightEndpointRequest.$Properties} arrow.flight.protocol.RenewFlightEndpointRequest.$Shape */ /** * Constructs a new RenewFlightEndpointRequest. * @memberof arrow.flight.protocol * @classdesc Represents a RenewFlightEndpointRequest. - * @implements IRenewFlightEndpointRequest * @constructor - * @param {arrow.flight.protocol.IRenewFlightEndpointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.RenewFlightEndpointRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function RenewFlightEndpointRequest(properties) { + var RenewFlightEndpointRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * RenewFlightEndpointRequest endpoint. - * @member {arrow.flight.protocol.IFlightEndpoint|null|undefined} endpoint + * @member {arrow.flight.protocol.FlightEndpoint.$Properties|null|undefined} endpoint * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @instance */ @@ -4659,10 +6021,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @static - * @param {arrow.flight.protocol.IRenewFlightEndpointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.RenewFlightEndpointRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.RenewFlightEndpointRequest} RenewFlightEndpointRequest instance + * @type {{ + * (properties: arrow.flight.protocol.RenewFlightEndpointRequest.$Shape): arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape; + * (properties?: arrow.flight.protocol.RenewFlightEndpointRequest.$Properties): arrow.flight.protocol.RenewFlightEndpointRequest; + * }} */ - RenewFlightEndpointRequest.create = function create(properties) { + RenewFlightEndpointRequest.create = function(properties) { return new RenewFlightEndpointRequest(properties); }; @@ -4671,15 +6037,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @static - * @param {arrow.flight.protocol.IRenewFlightEndpointRequest} message RenewFlightEndpointRequest message or plain object to encode + * @param {arrow.flight.protocol.RenewFlightEndpointRequest.$Properties} message RenewFlightEndpointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RenewFlightEndpointRequest.encode = function encode(message, writer) { + RenewFlightEndpointRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.endpoint != null && Object.hasOwnProperty.call(message, "endpoint")) - $root.arrow.flight.protocol.FlightEndpoint.encode(message.endpoint, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.endpoint != null && $Object.hasOwnProperty.call(message, "endpoint")) + $root.arrow.flight.protocol.FlightEndpoint.encode(message.endpoint, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4688,12 +6061,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @static - * @param {arrow.flight.protocol.IRenewFlightEndpointRequest} message RenewFlightEndpointRequest message or plain object to encode + * @param {arrow.flight.protocol.RenewFlightEndpointRequest.$Properties} message RenewFlightEndpointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - RenewFlightEndpointRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + RenewFlightEndpointRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4703,26 +6076,57 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.RenewFlightEndpointRequest} RenewFlightEndpointRequest + * @returns {arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape} RenewFlightEndpointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RenewFlightEndpointRequest.decode = function decode(reader, length) { + RenewFlightEndpointRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.RenewFlightEndpointRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.RenewFlightEndpointRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.endpoint = $root.arrow.flight.protocol.FlightEndpoint.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.endpoint = $root.arrow.flight.protocol.FlightEndpoint.decode(reader, reader.uint32(), $undefined, _depth + 1, message.endpoint); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4732,11 +6136,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.RenewFlightEndpointRequest} RenewFlightEndpointRequest + * @returns {arrow.flight.protocol.RenewFlightEndpointRequest & arrow.flight.protocol.RenewFlightEndpointRequest.$Shape} RenewFlightEndpointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - RenewFlightEndpointRequest.decodeDelimited = function decodeDelimited(reader) { + RenewFlightEndpointRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4750,11 +6154,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - RenewFlightEndpointRequest.verify = function verify(message) { + RenewFlightEndpointRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.endpoint != null && message.hasOwnProperty("endpoint")) { - var error = $root.arrow.flight.protocol.FlightEndpoint.verify(message.endpoint); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.endpoint != null && $Object.hasOwnProperty.call(message, "endpoint")) { + var error = $root.arrow.flight.protocol.FlightEndpoint.verify(message.endpoint, _depth + 1); if (error) return "endpoint." + error; } @@ -4769,14 +6177,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.RenewFlightEndpointRequest} RenewFlightEndpointRequest */ - RenewFlightEndpointRequest.fromObject = function fromObject(object) { + RenewFlightEndpointRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.RenewFlightEndpointRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.RenewFlightEndpointRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.RenewFlightEndpointRequest(); if (object.endpoint != null) { - if (typeof object.endpoint !== "object") - throw TypeError(".arrow.flight.protocol.RenewFlightEndpointRequest.endpoint: object expected"); - message.endpoint = $root.arrow.flight.protocol.FlightEndpoint.fromObject(object.endpoint); + if (!$util.isObject(object.endpoint)) + throw $TypeError(".arrow.flight.protocol.RenewFlightEndpointRequest.endpoint: object expected"); + message.endpoint = $root.arrow.flight.protocol.FlightEndpoint.fromObject(object.endpoint, _depth + 1); } return message; }; @@ -4790,14 +6204,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - RenewFlightEndpointRequest.toObject = function toObject(message, options) { + RenewFlightEndpointRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.endpoint = null; - if (message.endpoint != null && message.hasOwnProperty("endpoint")) - object.endpoint = $root.arrow.flight.protocol.FlightEndpoint.toObject(message.endpoint, options); + if (message.endpoint != null && $Object.hasOwnProperty.call(message, "endpoint")) + object.endpoint = $root.arrow.flight.protocol.FlightEndpoint.toObject(message.endpoint, options, _depth + 1); return object; }; @@ -4808,23 +6226,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - RenewFlightEndpointRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + RenewFlightEndpointRequest.prototype.toJSON = function() { + return RenewFlightEndpointRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for RenewFlightEndpointRequest + * Gets the type url for RenewFlightEndpointRequest * @function getTypeUrl * @memberof arrow.flight.protocol.RenewFlightEndpointRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - RenewFlightEndpointRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.RenewFlightEndpointRequest"; + RenewFlightEndpointRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.RenewFlightEndpointRequest"; }; return RenewFlightEndpointRequest; @@ -4834,32 +6251,45 @@ $root.arrow = (function() { /** * Properties of a FlightData. - * @memberof arrow.flight.protocol - * @interface IFlightData - * @property {arrow.flight.protocol.IFlightDescriptor|null} [flightDescriptor] FlightData flightDescriptor + * @typedef {Object} arrow.flight.protocol.FlightData.$Properties + * @property {arrow.flight.protocol.FlightDescriptor.$Properties|null} [flightDescriptor] FlightData flightDescriptor * @property {Uint8Array|null} [dataHeader] FlightData dataHeader * @property {Uint8Array|null} [appMetadata] FlightData appMetadata * @property {Uint8Array|null} [dataBody] FlightData dataBody + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FlightData. + * @memberof arrow.flight.protocol + * @interface IFlightData + * @augments arrow.flight.protocol.FlightData.$Properties + * @deprecated Use arrow.flight.protocol.FlightData.$Properties instead. + */ + + /** + * Shape of a FlightData. + * @typedef {arrow.flight.protocol.FlightData.$Properties} arrow.flight.protocol.FlightData.$Shape */ /** * Constructs a new FlightData. * @memberof arrow.flight.protocol * @classdesc Represents a FlightData. - * @implements IFlightData * @constructor - * @param {arrow.flight.protocol.IFlightData=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightData.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FlightData(properties) { + var FlightData = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FlightData flightDescriptor. - * @member {arrow.flight.protocol.IFlightDescriptor|null|undefined} flightDescriptor + * @member {arrow.flight.protocol.FlightDescriptor.$Properties|null|undefined} flightDescriptor * @memberof arrow.flight.protocol.FlightData * @instance */ @@ -4894,10 +6324,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.FlightData * @static - * @param {arrow.flight.protocol.IFlightData=} [properties] Properties to set + * @param {arrow.flight.protocol.FlightData.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.FlightData} FlightData instance + * @type {{ + * (properties: arrow.flight.protocol.FlightData.$Shape): arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape; + * (properties?: arrow.flight.protocol.FlightData.$Properties): arrow.flight.protocol.FlightData; + * }} */ - FlightData.create = function create(properties) { + FlightData.create = function(properties) { return new FlightData(properties); }; @@ -4906,21 +6340,28 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.FlightData * @static - * @param {arrow.flight.protocol.IFlightData} message FlightData message or plain object to encode + * @param {arrow.flight.protocol.FlightData.$Properties} message FlightData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightData.encode = function encode(message, writer) { + FlightData.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.flightDescriptor != null && Object.hasOwnProperty.call(message, "flightDescriptor")) - $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.dataHeader != null && Object.hasOwnProperty.call(message, "dataHeader")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + $root.arrow.flight.protocol.FlightDescriptor.encode(message.flightDescriptor, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.dataHeader != null && $Object.hasOwnProperty.call(message, "dataHeader") && message.dataHeader.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.dataHeader); - if (message.appMetadata != null && Object.hasOwnProperty.call(message, "appMetadata")) + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata") && message.appMetadata.length) writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.appMetadata); - if (message.dataBody != null && Object.hasOwnProperty.call(message, "dataBody")) + if (message.dataBody != null && $Object.hasOwnProperty.call(message, "dataBody") && message.dataBody.length) writer.uint32(/* id 1000, wireType 2 =*/8002).bytes(message.dataBody); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4929,12 +6370,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.FlightData * @static - * @param {arrow.flight.protocol.IFlightData} message FlightData message or plain object to encode + * @param {arrow.flight.protocol.FlightData.$Properties} message FlightData message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FlightData.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FlightData.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4944,38 +6385,84 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.FlightData} FlightData + * @returns {arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape} FlightData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightData.decode = function decode(reader, length) { + FlightData.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.FlightData(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.FlightData(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.decode(reader, reader.uint32(), $undefined, _depth + 1, message.flightDescriptor); + continue; } case 2: { - message.dataHeader = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.dataHeader = value; + else + delete message.dataHeader; + continue; } case 3: { - message.appMetadata = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.appMetadata = value; + else + delete message.appMetadata; + continue; } case 1000: { - message.dataBody = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.dataBody = value; + else + delete message.dataBody; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4985,11 +6472,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.FlightData * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.FlightData} FlightData + * @returns {arrow.flight.protocol.FlightData & arrow.flight.protocol.FlightData.$Shape} FlightData * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FlightData.decodeDelimited = function decodeDelimited(reader) { + FlightData.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5003,21 +6490,25 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FlightData.verify = function verify(message) { + FlightData.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) { - var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) { + var error = $root.arrow.flight.protocol.FlightDescriptor.verify(message.flightDescriptor, _depth + 1); if (error) return "flightDescriptor." + error; } - if (message.dataHeader != null && message.hasOwnProperty("dataHeader")) + if (message.dataHeader != null && $Object.hasOwnProperty.call(message, "dataHeader")) if (!(message.dataHeader && typeof message.dataHeader.length === "number" || $util.isString(message.dataHeader))) return "dataHeader: buffer expected"; - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) if (!(message.appMetadata && typeof message.appMetadata.length === "number" || $util.isString(message.appMetadata))) return "appMetadata: buffer expected"; - if (message.dataBody != null && message.hasOwnProperty("dataBody")) + if (message.dataBody != null && $Object.hasOwnProperty.call(message, "dataBody")) if (!(message.dataBody && typeof message.dataBody.length === "number" || $util.isString(message.dataBody))) return "dataBody: buffer expected"; return null; @@ -5031,30 +6522,39 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.FlightData} FlightData */ - FlightData.fromObject = function fromObject(object) { + FlightData.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.FlightData) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.FlightData: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.FlightData(); if (object.flightDescriptor != null) { - if (typeof object.flightDescriptor !== "object") - throw TypeError(".arrow.flight.protocol.FlightData.flightDescriptor: object expected"); - message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor); + if (!$util.isObject(object.flightDescriptor)) + throw $TypeError(".arrow.flight.protocol.FlightData.flightDescriptor: object expected"); + message.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.fromObject(object.flightDescriptor, _depth + 1); } if (object.dataHeader != null) - if (typeof object.dataHeader === "string") - $util.base64.decode(object.dataHeader, message.dataHeader = $util.newBuffer($util.base64.length(object.dataHeader)), 0); - else if (object.dataHeader.length >= 0) - message.dataHeader = object.dataHeader; + if (object.dataHeader.length) + if (typeof object.dataHeader === "string") + $util.base64.decode(object.dataHeader, message.dataHeader = $util.newBuffer($util.base64.length(object.dataHeader)), 0); + else if (object.dataHeader.length >= 0) + message.dataHeader = object.dataHeader; if (object.appMetadata != null) - if (typeof object.appMetadata === "string") - $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); - else if (object.appMetadata.length >= 0) - message.appMetadata = object.appMetadata; + if (object.appMetadata.length) + if (typeof object.appMetadata === "string") + $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); + else if (object.appMetadata.length >= 0) + message.appMetadata = object.appMetadata; if (object.dataBody != null) - if (typeof object.dataBody === "string") - $util.base64.decode(object.dataBody, message.dataBody = $util.newBuffer($util.base64.length(object.dataBody)), 0); - else if (object.dataBody.length >= 0) - message.dataBody = object.dataBody; + if (object.dataBody.length) + if (typeof object.dataBody === "string") + $util.base64.decode(object.dataBody, message.dataBody = $util.newBuffer($util.base64.length(object.dataBody)), 0); + else if (object.dataBody.length >= 0) + message.dataBody = object.dataBody; return message; }; @@ -5067,42 +6567,46 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FlightData.toObject = function toObject(message, options) { + FlightData.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.flightDescriptor = null; - if (options.bytes === String) + if (options.bytes === $String) object.dataHeader = ""; else { object.dataHeader = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.dataHeader = $util.newBuffer(object.dataHeader); } - if (options.bytes === String) + if (options.bytes === $String) object.appMetadata = ""; else { object.appMetadata = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.appMetadata = $util.newBuffer(object.appMetadata); } - if (options.bytes === String) + if (options.bytes === $String) object.dataBody = ""; else { object.dataBody = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.dataBody = $util.newBuffer(object.dataBody); } } - if (message.flightDescriptor != null && message.hasOwnProperty("flightDescriptor")) - object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options); - if (message.dataHeader != null && message.hasOwnProperty("dataHeader")) - object.dataHeader = options.bytes === String ? $util.base64.encode(message.dataHeader, 0, message.dataHeader.length) : options.bytes === Array ? Array.prototype.slice.call(message.dataHeader) : message.dataHeader; - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) - object.appMetadata = options.bytes === String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === Array ? Array.prototype.slice.call(message.appMetadata) : message.appMetadata; - if (message.dataBody != null && message.hasOwnProperty("dataBody")) - object.dataBody = options.bytes === String ? $util.base64.encode(message.dataBody, 0, message.dataBody.length) : options.bytes === Array ? Array.prototype.slice.call(message.dataBody) : message.dataBody; + if (message.flightDescriptor != null && $Object.hasOwnProperty.call(message, "flightDescriptor")) + object.flightDescriptor = $root.arrow.flight.protocol.FlightDescriptor.toObject(message.flightDescriptor, options, _depth + 1); + if (message.dataHeader != null && $Object.hasOwnProperty.call(message, "dataHeader")) + object.dataHeader = options.bytes === $String ? $util.base64.encode(message.dataHeader, 0, message.dataHeader.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.dataHeader) : message.dataHeader; + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) + object.appMetadata = options.bytes === $String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.appMetadata) : message.appMetadata; + if (message.dataBody != null && $Object.hasOwnProperty.call(message, "dataBody")) + object.dataBody = options.bytes === $String ? $util.base64.encode(message.dataBody, 0, message.dataBody.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.dataBody) : message.dataBody; return object; }; @@ -5113,23 +6617,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - FlightData.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FlightData.prototype.toJSON = function() { + return FlightData.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FlightData + * Gets the type url for FlightData * @function getTypeUrl * @memberof arrow.flight.protocol.FlightData * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FlightData.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.FlightData"; + FlightData.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.FlightData"; }; return FlightData; @@ -5137,27 +6640,40 @@ $root.arrow = (function() { protocol.PutResult = (function() { + /** + * Properties of a PutResult. + * @typedef {Object} arrow.flight.protocol.PutResult.$Properties + * @property {Uint8Array|null} [appMetadata] PutResult appMetadata + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a PutResult. * @memberof arrow.flight.protocol * @interface IPutResult - * @property {Uint8Array|null} [appMetadata] PutResult appMetadata + * @augments arrow.flight.protocol.PutResult.$Properties + * @deprecated Use arrow.flight.protocol.PutResult.$Properties instead. + */ + + /** + * Shape of a PutResult. + * @typedef {arrow.flight.protocol.PutResult.$Properties} arrow.flight.protocol.PutResult.$Shape */ /** * Constructs a new PutResult. * @memberof arrow.flight.protocol * @classdesc The response message associated with the submission of a DoPut. - * @implements IPutResult * @constructor - * @param {arrow.flight.protocol.IPutResult=} [properties] Properties to set + * @param {arrow.flight.protocol.PutResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function PutResult(properties) { + var PutResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * PutResult appMetadata. @@ -5172,10 +6688,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.PutResult * @static - * @param {arrow.flight.protocol.IPutResult=} [properties] Properties to set + * @param {arrow.flight.protocol.PutResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.PutResult} PutResult instance + * @type {{ + * (properties: arrow.flight.protocol.PutResult.$Shape): arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape; + * (properties?: arrow.flight.protocol.PutResult.$Properties): arrow.flight.protocol.PutResult; + * }} */ - PutResult.create = function create(properties) { + PutResult.create = function(properties) { return new PutResult(properties); }; @@ -5184,15 +6704,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.PutResult * @static - * @param {arrow.flight.protocol.IPutResult} message PutResult message or plain object to encode + * @param {arrow.flight.protocol.PutResult.$Properties} message PutResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PutResult.encode = function encode(message, writer) { + PutResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.appMetadata != null && Object.hasOwnProperty.call(message, "appMetadata")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata") && message.appMetadata.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.appMetadata); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5201,12 +6728,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.PutResult * @static - * @param {arrow.flight.protocol.IPutResult} message PutResult message or plain object to encode + * @param {arrow.flight.protocol.PutResult.$Properties} message PutResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - PutResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + PutResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5216,26 +6743,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.PutResult} PutResult + * @returns {arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape} PutResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PutResult.decode = function decode(reader, length) { + PutResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.PutResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.PutResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.appMetadata = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.appMetadata = value; + else + delete message.appMetadata; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5245,11 +6806,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.PutResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.PutResult} PutResult + * @returns {arrow.flight.protocol.PutResult & arrow.flight.protocol.PutResult.$Shape} PutResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - PutResult.decodeDelimited = function decodeDelimited(reader) { + PutResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5263,10 +6824,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - PutResult.verify = function verify(message) { + PutResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) if (!(message.appMetadata && typeof message.appMetadata.length === "number" || $util.isString(message.appMetadata))) return "appMetadata: buffer expected"; return null; @@ -5280,15 +6845,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.PutResult} PutResult */ - PutResult.fromObject = function fromObject(object) { + PutResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.PutResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.PutResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.PutResult(); if (object.appMetadata != null) - if (typeof object.appMetadata === "string") - $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); - else if (object.appMetadata.length >= 0) - message.appMetadata = object.appMetadata; + if (object.appMetadata.length) + if (typeof object.appMetadata === "string") + $util.base64.decode(object.appMetadata, message.appMetadata = $util.newBuffer($util.base64.length(object.appMetadata)), 0); + else if (object.appMetadata.length >= 0) + message.appMetadata = object.appMetadata; return message; }; @@ -5301,20 +6873,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - PutResult.toObject = function toObject(message, options) { + PutResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.appMetadata = ""; else { object.appMetadata = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.appMetadata = $util.newBuffer(object.appMetadata); } - if (message.appMetadata != null && message.hasOwnProperty("appMetadata")) - object.appMetadata = options.bytes === String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === Array ? Array.prototype.slice.call(message.appMetadata) : message.appMetadata; + if (message.appMetadata != null && $Object.hasOwnProperty.call(message, "appMetadata")) + object.appMetadata = options.bytes === $String ? $util.base64.encode(message.appMetadata, 0, message.appMetadata.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.appMetadata) : message.appMetadata; return object; }; @@ -5325,23 +6901,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - PutResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + PutResult.prototype.toJSON = function() { + return PutResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for PutResult + * Gets the type url for PutResult * @function getTypeUrl * @memberof arrow.flight.protocol.PutResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - PutResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.PutResult"; + PutResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.PutResult"; }; return PutResult; @@ -5351,29 +6926,52 @@ $root.arrow = (function() { /** * Properties of a SessionOptionValue. - * @memberof arrow.flight.protocol - * @interface ISessionOptionValue + * @typedef {Object} arrow.flight.protocol.SessionOptionValue.$Properties * @property {string|null} [stringValue] SessionOptionValue stringValue * @property {boolean|null} [boolValue] SessionOptionValue boolValue * @property {number|Long|null} [int64Value] SessionOptionValue int64Value * @property {number|null} [doubleValue] SessionOptionValue doubleValue - * @property {arrow.flight.protocol.SessionOptionValue.IStringListValue|null} [stringListValue] SessionOptionValue stringListValue + * @property {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties|null} [stringListValue] SessionOptionValue stringListValue + * @property {"stringValue"|"boolValue"|"int64Value"|"doubleValue"|"stringListValue"} [optionValue] SessionOptionValue optionValue + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a SessionOptionValue. + * @memberof arrow.flight.protocol + * @interface ISessionOptionValue + * @augments arrow.flight.protocol.SessionOptionValue.$Properties + * @deprecated Use arrow.flight.protocol.SessionOptionValue.$Properties instead. + */ + + /** + * Narrowed shape of a SessionOptionValue. + * @typedef {{ + * stringValue?: string|null; + * boolValue?: boolean|null; + * int64Value?: number|Long|null; + * doubleValue?: number|null; + * stringListValue?: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape|null; + * $unknowns?: Array.; + * } & ( + * ({ optionValue?: undefined; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "stringValue"; stringValue: string; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "boolValue"; stringValue?: null; boolValue: boolean; int64Value?: null; doubleValue?: null; stringListValue?: null }|{ optionValue?: "int64Value"; stringValue?: null; boolValue?: null; int64Value: number|Long; doubleValue?: null; stringListValue?: null }|{ optionValue?: "doubleValue"; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue: number; stringListValue?: null }|{ optionValue?: "stringListValue"; stringValue?: null; boolValue?: null; int64Value?: null; doubleValue?: null; stringListValue: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape }) + * )} arrow.flight.protocol.SessionOptionValue.$Shape */ /** * Constructs a new SessionOptionValue. * @memberof arrow.flight.protocol * @classdesc Represents a SessionOptionValue. - * @implements ISessionOptionValue * @constructor - * @param {arrow.flight.protocol.ISessionOptionValue=} [properties] Properties to set + * @param {arrow.flight.protocol.SessionOptionValue.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SessionOptionValue(properties) { + var SessionOptionValue = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SessionOptionValue stringValue. @@ -5409,7 +7007,7 @@ $root.arrow = (function() { /** * SessionOptionValue stringListValue. - * @member {arrow.flight.protocol.SessionOptionValue.IStringListValue|null|undefined} stringListValue + * @member {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties|null|undefined} stringListValue * @memberof arrow.flight.protocol.SessionOptionValue * @instance */ @@ -5424,7 +7022,7 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SessionOptionValue * @instance */ - Object.defineProperty(SessionOptionValue.prototype, "optionValue", { + $Object.defineProperty(SessionOptionValue.prototype, "optionValue", { get: $util.oneOfGetter($oneOfFields = ["stringValue", "boolValue", "int64Value", "doubleValue", "stringListValue"]), set: $util.oneOfSetter($oneOfFields) }); @@ -5434,10 +7032,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SessionOptionValue * @static - * @param {arrow.flight.protocol.ISessionOptionValue=} [properties] Properties to set + * @param {arrow.flight.protocol.SessionOptionValue.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SessionOptionValue} SessionOptionValue instance + * @type {{ + * (properties: arrow.flight.protocol.SessionOptionValue.$Shape): arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape; + * (properties?: arrow.flight.protocol.SessionOptionValue.$Properties): arrow.flight.protocol.SessionOptionValue; + * }} */ - SessionOptionValue.create = function create(properties) { + SessionOptionValue.create = function(properties) { return new SessionOptionValue(properties); }; @@ -5446,23 +7048,30 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SessionOptionValue * @static - * @param {arrow.flight.protocol.ISessionOptionValue} message SessionOptionValue message or plain object to encode + * @param {arrow.flight.protocol.SessionOptionValue.$Properties} message SessionOptionValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SessionOptionValue.encode = function encode(message, writer) { + SessionOptionValue.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.stringValue); - if (message.boolValue != null && Object.hasOwnProperty.call(message, "boolValue")) + if (message.boolValue != null && $Object.hasOwnProperty.call(message, "boolValue")) writer.uint32(/* id 2, wireType 0 =*/16).bool(message.boolValue); - if (message.int64Value != null && Object.hasOwnProperty.call(message, "int64Value")) + if (message.int64Value != null && $Object.hasOwnProperty.call(message, "int64Value")) writer.uint32(/* id 3, wireType 1 =*/25).sfixed64(message.int64Value); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) writer.uint32(/* id 4, wireType 1 =*/33).double(message.doubleValue); - if (message.stringListValue != null && Object.hasOwnProperty.call(message, "stringListValue")) - $root.arrow.flight.protocol.SessionOptionValue.StringListValue.encode(message.stringListValue, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + if (message.stringListValue != null && $Object.hasOwnProperty.call(message, "stringListValue")) + $root.arrow.flight.protocol.SessionOptionValue.StringListValue.encode(message.stringListValue, writer.uint32(/* id 5, wireType 2 =*/42).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5471,12 +7080,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SessionOptionValue * @static - * @param {arrow.flight.protocol.ISessionOptionValue} message SessionOptionValue message or plain object to encode + * @param {arrow.flight.protocol.SessionOptionValue.$Properties} message SessionOptionValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SessionOptionValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SessionOptionValue.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5486,42 +7095,86 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SessionOptionValue} SessionOptionValue + * @returns {arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape} SessionOptionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SessionOptionValue.decode = function decode(reader, length) { + SessionOptionValue.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SessionOptionValue(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SessionOptionValue(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.stringValue = reader.string(); - break; + if (wireType !== 2) + break; + message.stringValue = reader.stringVerify(); + message.optionValue = "stringValue"; + continue; } case 2: { + if (wireType !== 0) + break; message.boolValue = reader.bool(); - break; + message.optionValue = "boolValue"; + continue; } case 3: { + if (wireType !== 1) + break; message.int64Value = reader.sfixed64(); - break; + message.optionValue = "int64Value"; + continue; } case 4: { + if (wireType !== 1) + break; message.doubleValue = reader.double(); - break; + message.optionValue = "doubleValue"; + continue; } case 5: { - message.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.decode(reader, reader.uint32(), $undefined, _depth + 1, message.stringListValue); + message.optionValue = "stringListValue"; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5531,11 +7184,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SessionOptionValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SessionOptionValue} SessionOptionValue + * @returns {arrow.flight.protocol.SessionOptionValue & arrow.flight.protocol.SessionOptionValue.$Shape} SessionOptionValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SessionOptionValue.decodeDelimited = function decodeDelimited(reader) { + SessionOptionValue.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5549,42 +7202,46 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SessionOptionValue.verify = function verify(message) { + SessionOptionValue.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) { properties.optionValue = 1; if (!$util.isString(message.stringValue)) return "stringValue: string expected"; } - if (message.boolValue != null && message.hasOwnProperty("boolValue")) { + if (message.boolValue != null && $Object.hasOwnProperty.call(message, "boolValue")) { if (properties.optionValue === 1) return "optionValue: multiple values"; properties.optionValue = 1; if (typeof message.boolValue !== "boolean") return "boolValue: boolean expected"; } - if (message.int64Value != null && message.hasOwnProperty("int64Value")) { + if (message.int64Value != null && $Object.hasOwnProperty.call(message, "int64Value")) { if (properties.optionValue === 1) return "optionValue: multiple values"; properties.optionValue = 1; if (!$util.isInteger(message.int64Value) && !(message.int64Value && $util.isInteger(message.int64Value.low) && $util.isInteger(message.int64Value.high))) return "int64Value: integer|Long expected"; } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) { if (properties.optionValue === 1) return "optionValue: multiple values"; properties.optionValue = 1; if (typeof message.doubleValue !== "number") return "doubleValue: number expected"; } - if (message.stringListValue != null && message.hasOwnProperty("stringListValue")) { + if (message.stringListValue != null && $Object.hasOwnProperty.call(message, "stringListValue")) { if (properties.optionValue === 1) return "optionValue: multiple values"; properties.optionValue = 1; { - var error = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.verify(message.stringListValue); + var error = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.verify(message.stringListValue, _depth + 1); if (error) return "stringListValue." + error; } @@ -5600,29 +7257,35 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SessionOptionValue} SessionOptionValue */ - SessionOptionValue.fromObject = function fromObject(object) { + SessionOptionValue.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SessionOptionValue) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SessionOptionValue: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SessionOptionValue(); if (object.stringValue != null) - message.stringValue = String(object.stringValue); + message.stringValue = $String(object.stringValue); if (object.boolValue != null) - message.boolValue = Boolean(object.boolValue); + message.boolValue = $Boolean(object.boolValue); if (object.int64Value != null) if ($util.Long) - (message.int64Value = $util.Long.fromValue(object.int64Value)).unsigned = false; + message.int64Value = $util.Long.fromValue(object.int64Value, false); else if (typeof object.int64Value === "string") - message.int64Value = parseInt(object.int64Value, 10); + message.int64Value = $parseInt(object.int64Value, 10); else if (typeof object.int64Value === "number") message.int64Value = object.int64Value; else if (typeof object.int64Value === "object") message.int64Value = new $util.LongBits(object.int64Value.low >>> 0, object.int64Value.high >>> 0).toNumber(); if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); + message.doubleValue = $Number(object.doubleValue); if (object.stringListValue != null) { - if (typeof object.stringListValue !== "object") - throw TypeError(".arrow.flight.protocol.SessionOptionValue.stringListValue: object expected"); - message.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.fromObject(object.stringListValue); + if (!$util.isObject(object.stringListValue)) + throw $TypeError(".arrow.flight.protocol.SessionOptionValue.stringListValue: object expected"); + message.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.fromObject(object.stringListValue, _depth + 1); } return message; }; @@ -5636,35 +7299,41 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SessionOptionValue.toObject = function toObject(message, options) { + SessionOptionValue.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) { + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) { object.stringValue = message.stringValue; if (options.oneofs) object.optionValue = "stringValue"; } - if (message.boolValue != null && message.hasOwnProperty("boolValue")) { + if (message.boolValue != null && $Object.hasOwnProperty.call(message, "boolValue")) { object.boolValue = message.boolValue; if (options.oneofs) object.optionValue = "boolValue"; } - if (message.int64Value != null && message.hasOwnProperty("int64Value")) { - if (typeof message.int64Value === "number") - object.int64Value = options.longs === String ? String(message.int64Value) : message.int64Value; + if (message.int64Value != null && $Object.hasOwnProperty.call(message, "int64Value")) { + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.int64Value = typeof message.int64Value === "number" ? $BigInt(message.int64Value) : $util.Long.fromBits(message.int64Value.low >>> 0, message.int64Value.high >>> 0, false).toBigInt(); + else if (typeof message.int64Value === "number") + object.int64Value = options.longs === $String ? $String(message.int64Value) : message.int64Value; else - object.int64Value = options.longs === String ? $util.Long.prototype.toString.call(message.int64Value) : options.longs === Number ? new $util.LongBits(message.int64Value.low >>> 0, message.int64Value.high >>> 0).toNumber() : message.int64Value; + object.int64Value = options.longs === $String ? $util.Long.prototype.toString.call(message.int64Value) : options.longs === $Number ? new $util.LongBits(message.int64Value.low >>> 0, message.int64Value.high >>> 0).toNumber() : message.int64Value; if (options.oneofs) object.optionValue = "int64Value"; } - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) { - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) { + object.doubleValue = options.json && !$isFinite(message.doubleValue) ? $String(message.doubleValue) : message.doubleValue; if (options.oneofs) object.optionValue = "doubleValue"; } - if (message.stringListValue != null && message.hasOwnProperty("stringListValue")) { - object.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.toObject(message.stringListValue, options); + if (message.stringListValue != null && $Object.hasOwnProperty.call(message, "stringListValue")) { + object.stringListValue = $root.arrow.flight.protocol.SessionOptionValue.StringListValue.toObject(message.stringListValue, options, _depth + 1); if (options.oneofs) object.optionValue = "stringListValue"; } @@ -5678,49 +7347,61 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - SessionOptionValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SessionOptionValue.prototype.toJSON = function() { + return SessionOptionValue.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SessionOptionValue + * Gets the type url for SessionOptionValue * @function getTypeUrl * @memberof arrow.flight.protocol.SessionOptionValue * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SessionOptionValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SessionOptionValue"; + SessionOptionValue.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SessionOptionValue"; }; SessionOptionValue.StringListValue = (function() { + /** + * Properties of a StringListValue. + * @typedef {Object} arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties + * @property {Array.|null} [values] StringListValue values + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a StringListValue. * @memberof arrow.flight.protocol.SessionOptionValue * @interface IStringListValue - * @property {Array.|null} [values] StringListValue values + * @augments arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties + * @deprecated Use arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties instead. + */ + + /** + * Shape of a StringListValue. + * @typedef {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties} arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape */ /** * Constructs a new StringListValue. * @memberof arrow.flight.protocol.SessionOptionValue * @classdesc Represents a StringListValue. - * @implements IStringListValue * @constructor - * @param {arrow.flight.protocol.SessionOptionValue.IStringListValue=} [properties] Properties to set + * @param {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function StringListValue(properties) { + var StringListValue = function (properties) { this.values = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * StringListValue values. @@ -5735,10 +7416,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SessionOptionValue.StringListValue * @static - * @param {arrow.flight.protocol.SessionOptionValue.IStringListValue=} [properties] Properties to set + * @param {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue} StringListValue instance + * @type {{ + * (properties: arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape): arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape; + * (properties?: arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties): arrow.flight.protocol.SessionOptionValue.StringListValue; + * }} */ - StringListValue.create = function create(properties) { + StringListValue.create = function(properties) { return new StringListValue(properties); }; @@ -5747,16 +7432,23 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SessionOptionValue.StringListValue * @static - * @param {arrow.flight.protocol.SessionOptionValue.IStringListValue} message StringListValue message or plain object to encode + * @param {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties} message StringListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StringListValue.encode = function encode(message, writer) { + StringListValue.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); if (message.values != null && message.values.length) for (var i = 0; i < message.values.length; ++i) writer.uint32(/* id 1, wireType 2 =*/10).string(message.values[i]); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5765,12 +7457,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SessionOptionValue.StringListValue * @static - * @param {arrow.flight.protocol.SessionOptionValue.IStringListValue} message StringListValue message or plain object to encode + * @param {arrow.flight.protocol.SessionOptionValue.StringListValue.$Properties} message StringListValue message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - StringListValue.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + StringListValue.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5780,28 +7472,59 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue} StringListValue + * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape} StringListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StringListValue.decode = function decode(reader, length) { + StringListValue.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SessionOptionValue.StringListValue(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SessionOptionValue.StringListValue(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (!(message.values && message.values.length)) message.values = []; - message.values.push(reader.string()); - break; + message.values.push(reader.stringVerify()); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5811,11 +7534,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SessionOptionValue.StringListValue * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue} StringListValue + * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue & arrow.flight.protocol.SessionOptionValue.StringListValue.$Shape} StringListValue * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - StringListValue.decodeDelimited = function decodeDelimited(reader) { + StringListValue.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5829,11 +7552,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - StringListValue.verify = function verify(message) { + StringListValue.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.values != null && message.hasOwnProperty("values")) { - if (!Array.isArray(message.values)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.values != null && $Object.hasOwnProperty.call(message, "values")) { + if (!$Array.isArray(message.values)) return "values: array expected"; for (var i = 0; i < message.values.length; ++i) if (!$util.isString(message.values[i])) @@ -5850,16 +7577,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SessionOptionValue.StringListValue} StringListValue */ - StringListValue.fromObject = function fromObject(object) { + StringListValue.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SessionOptionValue.StringListValue) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SessionOptionValue.StringListValue: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SessionOptionValue.StringListValue(); if (object.values) { - if (!Array.isArray(object.values)) - throw TypeError(".arrow.flight.protocol.SessionOptionValue.StringListValue.values: array expected"); - message.values = []; + if (!$Array.isArray(object.values)) + throw $TypeError(".arrow.flight.protocol.SessionOptionValue.StringListValue.values: array expected"); + message.values = $Array(object.values.length); for (var i = 0; i < object.values.length; ++i) - message.values[i] = String(object.values[i]); + message.values[i] = $String(object.values[i]); } return message; }; @@ -5873,14 +7606,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - StringListValue.toObject = function toObject(message, options) { + StringListValue.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.values = []; if (message.values && message.values.length) { - object.values = []; + object.values = $Array(message.values.length); for (var j = 0; j < message.values.length; ++j) object.values[j] = message.values[j]; } @@ -5894,23 +7631,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - StringListValue.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + StringListValue.prototype.toJSON = function() { + return StringListValue.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for StringListValue + * Gets the type url for StringListValue * @function getTypeUrl * @memberof arrow.flight.protocol.SessionOptionValue.StringListValue * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - StringListValue.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SessionOptionValue.StringListValue"; + StringListValue.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SessionOptionValue.StringListValue"; }; return StringListValue; @@ -5921,32 +7657,48 @@ $root.arrow = (function() { protocol.SetSessionOptionsRequest = (function() { + /** + * Properties of a SetSessionOptionsRequest. + * @typedef {Object} arrow.flight.protocol.SetSessionOptionsRequest.$Properties + * @property {Object.|null} [sessionOptions] SetSessionOptionsRequest sessionOptions + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a SetSessionOptionsRequest. * @memberof arrow.flight.protocol * @interface ISetSessionOptionsRequest - * @property {Object.|null} [sessionOptions] SetSessionOptionsRequest sessionOptions + * @augments arrow.flight.protocol.SetSessionOptionsRequest.$Properties + * @deprecated Use arrow.flight.protocol.SetSessionOptionsRequest.$Properties instead. + */ + + /** + * Shape of a SetSessionOptionsRequest. + * @typedef {{ + * sessionOptions?: Object.|null; + * $unknowns?: Array.; + * }} arrow.flight.protocol.SetSessionOptionsRequest.$Shape */ /** * Constructs a new SetSessionOptionsRequest. * @memberof arrow.flight.protocol * @classdesc Represents a SetSessionOptionsRequest. - * @implements ISetSessionOptionsRequest * @constructor - * @param {arrow.flight.protocol.ISetSessionOptionsRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SetSessionOptionsRequest(properties) { + var SetSessionOptionsRequest = function (properties) { this.sessionOptions = {}; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SetSessionOptionsRequest sessionOptions. - * @member {Object.} sessionOptions + * @member {Object.} sessionOptions * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @instance */ @@ -5957,10 +7709,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.ISetSessionOptionsRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SetSessionOptionsRequest} SetSessionOptionsRequest instance + * @type {{ + * (properties: arrow.flight.protocol.SetSessionOptionsRequest.$Shape): arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape; + * (properties?: arrow.flight.protocol.SetSessionOptionsRequest.$Properties): arrow.flight.protocol.SetSessionOptionsRequest; + * }} */ - SetSessionOptionsRequest.create = function create(properties) { + SetSessionOptionsRequest.create = function(properties) { return new SetSessionOptionsRequest(properties); }; @@ -5969,18 +7725,25 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.ISetSessionOptionsRequest} message SetSessionOptionsRequest message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsRequest.$Properties} message SetSessionOptionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SetSessionOptionsRequest.encode = function encode(message, writer) { + SetSessionOptionsRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.sessionOptions != null && Object.hasOwnProperty.call(message, "sessionOptions")) - for (var keys = Object.keys(message.sessionOptions), i = 0; i < keys.length; ++i) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.sessionOptions != null && $Object.hasOwnProperty.call(message, "sessionOptions")) + for (var keys = $Object.keys(message.sessionOptions), i = 0; i < keys.length; ++i) { writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.arrow.flight.protocol.SessionOptionValue.encode(message.sessionOptions[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + $root.arrow.flight.protocol.SessionOptionValue.encode(message.sessionOptions[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim().ldelim(); } + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5989,12 +7752,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.ISetSessionOptionsRequest} message SetSessionOptionsRequest message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsRequest.$Properties} message SetSessionOptionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SetSessionOptionsRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SetSessionOptionsRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6004,45 +7767,87 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SetSessionOptionsRequest} SetSessionOptionsRequest + * @returns {arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape} SetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SetSessionOptionsRequest.decode = function decode(reader, length) { + SetSessionOptionsRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SetSessionOptionsRequest(), key, value; + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, key, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SetSessionOptionsRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (message.sessionOptions === $util.emptyObject) message.sessionOptions = {}; var end2 = reader.uint32() + reader.pos; + if (end2 > reader.len) + throw $RangeError("index out of range"); + reader.len = end2; key = ""; value = null; while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { + var tag2 = reader.tag(); + wireType = tag2 & 7; + switch (tag2 >>>= 3) { case 1: - key = reader.string(); - break; + if (wireType !== 2) + break; + key = reader.stringVerify(); + continue; case 2: - value = $root.arrow.flight.protocol.SessionOptionValue.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + if (wireType !== 2) + break; + value = $root.arrow.flight.protocol.SessionOptionValue.decode(reader, reader.uint32(), $undefined, _depth + 1, value); + continue; } + reader.skipType(wireType, _depth, tag2); } - message.sessionOptions[key] = value; - break; + if (reader.pos !== end2) + throw $RangeError("index out of range"); + reader.len = end; + if (key === "__proto__") + $util.makeProp(message.sessionOptions, key); + message.sessionOptions[key] = value || new $root.arrow.flight.protocol.SessionOptionValue(); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6052,11 +7857,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SetSessionOptionsRequest} SetSessionOptionsRequest + * @returns {arrow.flight.protocol.SetSessionOptionsRequest & arrow.flight.protocol.SetSessionOptionsRequest.$Shape} SetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SetSessionOptionsRequest.decodeDelimited = function decodeDelimited(reader) { + SetSessionOptionsRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6070,15 +7875,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SetSessionOptionsRequest.verify = function verify(message) { + SetSessionOptionsRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.sessionOptions != null && message.hasOwnProperty("sessionOptions")) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.sessionOptions != null && $Object.hasOwnProperty.call(message, "sessionOptions")) { if (!$util.isObject(message.sessionOptions)) return "sessionOptions: object expected"; - var key = Object.keys(message.sessionOptions); + var key = $Object.keys(message.sessionOptions); for (var i = 0; i < key.length; ++i) { - var error = $root.arrow.flight.protocol.SessionOptionValue.verify(message.sessionOptions[key[i]]); + var error = $root.arrow.flight.protocol.SessionOptionValue.verify(message.sessionOptions[key[i]], _depth + 1); if (error) return "sessionOptions." + error; } @@ -6094,18 +7903,26 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SetSessionOptionsRequest} SetSessionOptionsRequest */ - SetSessionOptionsRequest.fromObject = function fromObject(object) { + SetSessionOptionsRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SetSessionOptionsRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SetSessionOptionsRequest(); if (object.sessionOptions) { - if (typeof object.sessionOptions !== "object") - throw TypeError(".arrow.flight.protocol.SetSessionOptionsRequest.sessionOptions: object expected"); + if (!$util.isObject(object.sessionOptions)) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsRequest.sessionOptions: object expected"); message.sessionOptions = {}; - for (var keys = Object.keys(object.sessionOptions), i = 0; i < keys.length; ++i) { - if (typeof object.sessionOptions[keys[i]] !== "object") - throw TypeError(".arrow.flight.protocol.SetSessionOptionsRequest.sessionOptions: object expected"); - message.sessionOptions[keys[i]] = $root.arrow.flight.protocol.SessionOptionValue.fromObject(object.sessionOptions[keys[i]]); + for (var keys = $Object.keys(object.sessionOptions), i = 0; i < keys.length; ++i) { + if (keys[i] === "__proto__") + $util.makeProp(message.sessionOptions, keys[i]); + if (!$util.isObject(object.sessionOptions[keys[i]])) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsRequest.sessionOptions: object expected"); + message.sessionOptions[keys[i]] = $root.arrow.flight.protocol.SessionOptionValue.fromObject(object.sessionOptions[keys[i]], _depth + 1); } } return message; @@ -6120,17 +7937,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SetSessionOptionsRequest.toObject = function toObject(message, options) { + SetSessionOptionsRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.objects || options.defaults) object.sessionOptions = {}; var keys2; - if (message.sessionOptions && (keys2 = Object.keys(message.sessionOptions)).length) { + if (message.sessionOptions && (keys2 = $Object.keys(message.sessionOptions)).length) { object.sessionOptions = {}; - for (var j = 0; j < keys2.length; ++j) - object.sessionOptions[keys2[j]] = $root.arrow.flight.protocol.SessionOptionValue.toObject(message.sessionOptions[keys2[j]], options); + for (var j = 0; j < keys2.length; ++j) { + if (keys2[j] === "__proto__") + $util.makeProp(object.sessionOptions, keys2[j]); + object.sessionOptions[keys2[j]] = $root.arrow.flight.protocol.SessionOptionValue.toObject(message.sessionOptions[keys2[j]], options, _depth + 1); + } } return object; }; @@ -6142,23 +7966,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - SetSessionOptionsRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SetSessionOptionsRequest.prototype.toJSON = function() { + return SetSessionOptionsRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SetSessionOptionsRequest + * Gets the type url for SetSessionOptionsRequest * @function getTypeUrl * @memberof arrow.flight.protocol.SetSessionOptionsRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SetSessionOptionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SetSessionOptionsRequest"; + SetSessionOptionsRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SetSessionOptionsRequest"; }; return SetSessionOptionsRequest; @@ -6166,32 +7989,45 @@ $root.arrow = (function() { protocol.SetSessionOptionsResult = (function() { + /** + * Properties of a SetSessionOptionsResult. + * @typedef {Object} arrow.flight.protocol.SetSessionOptionsResult.$Properties + * @property {Object.|null} [errors] SetSessionOptionsResult errors + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a SetSessionOptionsResult. * @memberof arrow.flight.protocol * @interface ISetSessionOptionsResult - * @property {Object.|null} [errors] SetSessionOptionsResult errors + * @augments arrow.flight.protocol.SetSessionOptionsResult.$Properties + * @deprecated Use arrow.flight.protocol.SetSessionOptionsResult.$Properties instead. + */ + + /** + * Shape of a SetSessionOptionsResult. + * @typedef {arrow.flight.protocol.SetSessionOptionsResult.$Properties} arrow.flight.protocol.SetSessionOptionsResult.$Shape */ /** * Constructs a new SetSessionOptionsResult. * @memberof arrow.flight.protocol * @classdesc Represents a SetSessionOptionsResult. - * @implements ISetSessionOptionsResult * @constructor - * @param {arrow.flight.protocol.ISetSessionOptionsResult=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SetSessionOptionsResult(properties) { + var SetSessionOptionsResult = function (properties) { this.errors = {}; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SetSessionOptionsResult errors. - * @member {Object.} errors + * @member {Object.} errors * @memberof arrow.flight.protocol.SetSessionOptionsResult * @instance */ @@ -6202,10 +8038,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SetSessionOptionsResult * @static - * @param {arrow.flight.protocol.ISetSessionOptionsResult=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SetSessionOptionsResult} SetSessionOptionsResult instance + * @type {{ + * (properties: arrow.flight.protocol.SetSessionOptionsResult.$Shape): arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape; + * (properties?: arrow.flight.protocol.SetSessionOptionsResult.$Properties): arrow.flight.protocol.SetSessionOptionsResult; + * }} */ - SetSessionOptionsResult.create = function create(properties) { + SetSessionOptionsResult.create = function(properties) { return new SetSessionOptionsResult(properties); }; @@ -6214,18 +8054,25 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SetSessionOptionsResult * @static - * @param {arrow.flight.protocol.ISetSessionOptionsResult} message SetSessionOptionsResult message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsResult.$Properties} message SetSessionOptionsResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SetSessionOptionsResult.encode = function encode(message, writer) { + SetSessionOptionsResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.errors != null && Object.hasOwnProperty.call(message, "errors")) - for (var keys = Object.keys(message.errors), i = 0; i < keys.length; ++i) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.errors != null && $Object.hasOwnProperty.call(message, "errors")) + for (var keys = $Object.keys(message.errors), i = 0; i < keys.length; ++i) { writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.arrow.flight.protocol.SetSessionOptionsResult.Error.encode(message.errors[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + $root.arrow.flight.protocol.SetSessionOptionsResult.Error.encode(message.errors[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim().ldelim(); } + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6234,12 +8081,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SetSessionOptionsResult * @static - * @param {arrow.flight.protocol.ISetSessionOptionsResult} message SetSessionOptionsResult message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsResult.$Properties} message SetSessionOptionsResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SetSessionOptionsResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SetSessionOptionsResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6249,45 +8096,87 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SetSessionOptionsResult} SetSessionOptionsResult + * @returns {arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape} SetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SetSessionOptionsResult.decode = function decode(reader, length) { + SetSessionOptionsResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SetSessionOptionsResult(), key, value; + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, key, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SetSessionOptionsResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (message.errors === $util.emptyObject) message.errors = {}; var end2 = reader.uint32() + reader.pos; + if (end2 > reader.len) + throw $RangeError("index out of range"); + reader.len = end2; key = ""; value = null; while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { + var tag2 = reader.tag(); + wireType = tag2 & 7; + switch (tag2 >>>= 3) { case 1: - key = reader.string(); - break; + if (wireType !== 2) + break; + key = reader.stringVerify(); + continue; case 2: - value = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + if (wireType !== 2) + break; + value = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.decode(reader, reader.uint32(), $undefined, _depth + 1, value); + continue; } + reader.skipType(wireType, _depth, tag2); } - message.errors[key] = value; - break; + if (reader.pos !== end2) + throw $RangeError("index out of range"); + reader.len = end; + if (key === "__proto__") + $util.makeProp(message.errors, key); + message.errors[key] = value || new $root.arrow.flight.protocol.SetSessionOptionsResult.Error(); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6297,11 +8186,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SetSessionOptionsResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SetSessionOptionsResult} SetSessionOptionsResult + * @returns {arrow.flight.protocol.SetSessionOptionsResult & arrow.flight.protocol.SetSessionOptionsResult.$Shape} SetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SetSessionOptionsResult.decodeDelimited = function decodeDelimited(reader) { + SetSessionOptionsResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6315,15 +8204,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SetSessionOptionsResult.verify = function verify(message) { + SetSessionOptionsResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.errors != null && message.hasOwnProperty("errors")) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.errors != null && $Object.hasOwnProperty.call(message, "errors")) { if (!$util.isObject(message.errors)) return "errors: object expected"; - var key = Object.keys(message.errors); + var key = $Object.keys(message.errors); for (var i = 0; i < key.length; ++i) { - var error = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.verify(message.errors[key[i]]); + var error = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.verify(message.errors[key[i]], _depth + 1); if (error) return "errors." + error; } @@ -6339,18 +8232,26 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SetSessionOptionsResult} SetSessionOptionsResult */ - SetSessionOptionsResult.fromObject = function fromObject(object) { + SetSessionOptionsResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SetSessionOptionsResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SetSessionOptionsResult(); if (object.errors) { - if (typeof object.errors !== "object") - throw TypeError(".arrow.flight.protocol.SetSessionOptionsResult.errors: object expected"); + if (!$util.isObject(object.errors)) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsResult.errors: object expected"); message.errors = {}; - for (var keys = Object.keys(object.errors), i = 0; i < keys.length; ++i) { - if (typeof object.errors[keys[i]] !== "object") - throw TypeError(".arrow.flight.protocol.SetSessionOptionsResult.errors: object expected"); - message.errors[keys[i]] = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.fromObject(object.errors[keys[i]]); + for (var keys = $Object.keys(object.errors), i = 0; i < keys.length; ++i) { + if (keys[i] === "__proto__") + $util.makeProp(message.errors, keys[i]); + if (!$util.isObject(object.errors[keys[i]])) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsResult.errors: object expected"); + message.errors[keys[i]] = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.fromObject(object.errors[keys[i]], _depth + 1); } } return message; @@ -6365,17 +8266,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SetSessionOptionsResult.toObject = function toObject(message, options) { + SetSessionOptionsResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.objects || options.defaults) object.errors = {}; var keys2; - if (message.errors && (keys2 = Object.keys(message.errors)).length) { + if (message.errors && (keys2 = $Object.keys(message.errors)).length) { object.errors = {}; - for (var j = 0; j < keys2.length; ++j) - object.errors[keys2[j]] = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.toObject(message.errors[keys2[j]], options); + for (var j = 0; j < keys2.length; ++j) { + if (keys2[j] === "__proto__") + $util.makeProp(object.errors, keys2[j]); + object.errors[keys2[j]] = $root.arrow.flight.protocol.SetSessionOptionsResult.Error.toObject(message.errors[keys2[j]], options, _depth + 1); + } } return object; }; @@ -6387,23 +8295,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - SetSessionOptionsResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SetSessionOptionsResult.prototype.toJSON = function() { + return SetSessionOptionsResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SetSessionOptionsResult + * Gets the type url for SetSessionOptionsResult * @function getTypeUrl * @memberof arrow.flight.protocol.SetSessionOptionsResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SetSessionOptionsResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SetSessionOptionsResult"; + SetSessionOptionsResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SetSessionOptionsResult"; }; /** @@ -6416,7 +8323,7 @@ $root.arrow = (function() { * @property {number} ERROR=3 ERROR value */ SetSessionOptionsResult.ErrorValue = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "UNSPECIFIED"] = 0; values[valuesById[1] = "INVALID_NAME"] = 1; values[valuesById[2] = "INVALID_VALUE"] = 2; @@ -6426,27 +8333,40 @@ $root.arrow = (function() { SetSessionOptionsResult.Error = (function() { + /** + * Properties of an Error. + * @typedef {Object} arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties + * @property {arrow.flight.protocol.SetSessionOptionsResult.ErrorValue|null} [value] Error value + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an Error. * @memberof arrow.flight.protocol.SetSessionOptionsResult * @interface IError - * @property {arrow.flight.protocol.SetSessionOptionsResult.ErrorValue|null} [value] Error value + * @augments arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties + * @deprecated Use arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties instead. + */ + + /** + * Shape of an Error. + * @typedef {arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties} arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape */ /** * Constructs a new Error. * @memberof arrow.flight.protocol.SetSessionOptionsResult * @classdesc Represents an Error. - * @implements IError * @constructor - * @param {arrow.flight.protocol.SetSessionOptionsResult.IError=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Error(properties) { + var Error = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Error value. @@ -6461,10 +8381,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.SetSessionOptionsResult.Error * @static - * @param {arrow.flight.protocol.SetSessionOptionsResult.IError=} [properties] Properties to set + * @param {arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error} Error instance + * @type {{ + * (properties: arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape): arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape; + * (properties?: arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties): arrow.flight.protocol.SetSessionOptionsResult.Error; + * }} */ - Error.create = function create(properties) { + Error.create = function(properties) { return new Error(properties); }; @@ -6473,15 +8397,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.SetSessionOptionsResult.Error * @static - * @param {arrow.flight.protocol.SetSessionOptionsResult.IError} message Error message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties} message Error message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Error.encode = function encode(message, writer) { + Error.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.value != null && Object.hasOwnProperty.call(message, "value")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.value != null && $Object.hasOwnProperty.call(message, "value") && message.value !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.value); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6490,12 +8421,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.SetSessionOptionsResult.Error * @static - * @param {arrow.flight.protocol.SetSessionOptionsResult.IError} message Error message or plain object to encode + * @param {arrow.flight.protocol.SetSessionOptionsResult.Error.$Properties} message Error message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Error.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Error.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6505,26 +8436,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error} Error + * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape} Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Error.decode = function decode(reader, length) { + Error.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.SetSessionOptionsResult.Error(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.SetSessionOptionsResult.Error(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.value = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.value = value; + else + delete message.value; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6534,11 +8499,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.SetSessionOptionsResult.Error * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error} Error + * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error & arrow.flight.protocol.SetSessionOptionsResult.Error.$Shape} Error * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Error.decodeDelimited = function decodeDelimited(reader) { + Error.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6552,19 +8517,16 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Error.verify = function verify(message) { + Error.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.value != null && message.hasOwnProperty("value")) - switch (message.value) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + if (typeof message.value !== "number" || (message.value | 0) !== message.value) return "value: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } return null; }; @@ -6576,34 +8538,38 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.SetSessionOptionsResult.Error} Error */ - Error.fromObject = function fromObject(object) { + Error.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.SetSessionOptionsResult.Error) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.SetSessionOptionsResult.Error: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.SetSessionOptionsResult.Error(); - switch (object.value) { - default: - if (typeof object.value === "number") { - message.value = object.value; + if (object.value !== 0 && (typeof object.value !== "string" || $root.arrow.flight.protocol.SetSessionOptionsResult.ErrorValue[object.value] !== 0)) + switch (object.value) { + case "UNSPECIFIED": + case 0: + message.value = 0; + break; + case "INVALID_NAME": + case 1: + message.value = 1; + break; + case "INVALID_VALUE": + case 2: + message.value = 2; + break; + case "ERROR": + case 3: + message.value = 3; break; + default: + if (typeof object.value === "number" && (object.value | 0) === object.value) + message.value = object.value; } - break; - case "UNSPECIFIED": - case 0: - message.value = 0; - break; - case "INVALID_NAME": - case 1: - message.value = 1; - break; - case "INVALID_VALUE": - case 2: - message.value = 2; - break; - case "ERROR": - case 3: - message.value = 3; - break; - } return message; }; @@ -6616,14 +8582,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Error.toObject = function toObject(message, options) { + Error.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - object.value = options.enums === String ? "UNSPECIFIED" : 0; - if (message.value != null && message.hasOwnProperty("value")) - object.value = options.enums === String ? $root.arrow.flight.protocol.SetSessionOptionsResult.ErrorValue[message.value] === undefined ? message.value : $root.arrow.flight.protocol.SetSessionOptionsResult.ErrorValue[message.value] : message.value; + object.value = options.enums === $String ? "UNSPECIFIED" : 0; + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + object.value = options.enums === $String ? $root.arrow.flight.protocol.SetSessionOptionsResult.ErrorValue[message.value] === $undefined ? message.value : $root.arrow.flight.protocol.SetSessionOptionsResult.ErrorValue[message.value] : message.value; return object; }; @@ -6634,23 +8604,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - Error.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Error.prototype.toJSON = function() { + return Error.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Error + * Gets the type url for Error * @function getTypeUrl * @memberof arrow.flight.protocol.SetSessionOptionsResult.Error * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Error.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.SetSessionOptionsResult.Error"; + Error.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.SetSessionOptionsResult.Error"; }; return Error; @@ -6661,36 +8630,53 @@ $root.arrow = (function() { protocol.GetSessionOptionsRequest = (function() { + /** + * Properties of a GetSessionOptionsRequest. + * @typedef {Object} arrow.flight.protocol.GetSessionOptionsRequest.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a GetSessionOptionsRequest. * @memberof arrow.flight.protocol * @interface IGetSessionOptionsRequest + * @augments arrow.flight.protocol.GetSessionOptionsRequest.$Properties + * @deprecated Use arrow.flight.protocol.GetSessionOptionsRequest.$Properties instead. + */ + + /** + * Shape of a GetSessionOptionsRequest. + * @typedef {arrow.flight.protocol.GetSessionOptionsRequest.$Properties} arrow.flight.protocol.GetSessionOptionsRequest.$Shape */ /** * Constructs a new GetSessionOptionsRequest. * @memberof arrow.flight.protocol * @classdesc Represents a GetSessionOptionsRequest. - * @implements IGetSessionOptionsRequest * @constructor - * @param {arrow.flight.protocol.IGetSessionOptionsRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.GetSessionOptionsRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function GetSessionOptionsRequest(properties) { + var GetSessionOptionsRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new GetSessionOptionsRequest instance using the specified properties. * @function create * @memberof arrow.flight.protocol.GetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.IGetSessionOptionsRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.GetSessionOptionsRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.GetSessionOptionsRequest} GetSessionOptionsRequest instance + * @type {{ + * (properties: arrow.flight.protocol.GetSessionOptionsRequest.$Shape): arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape; + * (properties?: arrow.flight.protocol.GetSessionOptionsRequest.$Properties): arrow.flight.protocol.GetSessionOptionsRequest; + * }} */ - GetSessionOptionsRequest.create = function create(properties) { + GetSessionOptionsRequest.create = function(properties) { return new GetSessionOptionsRequest(properties); }; @@ -6699,13 +8685,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.GetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.IGetSessionOptionsRequest} message GetSessionOptionsRequest message or plain object to encode + * @param {arrow.flight.protocol.GetSessionOptionsRequest.$Properties} message GetSessionOptionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSessionOptionsRequest.encode = function encode(message, writer) { + GetSessionOptionsRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6714,12 +8707,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.GetSessionOptionsRequest * @static - * @param {arrow.flight.protocol.IGetSessionOptionsRequest} message GetSessionOptionsRequest message or plain object to encode + * @param {arrow.flight.protocol.GetSessionOptionsRequest.$Properties} message GetSessionOptionsRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSessionOptionsRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + GetSessionOptionsRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6729,22 +8722,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.GetSessionOptionsRequest} GetSessionOptionsRequest + * @returns {arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape} GetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSessionOptionsRequest.decode = function decode(reader, length) { + GetSessionOptionsRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.GetSessionOptionsRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.GetSessionOptionsRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6754,11 +8773,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.GetSessionOptionsRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.GetSessionOptionsRequest} GetSessionOptionsRequest + * @returns {arrow.flight.protocol.GetSessionOptionsRequest & arrow.flight.protocol.GetSessionOptionsRequest.$Shape} GetSessionOptionsRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSessionOptionsRequest.decodeDelimited = function decodeDelimited(reader) { + GetSessionOptionsRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6772,9 +8791,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetSessionOptionsRequest.verify = function verify(message) { + GetSessionOptionsRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -6786,9 +8809,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.GetSessionOptionsRequest} GetSessionOptionsRequest */ - GetSessionOptionsRequest.fromObject = function fromObject(object) { + GetSessionOptionsRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.GetSessionOptionsRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.GetSessionOptionsRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.GetSessionOptionsRequest(); }; @@ -6801,7 +8830,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - GetSessionOptionsRequest.toObject = function toObject() { + GetSessionOptionsRequest.toObject = function () { return {}; }; @@ -6812,23 +8841,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - GetSessionOptionsRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + GetSessionOptionsRequest.prototype.toJSON = function() { + return GetSessionOptionsRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for GetSessionOptionsRequest + * Gets the type url for GetSessionOptionsRequest * @function getTypeUrl * @memberof arrow.flight.protocol.GetSessionOptionsRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - GetSessionOptionsRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.GetSessionOptionsRequest"; + GetSessionOptionsRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.GetSessionOptionsRequest"; }; return GetSessionOptionsRequest; @@ -6836,32 +8864,48 @@ $root.arrow = (function() { protocol.GetSessionOptionsResult = (function() { + /** + * Properties of a GetSessionOptionsResult. + * @typedef {Object} arrow.flight.protocol.GetSessionOptionsResult.$Properties + * @property {Object.|null} [sessionOptions] GetSessionOptionsResult sessionOptions + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a GetSessionOptionsResult. * @memberof arrow.flight.protocol * @interface IGetSessionOptionsResult - * @property {Object.|null} [sessionOptions] GetSessionOptionsResult sessionOptions + * @augments arrow.flight.protocol.GetSessionOptionsResult.$Properties + * @deprecated Use arrow.flight.protocol.GetSessionOptionsResult.$Properties instead. + */ + + /** + * Shape of a GetSessionOptionsResult. + * @typedef {{ + * sessionOptions?: Object.|null; + * $unknowns?: Array.; + * }} arrow.flight.protocol.GetSessionOptionsResult.$Shape */ /** * Constructs a new GetSessionOptionsResult. * @memberof arrow.flight.protocol * @classdesc Represents a GetSessionOptionsResult. - * @implements IGetSessionOptionsResult * @constructor - * @param {arrow.flight.protocol.IGetSessionOptionsResult=} [properties] Properties to set + * @param {arrow.flight.protocol.GetSessionOptionsResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function GetSessionOptionsResult(properties) { + var GetSessionOptionsResult = function (properties) { this.sessionOptions = {}; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * GetSessionOptionsResult sessionOptions. - * @member {Object.} sessionOptions + * @member {Object.} sessionOptions * @memberof arrow.flight.protocol.GetSessionOptionsResult * @instance */ @@ -6872,10 +8916,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.GetSessionOptionsResult * @static - * @param {arrow.flight.protocol.IGetSessionOptionsResult=} [properties] Properties to set + * @param {arrow.flight.protocol.GetSessionOptionsResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.GetSessionOptionsResult} GetSessionOptionsResult instance + * @type {{ + * (properties: arrow.flight.protocol.GetSessionOptionsResult.$Shape): arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape; + * (properties?: arrow.flight.protocol.GetSessionOptionsResult.$Properties): arrow.flight.protocol.GetSessionOptionsResult; + * }} */ - GetSessionOptionsResult.create = function create(properties) { + GetSessionOptionsResult.create = function(properties) { return new GetSessionOptionsResult(properties); }; @@ -6884,18 +8932,25 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.GetSessionOptionsResult * @static - * @param {arrow.flight.protocol.IGetSessionOptionsResult} message GetSessionOptionsResult message or plain object to encode + * @param {arrow.flight.protocol.GetSessionOptionsResult.$Properties} message GetSessionOptionsResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSessionOptionsResult.encode = function encode(message, writer) { + GetSessionOptionsResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.sessionOptions != null && Object.hasOwnProperty.call(message, "sessionOptions")) - for (var keys = Object.keys(message.sessionOptions), i = 0; i < keys.length; ++i) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.sessionOptions != null && $Object.hasOwnProperty.call(message, "sessionOptions")) + for (var keys = $Object.keys(message.sessionOptions), i = 0; i < keys.length; ++i) { writer.uint32(/* id 1, wireType 2 =*/10).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]); - $root.arrow.flight.protocol.SessionOptionValue.encode(message.sessionOptions[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim().ldelim(); + $root.arrow.flight.protocol.SessionOptionValue.encode(message.sessionOptions[keys[i]], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim().ldelim(); } + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6904,12 +8959,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.GetSessionOptionsResult * @static - * @param {arrow.flight.protocol.IGetSessionOptionsResult} message GetSessionOptionsResult message or plain object to encode + * @param {arrow.flight.protocol.GetSessionOptionsResult.$Properties} message GetSessionOptionsResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GetSessionOptionsResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + GetSessionOptionsResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6919,45 +8974,87 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.GetSessionOptionsResult} GetSessionOptionsResult + * @returns {arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape} GetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSessionOptionsResult.decode = function decode(reader, length) { + GetSessionOptionsResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.GetSessionOptionsResult(), key, value; + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, key, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.GetSessionOptionsResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (message.sessionOptions === $util.emptyObject) message.sessionOptions = {}; var end2 = reader.uint32() + reader.pos; + if (end2 > reader.len) + throw $RangeError("index out of range"); + reader.len = end2; key = ""; value = null; while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { + var tag2 = reader.tag(); + wireType = tag2 & 7; + switch (tag2 >>>= 3) { case 1: - key = reader.string(); - break; + if (wireType !== 2) + break; + key = reader.stringVerify(); + continue; case 2: - value = $root.arrow.flight.protocol.SessionOptionValue.decode(reader, reader.uint32()); - break; - default: - reader.skipType(tag2 & 7); - break; + if (wireType !== 2) + break; + value = $root.arrow.flight.protocol.SessionOptionValue.decode(reader, reader.uint32(), $undefined, _depth + 1, value); + continue; } + reader.skipType(wireType, _depth, tag2); } - message.sessionOptions[key] = value; - break; + if (reader.pos !== end2) + throw $RangeError("index out of range"); + reader.len = end; + if (key === "__proto__") + $util.makeProp(message.sessionOptions, key); + message.sessionOptions[key] = value || new $root.arrow.flight.protocol.SessionOptionValue(); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6967,11 +9064,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.GetSessionOptionsResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.GetSessionOptionsResult} GetSessionOptionsResult + * @returns {arrow.flight.protocol.GetSessionOptionsResult & arrow.flight.protocol.GetSessionOptionsResult.$Shape} GetSessionOptionsResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GetSessionOptionsResult.decodeDelimited = function decodeDelimited(reader) { + GetSessionOptionsResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6985,15 +9082,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GetSessionOptionsResult.verify = function verify(message) { + GetSessionOptionsResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.sessionOptions != null && message.hasOwnProperty("sessionOptions")) { + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.sessionOptions != null && $Object.hasOwnProperty.call(message, "sessionOptions")) { if (!$util.isObject(message.sessionOptions)) return "sessionOptions: object expected"; - var key = Object.keys(message.sessionOptions); + var key = $Object.keys(message.sessionOptions); for (var i = 0; i < key.length; ++i) { - var error = $root.arrow.flight.protocol.SessionOptionValue.verify(message.sessionOptions[key[i]]); + var error = $root.arrow.flight.protocol.SessionOptionValue.verify(message.sessionOptions[key[i]], _depth + 1); if (error) return "sessionOptions." + error; } @@ -7009,18 +9110,26 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.GetSessionOptionsResult} GetSessionOptionsResult */ - GetSessionOptionsResult.fromObject = function fromObject(object) { + GetSessionOptionsResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.GetSessionOptionsResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.GetSessionOptionsResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.GetSessionOptionsResult(); if (object.sessionOptions) { - if (typeof object.sessionOptions !== "object") - throw TypeError(".arrow.flight.protocol.GetSessionOptionsResult.sessionOptions: object expected"); + if (!$util.isObject(object.sessionOptions)) + throw $TypeError(".arrow.flight.protocol.GetSessionOptionsResult.sessionOptions: object expected"); message.sessionOptions = {}; - for (var keys = Object.keys(object.sessionOptions), i = 0; i < keys.length; ++i) { - if (typeof object.sessionOptions[keys[i]] !== "object") - throw TypeError(".arrow.flight.protocol.GetSessionOptionsResult.sessionOptions: object expected"); - message.sessionOptions[keys[i]] = $root.arrow.flight.protocol.SessionOptionValue.fromObject(object.sessionOptions[keys[i]]); + for (var keys = $Object.keys(object.sessionOptions), i = 0; i < keys.length; ++i) { + if (keys[i] === "__proto__") + $util.makeProp(message.sessionOptions, keys[i]); + if (!$util.isObject(object.sessionOptions[keys[i]])) + throw $TypeError(".arrow.flight.protocol.GetSessionOptionsResult.sessionOptions: object expected"); + message.sessionOptions[keys[i]] = $root.arrow.flight.protocol.SessionOptionValue.fromObject(object.sessionOptions[keys[i]], _depth + 1); } } return message; @@ -7035,17 +9144,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - GetSessionOptionsResult.toObject = function toObject(message, options) { + GetSessionOptionsResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.objects || options.defaults) object.sessionOptions = {}; var keys2; - if (message.sessionOptions && (keys2 = Object.keys(message.sessionOptions)).length) { + if (message.sessionOptions && (keys2 = $Object.keys(message.sessionOptions)).length) { object.sessionOptions = {}; - for (var j = 0; j < keys2.length; ++j) - object.sessionOptions[keys2[j]] = $root.arrow.flight.protocol.SessionOptionValue.toObject(message.sessionOptions[keys2[j]], options); + for (var j = 0; j < keys2.length; ++j) { + if (keys2[j] === "__proto__") + $util.makeProp(object.sessionOptions, keys2[j]); + object.sessionOptions[keys2[j]] = $root.arrow.flight.protocol.SessionOptionValue.toObject(message.sessionOptions[keys2[j]], options, _depth + 1); + } } return object; }; @@ -7057,23 +9173,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - GetSessionOptionsResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + GetSessionOptionsResult.prototype.toJSON = function() { + return GetSessionOptionsResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for GetSessionOptionsResult + * Gets the type url for GetSessionOptionsResult * @function getTypeUrl * @memberof arrow.flight.protocol.GetSessionOptionsResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - GetSessionOptionsResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.GetSessionOptionsResult"; + GetSessionOptionsResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.GetSessionOptionsResult"; }; return GetSessionOptionsResult; @@ -7081,36 +9196,53 @@ $root.arrow = (function() { protocol.CloseSessionRequest = (function() { + /** + * Properties of a CloseSessionRequest. + * @typedef {Object} arrow.flight.protocol.CloseSessionRequest.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CloseSessionRequest. * @memberof arrow.flight.protocol * @interface ICloseSessionRequest + * @augments arrow.flight.protocol.CloseSessionRequest.$Properties + * @deprecated Use arrow.flight.protocol.CloseSessionRequest.$Properties instead. + */ + + /** + * Shape of a CloseSessionRequest. + * @typedef {arrow.flight.protocol.CloseSessionRequest.$Properties} arrow.flight.protocol.CloseSessionRequest.$Shape */ /** * Constructs a new CloseSessionRequest. * @memberof arrow.flight.protocol * @classdesc Represents a CloseSessionRequest. - * @implements ICloseSessionRequest * @constructor - * @param {arrow.flight.protocol.ICloseSessionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.CloseSessionRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CloseSessionRequest(properties) { + var CloseSessionRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new CloseSessionRequest instance using the specified properties. * @function create * @memberof arrow.flight.protocol.CloseSessionRequest * @static - * @param {arrow.flight.protocol.ICloseSessionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.CloseSessionRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.CloseSessionRequest} CloseSessionRequest instance + * @type {{ + * (properties: arrow.flight.protocol.CloseSessionRequest.$Shape): arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape; + * (properties?: arrow.flight.protocol.CloseSessionRequest.$Properties): arrow.flight.protocol.CloseSessionRequest; + * }} */ - CloseSessionRequest.create = function create(properties) { + CloseSessionRequest.create = function(properties) { return new CloseSessionRequest(properties); }; @@ -7119,13 +9251,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.CloseSessionRequest * @static - * @param {arrow.flight.protocol.ICloseSessionRequest} message CloseSessionRequest message or plain object to encode + * @param {arrow.flight.protocol.CloseSessionRequest.$Properties} message CloseSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloseSessionRequest.encode = function encode(message, writer) { + CloseSessionRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7134,12 +9273,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.CloseSessionRequest * @static - * @param {arrow.flight.protocol.ICloseSessionRequest} message CloseSessionRequest message or plain object to encode + * @param {arrow.flight.protocol.CloseSessionRequest.$Properties} message CloseSessionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloseSessionRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CloseSessionRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7149,22 +9288,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.CloseSessionRequest} CloseSessionRequest + * @returns {arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape} CloseSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloseSessionRequest.decode = function decode(reader, length) { + CloseSessionRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.CloseSessionRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.CloseSessionRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7174,11 +9339,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.CloseSessionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.CloseSessionRequest} CloseSessionRequest + * @returns {arrow.flight.protocol.CloseSessionRequest & arrow.flight.protocol.CloseSessionRequest.$Shape} CloseSessionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloseSessionRequest.decodeDelimited = function decodeDelimited(reader) { + CloseSessionRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7192,9 +9357,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloseSessionRequest.verify = function verify(message) { + CloseSessionRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -7206,9 +9375,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.CloseSessionRequest} CloseSessionRequest */ - CloseSessionRequest.fromObject = function fromObject(object) { + CloseSessionRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.CloseSessionRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.CloseSessionRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.CloseSessionRequest(); }; @@ -7221,7 +9396,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CloseSessionRequest.toObject = function toObject() { + CloseSessionRequest.toObject = function () { return {}; }; @@ -7232,23 +9407,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CloseSessionRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CloseSessionRequest.prototype.toJSON = function() { + return CloseSessionRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CloseSessionRequest + * Gets the type url for CloseSessionRequest * @function getTypeUrl * @memberof arrow.flight.protocol.CloseSessionRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CloseSessionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.CloseSessionRequest"; + CloseSessionRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.CloseSessionRequest"; }; return CloseSessionRequest; @@ -7256,27 +9430,40 @@ $root.arrow = (function() { protocol.CloseSessionResult = (function() { + /** + * Properties of a CloseSessionResult. + * @typedef {Object} arrow.flight.protocol.CloseSessionResult.$Properties + * @property {arrow.flight.protocol.CloseSessionResult.Status|null} [status] CloseSessionResult status + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CloseSessionResult. * @memberof arrow.flight.protocol * @interface ICloseSessionResult - * @property {arrow.flight.protocol.CloseSessionResult.Status|null} [status] CloseSessionResult status + * @augments arrow.flight.protocol.CloseSessionResult.$Properties + * @deprecated Use arrow.flight.protocol.CloseSessionResult.$Properties instead. + */ + + /** + * Shape of a CloseSessionResult. + * @typedef {arrow.flight.protocol.CloseSessionResult.$Properties} arrow.flight.protocol.CloseSessionResult.$Shape */ /** * Constructs a new CloseSessionResult. * @memberof arrow.flight.protocol * @classdesc Represents a CloseSessionResult. - * @implements ICloseSessionResult * @constructor - * @param {arrow.flight.protocol.ICloseSessionResult=} [properties] Properties to set + * @param {arrow.flight.protocol.CloseSessionResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CloseSessionResult(properties) { + var CloseSessionResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CloseSessionResult status. @@ -7291,10 +9478,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.CloseSessionResult * @static - * @param {arrow.flight.protocol.ICloseSessionResult=} [properties] Properties to set + * @param {arrow.flight.protocol.CloseSessionResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.CloseSessionResult} CloseSessionResult instance + * @type {{ + * (properties: arrow.flight.protocol.CloseSessionResult.$Shape): arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape; + * (properties?: arrow.flight.protocol.CloseSessionResult.$Properties): arrow.flight.protocol.CloseSessionResult; + * }} */ - CloseSessionResult.create = function create(properties) { + CloseSessionResult.create = function(properties) { return new CloseSessionResult(properties); }; @@ -7303,15 +9494,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.CloseSessionResult * @static - * @param {arrow.flight.protocol.ICloseSessionResult} message CloseSessionResult message or plain object to encode + * @param {arrow.flight.protocol.CloseSessionResult.$Properties} message CloseSessionResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloseSessionResult.encode = function encode(message, writer) { + CloseSessionResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.status != null && Object.hasOwnProperty.call(message, "status")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.status != null && $Object.hasOwnProperty.call(message, "status") && message.status !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.status); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7320,12 +9518,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.CloseSessionResult * @static - * @param {arrow.flight.protocol.ICloseSessionResult} message CloseSessionResult message or plain object to encode + * @param {arrow.flight.protocol.CloseSessionResult.$Properties} message CloseSessionResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CloseSessionResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CloseSessionResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7335,26 +9533,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.CloseSessionResult} CloseSessionResult + * @returns {arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape} CloseSessionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloseSessionResult.decode = function decode(reader, length) { + CloseSessionResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.CloseSessionResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.CloseSessionResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.status = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.status = value; + else + delete message.status; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7364,11 +9596,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.CloseSessionResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.CloseSessionResult} CloseSessionResult + * @returns {arrow.flight.protocol.CloseSessionResult & arrow.flight.protocol.CloseSessionResult.$Shape} CloseSessionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CloseSessionResult.decodeDelimited = function decodeDelimited(reader) { + CloseSessionResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7382,19 +9614,16 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CloseSessionResult.verify = function verify(message) { + CloseSessionResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.status != null && message.hasOwnProperty("status")) - switch (message.status) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.status != null && $Object.hasOwnProperty.call(message, "status")) + if (typeof message.status !== "number" || (message.status | 0) !== message.status) return "status: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } return null; }; @@ -7406,34 +9635,38 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.CloseSessionResult} CloseSessionResult */ - CloseSessionResult.fromObject = function fromObject(object) { + CloseSessionResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.CloseSessionResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.CloseSessionResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.CloseSessionResult(); - switch (object.status) { - default: - if (typeof object.status === "number") { - message.status = object.status; + if (object.status !== 0 && (typeof object.status !== "string" || $root.arrow.flight.protocol.CloseSessionResult.Status[object.status] !== 0)) + switch (object.status) { + case "UNSPECIFIED": + case 0: + message.status = 0; break; + case "CLOSED": + case 1: + message.status = 1; + break; + case "CLOSING": + case 2: + message.status = 2; + break; + case "NOT_CLOSEABLE": + case 3: + message.status = 3; + break; + default: + if (typeof object.status === "number" && (object.status | 0) === object.status) + message.status = object.status; } - break; - case "UNSPECIFIED": - case 0: - message.status = 0; - break; - case "CLOSED": - case 1: - message.status = 1; - break; - case "CLOSING": - case 2: - message.status = 2; - break; - case "NOT_CLOSEABLE": - case 3: - message.status = 3; - break; - } return message; }; @@ -7446,14 +9679,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CloseSessionResult.toObject = function toObject(message, options) { + CloseSessionResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - object.status = options.enums === String ? "UNSPECIFIED" : 0; - if (message.status != null && message.hasOwnProperty("status")) - object.status = options.enums === String ? $root.arrow.flight.protocol.CloseSessionResult.Status[message.status] === undefined ? message.status : $root.arrow.flight.protocol.CloseSessionResult.Status[message.status] : message.status; + object.status = options.enums === $String ? "UNSPECIFIED" : 0; + if (message.status != null && $Object.hasOwnProperty.call(message, "status")) + object.status = options.enums === $String ? $root.arrow.flight.protocol.CloseSessionResult.Status[message.status] === $undefined ? message.status : $root.arrow.flight.protocol.CloseSessionResult.Status[message.status] : message.status; return object; }; @@ -7464,23 +9701,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CloseSessionResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CloseSessionResult.prototype.toJSON = function() { + return CloseSessionResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CloseSessionResult + * Gets the type url for CloseSessionResult * @function getTypeUrl * @memberof arrow.flight.protocol.CloseSessionResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CloseSessionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.CloseSessionResult"; + CloseSessionResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.CloseSessionResult"; }; /** @@ -7493,7 +9729,7 @@ $root.arrow = (function() { * @property {number} NOT_CLOSEABLE=3 NOT_CLOSEABLE value */ CloseSessionResult.Status = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "UNSPECIFIED"] = 0; values[valuesById[1] = "CLOSED"] = 1; values[valuesById[2] = "CLOSING"] = 2; @@ -7535,26 +9771,39 @@ $root.google = (function() { /** * Properties of a Timestamp. - * @memberof google.protobuf - * @interface ITimestamp + * @typedef {Object} google.protobuf.Timestamp.$Properties * @property {number|Long|null} [seconds] Timestamp seconds * @property {number|null} [nanos] Timestamp nanos + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a Timestamp. + * @memberof google.protobuf + * @interface ITimestamp + * @augments google.protobuf.Timestamp.$Properties + * @deprecated Use google.protobuf.Timestamp.$Properties instead. + */ + + /** + * Shape of a Timestamp. + * @typedef {google.protobuf.Timestamp.$Properties} google.protobuf.Timestamp.$Shape */ /** * Constructs a new Timestamp. * @memberof google.protobuf * @classdesc Represents a Timestamp. - * @implements ITimestamp * @constructor - * @param {google.protobuf.ITimestamp=} [properties] Properties to set + * @param {google.protobuf.Timestamp.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Timestamp(properties) { + var Timestamp = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Timestamp seconds. @@ -7577,10 +9826,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.Timestamp * @static - * @param {google.protobuf.ITimestamp=} [properties] Properties to set + * @param {google.protobuf.Timestamp.$Properties=} [properties] Properties to set * @returns {google.protobuf.Timestamp} Timestamp instance + * @type {{ + * (properties: google.protobuf.Timestamp.$Shape): google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape; + * (properties?: google.protobuf.Timestamp.$Properties): google.protobuf.Timestamp; + * }} */ - Timestamp.create = function create(properties) { + Timestamp.create = function(properties) { return new Timestamp(properties); }; @@ -7589,17 +9842,24 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.Timestamp * @static - * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode + * @param {google.protobuf.Timestamp.$Properties} message Timestamp message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Timestamp.encode = function encode(message, writer) { + Timestamp.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.seconds != null && Object.hasOwnProperty.call(message, "seconds")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.seconds != null && $Object.hasOwnProperty.call(message, "seconds") && (typeof message.seconds === "object" ? message.seconds.low || message.seconds.high : message.seconds !== 0)) writer.uint32(/* id 1, wireType 0 =*/8).int64(message.seconds); - if (message.nanos != null && Object.hasOwnProperty.call(message, "nanos")) + if (message.nanos != null && $Object.hasOwnProperty.call(message, "nanos") && message.nanos !== 0) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.nanos); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7608,12 +9868,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.Timestamp * @static - * @param {google.protobuf.ITimestamp} message Timestamp message or plain object to encode + * @param {google.protobuf.Timestamp.$Properties} message Timestamp message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Timestamp.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Timestamp.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7623,30 +9883,69 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.Timestamp} Timestamp + * @returns {google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape} Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Timestamp.decode = function decode(reader, length) { + Timestamp.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.Timestamp(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.Timestamp(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.seconds = reader.int64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.int64()) === "object" ? value.low || value.high : value !== 0) + message.seconds = value; + else + delete message.seconds; + continue; } case 2: { - message.nanos = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.nanos = value; + else + delete message.nanos; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7656,11 +9955,11 @@ $root.google = (function() { * @memberof google.protobuf.Timestamp * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.Timestamp} Timestamp + * @returns {google.protobuf.Timestamp & google.protobuf.Timestamp.$Shape} Timestamp * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Timestamp.decodeDelimited = function decodeDelimited(reader) { + Timestamp.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7674,13 +9973,17 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Timestamp.verify = function verify(message) { + Timestamp.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.seconds != null && message.hasOwnProperty("seconds")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.seconds != null && $Object.hasOwnProperty.call(message, "seconds")) if (!$util.isInteger(message.seconds) && !(message.seconds && $util.isInteger(message.seconds.low) && $util.isInteger(message.seconds.high))) return "seconds: integer|Long expected"; - if (message.nanos != null && message.hasOwnProperty("nanos")) + if (message.nanos != null && $Object.hasOwnProperty.call(message, "nanos")) if (!$util.isInteger(message.nanos)) return "nanos: integer expected"; return null; @@ -7694,21 +9997,29 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.Timestamp} Timestamp */ - Timestamp.fromObject = function fromObject(object) { + Timestamp.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.Timestamp) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.Timestamp: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.Timestamp(); if (object.seconds != null) - if ($util.Long) - (message.seconds = $util.Long.fromValue(object.seconds)).unsigned = false; - else if (typeof object.seconds === "string") - message.seconds = parseInt(object.seconds, 10); - else if (typeof object.seconds === "number") - message.seconds = object.seconds; - else if (typeof object.seconds === "object") - message.seconds = new $util.LongBits(object.seconds.low >>> 0, object.seconds.high >>> 0).toNumber(); + if (typeof object.seconds === "object" ? object.seconds.low || object.seconds.high : $Number(object.seconds) !== 0) + if ($util.Long) + message.seconds = $util.Long.fromValue(object.seconds, false); + else if (typeof object.seconds === "string") + message.seconds = $parseInt(object.seconds, 10); + else if (typeof object.seconds === "number") + message.seconds = object.seconds; + else if (typeof object.seconds === "object") + message.seconds = new $util.LongBits(object.seconds.low >>> 0, object.seconds.high >>> 0).toNumber(); if (object.nanos != null) - message.nanos = object.nanos | 0; + if ($Number(object.nanos) !== 0) + message.nanos = object.nanos | 0; return message; }; @@ -7721,24 +10032,30 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Timestamp.toObject = function toObject(message, options) { + Timestamp.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { if ($util.Long) { var long = new $util.Long(0, 0, false); - object.seconds = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.seconds = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.seconds = options.longs === String ? "0" : 0; + object.seconds = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; object.nanos = 0; } - if (message.seconds != null && message.hasOwnProperty("seconds")) - if (typeof message.seconds === "number") - object.seconds = options.longs === String ? String(message.seconds) : message.seconds; + if (message.seconds != null && $Object.hasOwnProperty.call(message, "seconds")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.seconds = typeof message.seconds === "number" ? $BigInt(message.seconds) : $util.Long.fromBits(message.seconds.low >>> 0, message.seconds.high >>> 0, false).toBigInt(); + else if (typeof message.seconds === "number") + object.seconds = options.longs === $String ? $String(message.seconds) : message.seconds; else - object.seconds = options.longs === String ? $util.Long.prototype.toString.call(message.seconds) : options.longs === Number ? new $util.LongBits(message.seconds.low >>> 0, message.seconds.high >>> 0).toNumber() : message.seconds; - if (message.nanos != null && message.hasOwnProperty("nanos")) + object.seconds = options.longs === $String ? $util.Long.prototype.toString.call(message.seconds) : options.longs === $Number ? new $util.LongBits(message.seconds.low >>> 0, message.seconds.high >>> 0).toNumber() : message.seconds; + if (message.nanos != null && $Object.hasOwnProperty.call(message, "nanos")) object.nanos = message.nanos; return object; }; @@ -7750,23 +10067,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - Timestamp.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Timestamp.prototype.toJSON = function() { + return Timestamp.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Timestamp + * Gets the type url for Timestamp * @function getTypeUrl * @memberof google.protobuf.Timestamp * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Timestamp.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.Timestamp"; + Timestamp.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.Timestamp"; }; return Timestamp; diff --git a/src/generated/flightsql.d.ts b/src/generated/flightsql.d.ts index 00ec7ba..7ea26fe 100644 --- a/src/generated/flightsql.d.ts +++ b/src/generated/flightsql.d.ts @@ -1,5 +1,6 @@ import * as $protobuf from "protobufjs"; import Long = require("long"); + /** Namespace arrow. */ export namespace arrow { @@ -12,31 +13,35 @@ export namespace arrow { /** Namespace sql. */ namespace sql { - /** Properties of a CommandGetSqlInfo. */ - interface ICommandGetSqlInfo { - - /** CommandGetSqlInfo info */ - info?: (number[]|null); + /** + * Properties of a CommandGetSqlInfo. + * @deprecated Use arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties instead. + */ + interface ICommandGetSqlInfo extends arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties { } /** Represents a CommandGetSqlInfo. */ - class CommandGetSqlInfo implements ICommandGetSqlInfo { + class CommandGetSqlInfo { /** * Constructs a new CommandGetSqlInfo. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetSqlInfo); + constructor(properties?: arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetSqlInfo info. */ - public info: number[]; + info: number[]; /** * Creates a new CommandGetSqlInfo instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetSqlInfo instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetSqlInfo): arrow.flight.protocol.sql.CommandGetSqlInfo; + static create(properties: arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape): arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties): arrow.flight.protocol.sql.CommandGetSqlInfo; /** * Encodes the specified CommandGetSqlInfo message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetSqlInfo.verify|verify} messages. @@ -44,7 +49,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetSqlInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetSqlInfo message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetSqlInfo.verify|verify} messages. @@ -52,40 +57,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetSqlInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetSqlInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetSqlInfo + * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape} CommandGetSqlInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetSqlInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape; /** * Decodes a CommandGetSqlInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetSqlInfo + * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape} CommandGetSqlInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetSqlInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape; /** * Verifies a CommandGetSqlInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetSqlInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetSqlInfo */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetSqlInfo; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetSqlInfo; /** * Creates a plain object from a CommandGetSqlInfo message. Also converts values to other types if specified. @@ -93,246 +98,580 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetSqlInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetSqlInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetSqlInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetSqlInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetSqlInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace CommandGetSqlInfo { + + /** Properties of a CommandGetSqlInfo. */ + interface $Properties { + + /** CommandGetSqlInfo info */ + info?: (number[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetSqlInfo. */ + type $Shape = arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties; } /** SqlInfo enum. */ enum SqlInfo { + + /** FLIGHT_SQL_SERVER_NAME value */ FLIGHT_SQL_SERVER_NAME = 0, + + /** FLIGHT_SQL_SERVER_VERSION value */ FLIGHT_SQL_SERVER_VERSION = 1, + + /** FLIGHT_SQL_SERVER_ARROW_VERSION value */ FLIGHT_SQL_SERVER_ARROW_VERSION = 2, + + /** FLIGHT_SQL_SERVER_READ_ONLY value */ FLIGHT_SQL_SERVER_READ_ONLY = 3, + + /** FLIGHT_SQL_SERVER_SQL value */ FLIGHT_SQL_SERVER_SQL = 4, + + /** FLIGHT_SQL_SERVER_SUBSTRAIT value */ FLIGHT_SQL_SERVER_SUBSTRAIT = 5, + + /** FLIGHT_SQL_SERVER_SUBSTRAIT_MIN_VERSION value */ FLIGHT_SQL_SERVER_SUBSTRAIT_MIN_VERSION = 6, + + /** FLIGHT_SQL_SERVER_SUBSTRAIT_MAX_VERSION value */ FLIGHT_SQL_SERVER_SUBSTRAIT_MAX_VERSION = 7, + + /** FLIGHT_SQL_SERVER_TRANSACTION value */ FLIGHT_SQL_SERVER_TRANSACTION = 8, + + /** FLIGHT_SQL_SERVER_CANCEL value */ FLIGHT_SQL_SERVER_CANCEL = 9, + + /** FLIGHT_SQL_SERVER_BULK_INGESTION value */ FLIGHT_SQL_SERVER_BULK_INGESTION = 10, + + /** FLIGHT_SQL_SERVER_INGEST_TRANSACTIONS_SUPPORTED value */ FLIGHT_SQL_SERVER_INGEST_TRANSACTIONS_SUPPORTED = 11, + + /** FLIGHT_SQL_SERVER_STATEMENT_TIMEOUT value */ FLIGHT_SQL_SERVER_STATEMENT_TIMEOUT = 100, + + /** FLIGHT_SQL_SERVER_TRANSACTION_TIMEOUT value */ FLIGHT_SQL_SERVER_TRANSACTION_TIMEOUT = 101, + + /** SQL_DDL_CATALOG value */ SQL_DDL_CATALOG = 500, + + /** SQL_DDL_SCHEMA value */ SQL_DDL_SCHEMA = 501, + + /** SQL_DDL_TABLE value */ SQL_DDL_TABLE = 502, + + /** SQL_IDENTIFIER_CASE value */ SQL_IDENTIFIER_CASE = 503, + + /** SQL_IDENTIFIER_QUOTE_CHAR value */ SQL_IDENTIFIER_QUOTE_CHAR = 504, + + /** SQL_QUOTED_IDENTIFIER_CASE value */ SQL_QUOTED_IDENTIFIER_CASE = 505, + + /** SQL_ALL_TABLES_ARE_SELECTABLE value */ SQL_ALL_TABLES_ARE_SELECTABLE = 506, + + /** SQL_NULL_ORDERING value */ SQL_NULL_ORDERING = 507, + + /** SQL_KEYWORDS value */ SQL_KEYWORDS = 508, + + /** SQL_NUMERIC_FUNCTIONS value */ SQL_NUMERIC_FUNCTIONS = 509, + + /** SQL_STRING_FUNCTIONS value */ SQL_STRING_FUNCTIONS = 510, + + /** SQL_SYSTEM_FUNCTIONS value */ SQL_SYSTEM_FUNCTIONS = 511, + + /** SQL_DATETIME_FUNCTIONS value */ SQL_DATETIME_FUNCTIONS = 512, + + /** SQL_SEARCH_STRING_ESCAPE value */ SQL_SEARCH_STRING_ESCAPE = 513, + + /** SQL_EXTRA_NAME_CHARACTERS value */ SQL_EXTRA_NAME_CHARACTERS = 514, + + /** SQL_SUPPORTS_COLUMN_ALIASING value */ SQL_SUPPORTS_COLUMN_ALIASING = 515, + + /** SQL_NULL_PLUS_NULL_IS_NULL value */ SQL_NULL_PLUS_NULL_IS_NULL = 516, + + /** SQL_SUPPORTS_CONVERT value */ SQL_SUPPORTS_CONVERT = 517, + + /** SQL_SUPPORTS_TABLE_CORRELATION_NAMES value */ SQL_SUPPORTS_TABLE_CORRELATION_NAMES = 518, + + /** SQL_SUPPORTS_DIFFERENT_TABLE_CORRELATION_NAMES value */ SQL_SUPPORTS_DIFFERENT_TABLE_CORRELATION_NAMES = 519, + + /** SQL_SUPPORTS_EXPRESSIONS_IN_ORDER_BY value */ SQL_SUPPORTS_EXPRESSIONS_IN_ORDER_BY = 520, + + /** SQL_SUPPORTS_ORDER_BY_UNRELATED value */ SQL_SUPPORTS_ORDER_BY_UNRELATED = 521, + + /** SQL_SUPPORTED_GROUP_BY value */ SQL_SUPPORTED_GROUP_BY = 522, + + /** SQL_SUPPORTS_LIKE_ESCAPE_CLAUSE value */ SQL_SUPPORTS_LIKE_ESCAPE_CLAUSE = 523, + + /** SQL_SUPPORTS_NON_NULLABLE_COLUMNS value */ SQL_SUPPORTS_NON_NULLABLE_COLUMNS = 524, + + /** SQL_SUPPORTED_GRAMMAR value */ SQL_SUPPORTED_GRAMMAR = 525, + + /** SQL_ANSI92_SUPPORTED_LEVEL value */ SQL_ANSI92_SUPPORTED_LEVEL = 526, + + /** SQL_SUPPORTS_INTEGRITY_ENHANCEMENT_FACILITY value */ SQL_SUPPORTS_INTEGRITY_ENHANCEMENT_FACILITY = 527, + + /** SQL_OUTER_JOINS_SUPPORT_LEVEL value */ SQL_OUTER_JOINS_SUPPORT_LEVEL = 528, + + /** SQL_SCHEMA_TERM value */ SQL_SCHEMA_TERM = 529, + + /** SQL_PROCEDURE_TERM value */ SQL_PROCEDURE_TERM = 530, + + /** SQL_CATALOG_TERM value */ SQL_CATALOG_TERM = 531, + + /** SQL_CATALOG_AT_START value */ SQL_CATALOG_AT_START = 532, + + /** SQL_SCHEMAS_SUPPORTED_ACTIONS value */ SQL_SCHEMAS_SUPPORTED_ACTIONS = 533, + + /** SQL_CATALOGS_SUPPORTED_ACTIONS value */ SQL_CATALOGS_SUPPORTED_ACTIONS = 534, + + /** SQL_SUPPORTED_POSITIONED_COMMANDS value */ SQL_SUPPORTED_POSITIONED_COMMANDS = 535, + + /** SQL_SELECT_FOR_UPDATE_SUPPORTED value */ SQL_SELECT_FOR_UPDATE_SUPPORTED = 536, + + /** SQL_STORED_PROCEDURES_SUPPORTED value */ SQL_STORED_PROCEDURES_SUPPORTED = 537, + + /** SQL_SUPPORTED_SUBQUERIES value */ SQL_SUPPORTED_SUBQUERIES = 538, + + /** SQL_CORRELATED_SUBQUERIES_SUPPORTED value */ SQL_CORRELATED_SUBQUERIES_SUPPORTED = 539, + + /** SQL_SUPPORTED_UNIONS value */ SQL_SUPPORTED_UNIONS = 540, + + /** SQL_MAX_BINARY_LITERAL_LENGTH value */ SQL_MAX_BINARY_LITERAL_LENGTH = 541, + + /** SQL_MAX_CHAR_LITERAL_LENGTH value */ SQL_MAX_CHAR_LITERAL_LENGTH = 542, + + /** SQL_MAX_COLUMN_NAME_LENGTH value */ SQL_MAX_COLUMN_NAME_LENGTH = 543, + + /** SQL_MAX_COLUMNS_IN_GROUP_BY value */ SQL_MAX_COLUMNS_IN_GROUP_BY = 544, + + /** SQL_MAX_COLUMNS_IN_INDEX value */ SQL_MAX_COLUMNS_IN_INDEX = 545, + + /** SQL_MAX_COLUMNS_IN_ORDER_BY value */ SQL_MAX_COLUMNS_IN_ORDER_BY = 546, + + /** SQL_MAX_COLUMNS_IN_SELECT value */ SQL_MAX_COLUMNS_IN_SELECT = 547, + + /** SQL_MAX_COLUMNS_IN_TABLE value */ SQL_MAX_COLUMNS_IN_TABLE = 548, + + /** SQL_MAX_CONNECTIONS value */ SQL_MAX_CONNECTIONS = 549, + + /** SQL_MAX_CURSOR_NAME_LENGTH value */ SQL_MAX_CURSOR_NAME_LENGTH = 550, + + /** SQL_MAX_INDEX_LENGTH value */ SQL_MAX_INDEX_LENGTH = 551, + + /** SQL_DB_SCHEMA_NAME_LENGTH value */ SQL_DB_SCHEMA_NAME_LENGTH = 552, + + /** SQL_MAX_PROCEDURE_NAME_LENGTH value */ SQL_MAX_PROCEDURE_NAME_LENGTH = 553, + + /** SQL_MAX_CATALOG_NAME_LENGTH value */ SQL_MAX_CATALOG_NAME_LENGTH = 554, + + /** SQL_MAX_ROW_SIZE value */ SQL_MAX_ROW_SIZE = 555, + + /** SQL_MAX_ROW_SIZE_INCLUDES_BLOBS value */ SQL_MAX_ROW_SIZE_INCLUDES_BLOBS = 556, + + /** SQL_MAX_STATEMENT_LENGTH value */ SQL_MAX_STATEMENT_LENGTH = 557, + + /** SQL_MAX_STATEMENTS value */ SQL_MAX_STATEMENTS = 558, + + /** SQL_MAX_TABLE_NAME_LENGTH value */ SQL_MAX_TABLE_NAME_LENGTH = 559, + + /** SQL_MAX_TABLES_IN_SELECT value */ SQL_MAX_TABLES_IN_SELECT = 560, + + /** SQL_MAX_USERNAME_LENGTH value */ SQL_MAX_USERNAME_LENGTH = 561, + + /** SQL_DEFAULT_TRANSACTION_ISOLATION value */ SQL_DEFAULT_TRANSACTION_ISOLATION = 562, + + /** SQL_TRANSACTIONS_SUPPORTED value */ SQL_TRANSACTIONS_SUPPORTED = 563, + + /** SQL_SUPPORTED_TRANSACTIONS_ISOLATION_LEVELS value */ SQL_SUPPORTED_TRANSACTIONS_ISOLATION_LEVELS = 564, + + /** SQL_DATA_DEFINITION_CAUSES_TRANSACTION_COMMIT value */ SQL_DATA_DEFINITION_CAUSES_TRANSACTION_COMMIT = 565, + + /** SQL_DATA_DEFINITIONS_IN_TRANSACTIONS_IGNORED value */ SQL_DATA_DEFINITIONS_IN_TRANSACTIONS_IGNORED = 566, + + /** SQL_SUPPORTED_RESULT_SET_TYPES value */ SQL_SUPPORTED_RESULT_SET_TYPES = 567, + + /** SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_UNSPECIFIED value */ SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_UNSPECIFIED = 568, + + /** SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_FORWARD_ONLY value */ SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_FORWARD_ONLY = 569, + + /** SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_SCROLL_SENSITIVE value */ SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_SCROLL_SENSITIVE = 570, + + /** SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_SCROLL_INSENSITIVE value */ SQL_SUPPORTED_CONCURRENCIES_FOR_RESULT_SET_SCROLL_INSENSITIVE = 571, + + /** SQL_BATCH_UPDATES_SUPPORTED value */ SQL_BATCH_UPDATES_SUPPORTED = 572, + + /** SQL_SAVEPOINTS_SUPPORTED value */ SQL_SAVEPOINTS_SUPPORTED = 573, + + /** SQL_NAMED_PARAMETERS_SUPPORTED value */ SQL_NAMED_PARAMETERS_SUPPORTED = 574, + + /** SQL_LOCATORS_UPDATE_COPY value */ SQL_LOCATORS_UPDATE_COPY = 575, + + /** SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTED value */ SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTED = 576 } /** SqlSupportedTransaction enum. */ enum SqlSupportedTransaction { + + /** SQL_SUPPORTED_TRANSACTION_NONE value */ SQL_SUPPORTED_TRANSACTION_NONE = 0, + + /** SQL_SUPPORTED_TRANSACTION_TRANSACTION value */ SQL_SUPPORTED_TRANSACTION_TRANSACTION = 1, + + /** SQL_SUPPORTED_TRANSACTION_SAVEPOINT value */ SQL_SUPPORTED_TRANSACTION_SAVEPOINT = 2 } /** SqlSupportedCaseSensitivity enum. */ enum SqlSupportedCaseSensitivity { + + /** SQL_CASE_SENSITIVITY_UNKNOWN value */ SQL_CASE_SENSITIVITY_UNKNOWN = 0, + + /** SQL_CASE_SENSITIVITY_CASE_INSENSITIVE value */ SQL_CASE_SENSITIVITY_CASE_INSENSITIVE = 1, + + /** SQL_CASE_SENSITIVITY_UPPERCASE value */ SQL_CASE_SENSITIVITY_UPPERCASE = 2, + + /** SQL_CASE_SENSITIVITY_LOWERCASE value */ SQL_CASE_SENSITIVITY_LOWERCASE = 3 } /** SqlNullOrdering enum. */ enum SqlNullOrdering { + + /** SQL_NULLS_SORTED_HIGH value */ SQL_NULLS_SORTED_HIGH = 0, + + /** SQL_NULLS_SORTED_LOW value */ SQL_NULLS_SORTED_LOW = 1, + + /** SQL_NULLS_SORTED_AT_START value */ SQL_NULLS_SORTED_AT_START = 2, + + /** SQL_NULLS_SORTED_AT_END value */ SQL_NULLS_SORTED_AT_END = 3 } /** SupportedSqlGrammar enum. */ enum SupportedSqlGrammar { + + /** SQL_MINIMUM_GRAMMAR value */ SQL_MINIMUM_GRAMMAR = 0, + + /** SQL_CORE_GRAMMAR value */ SQL_CORE_GRAMMAR = 1, + + /** SQL_EXTENDED_GRAMMAR value */ SQL_EXTENDED_GRAMMAR = 2 } /** SupportedAnsi92SqlGrammarLevel enum. */ enum SupportedAnsi92SqlGrammarLevel { + + /** ANSI92_ENTRY_SQL value */ ANSI92_ENTRY_SQL = 0, + + /** ANSI92_INTERMEDIATE_SQL value */ ANSI92_INTERMEDIATE_SQL = 1, + + /** ANSI92_FULL_SQL value */ ANSI92_FULL_SQL = 2 } /** SqlOuterJoinsSupportLevel enum. */ enum SqlOuterJoinsSupportLevel { + + /** SQL_JOINS_UNSUPPORTED value */ SQL_JOINS_UNSUPPORTED = 0, + + /** SQL_LIMITED_OUTER_JOINS value */ SQL_LIMITED_OUTER_JOINS = 1, + + /** SQL_FULL_OUTER_JOINS value */ SQL_FULL_OUTER_JOINS = 2 } /** SqlSupportedGroupBy enum. */ enum SqlSupportedGroupBy { + + /** SQL_GROUP_BY_UNRELATED value */ SQL_GROUP_BY_UNRELATED = 0, + + /** SQL_GROUP_BY_BEYOND_SELECT value */ SQL_GROUP_BY_BEYOND_SELECT = 1 } /** SqlSupportedElementActions enum. */ enum SqlSupportedElementActions { + + /** SQL_ELEMENT_IN_PROCEDURE_CALLS value */ SQL_ELEMENT_IN_PROCEDURE_CALLS = 0, + + /** SQL_ELEMENT_IN_INDEX_DEFINITIONS value */ SQL_ELEMENT_IN_INDEX_DEFINITIONS = 1, + + /** SQL_ELEMENT_IN_PRIVILEGE_DEFINITIONS value */ SQL_ELEMENT_IN_PRIVILEGE_DEFINITIONS = 2 } /** SqlSupportedPositionedCommands enum. */ enum SqlSupportedPositionedCommands { + + /** SQL_POSITIONED_DELETE value */ SQL_POSITIONED_DELETE = 0, + + /** SQL_POSITIONED_UPDATE value */ SQL_POSITIONED_UPDATE = 1 } /** SqlSupportedSubqueries enum. */ enum SqlSupportedSubqueries { + + /** SQL_SUBQUERIES_IN_COMPARISONS value */ SQL_SUBQUERIES_IN_COMPARISONS = 0, + + /** SQL_SUBQUERIES_IN_EXISTS value */ SQL_SUBQUERIES_IN_EXISTS = 1, + + /** SQL_SUBQUERIES_IN_INS value */ SQL_SUBQUERIES_IN_INS = 2, + + /** SQL_SUBQUERIES_IN_QUANTIFIEDS value */ SQL_SUBQUERIES_IN_QUANTIFIEDS = 3 } /** SqlSupportedUnions enum. */ enum SqlSupportedUnions { + + /** SQL_UNION value */ SQL_UNION = 0, + + /** SQL_UNION_ALL value */ SQL_UNION_ALL = 1 } /** SqlTransactionIsolationLevel enum. */ enum SqlTransactionIsolationLevel { + + /** SQL_TRANSACTION_NONE value */ SQL_TRANSACTION_NONE = 0, + + /** SQL_TRANSACTION_READ_UNCOMMITTED value */ SQL_TRANSACTION_READ_UNCOMMITTED = 1, + + /** SQL_TRANSACTION_READ_COMMITTED value */ SQL_TRANSACTION_READ_COMMITTED = 2, + + /** SQL_TRANSACTION_REPEATABLE_READ value */ SQL_TRANSACTION_REPEATABLE_READ = 3, + + /** SQL_TRANSACTION_SERIALIZABLE value */ SQL_TRANSACTION_SERIALIZABLE = 4 } /** SqlSupportedTransactions enum. */ enum SqlSupportedTransactions { + + /** SQL_TRANSACTION_UNSPECIFIED value */ SQL_TRANSACTION_UNSPECIFIED = 0, + + /** SQL_DATA_DEFINITION_TRANSACTIONS value */ SQL_DATA_DEFINITION_TRANSACTIONS = 1, + + /** SQL_DATA_MANIPULATION_TRANSACTIONS value */ SQL_DATA_MANIPULATION_TRANSACTIONS = 2 } /** SqlSupportedResultSetType enum. */ enum SqlSupportedResultSetType { + + /** SQL_RESULT_SET_TYPE_UNSPECIFIED value */ SQL_RESULT_SET_TYPE_UNSPECIFIED = 0, + + /** SQL_RESULT_SET_TYPE_FORWARD_ONLY value */ SQL_RESULT_SET_TYPE_FORWARD_ONLY = 1, + + /** SQL_RESULT_SET_TYPE_SCROLL_INSENSITIVE value */ SQL_RESULT_SET_TYPE_SCROLL_INSENSITIVE = 2, + + /** SQL_RESULT_SET_TYPE_SCROLL_SENSITIVE value */ SQL_RESULT_SET_TYPE_SCROLL_SENSITIVE = 3 } /** SqlSupportedResultSetConcurrency enum. */ enum SqlSupportedResultSetConcurrency { + + /** SQL_RESULT_SET_CONCURRENCY_UNSPECIFIED value */ SQL_RESULT_SET_CONCURRENCY_UNSPECIFIED = 0, + + /** SQL_RESULT_SET_CONCURRENCY_READ_ONLY value */ SQL_RESULT_SET_CONCURRENCY_READ_ONLY = 1, + + /** SQL_RESULT_SET_CONCURRENCY_UPDATABLE value */ SQL_RESULT_SET_CONCURRENCY_UPDATABLE = 2 } /** SqlSupportsConvert enum. */ enum SqlSupportsConvert { + + /** SQL_CONVERT_BIGINT value */ SQL_CONVERT_BIGINT = 0, + + /** SQL_CONVERT_BINARY value */ SQL_CONVERT_BINARY = 1, + + /** SQL_CONVERT_BIT value */ SQL_CONVERT_BIT = 2, + + /** SQL_CONVERT_CHAR value */ SQL_CONVERT_CHAR = 3, + + /** SQL_CONVERT_DATE value */ SQL_CONVERT_DATE = 4, + + /** SQL_CONVERT_DECIMAL value */ SQL_CONVERT_DECIMAL = 5, + + /** SQL_CONVERT_FLOAT value */ SQL_CONVERT_FLOAT = 6, + + /** SQL_CONVERT_INTEGER value */ SQL_CONVERT_INTEGER = 7, + + /** SQL_CONVERT_INTERVAL_DAY_TIME value */ SQL_CONVERT_INTERVAL_DAY_TIME = 8, + + /** SQL_CONVERT_INTERVAL_YEAR_MONTH value */ SQL_CONVERT_INTERVAL_YEAR_MONTH = 9, + + /** SQL_CONVERT_LONGVARBINARY value */ SQL_CONVERT_LONGVARBINARY = 10, + + /** SQL_CONVERT_LONGVARCHAR value */ SQL_CONVERT_LONGVARCHAR = 11, + + /** SQL_CONVERT_NUMERIC value */ SQL_CONVERT_NUMERIC = 12, + + /** SQL_CONVERT_REAL value */ SQL_CONVERT_REAL = 13, + + /** SQL_CONVERT_SMALLINT value */ SQL_CONVERT_SMALLINT = 14, + + /** SQL_CONVERT_TIME value */ SQL_CONVERT_TIME = 15, + + /** SQL_CONVERT_TIMESTAMP value */ SQL_CONVERT_TIMESTAMP = 16, + + /** SQL_CONVERT_TINYINT value */ SQL_CONVERT_TINYINT = 17, + + /** SQL_CONVERT_VARBINARY value */ SQL_CONVERT_VARBINARY = 18, + + /** SQL_CONVERT_VARCHAR value */ SQL_CONVERT_VARCHAR = 19 } @@ -341,111 +680,247 @@ export namespace arrow { * All the values here are the same as in the JDBC and ODBC specs. */ enum XdbcDataType { + + /** XDBC_UNKNOWN_TYPE value */ XDBC_UNKNOWN_TYPE = 0, + + /** XDBC_CHAR value */ XDBC_CHAR = 1, + + /** XDBC_NUMERIC value */ XDBC_NUMERIC = 2, + + /** XDBC_DECIMAL value */ XDBC_DECIMAL = 3, + + /** XDBC_INTEGER value */ XDBC_INTEGER = 4, + + /** XDBC_SMALLINT value */ XDBC_SMALLINT = 5, + + /** XDBC_FLOAT value */ XDBC_FLOAT = 6, + + /** XDBC_REAL value */ XDBC_REAL = 7, + + /** XDBC_DOUBLE value */ XDBC_DOUBLE = 8, + + /** XDBC_DATETIME value */ XDBC_DATETIME = 9, + + /** XDBC_INTERVAL value */ XDBC_INTERVAL = 10, + + /** XDBC_VARCHAR value */ XDBC_VARCHAR = 12, + + /** XDBC_DATE value */ XDBC_DATE = 91, + + /** XDBC_TIME value */ XDBC_TIME = 92, + + /** XDBC_TIMESTAMP value */ XDBC_TIMESTAMP = 93, + + /** XDBC_LONGVARCHAR value */ XDBC_LONGVARCHAR = -1, + + /** XDBC_BINARY value */ XDBC_BINARY = -2, + + /** XDBC_VARBINARY value */ XDBC_VARBINARY = -3, + + /** XDBC_LONGVARBINARY value */ XDBC_LONGVARBINARY = -4, + + /** XDBC_BIGINT value */ XDBC_BIGINT = -5, + + /** XDBC_TINYINT value */ XDBC_TINYINT = -6, + + /** XDBC_BIT value */ XDBC_BIT = -7, + + /** XDBC_WCHAR value */ XDBC_WCHAR = -8, + + /** XDBC_WVARCHAR value */ XDBC_WVARCHAR = -9 } /** Detailed subtype information for XDBC_TYPE_DATETIME and XDBC_TYPE_INTERVAL. */ enum XdbcDatetimeSubcode { + + /** XDBC_SUBCODE_UNKNOWN value */ XDBC_SUBCODE_UNKNOWN = 0, + + /** XDBC_SUBCODE_YEAR value */ XDBC_SUBCODE_YEAR = 1, + + /** XDBC_SUBCODE_DATE value */ XDBC_SUBCODE_DATE = 1, + + /** XDBC_SUBCODE_TIME value */ XDBC_SUBCODE_TIME = 2, + + /** XDBC_SUBCODE_MONTH value */ XDBC_SUBCODE_MONTH = 2, + + /** XDBC_SUBCODE_TIMESTAMP value */ XDBC_SUBCODE_TIMESTAMP = 3, + + /** XDBC_SUBCODE_DAY value */ XDBC_SUBCODE_DAY = 3, + + /** XDBC_SUBCODE_TIME_WITH_TIMEZONE value */ XDBC_SUBCODE_TIME_WITH_TIMEZONE = 4, + + /** XDBC_SUBCODE_HOUR value */ XDBC_SUBCODE_HOUR = 4, + + /** XDBC_SUBCODE_TIMESTAMP_WITH_TIMEZONE value */ XDBC_SUBCODE_TIMESTAMP_WITH_TIMEZONE = 5, + + /** XDBC_SUBCODE_MINUTE value */ XDBC_SUBCODE_MINUTE = 5, + + /** XDBC_SUBCODE_SECOND value */ XDBC_SUBCODE_SECOND = 6, + + /** XDBC_SUBCODE_YEAR_TO_MONTH value */ XDBC_SUBCODE_YEAR_TO_MONTH = 7, + + /** XDBC_SUBCODE_DAY_TO_HOUR value */ XDBC_SUBCODE_DAY_TO_HOUR = 8, + + /** XDBC_SUBCODE_DAY_TO_MINUTE value */ XDBC_SUBCODE_DAY_TO_MINUTE = 9, + + /** XDBC_SUBCODE_DAY_TO_SECOND value */ XDBC_SUBCODE_DAY_TO_SECOND = 10, + + /** XDBC_SUBCODE_HOUR_TO_MINUTE value */ XDBC_SUBCODE_HOUR_TO_MINUTE = 11, + + /** XDBC_SUBCODE_HOUR_TO_SECOND value */ XDBC_SUBCODE_HOUR_TO_SECOND = 12, + + /** XDBC_SUBCODE_MINUTE_TO_SECOND value */ XDBC_SUBCODE_MINUTE_TO_SECOND = 13, + + /** XDBC_SUBCODE_INTERVAL_YEAR value */ XDBC_SUBCODE_INTERVAL_YEAR = 101, + + /** XDBC_SUBCODE_INTERVAL_MONTH value */ XDBC_SUBCODE_INTERVAL_MONTH = 102, + + /** XDBC_SUBCODE_INTERVAL_DAY value */ XDBC_SUBCODE_INTERVAL_DAY = 103, + + /** XDBC_SUBCODE_INTERVAL_HOUR value */ XDBC_SUBCODE_INTERVAL_HOUR = 104, + + /** XDBC_SUBCODE_INTERVAL_MINUTE value */ XDBC_SUBCODE_INTERVAL_MINUTE = 105, + + /** XDBC_SUBCODE_INTERVAL_SECOND value */ XDBC_SUBCODE_INTERVAL_SECOND = 106, + + /** XDBC_SUBCODE_INTERVAL_YEAR_TO_MONTH value */ XDBC_SUBCODE_INTERVAL_YEAR_TO_MONTH = 107, + + /** XDBC_SUBCODE_INTERVAL_DAY_TO_HOUR value */ XDBC_SUBCODE_INTERVAL_DAY_TO_HOUR = 108, + + /** XDBC_SUBCODE_INTERVAL_DAY_TO_MINUTE value */ XDBC_SUBCODE_INTERVAL_DAY_TO_MINUTE = 109, + + /** XDBC_SUBCODE_INTERVAL_DAY_TO_SECOND value */ XDBC_SUBCODE_INTERVAL_DAY_TO_SECOND = 110, + + /** XDBC_SUBCODE_INTERVAL_HOUR_TO_MINUTE value */ XDBC_SUBCODE_INTERVAL_HOUR_TO_MINUTE = 111, + + /** XDBC_SUBCODE_INTERVAL_HOUR_TO_SECOND value */ XDBC_SUBCODE_INTERVAL_HOUR_TO_SECOND = 112, + + /** XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND value */ XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND = 113 } /** Nullable enum. */ enum Nullable { + + /** Indicates that the fields does not allow the use of null values. */ NULLABILITY_NO_NULLS = 0, + + /** Indicates that the fields allow the use of null values. */ NULLABILITY_NULLABLE = 1, + + /** Indicates that nullability of the fields cannot be determined. */ NULLABILITY_UNKNOWN = 2 } /** Searchable enum. */ enum Searchable { + + /** Indicates that column cannot be used in a WHERE clause. */ SEARCHABLE_NONE = 0, + + /** + * Indicates that the column can be used in a WHERE clause if it is using a + * LIKE operator. + */ SEARCHABLE_CHAR = 1, + + /** + * Indicates that the column can be used In a WHERE clause with any + * operator other than LIKE. + * + * - Allowed operators: comparison, quantified comparison, BETWEEN, + * DISTINCT, IN, MATCH, and UNIQUE. + */ SEARCHABLE_BASIC = 2, + + /** Indicates that the column can be used in a WHERE clause using any operator. */ SEARCHABLE_FULL = 3 } - /** Properties of a CommandGetXdbcTypeInfo. */ - interface ICommandGetXdbcTypeInfo { - - /** CommandGetXdbcTypeInfo dataType */ - dataType?: (number|null); + /** + * Properties of a CommandGetXdbcTypeInfo. + * @deprecated Use arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties instead. + */ + interface ICommandGetXdbcTypeInfo extends arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties { } /** Represents a CommandGetXdbcTypeInfo. */ - class CommandGetXdbcTypeInfo implements ICommandGetXdbcTypeInfo { + class CommandGetXdbcTypeInfo { /** * Constructs a new CommandGetXdbcTypeInfo. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo); + constructor(properties?: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties); - /** CommandGetXdbcTypeInfo dataType. */ - public dataType?: (number|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; - /** CommandGetXdbcTypeInfo _dataType. */ - public _dataType?: "dataType"; + /** CommandGetXdbcTypeInfo dataType. */ + dataType?: (number|null); /** * Creates a new CommandGetXdbcTypeInfo instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetXdbcTypeInfo instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; + static create(properties: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; /** * Encodes the specified CommandGetXdbcTypeInfo message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.verify|verify} messages. @@ -453,7 +928,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetXdbcTypeInfo message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.verify|verify} messages. @@ -461,40 +936,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetXdbcTypeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetXdbcTypeInfo + * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape} CommandGetXdbcTypeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape; /** * Decodes a CommandGetXdbcTypeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetXdbcTypeInfo + * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape} CommandGetXdbcTypeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape; /** * Verifies a CommandGetXdbcTypeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetXdbcTypeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetXdbcTypeInfo */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; /** * Creates a plain object from a CommandGetXdbcTypeInfo message. Also converts values to other types if specified. @@ -502,41 +977,64 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetXdbcTypeInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetXdbcTypeInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetXdbcTypeInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetCatalogs. */ - interface ICommandGetCatalogs { - } + namespace CommandGetXdbcTypeInfo { - /** Represents a CommandGetCatalogs. */ - class CommandGetCatalogs implements ICommandGetCatalogs { + /** Properties of a CommandGetXdbcTypeInfo. */ + interface $Properties { - /** - * Constructs a new CommandGetCatalogs. - * @param [properties] Properties to set - */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetCatalogs); + /** CommandGetXdbcTypeInfo dataType */ + dataType?: (number|null); - /** + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetXdbcTypeInfo. */ + type $Shape = arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties; + } + + /** + * Properties of a CommandGetCatalogs. + * @deprecated Use arrow.flight.protocol.sql.CommandGetCatalogs.$Properties instead. + */ + interface ICommandGetCatalogs extends arrow.flight.protocol.sql.CommandGetCatalogs.$Properties { + } + + /** Represents a CommandGetCatalogs. */ + class CommandGetCatalogs { + + /** + * Constructs a new CommandGetCatalogs. + * @param [properties] Properties to set + */ + constructor(properties?: arrow.flight.protocol.sql.CommandGetCatalogs.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** * Creates a new CommandGetCatalogs instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetCatalogs instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetCatalogs): arrow.flight.protocol.sql.CommandGetCatalogs; + static create(properties: arrow.flight.protocol.sql.CommandGetCatalogs.$Shape): arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetCatalogs.$Properties): arrow.flight.protocol.sql.CommandGetCatalogs; /** * Encodes the specified CommandGetCatalogs message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetCatalogs.verify|verify} messages. @@ -544,7 +1042,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetCatalogs, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetCatalogs.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetCatalogs message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetCatalogs.verify|verify} messages. @@ -552,40 +1050,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetCatalogs, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetCatalogs.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetCatalogs message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetCatalogs + * @returns {arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape} CommandGetCatalogs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetCatalogs; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape; /** * Decodes a CommandGetCatalogs message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetCatalogs + * @returns {arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape} CommandGetCatalogs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetCatalogs; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape; /** * Verifies a CommandGetCatalogs message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetCatalogs message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetCatalogs */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetCatalogs; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetCatalogs; /** * Creates a plain object from a CommandGetCatalogs message. Also converts values to other types if specified. @@ -593,59 +1091,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetCatalogs, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetCatalogs, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetCatalogs to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetCatalogs - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetCatalogs + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetDbSchemas. */ - interface ICommandGetDbSchemas { + namespace CommandGetCatalogs { - /** CommandGetDbSchemas catalog */ - catalog?: (string|null); + /** Properties of a CommandGetCatalogs. */ + interface $Properties { - /** CommandGetDbSchemas dbSchemaFilterPattern */ - dbSchemaFilterPattern?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetCatalogs. */ + type $Shape = arrow.flight.protocol.sql.CommandGetCatalogs.$Properties; + } + + /** + * Properties of a CommandGetDbSchemas. + * @deprecated Use arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties instead. + */ + interface ICommandGetDbSchemas extends arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties { } /** Represents a CommandGetDbSchemas. */ - class CommandGetDbSchemas implements ICommandGetDbSchemas { + class CommandGetDbSchemas { /** * Constructs a new CommandGetDbSchemas. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetDbSchemas); + constructor(properties?: arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetDbSchemas catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandGetDbSchemas dbSchemaFilterPattern. */ - public dbSchemaFilterPattern?: (string|null); - - /** CommandGetDbSchemas _catalog. */ - public _catalog?: "catalog"; - - /** CommandGetDbSchemas _dbSchemaFilterPattern. */ - public _dbSchemaFilterPattern?: "dbSchemaFilterPattern"; + dbSchemaFilterPattern?: (string|null); /** * Creates a new CommandGetDbSchemas instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetDbSchemas instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetDbSchemas): arrow.flight.protocol.sql.CommandGetDbSchemas; + static create(properties: arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape): arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties): arrow.flight.protocol.sql.CommandGetDbSchemas; /** * Encodes the specified CommandGetDbSchemas message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetDbSchemas.verify|verify} messages. @@ -653,7 +1159,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetDbSchemas, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetDbSchemas message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetDbSchemas.verify|verify} messages. @@ -661,40 +1167,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetDbSchemas, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetDbSchemas message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetDbSchemas + * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape} CommandGetDbSchemas * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetDbSchemas; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape; /** * Decodes a CommandGetDbSchemas message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetDbSchemas + * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape} CommandGetDbSchemas * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetDbSchemas; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape; /** * Verifies a CommandGetDbSchemas message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetDbSchemas message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetDbSchemas */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetDbSchemas; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetDbSchemas; /** * Creates a plain object from a CommandGetDbSchemas message. Also converts values to other types if specified. @@ -702,80 +1208,82 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetDbSchemas, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetDbSchemas, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetDbSchemas to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetDbSchemas - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetDbSchemas + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetTables. */ - interface ICommandGetTables { + namespace CommandGetDbSchemas { - /** CommandGetTables catalog */ - catalog?: (string|null); + /** Properties of a CommandGetDbSchemas. */ + interface $Properties { - /** CommandGetTables dbSchemaFilterPattern */ - dbSchemaFilterPattern?: (string|null); + /** CommandGetDbSchemas catalog */ + catalog?: (string|null); - /** CommandGetTables tableNameFilterPattern */ - tableNameFilterPattern?: (string|null); + /** CommandGetDbSchemas dbSchemaFilterPattern */ + dbSchemaFilterPattern?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** CommandGetTables tableTypes */ - tableTypes?: (string[]|null); + /** Shape of a CommandGetDbSchemas. */ + type $Shape = arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties; + } - /** CommandGetTables includeSchema */ - includeSchema?: (boolean|null); + /** + * Properties of a CommandGetTables. + * @deprecated Use arrow.flight.protocol.sql.CommandGetTables.$Properties instead. + */ + interface ICommandGetTables extends arrow.flight.protocol.sql.CommandGetTables.$Properties { } /** Represents a CommandGetTables. */ - class CommandGetTables implements ICommandGetTables { + class CommandGetTables { /** * Constructs a new CommandGetTables. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetTables); + constructor(properties?: arrow.flight.protocol.sql.CommandGetTables.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetTables catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandGetTables dbSchemaFilterPattern. */ - public dbSchemaFilterPattern?: (string|null); + dbSchemaFilterPattern?: (string|null); /** CommandGetTables tableNameFilterPattern. */ - public tableNameFilterPattern?: (string|null); + tableNameFilterPattern?: (string|null); /** CommandGetTables tableTypes. */ - public tableTypes: string[]; + tableTypes: string[]; /** CommandGetTables includeSchema. */ - public includeSchema: boolean; - - /** CommandGetTables _catalog. */ - public _catalog?: "catalog"; - - /** CommandGetTables _dbSchemaFilterPattern. */ - public _dbSchemaFilterPattern?: "dbSchemaFilterPattern"; - - /** CommandGetTables _tableNameFilterPattern. */ - public _tableNameFilterPattern?: "tableNameFilterPattern"; + includeSchema: boolean; /** * Creates a new CommandGetTables instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetTables instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetTables): arrow.flight.protocol.sql.CommandGetTables; + static create(properties: arrow.flight.protocol.sql.CommandGetTables.$Shape): arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetTables.$Properties): arrow.flight.protocol.sql.CommandGetTables; /** * Encodes the specified CommandGetTables message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetTables.verify|verify} messages. @@ -783,7 +1291,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetTables, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetTables.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetTables message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetTables.verify|verify} messages. @@ -791,40 +1299,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetTables, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetTables.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetTables message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetTables + * @returns {arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape} CommandGetTables * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetTables; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape; /** * Decodes a CommandGetTables message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetTables + * @returns {arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape} CommandGetTables * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetTables; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape; /** * Verifies a CommandGetTables message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetTables message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetTables */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetTables; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetTables; /** * Creates a plain object from a CommandGetTables message. Also converts values to other types if specified. @@ -832,41 +1340,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetTables, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetTables, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetTables to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetTables - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetTables + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace CommandGetTables { + + /** Properties of a CommandGetTables. */ + interface $Properties { + + /** CommandGetTables catalog */ + catalog?: (string|null); + + /** CommandGetTables dbSchemaFilterPattern */ + dbSchemaFilterPattern?: (string|null); + + /** CommandGetTables tableNameFilterPattern */ + tableNameFilterPattern?: (string|null); + + /** CommandGetTables tableTypes */ + tableTypes?: (string[]|null); + + /** CommandGetTables includeSchema */ + includeSchema?: (boolean|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetTables. */ + type $Shape = arrow.flight.protocol.sql.CommandGetTables.$Properties; } - /** Properties of a CommandGetTableTypes. */ - interface ICommandGetTableTypes { + /** + * Properties of a CommandGetTableTypes. + * @deprecated Use arrow.flight.protocol.sql.CommandGetTableTypes.$Properties instead. + */ + interface ICommandGetTableTypes extends arrow.flight.protocol.sql.CommandGetTableTypes.$Properties { } /** Represents a CommandGetTableTypes. */ - class CommandGetTableTypes implements ICommandGetTableTypes { + class CommandGetTableTypes { /** * Constructs a new CommandGetTableTypes. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetTableTypes); + constructor(properties?: arrow.flight.protocol.sql.CommandGetTableTypes.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * Creates a new CommandGetTableTypes instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetTableTypes instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetTableTypes): arrow.flight.protocol.sql.CommandGetTableTypes; + static create(properties: arrow.flight.protocol.sql.CommandGetTableTypes.$Shape): arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetTableTypes.$Properties): arrow.flight.protocol.sql.CommandGetTableTypes; /** * Encodes the specified CommandGetTableTypes message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetTableTypes.verify|verify} messages. @@ -874,7 +1417,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetTableTypes, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetTableTypes.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetTableTypes message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetTableTypes.verify|verify} messages. @@ -882,40 +1425,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetTableTypes, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetTableTypes.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetTableTypes message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetTableTypes + * @returns {arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape} CommandGetTableTypes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetTableTypes; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape; /** * Decodes a CommandGetTableTypes message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetTableTypes + * @returns {arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape} CommandGetTableTypes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetTableTypes; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape; /** * Verifies a CommandGetTableTypes message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetTableTypes message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetTableTypes */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetTableTypes; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetTableTypes; /** * Creates a plain object from a CommandGetTableTypes message. Also converts values to other types if specified. @@ -923,65 +1466,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetTableTypes, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetTableTypes, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetTableTypes to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetTableTypes - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetTableTypes + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetPrimaryKeys. */ - interface ICommandGetPrimaryKeys { + namespace CommandGetTableTypes { - /** CommandGetPrimaryKeys catalog */ - catalog?: (string|null); + /** Properties of a CommandGetTableTypes. */ + interface $Properties { - /** CommandGetPrimaryKeys dbSchema */ - dbSchema?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetTableTypes. */ + type $Shape = arrow.flight.protocol.sql.CommandGetTableTypes.$Properties; + } - /** CommandGetPrimaryKeys table */ - table?: (string|null); + /** + * Properties of a CommandGetPrimaryKeys. + * @deprecated Use arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties instead. + */ + interface ICommandGetPrimaryKeys extends arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties { } /** Represents a CommandGetPrimaryKeys. */ - class CommandGetPrimaryKeys implements ICommandGetPrimaryKeys { + class CommandGetPrimaryKeys { /** * Constructs a new CommandGetPrimaryKeys. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetPrimaryKeys); + constructor(properties?: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetPrimaryKeys catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandGetPrimaryKeys dbSchema. */ - public dbSchema?: (string|null); + dbSchema?: (string|null); /** CommandGetPrimaryKeys table. */ - public table: string; - - /** CommandGetPrimaryKeys _catalog. */ - public _catalog?: "catalog"; - - /** CommandGetPrimaryKeys _dbSchema. */ - public _dbSchema?: "dbSchema"; + table: string; /** * Creates a new CommandGetPrimaryKeys instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetPrimaryKeys instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetPrimaryKeys): arrow.flight.protocol.sql.CommandGetPrimaryKeys; + static create(properties: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape): arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties): arrow.flight.protocol.sql.CommandGetPrimaryKeys; /** * Encodes the specified CommandGetPrimaryKeys message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetPrimaryKeys.verify|verify} messages. @@ -989,7 +1537,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetPrimaryKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetPrimaryKeys message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetPrimaryKeys.verify|verify} messages. @@ -997,40 +1545,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetPrimaryKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetPrimaryKeys message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetPrimaryKeys + * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape} CommandGetPrimaryKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetPrimaryKeys; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape; /** * Decodes a CommandGetPrimaryKeys message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetPrimaryKeys + * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape} CommandGetPrimaryKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetPrimaryKeys; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape; /** * Verifies a CommandGetPrimaryKeys message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetPrimaryKeys message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetPrimaryKeys */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetPrimaryKeys; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetPrimaryKeys; /** * Creates a plain object from a CommandGetPrimaryKeys message. Also converts values to other types if specified. @@ -1038,74 +1586,98 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetPrimaryKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetPrimaryKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetPrimaryKeys to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetPrimaryKeys - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetPrimaryKeys + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace CommandGetPrimaryKeys { + + /** Properties of a CommandGetPrimaryKeys. */ + interface $Properties { + + /** CommandGetPrimaryKeys catalog */ + catalog?: (string|null); + + /** CommandGetPrimaryKeys dbSchema */ + dbSchema?: (string|null); + + /** CommandGetPrimaryKeys table */ + table?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetPrimaryKeys. */ + type $Shape = arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties; } /** UpdateDeleteRules enum. */ enum UpdateDeleteRules { + + /** CASCADE value */ CASCADE = 0, + + /** RESTRICT value */ RESTRICT = 1, + + /** SET_NULL value */ SET_NULL = 2, + + /** NO_ACTION value */ NO_ACTION = 3, + + /** SET_DEFAULT value */ SET_DEFAULT = 4 } - /** Properties of a CommandGetExportedKeys. */ - interface ICommandGetExportedKeys { - - /** CommandGetExportedKeys catalog */ - catalog?: (string|null); - - /** CommandGetExportedKeys dbSchema */ - dbSchema?: (string|null); - - /** CommandGetExportedKeys table */ - table?: (string|null); + /** + * Properties of a CommandGetExportedKeys. + * @deprecated Use arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties instead. + */ + interface ICommandGetExportedKeys extends arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties { } /** Represents a CommandGetExportedKeys. */ - class CommandGetExportedKeys implements ICommandGetExportedKeys { + class CommandGetExportedKeys { /** * Constructs a new CommandGetExportedKeys. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetExportedKeys); + constructor(properties?: arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetExportedKeys catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandGetExportedKeys dbSchema. */ - public dbSchema?: (string|null); + dbSchema?: (string|null); /** CommandGetExportedKeys table. */ - public table: string; - - /** CommandGetExportedKeys _catalog. */ - public _catalog?: "catalog"; - - /** CommandGetExportedKeys _dbSchema. */ - public _dbSchema?: "dbSchema"; + table: string; /** * Creates a new CommandGetExportedKeys instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetExportedKeys instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetExportedKeys): arrow.flight.protocol.sql.CommandGetExportedKeys; + static create(properties: arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape): arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties): arrow.flight.protocol.sql.CommandGetExportedKeys; /** * Encodes the specified CommandGetExportedKeys message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetExportedKeys.verify|verify} messages. @@ -1113,7 +1685,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetExportedKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetExportedKeys message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetExportedKeys.verify|verify} messages. @@ -1121,40 +1693,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetExportedKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetExportedKeys message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetExportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape} CommandGetExportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetExportedKeys; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape; /** * Decodes a CommandGetExportedKeys message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetExportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape} CommandGetExportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetExportedKeys; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape; /** * Verifies a CommandGetExportedKeys message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetExportedKeys message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetExportedKeys */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetExportedKeys; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetExportedKeys; /** * Creates a plain object from a CommandGetExportedKeys message. Also converts values to other types if specified. @@ -1162,65 +1734,79 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetExportedKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetExportedKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetExportedKeys to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetExportedKeys - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetExportedKeys + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetImportedKeys. */ - interface ICommandGetImportedKeys { + namespace CommandGetExportedKeys { - /** CommandGetImportedKeys catalog */ - catalog?: (string|null); + /** Properties of a CommandGetExportedKeys. */ + interface $Properties { - /** CommandGetImportedKeys dbSchema */ - dbSchema?: (string|null); + /** CommandGetExportedKeys catalog */ + catalog?: (string|null); + + /** CommandGetExportedKeys dbSchema */ + dbSchema?: (string|null); - /** CommandGetImportedKeys table */ - table?: (string|null); + /** CommandGetExportedKeys table */ + table?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetExportedKeys. */ + type $Shape = arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties; + } + + /** + * Properties of a CommandGetImportedKeys. + * @deprecated Use arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties instead. + */ + interface ICommandGetImportedKeys extends arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties { } /** Represents a CommandGetImportedKeys. */ - class CommandGetImportedKeys implements ICommandGetImportedKeys { + class CommandGetImportedKeys { /** * Constructs a new CommandGetImportedKeys. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetImportedKeys); + constructor(properties?: arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandGetImportedKeys catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandGetImportedKeys dbSchema. */ - public dbSchema?: (string|null); + dbSchema?: (string|null); /** CommandGetImportedKeys table. */ - public table: string; - - /** CommandGetImportedKeys _catalog. */ - public _catalog?: "catalog"; - - /** CommandGetImportedKeys _dbSchema. */ - public _dbSchema?: "dbSchema"; + table: string; /** * Creates a new CommandGetImportedKeys instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetImportedKeys instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetImportedKeys): arrow.flight.protocol.sql.CommandGetImportedKeys; + static create(properties: arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape): arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties): arrow.flight.protocol.sql.CommandGetImportedKeys; /** * Encodes the specified CommandGetImportedKeys message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetImportedKeys.verify|verify} messages. @@ -1228,7 +1814,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetImportedKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetImportedKeys message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetImportedKeys.verify|verify} messages. @@ -1236,40 +1822,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetImportedKeys, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetImportedKeys message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetImportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape} CommandGetImportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetImportedKeys; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape; /** * Decodes a CommandGetImportedKeys message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetImportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape} CommandGetImportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetImportedKeys; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape; /** * Verifies a CommandGetImportedKeys message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetImportedKeys message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetImportedKeys */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetImportedKeys; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetImportedKeys; /** * Creates a plain object from a CommandGetImportedKeys message. Also converts values to other types if specified. @@ -1277,121 +1863,104 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetImportedKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetImportedKeys, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetImportedKeys to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetImportedKeys - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetImportedKeys + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandGetCrossReference. */ - interface ICommandGetCrossReference { + namespace CommandGetImportedKeys { - /** - * The catalog name where the parent table is. - * An empty string retrieves those without a catalog. - * If omitted the catalog name should not be used to narrow the search. - */ - pkCatalog?: (string|null); + /** Properties of a CommandGetImportedKeys. */ + interface $Properties { - /** - * The Schema name where the parent table is. - * An empty string retrieves those without a schema. - * If omitted the schema name should not be used to narrow the search. - */ - pkDbSchema?: (string|null); + /** CommandGetImportedKeys catalog */ + catalog?: (string|null); - /** The parent table name. It cannot be null. */ - pkTable?: (string|null); + /** CommandGetImportedKeys dbSchema */ + dbSchema?: (string|null); - /** - * The catalog name where the foreign table is. - * An empty string retrieves those without a catalog. - * If omitted the catalog name should not be used to narrow the search. - */ - fkCatalog?: (string|null); + /** CommandGetImportedKeys table */ + table?: (string|null); - /** - * The schema name where the foreign table is. - * An empty string retrieves those without a schema. - * If omitted the schema name should not be used to narrow the search. - */ - fkDbSchema?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** The foreign table name. It cannot be null. */ - fkTable?: (string|null); + /** Shape of a CommandGetImportedKeys. */ + type $Shape = arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties; + } + + /** + * Properties of a CommandGetCrossReference. + * @deprecated Use arrow.flight.protocol.sql.CommandGetCrossReference.$Properties instead. + */ + interface ICommandGetCrossReference extends arrow.flight.protocol.sql.CommandGetCrossReference.$Properties { } /** Represents a CommandGetCrossReference. */ - class CommandGetCrossReference implements ICommandGetCrossReference { + class CommandGetCrossReference { /** * Constructs a new CommandGetCrossReference. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandGetCrossReference); + constructor(properties?: arrow.flight.protocol.sql.CommandGetCrossReference.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * The catalog name where the parent table is. * An empty string retrieves those without a catalog. * If omitted the catalog name should not be used to narrow the search. */ - public pkCatalog?: (string|null); + pkCatalog?: (string|null); /** * The Schema name where the parent table is. * An empty string retrieves those without a schema. * If omitted the schema name should not be used to narrow the search. */ - public pkDbSchema?: (string|null); + pkDbSchema?: (string|null); /** The parent table name. It cannot be null. */ - public pkTable: string; + pkTable: string; /** * The catalog name where the foreign table is. * An empty string retrieves those without a catalog. * If omitted the catalog name should not be used to narrow the search. */ - public fkCatalog?: (string|null); + fkCatalog?: (string|null); /** * The schema name where the foreign table is. * An empty string retrieves those without a schema. * If omitted the schema name should not be used to narrow the search. */ - public fkDbSchema?: (string|null); + fkDbSchema?: (string|null); /** The foreign table name. It cannot be null. */ - public fkTable: string; - - /** CommandGetCrossReference _pkCatalog. */ - public _pkCatalog?: "pkCatalog"; - - /** CommandGetCrossReference _pkDbSchema. */ - public _pkDbSchema?: "pkDbSchema"; - - /** CommandGetCrossReference _fkCatalog. */ - public _fkCatalog?: "fkCatalog"; - - /** CommandGetCrossReference _fkDbSchema. */ - public _fkDbSchema?: "fkDbSchema"; + fkTable: string; /** * Creates a new CommandGetCrossReference instance using the specified properties. * @param [properties] Properties to set * @returns CommandGetCrossReference instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandGetCrossReference): arrow.flight.protocol.sql.CommandGetCrossReference; + static create(properties: arrow.flight.protocol.sql.CommandGetCrossReference.$Shape): arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandGetCrossReference.$Properties): arrow.flight.protocol.sql.CommandGetCrossReference; /** * Encodes the specified CommandGetCrossReference message. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetCrossReference.verify|verify} messages. @@ -1399,7 +1968,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandGetCrossReference, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandGetCrossReference.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandGetCrossReference message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandGetCrossReference.verify|verify} messages. @@ -1407,40 +1976,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandGetCrossReference, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandGetCrossReference.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandGetCrossReference message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandGetCrossReference + * @returns {arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape} CommandGetCrossReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetCrossReference; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape; /** * Decodes a CommandGetCrossReference message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandGetCrossReference + * @returns {arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape} CommandGetCrossReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetCrossReference; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape; /** * Verifies a CommandGetCrossReference message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandGetCrossReference message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandGetCrossReference */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetCrossReference; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandGetCrossReference; /** * Creates a plain object from a CommandGetCrossReference message. Also converts values to other types if specified. @@ -1448,56 +2017,101 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandGetCrossReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandGetCrossReference, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandGetCrossReference to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandGetCrossReference - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandGetCrossReference + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionCreatePreparedStatementRequest. */ - interface IActionCreatePreparedStatementRequest { + namespace CommandGetCrossReference { - /** ActionCreatePreparedStatementRequest query */ - query?: (string|null); + /** Properties of a CommandGetCrossReference. */ + interface $Properties { - /** ActionCreatePreparedStatementRequest transactionId */ - transactionId?: (Uint8Array|null); + /** + * The catalog name where the parent table is. + * An empty string retrieves those without a catalog. + * If omitted the catalog name should not be used to narrow the search. + */ + pkCatalog?: (string|null); + + /** + * The Schema name where the parent table is. + * An empty string retrieves those without a schema. + * If omitted the schema name should not be used to narrow the search. + */ + pkDbSchema?: (string|null); + + /** The parent table name. It cannot be null. */ + pkTable?: (string|null); + + /** + * The catalog name where the foreign table is. + * An empty string retrieves those without a catalog. + * If omitted the catalog name should not be used to narrow the search. + */ + fkCatalog?: (string|null); + + /** + * The schema name where the foreign table is. + * An empty string retrieves those without a schema. + * If omitted the schema name should not be used to narrow the search. + */ + fkDbSchema?: (string|null); + + /** The foreign table name. It cannot be null. */ + fkTable?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandGetCrossReference. */ + type $Shape = arrow.flight.protocol.sql.CommandGetCrossReference.$Properties; + } + + /** + * Properties of an ActionCreatePreparedStatementRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties instead. + */ + interface IActionCreatePreparedStatementRequest extends arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties { } /** Represents an ActionCreatePreparedStatementRequest. */ - class ActionCreatePreparedStatementRequest implements IActionCreatePreparedStatementRequest { + class ActionCreatePreparedStatementRequest { /** * Constructs a new ActionCreatePreparedStatementRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionCreatePreparedStatementRequest query. */ - public query: string; + query: string; /** ActionCreatePreparedStatementRequest transactionId. */ - public transactionId?: (Uint8Array|null); - - /** ActionCreatePreparedStatementRequest _transactionId. */ - public _transactionId?: "transactionId"; + transactionId?: (Uint8Array|null); /** * Creates a new ActionCreatePreparedStatementRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionCreatePreparedStatementRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; + static create(properties: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; /** * Encodes the specified ActionCreatePreparedStatementRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.verify|verify} messages. @@ -1505,7 +2119,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionCreatePreparedStatementRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.verify|verify} messages. @@ -1513,40 +2127,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionCreatePreparedStatementRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionCreatePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape} ActionCreatePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape; /** * Decodes an ActionCreatePreparedStatementRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionCreatePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape} ActionCreatePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape; /** * Verifies an ActionCreatePreparedStatementRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionCreatePreparedStatementRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionCreatePreparedStatementRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; /** * Creates a plain object from an ActionCreatePreparedStatementRequest message. Also converts values to other types if specified. @@ -1554,53 +2168,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionCreatePreparedStatementRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionCreatePreparedStatementRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionCreatePreparedStatementRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a SubstraitPlan. */ - interface ISubstraitPlan { + namespace ActionCreatePreparedStatementRequest { + + /** Properties of an ActionCreatePreparedStatementRequest. */ + interface $Properties { + + /** ActionCreatePreparedStatementRequest query */ + query?: (string|null); - /** SubstraitPlan plan */ - plan?: (Uint8Array|null); + /** ActionCreatePreparedStatementRequest transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionCreatePreparedStatementRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties; + } - /** SubstraitPlan version */ - version?: (string|null); + /** + * Properties of a SubstraitPlan. + * @deprecated Use arrow.flight.protocol.sql.SubstraitPlan.$Properties instead. + */ + interface ISubstraitPlan extends arrow.flight.protocol.sql.SubstraitPlan.$Properties { } /** Represents a SubstraitPlan. */ - class SubstraitPlan implements ISubstraitPlan { + class SubstraitPlan { /** * Constructs a new SubstraitPlan. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ISubstraitPlan); + constructor(properties?: arrow.flight.protocol.sql.SubstraitPlan.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SubstraitPlan plan. */ - public plan: Uint8Array; + plan: Uint8Array; /** SubstraitPlan version. */ - public version: string; + version: string; /** * Creates a new SubstraitPlan instance using the specified properties. * @param [properties] Properties to set * @returns SubstraitPlan instance */ - public static create(properties?: arrow.flight.protocol.sql.ISubstraitPlan): arrow.flight.protocol.sql.SubstraitPlan; + static create(properties: arrow.flight.protocol.sql.SubstraitPlan.$Shape): arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape; + static create(properties?: arrow.flight.protocol.sql.SubstraitPlan.$Properties): arrow.flight.protocol.sql.SubstraitPlan; /** * Encodes the specified SubstraitPlan message. Does not implicitly {@link arrow.flight.protocol.sql.SubstraitPlan.verify|verify} messages. @@ -1608,7 +2242,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ISubstraitPlan, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.SubstraitPlan.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SubstraitPlan message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.SubstraitPlan.verify|verify} messages. @@ -1616,40 +2250,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ISubstraitPlan, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.SubstraitPlan.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SubstraitPlan message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SubstraitPlan + * @returns {arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape} SubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.SubstraitPlan; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape; /** * Decodes a SubstraitPlan message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SubstraitPlan + * @returns {arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape} SubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.SubstraitPlan; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape; /** * Verifies a SubstraitPlan message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SubstraitPlan message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SubstraitPlan */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.SubstraitPlan; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.SubstraitPlan; /** * Creates a plain object from a SubstraitPlan message. Also converts values to other types if specified. @@ -1657,56 +2291,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.SubstraitPlan, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.SubstraitPlan, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SubstraitPlan to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SubstraitPlan - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SubstraitPlan + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionCreatePreparedSubstraitPlanRequest. */ - interface IActionCreatePreparedSubstraitPlanRequest { + namespace SubstraitPlan { - /** ActionCreatePreparedSubstraitPlanRequest plan */ - plan?: (arrow.flight.protocol.sql.ISubstraitPlan|null); + /** Properties of a SubstraitPlan. */ + interface $Properties { - /** ActionCreatePreparedSubstraitPlanRequest transactionId */ - transactionId?: (Uint8Array|null); + /** SubstraitPlan plan */ + plan?: (Uint8Array|null); + + /** SubstraitPlan version */ + version?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a SubstraitPlan. */ + type $Shape = arrow.flight.protocol.sql.SubstraitPlan.$Properties; + } + + /** + * Properties of an ActionCreatePreparedSubstraitPlanRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties instead. + */ + interface IActionCreatePreparedSubstraitPlanRequest extends arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties { } /** Represents an ActionCreatePreparedSubstraitPlanRequest. */ - class ActionCreatePreparedSubstraitPlanRequest implements IActionCreatePreparedSubstraitPlanRequest { + class ActionCreatePreparedSubstraitPlanRequest { /** * Constructs a new ActionCreatePreparedSubstraitPlanRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionCreatePreparedSubstraitPlanRequest plan. */ - public plan?: (arrow.flight.protocol.sql.ISubstraitPlan|null); + plan?: (arrow.flight.protocol.sql.SubstraitPlan.$Properties|null); /** ActionCreatePreparedSubstraitPlanRequest transactionId. */ - public transactionId?: (Uint8Array|null); - - /** ActionCreatePreparedSubstraitPlanRequest _transactionId. */ - public _transactionId?: "transactionId"; + transactionId?: (Uint8Array|null); /** * Creates a new ActionCreatePreparedSubstraitPlanRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionCreatePreparedSubstraitPlanRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; + static create(properties: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; /** * Encodes the specified ActionCreatePreparedSubstraitPlanRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.verify|verify} messages. @@ -1714,7 +2365,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionCreatePreparedSubstraitPlanRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.verify|verify} messages. @@ -1722,40 +2373,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionCreatePreparedSubstraitPlanRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionCreatePreparedSubstraitPlanRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape} ActionCreatePreparedSubstraitPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape; /** * Decodes an ActionCreatePreparedSubstraitPlanRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionCreatePreparedSubstraitPlanRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape} ActionCreatePreparedSubstraitPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape; /** * Verifies an ActionCreatePreparedSubstraitPlanRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionCreatePreparedSubstraitPlanRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionCreatePreparedSubstraitPlanRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; /** * Creates a plain object from an ActionCreatePreparedSubstraitPlanRequest message. Also converts values to other types if specified. @@ -1763,59 +2414,76 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionCreatePreparedSubstraitPlanRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionCreatePreparedSubstraitPlanRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionCreatePreparedSubstraitPlanRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionCreatePreparedStatementResult. */ - interface IActionCreatePreparedStatementResult { + namespace ActionCreatePreparedSubstraitPlanRequest { - /** ActionCreatePreparedStatementResult preparedStatementHandle */ - preparedStatementHandle?: (Uint8Array|null); + /** Properties of an ActionCreatePreparedSubstraitPlanRequest. */ + interface $Properties { + + /** ActionCreatePreparedSubstraitPlanRequest plan */ + plan?: (arrow.flight.protocol.sql.SubstraitPlan.$Properties|null); + + /** ActionCreatePreparedSubstraitPlanRequest transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** ActionCreatePreparedStatementResult datasetSchema */ - datasetSchema?: (Uint8Array|null); + /** Shape of an ActionCreatePreparedSubstraitPlanRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties; + } - /** ActionCreatePreparedStatementResult parameterSchema */ - parameterSchema?: (Uint8Array|null); + /** + * Properties of an ActionCreatePreparedStatementResult. + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties instead. + */ + interface IActionCreatePreparedStatementResult extends arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties { } /** Represents an ActionCreatePreparedStatementResult. */ - class ActionCreatePreparedStatementResult implements IActionCreatePreparedStatementResult { + class ActionCreatePreparedStatementResult { /** * Constructs a new ActionCreatePreparedStatementResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionCreatePreparedStatementResult); + constructor(properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionCreatePreparedStatementResult preparedStatementHandle. */ - public preparedStatementHandle: Uint8Array; + preparedStatementHandle: Uint8Array; /** ActionCreatePreparedStatementResult datasetSchema. */ - public datasetSchema: Uint8Array; + datasetSchema: Uint8Array; /** ActionCreatePreparedStatementResult parameterSchema. */ - public parameterSchema: Uint8Array; + parameterSchema: Uint8Array; /** * Creates a new ActionCreatePreparedStatementResult instance using the specified properties. * @param [properties] Properties to set * @returns ActionCreatePreparedStatementResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionCreatePreparedStatementResult): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; + static create(properties: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; /** * Encodes the specified ActionCreatePreparedStatementResult message. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.verify|verify} messages. @@ -1823,7 +2491,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionCreatePreparedStatementResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionCreatePreparedStatementResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.verify|verify} messages. @@ -1831,40 +2499,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionCreatePreparedStatementResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionCreatePreparedStatementResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionCreatePreparedStatementResult + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape} ActionCreatePreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape; /** * Decodes an ActionCreatePreparedStatementResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionCreatePreparedStatementResult + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape} ActionCreatePreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape; /** * Verifies an ActionCreatePreparedStatementResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionCreatePreparedStatementResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionCreatePreparedStatementResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; /** * Creates a plain object from an ActionCreatePreparedStatementResult message. Also converts values to other types if specified. @@ -1872,47 +2540,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionCreatePreparedStatementResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionCreatePreparedStatementResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionCreatePreparedStatementResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionClosePreparedStatementRequest. */ - interface IActionClosePreparedStatementRequest { + namespace ActionCreatePreparedStatementResult { - /** ActionClosePreparedStatementRequest preparedStatementHandle */ - preparedStatementHandle?: (Uint8Array|null); + /** Properties of an ActionCreatePreparedStatementResult. */ + interface $Properties { + + /** ActionCreatePreparedStatementResult preparedStatementHandle */ + preparedStatementHandle?: (Uint8Array|null); + + /** ActionCreatePreparedStatementResult datasetSchema */ + datasetSchema?: (Uint8Array|null); + + /** ActionCreatePreparedStatementResult parameterSchema */ + parameterSchema?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionCreatePreparedStatementResult. */ + type $Shape = arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties; + } + + /** + * Properties of an ActionClosePreparedStatementRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties instead. + */ + interface IActionClosePreparedStatementRequest extends arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties { } /** Represents an ActionClosePreparedStatementRequest. */ - class ActionClosePreparedStatementRequest implements IActionClosePreparedStatementRequest { + class ActionClosePreparedStatementRequest { /** * Constructs a new ActionClosePreparedStatementRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionClosePreparedStatementRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionClosePreparedStatementRequest preparedStatementHandle. */ - public preparedStatementHandle: Uint8Array; + preparedStatementHandle: Uint8Array; /** * Creates a new ActionClosePreparedStatementRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionClosePreparedStatementRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionClosePreparedStatementRequest): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; + static create(properties: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; /** * Encodes the specified ActionClosePreparedStatementRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.verify|verify} messages. @@ -1920,7 +2614,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionClosePreparedStatementRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionClosePreparedStatementRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.verify|verify} messages. @@ -1928,40 +2622,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionClosePreparedStatementRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionClosePreparedStatementRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionClosePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape} ActionClosePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape; /** * Decodes an ActionClosePreparedStatementRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionClosePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape} ActionClosePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape; /** * Verifies an ActionClosePreparedStatementRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionClosePreparedStatementRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionClosePreparedStatementRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; /** * Creates a plain object from an ActionClosePreparedStatementRequest message. Also converts values to other types if specified. @@ -1969,41 +2663,64 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionClosePreparedStatementRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionClosePreparedStatementRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionClosePreparedStatementRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace ActionClosePreparedStatementRequest { + + /** Properties of an ActionClosePreparedStatementRequest. */ + interface $Properties { + + /** ActionClosePreparedStatementRequest preparedStatementHandle */ + preparedStatementHandle?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionClosePreparedStatementRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties; } - /** Properties of an ActionBeginTransactionRequest. */ - interface IActionBeginTransactionRequest { + /** + * Properties of an ActionBeginTransactionRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties instead. + */ + interface IActionBeginTransactionRequest extends arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties { } /** Represents an ActionBeginTransactionRequest. */ - class ActionBeginTransactionRequest implements IActionBeginTransactionRequest { + class ActionBeginTransactionRequest { /** * Constructs a new ActionBeginTransactionRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionBeginTransactionRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** * Creates a new ActionBeginTransactionRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionBeginTransactionRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionBeginTransactionRequest): arrow.flight.protocol.sql.ActionBeginTransactionRequest; + static create(properties: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape): arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties): arrow.flight.protocol.sql.ActionBeginTransactionRequest; /** * Encodes the specified ActionBeginTransactionRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginTransactionRequest.verify|verify} messages. @@ -2011,7 +2728,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionBeginTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionBeginTransactionRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginTransactionRequest.verify|verify} messages. @@ -2019,40 +2736,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionBeginTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionBeginTransactionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionBeginTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape} ActionBeginTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginTransactionRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape; /** * Decodes an ActionBeginTransactionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionBeginTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape} ActionBeginTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginTransactionRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape; /** * Verifies an ActionBeginTransactionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionBeginTransactionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionBeginTransactionRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginTransactionRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginTransactionRequest; /** * Creates a plain object from an ActionBeginTransactionRequest message. Also converts values to other types if specified. @@ -2060,53 +2777,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionBeginTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionBeginTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionBeginTransactionRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionBeginTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionBeginTransactionRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionBeginSavepointRequest. */ - interface IActionBeginSavepointRequest { + namespace ActionBeginTransactionRequest { - /** ActionBeginSavepointRequest transactionId */ - transactionId?: (Uint8Array|null); + /** Properties of an ActionBeginTransactionRequest. */ + interface $Properties { + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionBeginTransactionRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties; + } - /** ActionBeginSavepointRequest name */ - name?: (string|null); + /** + * Properties of an ActionBeginSavepointRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties instead. + */ + interface IActionBeginSavepointRequest extends arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties { } /** Represents an ActionBeginSavepointRequest. */ - class ActionBeginSavepointRequest implements IActionBeginSavepointRequest { + class ActionBeginSavepointRequest { /** * Constructs a new ActionBeginSavepointRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionBeginSavepointRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionBeginSavepointRequest transactionId. */ - public transactionId: Uint8Array; + transactionId: Uint8Array; /** ActionBeginSavepointRequest name. */ - public name: string; + name: string; /** * Creates a new ActionBeginSavepointRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionBeginSavepointRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionBeginSavepointRequest): arrow.flight.protocol.sql.ActionBeginSavepointRequest; + static create(properties: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape): arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties): arrow.flight.protocol.sql.ActionBeginSavepointRequest; /** * Encodes the specified ActionBeginSavepointRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginSavepointRequest.verify|verify} messages. @@ -2114,7 +2845,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionBeginSavepointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionBeginSavepointRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginSavepointRequest.verify|verify} messages. @@ -2122,40 +2853,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionBeginSavepointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionBeginSavepointRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionBeginSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape} ActionBeginSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginSavepointRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape; /** * Decodes an ActionBeginSavepointRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionBeginSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape} ActionBeginSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginSavepointRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape; /** * Verifies an ActionBeginSavepointRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionBeginSavepointRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionBeginSavepointRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginSavepointRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginSavepointRequest; /** * Creates a plain object from an ActionBeginSavepointRequest message. Also converts values to other types if specified. @@ -2163,47 +2894,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionBeginSavepointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionBeginSavepointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionBeginSavepointRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionBeginSavepointRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionBeginSavepointRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionBeginTransactionResult. */ - interface IActionBeginTransactionResult { + namespace ActionBeginSavepointRequest { - /** ActionBeginTransactionResult transactionId */ - transactionId?: (Uint8Array|null); + /** Properties of an ActionBeginSavepointRequest. */ + interface $Properties { + + /** ActionBeginSavepointRequest transactionId */ + transactionId?: (Uint8Array|null); + + /** ActionBeginSavepointRequest name */ + name?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionBeginSavepointRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties; + } + + /** + * Properties of an ActionBeginTransactionResult. + * @deprecated Use arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties instead. + */ + interface IActionBeginTransactionResult extends arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties { } /** Represents an ActionBeginTransactionResult. */ - class ActionBeginTransactionResult implements IActionBeginTransactionResult { + class ActionBeginTransactionResult { /** * Constructs a new ActionBeginTransactionResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionBeginTransactionResult); + constructor(properties?: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionBeginTransactionResult transactionId. */ - public transactionId: Uint8Array; + transactionId: Uint8Array; /** * Creates a new ActionBeginTransactionResult instance using the specified properties. * @param [properties] Properties to set * @returns ActionBeginTransactionResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionBeginTransactionResult): arrow.flight.protocol.sql.ActionBeginTransactionResult; + static create(properties: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape): arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties): arrow.flight.protocol.sql.ActionBeginTransactionResult; /** * Encodes the specified ActionBeginTransactionResult message. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginTransactionResult.verify|verify} messages. @@ -2211,7 +2965,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionBeginTransactionResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionBeginTransactionResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginTransactionResult.verify|verify} messages. @@ -2219,40 +2973,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionBeginTransactionResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionBeginTransactionResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionBeginTransactionResult + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape} ActionBeginTransactionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginTransactionResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape; /** * Decodes an ActionBeginTransactionResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionBeginTransactionResult + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape} ActionBeginTransactionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginTransactionResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape; /** * Verifies an ActionBeginTransactionResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionBeginTransactionResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionBeginTransactionResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginTransactionResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginTransactionResult; /** * Creates a plain object from an ActionBeginTransactionResult message. Also converts values to other types if specified. @@ -2260,47 +3014,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionBeginTransactionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionBeginTransactionResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionBeginTransactionResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionBeginTransactionResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionBeginTransactionResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionBeginSavepointResult. */ - interface IActionBeginSavepointResult { + namespace ActionBeginTransactionResult { + + /** Properties of an ActionBeginTransactionResult. */ + interface $Properties { - /** ActionBeginSavepointResult savepointId */ - savepointId?: (Uint8Array|null); + /** ActionBeginTransactionResult transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionBeginTransactionResult. */ + type $Shape = arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties; + } + + /** + * Properties of an ActionBeginSavepointResult. + * @deprecated Use arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties instead. + */ + interface IActionBeginSavepointResult extends arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties { } /** Represents an ActionBeginSavepointResult. */ - class ActionBeginSavepointResult implements IActionBeginSavepointResult { + class ActionBeginSavepointResult { /** * Constructs a new ActionBeginSavepointResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionBeginSavepointResult); + constructor(properties?: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionBeginSavepointResult savepointId. */ - public savepointId: Uint8Array; + savepointId: Uint8Array; /** * Creates a new ActionBeginSavepointResult instance using the specified properties. * @param [properties] Properties to set * @returns ActionBeginSavepointResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionBeginSavepointResult): arrow.flight.protocol.sql.ActionBeginSavepointResult; + static create(properties: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape): arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties): arrow.flight.protocol.sql.ActionBeginSavepointResult; /** * Encodes the specified ActionBeginSavepointResult message. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginSavepointResult.verify|verify} messages. @@ -2308,7 +3082,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionBeginSavepointResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionBeginSavepointResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionBeginSavepointResult.verify|verify} messages. @@ -2316,40 +3090,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionBeginSavepointResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionBeginSavepointResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionBeginSavepointResult + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape} ActionBeginSavepointResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginSavepointResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape; /** * Decodes an ActionBeginSavepointResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionBeginSavepointResult + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape} ActionBeginSavepointResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginSavepointResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape; /** * Verifies an ActionBeginSavepointResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionBeginSavepointResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionBeginSavepointResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginSavepointResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionBeginSavepointResult; /** * Creates a plain object from an ActionBeginSavepointResult message. Also converts values to other types if specified. @@ -2357,53 +3131,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionBeginSavepointResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionBeginSavepointResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionBeginSavepointResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionBeginSavepointResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionBeginSavepointResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionEndTransactionRequest. */ - interface IActionEndTransactionRequest { + namespace ActionBeginSavepointResult { - /** ActionEndTransactionRequest transactionId */ - transactionId?: (Uint8Array|null); + /** Properties of an ActionBeginSavepointResult. */ + interface $Properties { + + /** ActionBeginSavepointResult savepointId */ + savepointId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionBeginSavepointResult. */ + type $Shape = arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties; + } - /** ActionEndTransactionRequest action */ - action?: (arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction|null); + /** + * Properties of an ActionEndTransactionRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties instead. + */ + interface IActionEndTransactionRequest extends arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties { } /** Represents an ActionEndTransactionRequest. */ - class ActionEndTransactionRequest implements IActionEndTransactionRequest { + class ActionEndTransactionRequest { /** * Constructs a new ActionEndTransactionRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionEndTransactionRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionEndTransactionRequest transactionId. */ - public transactionId: Uint8Array; + transactionId: Uint8Array; /** ActionEndTransactionRequest action. */ - public action: arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction; + action: arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction; /** * Creates a new ActionEndTransactionRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionEndTransactionRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionEndTransactionRequest): arrow.flight.protocol.sql.ActionEndTransactionRequest; + static create(properties: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape): arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties): arrow.flight.protocol.sql.ActionEndTransactionRequest; /** * Encodes the specified ActionEndTransactionRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionEndTransactionRequest.verify|verify} messages. @@ -2411,7 +3202,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionEndTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionEndTransactionRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionEndTransactionRequest.verify|verify} messages. @@ -2419,40 +3210,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionEndTransactionRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionEndTransactionRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionEndTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape} ActionEndTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionEndTransactionRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape; /** * Decodes an ActionEndTransactionRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionEndTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape} ActionEndTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionEndTransactionRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape; /** * Verifies an ActionEndTransactionRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionEndTransactionRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionEndTransactionRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionEndTransactionRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionEndTransactionRequest; /** * Creates a plain object from an ActionEndTransactionRequest message. Also converts values to other types if specified. @@ -2460,63 +3251,86 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionEndTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionEndTransactionRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionEndTransactionRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionEndTransactionRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionEndTransactionRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace ActionEndTransactionRequest { + /** Properties of an ActionEndTransactionRequest. */ + interface $Properties { + + /** ActionEndTransactionRequest transactionId */ + transactionId?: (Uint8Array|null); + + /** ActionEndTransactionRequest action */ + action?: (arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionEndTransactionRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties; + /** EndTransaction enum. */ enum EndTransaction { + + /** END_TRANSACTION_UNSPECIFIED value */ END_TRANSACTION_UNSPECIFIED = 0, + + /** END_TRANSACTION_COMMIT value */ END_TRANSACTION_COMMIT = 1, + + /** END_TRANSACTION_ROLLBACK value */ END_TRANSACTION_ROLLBACK = 2 } } - /** Properties of an ActionEndSavepointRequest. */ - interface IActionEndSavepointRequest { - - /** ActionEndSavepointRequest savepointId */ - savepointId?: (Uint8Array|null); - - /** ActionEndSavepointRequest action */ - action?: (arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint|null); + /** + * Properties of an ActionEndSavepointRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties instead. + */ + interface IActionEndSavepointRequest extends arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties { } /** Represents an ActionEndSavepointRequest. */ - class ActionEndSavepointRequest implements IActionEndSavepointRequest { + class ActionEndSavepointRequest { /** * Constructs a new ActionEndSavepointRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionEndSavepointRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionEndSavepointRequest savepointId. */ - public savepointId: Uint8Array; + savepointId: Uint8Array; /** ActionEndSavepointRequest action. */ - public action: arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint; + action: arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint; /** * Creates a new ActionEndSavepointRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionEndSavepointRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionEndSavepointRequest): arrow.flight.protocol.sql.ActionEndSavepointRequest; + static create(properties: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape): arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties): arrow.flight.protocol.sql.ActionEndSavepointRequest; /** * Encodes the specified ActionEndSavepointRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionEndSavepointRequest.verify|verify} messages. @@ -2524,7 +3338,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionEndSavepointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionEndSavepointRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionEndSavepointRequest.verify|verify} messages. @@ -2532,40 +3346,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionEndSavepointRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionEndSavepointRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionEndSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape} ActionEndSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionEndSavepointRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape; /** * Decodes an ActionEndSavepointRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionEndSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape} ActionEndSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionEndSavepointRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape; /** * Verifies an ActionEndSavepointRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionEndSavepointRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionEndSavepointRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionEndSavepointRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionEndSavepointRequest; /** * Creates a plain object from an ActionEndSavepointRequest message. Also converts values to other types if specified. @@ -2573,66 +3387,86 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionEndSavepointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionEndSavepointRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionEndSavepointRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionEndSavepointRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionEndSavepointRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace ActionEndSavepointRequest { + /** Properties of an ActionEndSavepointRequest. */ + interface $Properties { + + /** ActionEndSavepointRequest savepointId */ + savepointId?: (Uint8Array|null); + + /** ActionEndSavepointRequest action */ + action?: (arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionEndSavepointRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties; + /** EndSavepoint enum. */ enum EndSavepoint { + + /** END_SAVEPOINT_UNSPECIFIED value */ END_SAVEPOINT_UNSPECIFIED = 0, + + /** END_SAVEPOINT_RELEASE value */ END_SAVEPOINT_RELEASE = 1, + + /** END_SAVEPOINT_ROLLBACK value */ END_SAVEPOINT_ROLLBACK = 2 } } - /** Properties of a CommandStatementQuery. */ - interface ICommandStatementQuery { - - /** CommandStatementQuery query */ - query?: (string|null); - - /** CommandStatementQuery transactionId */ - transactionId?: (Uint8Array|null); + /** + * Properties of a CommandStatementQuery. + * @deprecated Use arrow.flight.protocol.sql.CommandStatementQuery.$Properties instead. + */ + interface ICommandStatementQuery extends arrow.flight.protocol.sql.CommandStatementQuery.$Properties { } /** Represents a CommandStatementQuery. */ - class CommandStatementQuery implements ICommandStatementQuery { + class CommandStatementQuery { /** * Constructs a new CommandStatementQuery. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandStatementQuery); + constructor(properties?: arrow.flight.protocol.sql.CommandStatementQuery.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandStatementQuery query. */ - public query: string; + query: string; /** CommandStatementQuery transactionId. */ - public transactionId?: (Uint8Array|null); - - /** CommandStatementQuery _transactionId. */ - public _transactionId?: "transactionId"; + transactionId?: (Uint8Array|null); /** * Creates a new CommandStatementQuery instance using the specified properties. * @param [properties] Properties to set * @returns CommandStatementQuery instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandStatementQuery): arrow.flight.protocol.sql.CommandStatementQuery; + static create(properties: arrow.flight.protocol.sql.CommandStatementQuery.$Shape): arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandStatementQuery.$Properties): arrow.flight.protocol.sql.CommandStatementQuery; /** * Encodes the specified CommandStatementQuery message. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementQuery.verify|verify} messages. @@ -2640,7 +3474,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandStatementQuery message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementQuery.verify|verify} messages. @@ -2648,40 +3482,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandStatementQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandStatementQuery + * @returns {arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape} CommandStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementQuery; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape; /** * Decodes a CommandStatementQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandStatementQuery + * @returns {arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape} CommandStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementQuery; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape; /** * Verifies a CommandStatementQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandStatementQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandStatementQuery */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementQuery; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementQuery; /** * Creates a plain object from a CommandStatementQuery message. Also converts values to other types if specified. @@ -2689,56 +3523,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandStatementQuery to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandStatementQuery - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandStatementQuery + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandStatementSubstraitPlan. */ - interface ICommandStatementSubstraitPlan { + namespace CommandStatementQuery { - /** CommandStatementSubstraitPlan plan */ - plan?: (arrow.flight.protocol.sql.ISubstraitPlan|null); + /** Properties of a CommandStatementQuery. */ + interface $Properties { - /** CommandStatementSubstraitPlan transactionId */ - transactionId?: (Uint8Array|null); + /** CommandStatementQuery query */ + query?: (string|null); + + /** CommandStatementQuery transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandStatementQuery. */ + type $Shape = arrow.flight.protocol.sql.CommandStatementQuery.$Properties; + } + + /** + * Properties of a CommandStatementSubstraitPlan. + * @deprecated Use arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties instead. + */ + interface ICommandStatementSubstraitPlan extends arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties { } /** Represents a CommandStatementSubstraitPlan. */ - class CommandStatementSubstraitPlan implements ICommandStatementSubstraitPlan { + class CommandStatementSubstraitPlan { /** * Constructs a new CommandStatementSubstraitPlan. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandStatementSubstraitPlan); + constructor(properties?: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandStatementSubstraitPlan plan. */ - public plan?: (arrow.flight.protocol.sql.ISubstraitPlan|null); + plan?: (arrow.flight.protocol.sql.SubstraitPlan.$Properties|null); /** CommandStatementSubstraitPlan transactionId. */ - public transactionId?: (Uint8Array|null); - - /** CommandStatementSubstraitPlan _transactionId. */ - public _transactionId?: "transactionId"; + transactionId?: (Uint8Array|null); /** * Creates a new CommandStatementSubstraitPlan instance using the specified properties. * @param [properties] Properties to set * @returns CommandStatementSubstraitPlan instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandStatementSubstraitPlan): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; + static create(properties: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape): arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; /** * Encodes the specified CommandStatementSubstraitPlan message. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementSubstraitPlan.verify|verify} messages. @@ -2746,7 +3597,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandStatementSubstraitPlan, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandStatementSubstraitPlan message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementSubstraitPlan.verify|verify} messages. @@ -2754,40 +3605,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandStatementSubstraitPlan, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandStatementSubstraitPlan message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandStatementSubstraitPlan + * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape} CommandStatementSubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape; /** * Decodes a CommandStatementSubstraitPlan message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandStatementSubstraitPlan + * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape} CommandStatementSubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape; /** * Verifies a CommandStatementSubstraitPlan message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandStatementSubstraitPlan message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandStatementSubstraitPlan */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; /** * Creates a plain object from a CommandStatementSubstraitPlan message. Also converts values to other types if specified. @@ -2795,50 +3646,73 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandStatementSubstraitPlan, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandStatementSubstraitPlan, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandStatementSubstraitPlan to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandStatementSubstraitPlan - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandStatementSubstraitPlan + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a TicketStatementQuery. */ - interface ITicketStatementQuery { + namespace CommandStatementSubstraitPlan { + + /** Properties of a CommandStatementSubstraitPlan. */ + interface $Properties { + + /** CommandStatementSubstraitPlan plan */ + plan?: (arrow.flight.protocol.sql.SubstraitPlan.$Properties|null); - /** TicketStatementQuery statementHandle */ - statementHandle?: (Uint8Array|null); + /** CommandStatementSubstraitPlan transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandStatementSubstraitPlan. */ + type $Shape = arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties; + } + + /** + * Properties of a TicketStatementQuery. + * @deprecated Use arrow.flight.protocol.sql.TicketStatementQuery.$Properties instead. + */ + interface ITicketStatementQuery extends arrow.flight.protocol.sql.TicketStatementQuery.$Properties { } /** * Represents a ticket resulting from GetFlightInfo with a CommandStatementQuery. * This should be used only once and treated as an opaque value, that is, clients should not attempt to parse this. */ - class TicketStatementQuery implements ITicketStatementQuery { + class TicketStatementQuery { /** * Constructs a new TicketStatementQuery. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ITicketStatementQuery); + constructor(properties?: arrow.flight.protocol.sql.TicketStatementQuery.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** TicketStatementQuery statementHandle. */ - public statementHandle: Uint8Array; + statementHandle: Uint8Array; /** * Creates a new TicketStatementQuery instance using the specified properties. * @param [properties] Properties to set * @returns TicketStatementQuery instance */ - public static create(properties?: arrow.flight.protocol.sql.ITicketStatementQuery): arrow.flight.protocol.sql.TicketStatementQuery; + static create(properties: arrow.flight.protocol.sql.TicketStatementQuery.$Shape): arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape; + static create(properties?: arrow.flight.protocol.sql.TicketStatementQuery.$Properties): arrow.flight.protocol.sql.TicketStatementQuery; /** * Encodes the specified TicketStatementQuery message. Does not implicitly {@link arrow.flight.protocol.sql.TicketStatementQuery.verify|verify} messages. @@ -2846,7 +3720,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ITicketStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.TicketStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TicketStatementQuery message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.TicketStatementQuery.verify|verify} messages. @@ -2854,40 +3728,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ITicketStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.TicketStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TicketStatementQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TicketStatementQuery + * @returns {arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape} TicketStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.TicketStatementQuery; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape; /** * Decodes a TicketStatementQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns TicketStatementQuery + * @returns {arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape} TicketStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.TicketStatementQuery; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape; /** * Verifies a TicketStatementQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a TicketStatementQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TicketStatementQuery */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.TicketStatementQuery; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.TicketStatementQuery; /** * Creates a plain object from a TicketStatementQuery message. Also converts values to other types if specified. @@ -2895,47 +3769,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.TicketStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.TicketStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TicketStatementQuery to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for TicketStatementQuery - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for TicketStatementQuery + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandPreparedStatementQuery. */ - interface ICommandPreparedStatementQuery { + namespace TicketStatementQuery { - /** CommandPreparedStatementQuery preparedStatementHandle */ - preparedStatementHandle?: (Uint8Array|null); + /** Properties of a TicketStatementQuery. */ + interface $Properties { + + /** TicketStatementQuery statementHandle */ + statementHandle?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a TicketStatementQuery. */ + type $Shape = arrow.flight.protocol.sql.TicketStatementQuery.$Properties; + } + + /** + * Properties of a CommandPreparedStatementQuery. + * @deprecated Use arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties instead. + */ + interface ICommandPreparedStatementQuery extends arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties { } /** Represents a CommandPreparedStatementQuery. */ - class CommandPreparedStatementQuery implements ICommandPreparedStatementQuery { + class CommandPreparedStatementQuery { /** * Constructs a new CommandPreparedStatementQuery. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandPreparedStatementQuery); + constructor(properties?: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandPreparedStatementQuery preparedStatementHandle. */ - public preparedStatementHandle: Uint8Array; + preparedStatementHandle: Uint8Array; /** * Creates a new CommandPreparedStatementQuery instance using the specified properties. * @param [properties] Properties to set * @returns CommandPreparedStatementQuery instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandPreparedStatementQuery): arrow.flight.protocol.sql.CommandPreparedStatementQuery; + static create(properties: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape): arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties): arrow.flight.protocol.sql.CommandPreparedStatementQuery; /** * Encodes the specified CommandPreparedStatementQuery message. Does not implicitly {@link arrow.flight.protocol.sql.CommandPreparedStatementQuery.verify|verify} messages. @@ -2943,7 +3837,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandPreparedStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandPreparedStatementQuery message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandPreparedStatementQuery.verify|verify} messages. @@ -2951,40 +3845,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandPreparedStatementQuery, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandPreparedStatementQuery message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandPreparedStatementQuery + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape} CommandPreparedStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandPreparedStatementQuery; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape; /** * Decodes a CommandPreparedStatementQuery message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandPreparedStatementQuery + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape} CommandPreparedStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandPreparedStatementQuery; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape; /** * Verifies a CommandPreparedStatementQuery message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandPreparedStatementQuery message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandPreparedStatementQuery */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandPreparedStatementQuery; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandPreparedStatementQuery; /** * Creates a plain object from a CommandPreparedStatementQuery message. Also converts values to other types if specified. @@ -2992,56 +3886,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandPreparedStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandPreparedStatementQuery, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandPreparedStatementQuery to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandPreparedStatementQuery - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandPreparedStatementQuery + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandStatementUpdate. */ - interface ICommandStatementUpdate { + namespace CommandPreparedStatementQuery { - /** CommandStatementUpdate query */ - query?: (string|null); + /** Properties of a CommandPreparedStatementQuery. */ + interface $Properties { - /** CommandStatementUpdate transactionId */ - transactionId?: (Uint8Array|null); + /** CommandPreparedStatementQuery preparedStatementHandle */ + preparedStatementHandle?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandPreparedStatementQuery. */ + type $Shape = arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties; + } + + /** + * Properties of a CommandStatementUpdate. + * @deprecated Use arrow.flight.protocol.sql.CommandStatementUpdate.$Properties instead. + */ + interface ICommandStatementUpdate extends arrow.flight.protocol.sql.CommandStatementUpdate.$Properties { } /** Represents a CommandStatementUpdate. */ - class CommandStatementUpdate implements ICommandStatementUpdate { + class CommandStatementUpdate { /** * Constructs a new CommandStatementUpdate. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandStatementUpdate); + constructor(properties?: arrow.flight.protocol.sql.CommandStatementUpdate.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandStatementUpdate query. */ - public query: string; + query: string; /** CommandStatementUpdate transactionId. */ - public transactionId?: (Uint8Array|null); - - /** CommandStatementUpdate _transactionId. */ - public _transactionId?: "transactionId"; + transactionId?: (Uint8Array|null); /** * Creates a new CommandStatementUpdate instance using the specified properties. * @param [properties] Properties to set * @returns CommandStatementUpdate instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandStatementUpdate): arrow.flight.protocol.sql.CommandStatementUpdate; + static create(properties: arrow.flight.protocol.sql.CommandStatementUpdate.$Shape): arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandStatementUpdate.$Properties): arrow.flight.protocol.sql.CommandStatementUpdate; /** * Encodes the specified CommandStatementUpdate message. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementUpdate.verify|verify} messages. @@ -3049,7 +3957,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandStatementUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandStatementUpdate.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandStatementUpdate message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementUpdate.verify|verify} messages. @@ -3057,40 +3965,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandStatementUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementUpdate.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandStatementUpdate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape} CommandStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementUpdate; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape; /** * Decodes a CommandStatementUpdate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape} CommandStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementUpdate; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape; /** * Verifies a CommandStatementUpdate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandStatementUpdate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandStatementUpdate */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementUpdate; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementUpdate; /** * Creates a plain object from a CommandStatementUpdate message. Also converts values to other types if specified. @@ -3098,47 +4006,70 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandStatementUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandStatementUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandStatementUpdate to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandStatementUpdate - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandStatementUpdate + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandPreparedStatementUpdate. */ - interface ICommandPreparedStatementUpdate { + namespace CommandStatementUpdate { - /** CommandPreparedStatementUpdate preparedStatementHandle */ - preparedStatementHandle?: (Uint8Array|null); + /** Properties of a CommandStatementUpdate. */ + interface $Properties { + + /** CommandStatementUpdate query */ + query?: (string|null); + + /** CommandStatementUpdate transactionId */ + transactionId?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandStatementUpdate. */ + type $Shape = arrow.flight.protocol.sql.CommandStatementUpdate.$Properties; + } + + /** + * Properties of a CommandPreparedStatementUpdate. + * @deprecated Use arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties instead. + */ + interface ICommandPreparedStatementUpdate extends arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties { } /** Represents a CommandPreparedStatementUpdate. */ - class CommandPreparedStatementUpdate implements ICommandPreparedStatementUpdate { + class CommandPreparedStatementUpdate { /** * Constructs a new CommandPreparedStatementUpdate. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandPreparedStatementUpdate); + constructor(properties?: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandPreparedStatementUpdate preparedStatementHandle. */ - public preparedStatementHandle: Uint8Array; + preparedStatementHandle: Uint8Array; /** * Creates a new CommandPreparedStatementUpdate instance using the specified properties. * @param [properties] Properties to set * @returns CommandPreparedStatementUpdate instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandPreparedStatementUpdate): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; + static create(properties: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape): arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; /** * Encodes the specified CommandPreparedStatementUpdate message. Does not implicitly {@link arrow.flight.protocol.sql.CommandPreparedStatementUpdate.verify|verify} messages. @@ -3146,7 +4077,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandPreparedStatementUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandPreparedStatementUpdate message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandPreparedStatementUpdate.verify|verify} messages. @@ -3154,40 +4085,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandPreparedStatementUpdate, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandPreparedStatementUpdate message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandPreparedStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape} CommandPreparedStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape; /** * Decodes a CommandPreparedStatementUpdate message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandPreparedStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape} CommandPreparedStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape; /** * Verifies a CommandPreparedStatementUpdate message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandPreparedStatementUpdate message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandPreparedStatementUpdate */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; /** * Creates a plain object from a CommandPreparedStatementUpdate message. Also converts values to other types if specified. @@ -3195,92 +4126,85 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandPreparedStatementUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandPreparedStatementUpdate, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandPreparedStatementUpdate to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandPreparedStatementUpdate - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandPreparedStatementUpdate + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a CommandStatementIngest. */ - interface ICommandStatementIngest { + namespace CommandPreparedStatementUpdate { - /** CommandStatementIngest tableDefinitionOptions */ - tableDefinitionOptions?: (arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions|null); + /** Properties of a CommandPreparedStatementUpdate. */ + interface $Properties { - /** CommandStatementIngest table */ - table?: (string|null); + /** CommandPreparedStatementUpdate preparedStatementHandle */ + preparedStatementHandle?: (Uint8Array|null); - /** CommandStatementIngest schema */ - schema?: (string|null); - - /** CommandStatementIngest catalog */ - catalog?: (string|null); - - /** CommandStatementIngest temporary */ - temporary?: (boolean|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** CommandStatementIngest transactionId */ - transactionId?: (Uint8Array|null); + /** Shape of a CommandPreparedStatementUpdate. */ + type $Shape = arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties; + } - /** CommandStatementIngest options */ - options?: ({ [k: string]: string }|null); + /** + * Properties of a CommandStatementIngest. + * @deprecated Use arrow.flight.protocol.sql.CommandStatementIngest.$Properties instead. + */ + interface ICommandStatementIngest extends arrow.flight.protocol.sql.CommandStatementIngest.$Properties { } /** Represents a CommandStatementIngest. */ - class CommandStatementIngest implements ICommandStatementIngest { + class CommandStatementIngest { /** * Constructs a new CommandStatementIngest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.ICommandStatementIngest); + constructor(properties?: arrow.flight.protocol.sql.CommandStatementIngest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** CommandStatementIngest tableDefinitionOptions. */ - public tableDefinitionOptions?: (arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions|null); + tableDefinitionOptions?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties|null); /** CommandStatementIngest table. */ - public table: string; + table: string; /** CommandStatementIngest schema. */ - public schema?: (string|null); + schema?: (string|null); /** CommandStatementIngest catalog. */ - public catalog?: (string|null); + catalog?: (string|null); /** CommandStatementIngest temporary. */ - public temporary: boolean; + temporary: boolean; /** CommandStatementIngest transactionId. */ - public transactionId?: (Uint8Array|null); + transactionId?: (Uint8Array|null); /** CommandStatementIngest options. */ - public options: { [k: string]: string }; - - /** CommandStatementIngest _schema. */ - public _schema?: "schema"; - - /** CommandStatementIngest _catalog. */ - public _catalog?: "catalog"; - - /** CommandStatementIngest _transactionId. */ - public _transactionId?: "transactionId"; + options: { [k: string]: string }; /** * Creates a new CommandStatementIngest instance using the specified properties. * @param [properties] Properties to set * @returns CommandStatementIngest instance */ - public static create(properties?: arrow.flight.protocol.sql.ICommandStatementIngest): arrow.flight.protocol.sql.CommandStatementIngest; + static create(properties: arrow.flight.protocol.sql.CommandStatementIngest.$Shape): arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandStatementIngest.$Properties): arrow.flight.protocol.sql.CommandStatementIngest; /** * Encodes the specified CommandStatementIngest message. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementIngest.verify|verify} messages. @@ -3288,7 +4212,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.ICommandStatementIngest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandStatementIngest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified CommandStatementIngest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementIngest.verify|verify} messages. @@ -3296,40 +4220,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.ICommandStatementIngest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementIngest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a CommandStatementIngest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns CommandStatementIngest + * @returns {arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape} CommandStatementIngest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementIngest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape; /** * Decodes a CommandStatementIngest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns CommandStatementIngest + * @returns {arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape} CommandStatementIngest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementIngest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape; /** * Verifies a CommandStatementIngest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a CommandStatementIngest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns CommandStatementIngest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementIngest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementIngest; /** * Creates a plain object from a CommandStatementIngest message. Also converts values to other types if specified. @@ -3337,55 +4261,87 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandStatementIngest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandStatementIngest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this CommandStatementIngest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for CommandStatementIngest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for CommandStatementIngest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace CommandStatementIngest { - /** Properties of a TableDefinitionOptions. */ - interface ITableDefinitionOptions { + /** Properties of a CommandStatementIngest. */ + interface $Properties { + + /** CommandStatementIngest tableDefinitionOptions */ + tableDefinitionOptions?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties|null); + + /** CommandStatementIngest table */ + table?: (string|null); + + /** CommandStatementIngest schema */ + schema?: (string|null); + + /** CommandStatementIngest catalog */ + catalog?: (string|null); + + /** CommandStatementIngest temporary */ + temporary?: (boolean|null); + + /** CommandStatementIngest transactionId */ + transactionId?: (Uint8Array|null); - /** TableDefinitionOptions ifNotExist */ - ifNotExist?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption|null); + /** CommandStatementIngest options */ + options?: ({ [k: string]: string }|null); - /** TableDefinitionOptions ifExists */ - ifExists?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a CommandStatementIngest. */ + type $Shape = arrow.flight.protocol.sql.CommandStatementIngest.$Properties; + + /** + * Properties of a TableDefinitionOptions. + * @deprecated Use arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties instead. + */ + interface ITableDefinitionOptions extends arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties { } /** Represents a TableDefinitionOptions. */ - class TableDefinitionOptions implements ITableDefinitionOptions { + class TableDefinitionOptions { /** * Constructs a new TableDefinitionOptions. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions); + constructor(properties?: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** TableDefinitionOptions ifNotExist. */ - public ifNotExist: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption; + ifNotExist: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption; /** TableDefinitionOptions ifExists. */ - public ifExists: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption; + ifExists: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption; /** * Creates a new TableDefinitionOptions instance using the specified properties. * @param [properties] Properties to set * @returns TableDefinitionOptions instance */ - public static create(properties?: arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; + static create(properties: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape; + static create(properties?: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; /** * Encodes the specified TableDefinitionOptions message. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.verify|verify} messages. @@ -3393,7 +4349,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified TableDefinitionOptions message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.verify|verify} messages. @@ -3401,40 +4357,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a TableDefinitionOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns TableDefinitionOptions + * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape} TableDefinitionOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape; /** * Decodes a TableDefinitionOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns TableDefinitionOptions + * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape} TableDefinitionOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape; /** * Verifies a TableDefinitionOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a TableDefinitionOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns TableDefinitionOptions */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; /** * Creates a plain object from a TableDefinitionOptions message. Also converts values to other types if specified. @@ -3442,66 +4398,100 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this TableDefinitionOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for TableDefinitionOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for TableDefinitionOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace TableDefinitionOptions { + /** Properties of a TableDefinitionOptions. */ + interface $Properties { + + /** TableDefinitionOptions ifNotExist */ + ifNotExist?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption|null); + + /** TableDefinitionOptions ifExists */ + ifExists?: (arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a TableDefinitionOptions. */ + type $Shape = arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties; + /** TableNotExistOption enum. */ enum TableNotExistOption { + + /** TABLE_NOT_EXIST_OPTION_UNSPECIFIED value */ TABLE_NOT_EXIST_OPTION_UNSPECIFIED = 0, + + /** TABLE_NOT_EXIST_OPTION_CREATE value */ TABLE_NOT_EXIST_OPTION_CREATE = 1, + + /** TABLE_NOT_EXIST_OPTION_FAIL value */ TABLE_NOT_EXIST_OPTION_FAIL = 2 } /** TableExistsOption enum. */ enum TableExistsOption { + + /** TABLE_EXISTS_OPTION_UNSPECIFIED value */ TABLE_EXISTS_OPTION_UNSPECIFIED = 0, + + /** TABLE_EXISTS_OPTION_FAIL value */ TABLE_EXISTS_OPTION_FAIL = 1, + + /** TABLE_EXISTS_OPTION_APPEND value */ TABLE_EXISTS_OPTION_APPEND = 2, + + /** TABLE_EXISTS_OPTION_REPLACE value */ TABLE_EXISTS_OPTION_REPLACE = 3 } } } - /** Properties of a DoPutUpdateResult. */ - interface IDoPutUpdateResult { - - /** DoPutUpdateResult recordCount */ - recordCount?: (number|Long|null); + /** + * Properties of a DoPutUpdateResult. + * @deprecated Use arrow.flight.protocol.sql.DoPutUpdateResult.$Properties instead. + */ + interface IDoPutUpdateResult extends arrow.flight.protocol.sql.DoPutUpdateResult.$Properties { } /** Represents a DoPutUpdateResult. */ - class DoPutUpdateResult implements IDoPutUpdateResult { + class DoPutUpdateResult { /** * Constructs a new DoPutUpdateResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IDoPutUpdateResult); + constructor(properties?: arrow.flight.protocol.sql.DoPutUpdateResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** DoPutUpdateResult recordCount. */ - public recordCount: (number|Long); + recordCount: (number|Long); /** * Creates a new DoPutUpdateResult instance using the specified properties. * @param [properties] Properties to set * @returns DoPutUpdateResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IDoPutUpdateResult): arrow.flight.protocol.sql.DoPutUpdateResult; + static create(properties: arrow.flight.protocol.sql.DoPutUpdateResult.$Shape): arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.DoPutUpdateResult.$Properties): arrow.flight.protocol.sql.DoPutUpdateResult; /** * Encodes the specified DoPutUpdateResult message. Does not implicitly {@link arrow.flight.protocol.sql.DoPutUpdateResult.verify|verify} messages. @@ -3509,7 +4499,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IDoPutUpdateResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.DoPutUpdateResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DoPutUpdateResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.DoPutUpdateResult.verify|verify} messages. @@ -3517,40 +4507,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IDoPutUpdateResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.DoPutUpdateResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DoPutUpdateResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DoPutUpdateResult + * @returns {arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape} DoPutUpdateResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.DoPutUpdateResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape; /** * Decodes a DoPutUpdateResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns DoPutUpdateResult + * @returns {arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape} DoPutUpdateResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.DoPutUpdateResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape; /** * Verifies a DoPutUpdateResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a DoPutUpdateResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DoPutUpdateResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.DoPutUpdateResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.DoPutUpdateResult; /** * Creates a plain object from a DoPutUpdateResult message. Also converts values to other types if specified. @@ -3558,50 +4548,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.DoPutUpdateResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.DoPutUpdateResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DoPutUpdateResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for DoPutUpdateResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for DoPutUpdateResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a DoPutPreparedStatementResult. */ - interface IDoPutPreparedStatementResult { + namespace DoPutUpdateResult { - /** DoPutPreparedStatementResult preparedStatementHandle */ - preparedStatementHandle?: (Uint8Array|null); + /** Properties of a DoPutUpdateResult. */ + interface $Properties { + + /** DoPutUpdateResult recordCount */ + recordCount?: (number|Long|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a DoPutUpdateResult. */ + type $Shape = arrow.flight.protocol.sql.DoPutUpdateResult.$Properties; + } + + /** + * Properties of a DoPutPreparedStatementResult. + * @deprecated Use arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties instead. + */ + interface IDoPutPreparedStatementResult extends arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties { } /** Represents a DoPutPreparedStatementResult. */ - class DoPutPreparedStatementResult implements IDoPutPreparedStatementResult { + class DoPutPreparedStatementResult { /** * Constructs a new DoPutPreparedStatementResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IDoPutPreparedStatementResult); + constructor(properties?: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties); - /** DoPutPreparedStatementResult preparedStatementHandle. */ - public preparedStatementHandle?: (Uint8Array|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; - /** DoPutPreparedStatementResult _preparedStatementHandle. */ - public _preparedStatementHandle?: "preparedStatementHandle"; + /** DoPutPreparedStatementResult preparedStatementHandle. */ + preparedStatementHandle?: (Uint8Array|null); /** * Creates a new DoPutPreparedStatementResult instance using the specified properties. * @param [properties] Properties to set * @returns DoPutPreparedStatementResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IDoPutPreparedStatementResult): arrow.flight.protocol.sql.DoPutPreparedStatementResult; + static create(properties: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape): arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties): arrow.flight.protocol.sql.DoPutPreparedStatementResult; /** * Encodes the specified DoPutPreparedStatementResult message. Does not implicitly {@link arrow.flight.protocol.sql.DoPutPreparedStatementResult.verify|verify} messages. @@ -3609,7 +4616,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IDoPutPreparedStatementResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DoPutPreparedStatementResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.DoPutPreparedStatementResult.verify|verify} messages. @@ -3617,40 +4624,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IDoPutPreparedStatementResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DoPutPreparedStatementResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DoPutPreparedStatementResult + * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape} DoPutPreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.DoPutPreparedStatementResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape; /** * Decodes a DoPutPreparedStatementResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns DoPutPreparedStatementResult + * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape} DoPutPreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.DoPutPreparedStatementResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape; /** * Verifies a DoPutPreparedStatementResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a DoPutPreparedStatementResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DoPutPreparedStatementResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.DoPutPreparedStatementResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.DoPutPreparedStatementResult; /** * Creates a plain object from a DoPutPreparedStatementResult message. Also converts values to other types if specified. @@ -3658,47 +4665,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.DoPutPreparedStatementResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.DoPutPreparedStatementResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DoPutPreparedStatementResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for DoPutPreparedStatementResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for DoPutPreparedStatementResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionCancelQueryRequest. */ - interface IActionCancelQueryRequest { + namespace DoPutPreparedStatementResult { + + /** Properties of a DoPutPreparedStatementResult. */ + interface $Properties { + + /** DoPutPreparedStatementResult preparedStatementHandle */ + preparedStatementHandle?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a DoPutPreparedStatementResult. */ + type $Shape = arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties; + } - /** ActionCancelQueryRequest info */ - info?: (Uint8Array|null); + /** + * Properties of an ActionCancelQueryRequest. + * @deprecated Use arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties instead. + */ + interface IActionCancelQueryRequest extends arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties { } /** Represents an ActionCancelQueryRequest. */ - class ActionCancelQueryRequest implements IActionCancelQueryRequest { + class ActionCancelQueryRequest { /** * Constructs a new ActionCancelQueryRequest. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionCancelQueryRequest); + constructor(properties?: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionCancelQueryRequest info. */ - public info: Uint8Array; + info: Uint8Array; /** * Creates a new ActionCancelQueryRequest instance using the specified properties. * @param [properties] Properties to set * @returns ActionCancelQueryRequest instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionCancelQueryRequest): arrow.flight.protocol.sql.ActionCancelQueryRequest; + static create(properties: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape): arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties): arrow.flight.protocol.sql.ActionCancelQueryRequest; /** * Encodes the specified ActionCancelQueryRequest message. Does not implicitly {@link arrow.flight.protocol.sql.ActionCancelQueryRequest.verify|verify} messages. @@ -3706,7 +4733,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionCancelQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionCancelQueryRequest message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionCancelQueryRequest.verify|verify} messages. @@ -3714,40 +4741,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionCancelQueryRequest, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionCancelQueryRequest message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionCancelQueryRequest + * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape} ActionCancelQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCancelQueryRequest; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape; /** * Decodes an ActionCancelQueryRequest message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionCancelQueryRequest + * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape} ActionCancelQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCancelQueryRequest; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape; /** * Verifies an ActionCancelQueryRequest message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionCancelQueryRequest message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionCancelQueryRequest */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCancelQueryRequest; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCancelQueryRequest; /** * Creates a plain object from an ActionCancelQueryRequest message. Also converts values to other types if specified. @@ -3755,47 +4782,67 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionCancelQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionCancelQueryRequest, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionCancelQueryRequest to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionCancelQueryRequest - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionCancelQueryRequest + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an ActionCancelQueryResult. */ - interface IActionCancelQueryResult { + namespace ActionCancelQueryRequest { + + /** Properties of an ActionCancelQueryRequest. */ + interface $Properties { + + /** ActionCancelQueryRequest info */ + info?: (Uint8Array|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionCancelQueryRequest. */ + type $Shape = arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties; + } - /** ActionCancelQueryResult result */ - result?: (arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult|null); + /** + * Properties of an ActionCancelQueryResult. + * @deprecated Use arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties instead. + */ + interface IActionCancelQueryResult extends arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties { } /** Represents an ActionCancelQueryResult. */ - class ActionCancelQueryResult implements IActionCancelQueryResult { + class ActionCancelQueryResult { /** * Constructs a new ActionCancelQueryResult. * @param [properties] Properties to set */ - constructor(properties?: arrow.flight.protocol.sql.IActionCancelQueryResult); + constructor(properties?: arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ActionCancelQueryResult result. */ - public result: arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult; + result: arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult; /** * Creates a new ActionCancelQueryResult instance using the specified properties. * @param [properties] Properties to set * @returns ActionCancelQueryResult instance */ - public static create(properties?: arrow.flight.protocol.sql.IActionCancelQueryResult): arrow.flight.protocol.sql.ActionCancelQueryResult; + static create(properties: arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape): arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape; + static create(properties?: arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties): arrow.flight.protocol.sql.ActionCancelQueryResult; /** * Encodes the specified ActionCancelQueryResult message. Does not implicitly {@link arrow.flight.protocol.sql.ActionCancelQueryResult.verify|verify} messages. @@ -3803,7 +4850,7 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: arrow.flight.protocol.sql.IActionCancelQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ActionCancelQueryResult message, length delimited. Does not implicitly {@link arrow.flight.protocol.sql.ActionCancelQueryResult.verify|verify} messages. @@ -3811,40 +4858,40 @@ export namespace arrow { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: arrow.flight.protocol.sql.IActionCancelQueryResult, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ActionCancelQueryResult message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ActionCancelQueryResult + * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape} ActionCancelQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCancelQueryResult; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape; /** * Decodes an ActionCancelQueryResult message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ActionCancelQueryResult + * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape} ActionCancelQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCancelQueryResult; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape; /** * Verifies an ActionCancelQueryResult message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ActionCancelQueryResult message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ActionCancelQueryResult */ - public static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCancelQueryResult; + static fromObject(object: { [k: string]: any }): arrow.flight.protocol.sql.ActionCancelQueryResult; /** * Creates a plain object from an ActionCancelQueryResult message. Also converts values to other types if specified. @@ -3852,29 +4899,50 @@ export namespace arrow { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: arrow.flight.protocol.sql.ActionCancelQueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: arrow.flight.protocol.sql.ActionCancelQueryResult, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ActionCancelQueryResult to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ActionCancelQueryResult - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ActionCancelQueryResult + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace ActionCancelQueryResult { + /** Properties of an ActionCancelQueryResult. */ + interface $Properties { + + /** ActionCancelQueryResult result */ + result?: (arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ActionCancelQueryResult. */ + type $Shape = arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties; + /** CancelResult enum. */ enum CancelResult { + + /** CANCEL_RESULT_UNSPECIFIED value */ CANCEL_RESULT_UNSPECIFIED = 0, + + /** CANCEL_RESULT_CANCELLED value */ CANCEL_RESULT_CANCELLED = 1, + + /** CANCEL_RESULT_CANCELLING value */ CANCEL_RESULT_CANCELLING = 2, + + /** CANCEL_RESULT_NOT_CANCELLABLE value */ CANCEL_RESULT_NOT_CANCELLABLE = 3 } } @@ -3889,31 +4957,35 @@ export namespace google { /** Namespace protobuf. */ namespace protobuf { - /** Properties of a FileDescriptorSet. */ - interface IFileDescriptorSet { - - /** FileDescriptorSet file */ - file?: (google.protobuf.IFileDescriptorProto[]|null); + /** + * Properties of a FileDescriptorSet. + * @deprecated Use google.protobuf.FileDescriptorSet.$Properties instead. + */ + interface IFileDescriptorSet extends google.protobuf.FileDescriptorSet.$Properties { } /** Represents a FileDescriptorSet. */ - class FileDescriptorSet implements IFileDescriptorSet { + class FileDescriptorSet { /** * Constructs a new FileDescriptorSet. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IFileDescriptorSet); + constructor(properties?: google.protobuf.FileDescriptorSet.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FileDescriptorSet file. */ - public file: google.protobuf.IFileDescriptorProto[]; + file: google.protobuf.FileDescriptorProto.$Properties[]; /** * Creates a new FileDescriptorSet instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorSet instance */ - public static create(properties?: google.protobuf.IFileDescriptorSet): google.protobuf.FileDescriptorSet; + static create(properties: google.protobuf.FileDescriptorSet.$Shape): google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape; + static create(properties?: google.protobuf.FileDescriptorSet.$Properties): google.protobuf.FileDescriptorSet; /** * Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. @@ -3921,7 +4993,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FileDescriptorSet.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages. @@ -3929,40 +5001,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IFileDescriptorSet, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FileDescriptorSet.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorSet message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FileDescriptorSet + * @returns {google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape} FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape; /** * Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FileDescriptorSet + * @returns {google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape} FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape; /** * Verifies a FileDescriptorSet message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorSet */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; + static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorSet; /** * Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified. @@ -3970,113 +5042,149 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FileDescriptorSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorSet to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FileDescriptorSet - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FileDescriptorSet + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace FileDescriptorSet { + + /** Properties of a FileDescriptorSet. */ + interface $Properties { + + /** FileDescriptorSet file */ + file?: (google.protobuf.FileDescriptorProto.$Properties[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FileDescriptorSet. */ + type $Shape = google.protobuf.FileDescriptorSet.$Properties; } - /** Properties of a FileDescriptorProto. */ - interface IFileDescriptorProto { + /** Edition enum. */ + enum Edition { + + /** EDITION_UNKNOWN value */ + EDITION_UNKNOWN = 0, - /** FileDescriptorProto name */ - name?: (string|null); + /** EDITION_LEGACY value */ + EDITION_LEGACY = 900, - /** FileDescriptorProto package */ - "package"?: (string|null); + /** EDITION_PROTO2 value */ + EDITION_PROTO2 = 998, - /** FileDescriptorProto dependency */ - dependency?: (string[]|null); + /** EDITION_PROTO3 value */ + EDITION_PROTO3 = 999, - /** FileDescriptorProto publicDependency */ - publicDependency?: (number[]|null); + /** EDITION_2023 value */ + EDITION_2023 = 1000, - /** FileDescriptorProto weakDependency */ - weakDependency?: (number[]|null); + /** EDITION_2024 value */ + EDITION_2024 = 1001, - /** FileDescriptorProto messageType */ - messageType?: (google.protobuf.IDescriptorProto[]|null); + /** EDITION_2026 value */ + EDITION_2026 = 1002, - /** FileDescriptorProto enumType */ - enumType?: (google.protobuf.IEnumDescriptorProto[]|null); + /** EDITION_1_TEST_ONLY value */ + EDITION_1_TEST_ONLY = 1, - /** FileDescriptorProto service */ - service?: (google.protobuf.IServiceDescriptorProto[]|null); + /** EDITION_2_TEST_ONLY value */ + EDITION_2_TEST_ONLY = 2, - /** FileDescriptorProto extension */ - extension?: (google.protobuf.IFieldDescriptorProto[]|null); + /** EDITION_99997_TEST_ONLY value */ + EDITION_99997_TEST_ONLY = 99997, - /** FileDescriptorProto options */ - options?: (google.protobuf.IFileOptions|null); + /** EDITION_99998_TEST_ONLY value */ + EDITION_99998_TEST_ONLY = 99998, - /** FileDescriptorProto sourceCodeInfo */ - sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); + /** EDITION_99999_TEST_ONLY value */ + EDITION_99999_TEST_ONLY = 99999, - /** FileDescriptorProto syntax */ - syntax?: (string|null); + /** EDITION_MAX value */ + EDITION_MAX = 2147483647 + } + + /** + * Properties of a FileDescriptorProto. + * @deprecated Use google.protobuf.FileDescriptorProto.$Properties instead. + */ + interface IFileDescriptorProto extends google.protobuf.FileDescriptorProto.$Properties { } /** Represents a FileDescriptorProto. */ - class FileDescriptorProto implements IFileDescriptorProto { + class FileDescriptorProto { /** * Constructs a new FileDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IFileDescriptorProto); + constructor(properties?: google.protobuf.FileDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FileDescriptorProto name. */ - public name: string; + name: string; /** FileDescriptorProto package. */ - public package: string; + package: string; /** FileDescriptorProto dependency. */ - public dependency: string[]; + dependency: string[]; /** FileDescriptorProto publicDependency. */ - public publicDependency: number[]; + publicDependency: number[]; /** FileDescriptorProto weakDependency. */ - public weakDependency: number[]; + weakDependency: number[]; + + /** FileDescriptorProto optionDependency. */ + optionDependency: string[]; /** FileDescriptorProto messageType. */ - public messageType: google.protobuf.IDescriptorProto[]; + messageType: google.protobuf.DescriptorProto.$Properties[]; /** FileDescriptorProto enumType. */ - public enumType: google.protobuf.IEnumDescriptorProto[]; + enumType: google.protobuf.EnumDescriptorProto.$Properties[]; /** FileDescriptorProto service. */ - public service: google.protobuf.IServiceDescriptorProto[]; + service: google.protobuf.ServiceDescriptorProto.$Properties[]; /** FileDescriptorProto extension. */ - public extension: google.protobuf.IFieldDescriptorProto[]; + extension: google.protobuf.FieldDescriptorProto.$Properties[]; /** FileDescriptorProto options. */ - public options?: (google.protobuf.IFileOptions|null); + options?: (google.protobuf.FileOptions.$Properties|null); /** FileDescriptorProto sourceCodeInfo. */ - public sourceCodeInfo?: (google.protobuf.ISourceCodeInfo|null); + sourceCodeInfo?: (google.protobuf.SourceCodeInfo.$Properties|null); /** FileDescriptorProto syntax. */ - public syntax: string; + syntax: string; + + /** FileDescriptorProto edition. */ + edition: google.protobuf.Edition; /** * Creates a new FileDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FileDescriptorProto instance */ - public static create(properties?: google.protobuf.IFileDescriptorProto): google.protobuf.FileDescriptorProto; + static create(properties: google.protobuf.FileDescriptorProto.$Shape): google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape; + static create(properties?: google.protobuf.FileDescriptorProto.$Properties): google.protobuf.FileDescriptorProto; /** * Encodes the specified FileDescriptorProto message. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. @@ -4084,7 +5192,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FileDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorProto.verify|verify} messages. @@ -4092,40 +5200,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IFileDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FileDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FileDescriptorProto + * @returns {google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape} FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape; /** * Decodes a FileDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FileDescriptorProto + * @returns {google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape} FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape; /** * Verifies a FileDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.FileDescriptorProto; /** * Creates a plain object from a FileDescriptorProto message. Also converts values to other types if specified. @@ -4133,101 +5241,136 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FileDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FileDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FileDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a DescriptorProto. */ - interface IDescriptorProto { + namespace FileDescriptorProto { + + /** Properties of a FileDescriptorProto. */ + interface $Properties { + + /** FileDescriptorProto name */ + name?: (string|null); + + /** FileDescriptorProto package */ + "package"?: (string|null); + + /** FileDescriptorProto dependency */ + dependency?: (string[]|null); + + /** FileDescriptorProto publicDependency */ + publicDependency?: (number[]|null); - /** DescriptorProto name */ - name?: (string|null); + /** FileDescriptorProto weakDependency */ + weakDependency?: (number[]|null); - /** DescriptorProto field */ - field?: (google.protobuf.IFieldDescriptorProto[]|null); + /** FileDescriptorProto optionDependency */ + optionDependency?: (string[]|null); - /** DescriptorProto extension */ - extension?: (google.protobuf.IFieldDescriptorProto[]|null); + /** FileDescriptorProto messageType */ + messageType?: (google.protobuf.DescriptorProto.$Properties[]|null); - /** DescriptorProto nestedType */ - nestedType?: (google.protobuf.IDescriptorProto[]|null); + /** FileDescriptorProto enumType */ + enumType?: (google.protobuf.EnumDescriptorProto.$Properties[]|null); - /** DescriptorProto enumType */ - enumType?: (google.protobuf.IEnumDescriptorProto[]|null); + /** FileDescriptorProto service */ + service?: (google.protobuf.ServiceDescriptorProto.$Properties[]|null); - /** DescriptorProto extensionRange */ - extensionRange?: (google.protobuf.DescriptorProto.IExtensionRange[]|null); + /** FileDescriptorProto extension */ + extension?: (google.protobuf.FieldDescriptorProto.$Properties[]|null); - /** DescriptorProto oneofDecl */ - oneofDecl?: (google.protobuf.IOneofDescriptorProto[]|null); + /** FileDescriptorProto options */ + options?: (google.protobuf.FileOptions.$Properties|null); - /** DescriptorProto options */ - options?: (google.protobuf.IMessageOptions|null); + /** FileDescriptorProto sourceCodeInfo */ + sourceCodeInfo?: (google.protobuf.SourceCodeInfo.$Properties|null); - /** DescriptorProto reservedRange */ - reservedRange?: (google.protobuf.DescriptorProto.IReservedRange[]|null); + /** FileDescriptorProto syntax */ + syntax?: (string|null); - /** DescriptorProto reservedName */ - reservedName?: (string[]|null); + /** FileDescriptorProto edition */ + edition?: (google.protobuf.Edition|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FileDescriptorProto. */ + type $Shape = google.protobuf.FileDescriptorProto.$Properties; + } + + /** + * Properties of a DescriptorProto. + * @deprecated Use google.protobuf.DescriptorProto.$Properties instead. + */ + interface IDescriptorProto extends google.protobuf.DescriptorProto.$Properties { } /** Represents a DescriptorProto. */ - class DescriptorProto implements IDescriptorProto { + class DescriptorProto { /** * Constructs a new DescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IDescriptorProto); + constructor(properties?: google.protobuf.DescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** DescriptorProto name. */ - public name: string; + name: string; /** DescriptorProto field. */ - public field: google.protobuf.IFieldDescriptorProto[]; + field: google.protobuf.FieldDescriptorProto.$Properties[]; /** DescriptorProto extension. */ - public extension: google.protobuf.IFieldDescriptorProto[]; + extension: google.protobuf.FieldDescriptorProto.$Properties[]; /** DescriptorProto nestedType. */ - public nestedType: google.protobuf.IDescriptorProto[]; + nestedType: google.protobuf.DescriptorProto.$Properties[]; /** DescriptorProto enumType. */ - public enumType: google.protobuf.IEnumDescriptorProto[]; + enumType: google.protobuf.EnumDescriptorProto.$Properties[]; /** DescriptorProto extensionRange. */ - public extensionRange: google.protobuf.DescriptorProto.IExtensionRange[]; + extensionRange: google.protobuf.DescriptorProto.ExtensionRange.$Properties[]; /** DescriptorProto oneofDecl. */ - public oneofDecl: google.protobuf.IOneofDescriptorProto[]; + oneofDecl: google.protobuf.OneofDescriptorProto.$Properties[]; /** DescriptorProto options. */ - public options?: (google.protobuf.IMessageOptions|null); + options?: (google.protobuf.MessageOptions.$Properties|null); /** DescriptorProto reservedRange. */ - public reservedRange: google.protobuf.DescriptorProto.IReservedRange[]; + reservedRange: google.protobuf.DescriptorProto.ReservedRange.$Properties[]; /** DescriptorProto reservedName. */ - public reservedName: string[]; + reservedName: string[]; + + /** DescriptorProto visibility. */ + visibility: google.protobuf.SymbolVisibility; /** * Creates a new DescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns DescriptorProto instance */ - public static create(properties?: google.protobuf.IDescriptorProto): google.protobuf.DescriptorProto; + static create(properties: google.protobuf.DescriptorProto.$Shape): google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape; + static create(properties?: google.protobuf.DescriptorProto.$Properties): google.protobuf.DescriptorProto; /** * Encodes the specified DescriptorProto message. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. @@ -4235,7 +5378,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.DescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified DescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.verify|verify} messages. @@ -4243,40 +5386,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.DescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a DescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns DescriptorProto + * @returns {google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape} DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape; /** * Decodes a DescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns DescriptorProto + * @returns {google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape} DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape; /** * Verifies a DescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a DescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns DescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto; /** * Creates a plain object from a DescriptorProto message. Also converts values to other types if specified. @@ -4284,55 +5427,102 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.DescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this DescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for DescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for DescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace DescriptorProto { - /** Properties of an ExtensionRange. */ - interface IExtensionRange { + /** Properties of a DescriptorProto. */ + interface $Properties { + + /** DescriptorProto name */ + name?: (string|null); + + /** DescriptorProto field */ + field?: (google.protobuf.FieldDescriptorProto.$Properties[]|null); + + /** DescriptorProto extension */ + extension?: (google.protobuf.FieldDescriptorProto.$Properties[]|null); + + /** DescriptorProto nestedType */ + nestedType?: (google.protobuf.DescriptorProto.$Properties[]|null); + + /** DescriptorProto enumType */ + enumType?: (google.protobuf.EnumDescriptorProto.$Properties[]|null); + + /** DescriptorProto extensionRange */ + extensionRange?: (google.protobuf.DescriptorProto.ExtensionRange.$Properties[]|null); + + /** DescriptorProto oneofDecl */ + oneofDecl?: (google.protobuf.OneofDescriptorProto.$Properties[]|null); - /** ExtensionRange start */ - start?: (number|null); + /** DescriptorProto options */ + options?: (google.protobuf.MessageOptions.$Properties|null); - /** ExtensionRange end */ - end?: (number|null); + /** DescriptorProto reservedRange */ + reservedRange?: (google.protobuf.DescriptorProto.ReservedRange.$Properties[]|null); + + /** DescriptorProto reservedName */ + reservedName?: (string[]|null); + + /** DescriptorProto visibility */ + visibility?: (google.protobuf.SymbolVisibility|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a DescriptorProto. */ + type $Shape = google.protobuf.DescriptorProto.$Properties; + + /** + * Properties of an ExtensionRange. + * @deprecated Use google.protobuf.DescriptorProto.ExtensionRange.$Properties instead. + */ + interface IExtensionRange extends google.protobuf.DescriptorProto.ExtensionRange.$Properties { } /** Represents an ExtensionRange. */ - class ExtensionRange implements IExtensionRange { + class ExtensionRange { /** * Constructs a new ExtensionRange. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.DescriptorProto.IExtensionRange); + constructor(properties?: google.protobuf.DescriptorProto.ExtensionRange.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ExtensionRange start. */ - public start: number; + start: number; /** ExtensionRange end. */ - public end: number; + end: number; + + /** ExtensionRange options. */ + options?: (google.protobuf.ExtensionRangeOptions.$Properties|null); /** * Creates a new ExtensionRange instance using the specified properties. * @param [properties] Properties to set * @returns ExtensionRange instance */ - public static create(properties?: google.protobuf.DescriptorProto.IExtensionRange): google.protobuf.DescriptorProto.ExtensionRange; + static create(properties: google.protobuf.DescriptorProto.ExtensionRange.$Shape): google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape; + static create(properties?: google.protobuf.DescriptorProto.ExtensionRange.$Properties): google.protobuf.DescriptorProto.ExtensionRange; /** * Encodes the specified ExtensionRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. @@ -4340,7 +5530,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.DescriptorProto.ExtensionRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ExtensionRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ExtensionRange.verify|verify} messages. @@ -4348,40 +5538,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.DescriptorProto.IExtensionRange, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.DescriptorProto.ExtensionRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an ExtensionRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ExtensionRange + * @returns {google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape} ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape; /** * Decodes an ExtensionRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ExtensionRange + * @returns {google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape} ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape; /** * Verifies an ExtensionRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an ExtensionRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ExtensionRange */ - public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; + static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ExtensionRange; /** * Creates a plain object from an ExtensionRange message. Also converts values to other types if specified. @@ -4389,53 +5579,76 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.DescriptorProto.ExtensionRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ExtensionRange to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ExtensionRange - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ExtensionRange + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a ReservedRange. */ - interface IReservedRange { + namespace ExtensionRange { + + /** Properties of an ExtensionRange. */ + interface $Properties { + + /** ExtensionRange start */ + start?: (number|null); + + /** ExtensionRange end */ + end?: (number|null); + + /** ExtensionRange options */ + options?: (google.protobuf.ExtensionRangeOptions.$Properties|null); - /** ReservedRange start */ - start?: (number|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ExtensionRange. */ + type $Shape = google.protobuf.DescriptorProto.ExtensionRange.$Properties; + } - /** ReservedRange end */ - end?: (number|null); + /** + * Properties of a ReservedRange. + * @deprecated Use google.protobuf.DescriptorProto.ReservedRange.$Properties instead. + */ + interface IReservedRange extends google.protobuf.DescriptorProto.ReservedRange.$Properties { } /** Represents a ReservedRange. */ - class ReservedRange implements IReservedRange { + class ReservedRange { /** * Constructs a new ReservedRange. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.DescriptorProto.IReservedRange); + constructor(properties?: google.protobuf.DescriptorProto.ReservedRange.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ReservedRange start. */ - public start: number; + start: number; /** ReservedRange end. */ - public end: number; + end: number; /** * Creates a new ReservedRange instance using the specified properties. * @param [properties] Properties to set * @returns ReservedRange instance */ - public static create(properties?: google.protobuf.DescriptorProto.IReservedRange): google.protobuf.DescriptorProto.ReservedRange; + static create(properties: google.protobuf.DescriptorProto.ReservedRange.$Shape): google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape; + static create(properties?: google.protobuf.DescriptorProto.ReservedRange.$Properties): google.protobuf.DescriptorProto.ReservedRange; /** * Encodes the specified ReservedRange message. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. @@ -4443,7 +5656,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.DescriptorProto.ReservedRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ReservedRange message, length delimited. Does not implicitly {@link google.protobuf.DescriptorProto.ReservedRange.verify|verify} messages. @@ -4451,40 +5664,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.DescriptorProto.IReservedRange, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.DescriptorProto.ReservedRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ReservedRange message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ReservedRange + * @returns {google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape} ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape; /** * Decodes a ReservedRange message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ReservedRange + * @returns {google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape} ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape; /** * Verifies a ReservedRange message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a ReservedRange message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ReservedRange */ - public static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; + static fromObject(object: { [k: string]: any }): google.protobuf.DescriptorProto.ReservedRange; /** * Creates a plain object from a ReservedRange message. Also converts values to other types if specified. @@ -4492,102 +5705,387 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.DescriptorProto.ReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ReservedRange to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ReservedRange - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ReservedRange + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } + + namespace ReservedRange { + + /** Properties of a ReservedRange. */ + interface $Properties { + + /** ReservedRange start */ + start?: (number|null); + + /** ReservedRange end */ + end?: (number|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a ReservedRange. */ + type $Shape = google.protobuf.DescriptorProto.ReservedRange.$Properties; + } + } + + /** + * Properties of an ExtensionRangeOptions. + * @deprecated Use google.protobuf.ExtensionRangeOptions.$Properties instead. + */ + interface IExtensionRangeOptions extends google.protobuf.ExtensionRangeOptions.$Properties { + } + + /** Represents an ExtensionRangeOptions. */ + class ExtensionRangeOptions { + + /** + * Constructs a new ExtensionRangeOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.ExtensionRangeOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** ExtensionRangeOptions uninterpretedOption. */ + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; + + /** ExtensionRangeOptions declaration. */ + declaration: google.protobuf.ExtensionRangeOptions.Declaration.$Properties[]; + + /** ExtensionRangeOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** ExtensionRangeOptions verification. */ + verification: google.protobuf.ExtensionRangeOptions.VerificationState; + + /** + * Creates a new ExtensionRangeOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns ExtensionRangeOptions instance + */ + static create(properties: google.protobuf.ExtensionRangeOptions.$Shape): google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape; + static create(properties?: google.protobuf.ExtensionRangeOptions.$Properties): google.protobuf.ExtensionRangeOptions; + + /** + * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. + * @param message ExtensionRangeOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.ExtensionRangeOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. + * @param message ExtensionRangeOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an ExtensionRangeOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape} ExtensionRangeOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape; + + /** + * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape} ExtensionRangeOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape; + + /** + * Verifies an ExtensionRangeOptions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ExtensionRangeOptions + */ + static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions; + + /** + * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified. + * @param message ExtensionRangeOptions + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.ExtensionRangeOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ExtensionRangeOptions to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for ExtensionRangeOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; } - /** Properties of a FieldDescriptorProto. */ - interface IFieldDescriptorProto { + namespace ExtensionRangeOptions { + + /** Properties of an ExtensionRangeOptions. */ + interface $Properties { + + /** ExtensionRangeOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); + + /** ExtensionRangeOptions declaration */ + declaration?: (google.protobuf.ExtensionRangeOptions.Declaration.$Properties[]|null); + + /** ExtensionRangeOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** ExtensionRangeOptions verification */ + verification?: (google.protobuf.ExtensionRangeOptions.VerificationState|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an ExtensionRangeOptions. */ + type $Shape = google.protobuf.ExtensionRangeOptions.$Properties; + + /** + * Properties of a Declaration. + * @deprecated Use google.protobuf.ExtensionRangeOptions.Declaration.$Properties instead. + */ + interface IDeclaration extends google.protobuf.ExtensionRangeOptions.Declaration.$Properties { + } + + /** Represents a Declaration. */ + class Declaration { + + /** + * Constructs a new Declaration. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.ExtensionRangeOptions.Declaration.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** Declaration number. */ + number: number; + + /** Declaration fullName. */ + fullName: string; + + /** Declaration type. */ + type: string; + + /** Declaration reserved. */ + reserved: boolean; + + /** Declaration repeated. */ + repeated: boolean; + + /** + * Creates a new Declaration instance using the specified properties. + * @param [properties] Properties to set + * @returns Declaration instance + */ + static create(properties: google.protobuf.ExtensionRangeOptions.Declaration.$Shape): google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape; + static create(properties?: google.protobuf.ExtensionRangeOptions.Declaration.$Properties): google.protobuf.ExtensionRangeOptions.Declaration; + + /** + * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. + * @param message Declaration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.ExtensionRangeOptions.Declaration.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. + * @param message Declaration message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.ExtensionRangeOptions.Declaration.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Declaration message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape} Declaration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape; + + /** + * Decodes a Declaration message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape} Declaration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape; + + /** + * Verifies a Declaration message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Declaration message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Declaration + */ + static fromObject(object: { [k: string]: any }): google.protobuf.ExtensionRangeOptions.Declaration; + + /** + * Creates a plain object from a Declaration message. Also converts values to other types if specified. + * @param message Declaration + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.ExtensionRangeOptions.Declaration, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Declaration to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for Declaration + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace Declaration { + + /** Properties of a Declaration. */ + interface $Properties { + + /** Declaration number */ + number?: (number|null); - /** FieldDescriptorProto name */ - name?: (string|null); + /** Declaration fullName */ + fullName?: (string|null); - /** FieldDescriptorProto number */ - number?: (number|null); + /** Declaration type */ + type?: (string|null); - /** FieldDescriptorProto label */ - label?: (google.protobuf.FieldDescriptorProto.Label|null); + /** Declaration reserved */ + reserved?: (boolean|null); - /** FieldDescriptorProto type */ - type?: (google.protobuf.FieldDescriptorProto.Type|null); + /** Declaration repeated */ + repeated?: (boolean|null); - /** FieldDescriptorProto typeName */ - typeName?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** FieldDescriptorProto extendee */ - extendee?: (string|null); + /** Shape of a Declaration. */ + type $Shape = google.protobuf.ExtensionRangeOptions.Declaration.$Properties; + } - /** FieldDescriptorProto defaultValue */ - defaultValue?: (string|null); + /** VerificationState enum. */ + enum VerificationState { - /** FieldDescriptorProto oneofIndex */ - oneofIndex?: (number|null); + /** DECLARATION value */ + DECLARATION = 0, - /** FieldDescriptorProto jsonName */ - jsonName?: (string|null); + /** UNVERIFIED value */ + UNVERIFIED = 1 + } + } - /** FieldDescriptorProto options */ - options?: (google.protobuf.IFieldOptions|null); + /** + * Properties of a FieldDescriptorProto. + * @deprecated Use google.protobuf.FieldDescriptorProto.$Properties instead. + */ + interface IFieldDescriptorProto extends google.protobuf.FieldDescriptorProto.$Properties { } /** Represents a FieldDescriptorProto. */ - class FieldDescriptorProto implements IFieldDescriptorProto { + class FieldDescriptorProto { /** * Constructs a new FieldDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IFieldDescriptorProto); + constructor(properties?: google.protobuf.FieldDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FieldDescriptorProto name. */ - public name: string; + name: string; /** FieldDescriptorProto number. */ - public number: number; + number: number; /** FieldDescriptorProto label. */ - public label: google.protobuf.FieldDescriptorProto.Label; + label: google.protobuf.FieldDescriptorProto.Label; /** FieldDescriptorProto type. */ - public type: google.protobuf.FieldDescriptorProto.Type; + type: google.protobuf.FieldDescriptorProto.Type; /** FieldDescriptorProto typeName. */ - public typeName: string; + typeName: string; /** FieldDescriptorProto extendee. */ - public extendee: string; + extendee: string; /** FieldDescriptorProto defaultValue. */ - public defaultValue: string; + defaultValue: string; /** FieldDescriptorProto oneofIndex. */ - public oneofIndex: number; + oneofIndex: number; /** FieldDescriptorProto jsonName. */ - public jsonName: string; + jsonName: string; /** FieldDescriptorProto options. */ - public options?: (google.protobuf.IFieldOptions|null); + options?: (google.protobuf.FieldOptions.$Properties|null); + + /** FieldDescriptorProto proto3Optional. */ + proto3Optional: boolean; /** * Creates a new FieldDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns FieldDescriptorProto instance */ - public static create(properties?: google.protobuf.IFieldDescriptorProto): google.protobuf.FieldDescriptorProto; + static create(properties: google.protobuf.FieldDescriptorProto.$Shape): google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape; + static create(properties?: google.protobuf.FieldDescriptorProto.$Properties): google.protobuf.FieldDescriptorProto; /** * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. @@ -4595,7 +6093,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FieldDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. @@ -4603,40 +6101,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IFieldDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FieldDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FieldDescriptorProto + * @returns {google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape} FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape; /** * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FieldDescriptorProto + * @returns {google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape} FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape; /** * Verifies a FieldDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.FieldDescriptorProto; /** * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. @@ -4644,85 +6142,171 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FieldDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FieldDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FieldDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace FieldDescriptorProto { + /** Properties of a FieldDescriptorProto. */ + interface $Properties { + + /** FieldDescriptorProto name */ + name?: (string|null); + + /** FieldDescriptorProto number */ + number?: (number|null); + + /** FieldDescriptorProto label */ + label?: (google.protobuf.FieldDescriptorProto.Label|null); + + /** FieldDescriptorProto type */ + type?: (google.protobuf.FieldDescriptorProto.Type|null); + + /** FieldDescriptorProto typeName */ + typeName?: (string|null); + + /** FieldDescriptorProto extendee */ + extendee?: (string|null); + + /** FieldDescriptorProto defaultValue */ + defaultValue?: (string|null); + + /** FieldDescriptorProto oneofIndex */ + oneofIndex?: (number|null); + + /** FieldDescriptorProto jsonName */ + jsonName?: (string|null); + + /** FieldDescriptorProto options */ + options?: (google.protobuf.FieldOptions.$Properties|null); + + /** FieldDescriptorProto proto3Optional */ + proto3Optional?: (boolean|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FieldDescriptorProto. */ + type $Shape = google.protobuf.FieldDescriptorProto.$Properties; + /** Type enum. */ enum Type { + + /** TYPE_DOUBLE value */ TYPE_DOUBLE = 1, + + /** TYPE_FLOAT value */ TYPE_FLOAT = 2, + + /** TYPE_INT64 value */ TYPE_INT64 = 3, + + /** TYPE_UINT64 value */ TYPE_UINT64 = 4, + + /** TYPE_INT32 value */ TYPE_INT32 = 5, + + /** TYPE_FIXED64 value */ TYPE_FIXED64 = 6, + + /** TYPE_FIXED32 value */ TYPE_FIXED32 = 7, + + /** TYPE_BOOL value */ TYPE_BOOL = 8, + + /** TYPE_STRING value */ TYPE_STRING = 9, + + /** TYPE_GROUP value */ TYPE_GROUP = 10, + + /** TYPE_MESSAGE value */ TYPE_MESSAGE = 11, + + /** TYPE_BYTES value */ TYPE_BYTES = 12, + + /** TYPE_UINT32 value */ TYPE_UINT32 = 13, + + /** TYPE_ENUM value */ TYPE_ENUM = 14, + + /** TYPE_SFIXED32 value */ TYPE_SFIXED32 = 15, + + /** TYPE_SFIXED64 value */ TYPE_SFIXED64 = 16, + + /** TYPE_SINT32 value */ TYPE_SINT32 = 17, + + /** TYPE_SINT64 value */ TYPE_SINT64 = 18 } /** Label enum. */ enum Label { + + /** LABEL_OPTIONAL value */ LABEL_OPTIONAL = 1, - LABEL_REQUIRED = 2, - LABEL_REPEATED = 3 - } - } - /** Properties of an OneofDescriptorProto. */ - interface IOneofDescriptorProto { + /** LABEL_REPEATED value */ + LABEL_REPEATED = 3, - /** OneofDescriptorProto name */ - name?: (string|null); + /** LABEL_REQUIRED value */ + LABEL_REQUIRED = 2 + } + } - /** OneofDescriptorProto options */ - options?: (google.protobuf.IOneofOptions|null); + /** + * Properties of a OneofDescriptorProto. + * @deprecated Use google.protobuf.OneofDescriptorProto.$Properties instead. + */ + interface IOneofDescriptorProto extends google.protobuf.OneofDescriptorProto.$Properties { } - /** Represents an OneofDescriptorProto. */ - class OneofDescriptorProto implements IOneofDescriptorProto { + /** Represents a OneofDescriptorProto. */ + class OneofDescriptorProto { /** * Constructs a new OneofDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IOneofDescriptorProto); + constructor(properties?: google.protobuf.OneofDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** OneofDescriptorProto name. */ - public name: string; + name: string; /** OneofDescriptorProto options. */ - public options?: (google.protobuf.IOneofOptions|null); + options?: (google.protobuf.OneofOptions.$Properties|null); /** * Creates a new OneofDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns OneofDescriptorProto instance */ - public static create(properties?: google.protobuf.IOneofDescriptorProto): google.protobuf.OneofDescriptorProto; + static create(properties: google.protobuf.OneofDescriptorProto.$Shape): google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape; + static create(properties?: google.protobuf.OneofDescriptorProto.$Properties): google.protobuf.OneofDescriptorProto; /** * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. @@ -4730,7 +6314,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.OneofDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. @@ -4738,100 +6322,126 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IOneofDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.OneofDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an OneofDescriptorProto message from the specified reader or buffer. + * Decodes a OneofDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns OneofDescriptorProto + * @returns {google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape} OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape; /** - * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes a OneofDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns OneofDescriptorProto + * @returns {google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape} OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape; /** - * Verifies an OneofDescriptorProto message. + * Verifies a OneofDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** - * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates a OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns OneofDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.OneofDescriptorProto; /** - * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from a OneofDescriptorProto message. Also converts values to other types if specified. * @param message OneofDescriptorProto * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.OneofDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this OneofDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for OneofDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for OneofDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an EnumDescriptorProto. */ - interface IEnumDescriptorProto { + namespace OneofDescriptorProto { + + /** Properties of a OneofDescriptorProto. */ + interface $Properties { + + /** OneofDescriptorProto name */ + name?: (string|null); + + /** OneofDescriptorProto options */ + options?: (google.protobuf.OneofOptions.$Properties|null); - /** EnumDescriptorProto name */ - name?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** EnumDescriptorProto value */ - value?: (google.protobuf.IEnumValueDescriptorProto[]|null); + /** Shape of a OneofDescriptorProto. */ + type $Shape = google.protobuf.OneofDescriptorProto.$Properties; + } - /** EnumDescriptorProto options */ - options?: (google.protobuf.IEnumOptions|null); + /** + * Properties of an EnumDescriptorProto. + * @deprecated Use google.protobuf.EnumDescriptorProto.$Properties instead. + */ + interface IEnumDescriptorProto extends google.protobuf.EnumDescriptorProto.$Properties { } /** Represents an EnumDescriptorProto. */ - class EnumDescriptorProto implements IEnumDescriptorProto { + class EnumDescriptorProto { /** * Constructs a new EnumDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IEnumDescriptorProto); + constructor(properties?: google.protobuf.EnumDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** EnumDescriptorProto name. */ - public name: string; + name: string; /** EnumDescriptorProto value. */ - public value: google.protobuf.IEnumValueDescriptorProto[]; + value: google.protobuf.EnumValueDescriptorProto.$Properties[]; /** EnumDescriptorProto options. */ - public options?: (google.protobuf.IEnumOptions|null); + options?: (google.protobuf.EnumOptions.$Properties|null); + + /** EnumDescriptorProto reservedRange. */ + reservedRange: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties[]; + + /** EnumDescriptorProto reservedName. */ + reservedName: string[]; + + /** EnumDescriptorProto visibility. */ + visibility: google.protobuf.SymbolVisibility; /** * Creates a new EnumDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumDescriptorProto instance */ - public static create(properties?: google.protobuf.IEnumDescriptorProto): google.protobuf.EnumDescriptorProto; + static create(properties: google.protobuf.EnumDescriptorProto.$Shape): google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape; + static create(properties?: google.protobuf.EnumDescriptorProto.$Properties): google.protobuf.EnumDescriptorProto; /** * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. @@ -4839,7 +6449,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.EnumDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. @@ -4847,40 +6457,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IEnumDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.EnumDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EnumDescriptorProto + * @returns {google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape} EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape; /** * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns EnumDescriptorProto + * @returns {google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape} EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape; /** * Verifies an EnumDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto; /** * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. @@ -4888,59 +6498,211 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.EnumDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for EnumDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for EnumDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an EnumValueDescriptorProto. */ - interface IEnumValueDescriptorProto { + namespace EnumDescriptorProto { - /** EnumValueDescriptorProto name */ - name?: (string|null); + /** Properties of an EnumDescriptorProto. */ + interface $Properties { - /** EnumValueDescriptorProto number */ - number?: (number|null); + /** EnumDescriptorProto name */ + name?: (string|null); - /** EnumValueDescriptorProto options */ - options?: (google.protobuf.IEnumValueOptions|null); - } + /** EnumDescriptorProto value */ + value?: (google.protobuf.EnumValueDescriptorProto.$Properties[]|null); - /** Represents an EnumValueDescriptorProto. */ - class EnumValueDescriptorProto implements IEnumValueDescriptorProto { + /** EnumDescriptorProto options */ + options?: (google.protobuf.EnumOptions.$Properties|null); - /** - * Constructs a new EnumValueDescriptorProto. + /** EnumDescriptorProto reservedRange */ + reservedRange?: (google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties[]|null); + + /** EnumDescriptorProto reservedName */ + reservedName?: (string[]|null); + + /** EnumDescriptorProto visibility */ + visibility?: (google.protobuf.SymbolVisibility|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EnumDescriptorProto. */ + type $Shape = google.protobuf.EnumDescriptorProto.$Properties; + + /** + * Properties of an EnumReservedRange. + * @deprecated Use google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties instead. + */ + interface IEnumReservedRange extends google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties { + } + + /** Represents an EnumReservedRange. */ + class EnumReservedRange { + + /** + * Constructs a new EnumReservedRange. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** EnumReservedRange start. */ + start: number; + + /** EnumReservedRange end. */ + end: number; + + /** + * Creates a new EnumReservedRange instance using the specified properties. + * @param [properties] Properties to set + * @returns EnumReservedRange instance + */ + static create(properties: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape): google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape; + static create(properties?: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties): google.protobuf.EnumDescriptorProto.EnumReservedRange; + + /** + * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. + * @param message EnumReservedRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. + * @param message EnumReservedRange message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EnumReservedRange message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape} EnumReservedRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape; + + /** + * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape} EnumReservedRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape; + + /** + * Verifies an EnumReservedRange message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EnumReservedRange + */ + static fromObject(object: { [k: string]: any }): google.protobuf.EnumDescriptorProto.EnumReservedRange; + + /** + * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified. + * @param message EnumReservedRange + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.EnumDescriptorProto.EnumReservedRange, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EnumReservedRange to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for EnumReservedRange + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace EnumReservedRange { + + /** Properties of an EnumReservedRange. */ + interface $Properties { + + /** EnumReservedRange start */ + start?: (number|null); + + /** EnumReservedRange end */ + end?: (number|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EnumReservedRange. */ + type $Shape = google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties; + } + } + + /** + * Properties of an EnumValueDescriptorProto. + * @deprecated Use google.protobuf.EnumValueDescriptorProto.$Properties instead. + */ + interface IEnumValueDescriptorProto extends google.protobuf.EnumValueDescriptorProto.$Properties { + } + + /** Represents an EnumValueDescriptorProto. */ + class EnumValueDescriptorProto { + + /** + * Constructs a new EnumValueDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IEnumValueDescriptorProto); + constructor(properties?: google.protobuf.EnumValueDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** EnumValueDescriptorProto name. */ - public name: string; + name: string; /** EnumValueDescriptorProto number. */ - public number: number; + number: number; /** EnumValueDescriptorProto options. */ - public options?: (google.protobuf.IEnumValueOptions|null); + options?: (google.protobuf.EnumValueOptions.$Properties|null); /** * Creates a new EnumValueDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueDescriptorProto instance */ - public static create(properties?: google.protobuf.IEnumValueDescriptorProto): google.protobuf.EnumValueDescriptorProto; + static create(properties: google.protobuf.EnumValueDescriptorProto.$Shape): google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape; + static create(properties?: google.protobuf.EnumValueDescriptorProto.$Properties): google.protobuf.EnumValueDescriptorProto; /** * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. @@ -4948,7 +6710,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.EnumValueDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. @@ -4956,40 +6718,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IEnumValueDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.EnumValueDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EnumValueDescriptorProto + * @returns {google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape} EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape; /** * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns EnumValueDescriptorProto + * @returns {google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape} EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape; /** * Verifies an EnumValueDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueDescriptorProto; /** * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. @@ -4997,59 +6759,79 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.EnumValueDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for EnumValueDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for EnumValueDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a ServiceDescriptorProto. */ - interface IServiceDescriptorProto { + namespace EnumValueDescriptorProto { + + /** Properties of an EnumValueDescriptorProto. */ + interface $Properties { + + /** EnumValueDescriptorProto name */ + name?: (string|null); + + /** EnumValueDescriptorProto number */ + number?: (number|null); - /** ServiceDescriptorProto name */ - name?: (string|null); + /** EnumValueDescriptorProto options */ + options?: (google.protobuf.EnumValueOptions.$Properties|null); - /** ServiceDescriptorProto method */ - method?: (google.protobuf.IMethodDescriptorProto[]|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EnumValueDescriptorProto. */ + type $Shape = google.protobuf.EnumValueDescriptorProto.$Properties; + } - /** ServiceDescriptorProto options */ - options?: (google.protobuf.IServiceOptions|null); + /** + * Properties of a ServiceDescriptorProto. + * @deprecated Use google.protobuf.ServiceDescriptorProto.$Properties instead. + */ + interface IServiceDescriptorProto extends google.protobuf.ServiceDescriptorProto.$Properties { } /** Represents a ServiceDescriptorProto. */ - class ServiceDescriptorProto implements IServiceDescriptorProto { + class ServiceDescriptorProto { /** * Constructs a new ServiceDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IServiceDescriptorProto); + constructor(properties?: google.protobuf.ServiceDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** ServiceDescriptorProto name. */ - public name: string; + name: string; /** ServiceDescriptorProto method. */ - public method: google.protobuf.IMethodDescriptorProto[]; + method: google.protobuf.MethodDescriptorProto.$Properties[]; /** ServiceDescriptorProto options. */ - public options?: (google.protobuf.IServiceOptions|null); + options?: (google.protobuf.ServiceOptions.$Properties|null); /** * Creates a new ServiceDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns ServiceDescriptorProto instance */ - public static create(properties?: google.protobuf.IServiceDescriptorProto): google.protobuf.ServiceDescriptorProto; + static create(properties: google.protobuf.ServiceDescriptorProto.$Shape): google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape; + static create(properties?: google.protobuf.ServiceDescriptorProto.$Properties): google.protobuf.ServiceDescriptorProto; /** * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. @@ -5057,7 +6839,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.ServiceDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. @@ -5065,40 +6847,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IServiceDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.ServiceDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ServiceDescriptorProto + * @returns {google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape} ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape; /** * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ServiceDescriptorProto + * @returns {google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape} ServiceDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape; /** * Verifies a ServiceDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns ServiceDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.ServiceDescriptorProto; /** * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. @@ -5106,77 +6888,88 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.ServiceDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this ServiceDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for ServiceDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for ServiceDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a MethodDescriptorProto. */ - interface IMethodDescriptorProto { + namespace ServiceDescriptorProto { - /** MethodDescriptorProto name */ - name?: (string|null); + /** Properties of a ServiceDescriptorProto. */ + interface $Properties { - /** MethodDescriptorProto inputType */ - inputType?: (string|null); + /** ServiceDescriptorProto name */ + name?: (string|null); - /** MethodDescriptorProto outputType */ - outputType?: (string|null); + /** ServiceDescriptorProto method */ + method?: (google.protobuf.MethodDescriptorProto.$Properties[]|null); - /** MethodDescriptorProto options */ - options?: (google.protobuf.IMethodOptions|null); + /** ServiceDescriptorProto options */ + options?: (google.protobuf.ServiceOptions.$Properties|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** MethodDescriptorProto clientStreaming */ - clientStreaming?: (boolean|null); + /** Shape of a ServiceDescriptorProto. */ + type $Shape = google.protobuf.ServiceDescriptorProto.$Properties; + } - /** MethodDescriptorProto serverStreaming */ - serverStreaming?: (boolean|null); + /** + * Properties of a MethodDescriptorProto. + * @deprecated Use google.protobuf.MethodDescriptorProto.$Properties instead. + */ + interface IMethodDescriptorProto extends google.protobuf.MethodDescriptorProto.$Properties { } /** Represents a MethodDescriptorProto. */ - class MethodDescriptorProto implements IMethodDescriptorProto { + class MethodDescriptorProto { /** * Constructs a new MethodDescriptorProto. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IMethodDescriptorProto); + constructor(properties?: google.protobuf.MethodDescriptorProto.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** MethodDescriptorProto name. */ - public name: string; + name: string; /** MethodDescriptorProto inputType. */ - public inputType: string; + inputType: string; /** MethodDescriptorProto outputType. */ - public outputType: string; + outputType: string; /** MethodDescriptorProto options. */ - public options?: (google.protobuf.IMethodOptions|null); + options?: (google.protobuf.MethodOptions.$Properties|null); /** MethodDescriptorProto clientStreaming. */ - public clientStreaming: boolean; + clientStreaming: boolean; /** MethodDescriptorProto serverStreaming. */ - public serverStreaming: boolean; + serverStreaming: boolean; /** * Creates a new MethodDescriptorProto instance using the specified properties. * @param [properties] Properties to set * @returns MethodDescriptorProto instance */ - public static create(properties?: google.protobuf.IMethodDescriptorProto): google.protobuf.MethodDescriptorProto; + static create(properties: google.protobuf.MethodDescriptorProto.$Shape): google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape; + static create(properties?: google.protobuf.MethodDescriptorProto.$Properties): google.protobuf.MethodDescriptorProto; /** * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. @@ -5184,7 +6977,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.MethodDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. @@ -5192,40 +6985,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IMethodDescriptorProto, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.MethodDescriptorProto.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns MethodDescriptorProto + * @returns {google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape} MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape; /** * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns MethodDescriptorProto + * @returns {google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape} MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape; /** * Verifies a MethodDescriptorProto message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MethodDescriptorProto */ - public static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; + static fromObject(object: { [k: string]: any }): google.protobuf.MethodDescriptorProto; /** * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. @@ -5233,131 +7026,142 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.MethodDescriptorProto, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MethodDescriptorProto to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for MethodDescriptorProto - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for MethodDescriptorProto + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a FileOptions. */ - interface IFileOptions { - - /** FileOptions javaPackage */ - javaPackage?: (string|null); - - /** FileOptions javaOuterClassname */ - javaOuterClassname?: (string|null); - - /** FileOptions javaMultipleFiles */ - javaMultipleFiles?: (boolean|null); - - /** FileOptions javaGenerateEqualsAndHash */ - javaGenerateEqualsAndHash?: (boolean|null); + namespace MethodDescriptorProto { - /** FileOptions javaStringCheckUtf8 */ - javaStringCheckUtf8?: (boolean|null); + /** Properties of a MethodDescriptorProto. */ + interface $Properties { - /** FileOptions optimizeFor */ - optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null); + /** MethodDescriptorProto name */ + name?: (string|null); - /** FileOptions goPackage */ - goPackage?: (string|null); + /** MethodDescriptorProto inputType */ + inputType?: (string|null); - /** FileOptions ccGenericServices */ - ccGenericServices?: (boolean|null); + /** MethodDescriptorProto outputType */ + outputType?: (string|null); - /** FileOptions javaGenericServices */ - javaGenericServices?: (boolean|null); + /** MethodDescriptorProto options */ + options?: (google.protobuf.MethodOptions.$Properties|null); - /** FileOptions pyGenericServices */ - pyGenericServices?: (boolean|null); + /** MethodDescriptorProto clientStreaming */ + clientStreaming?: (boolean|null); - /** FileOptions deprecated */ - deprecated?: (boolean|null); + /** MethodDescriptorProto serverStreaming */ + serverStreaming?: (boolean|null); - /** FileOptions ccEnableArenas */ - ccEnableArenas?: (boolean|null); - - /** FileOptions objcClassPrefix */ - objcClassPrefix?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** FileOptions csharpNamespace */ - csharpNamespace?: (string|null); + /** Shape of a MethodDescriptorProto. */ + type $Shape = google.protobuf.MethodDescriptorProto.$Properties; + } - /** FileOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + /** + * Properties of a FileOptions. + * @deprecated Use google.protobuf.FileOptions.$Properties instead. + */ + interface IFileOptions extends google.protobuf.FileOptions.$Properties { } /** Represents a FileOptions. */ - class FileOptions implements IFileOptions { + class FileOptions { /** * Constructs a new FileOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IFileOptions); + constructor(properties?: google.protobuf.FileOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FileOptions javaPackage. */ - public javaPackage: string; + javaPackage: string; /** FileOptions javaOuterClassname. */ - public javaOuterClassname: string; + javaOuterClassname: string; /** FileOptions javaMultipleFiles. */ - public javaMultipleFiles: boolean; + javaMultipleFiles: boolean; /** FileOptions javaGenerateEqualsAndHash. */ - public javaGenerateEqualsAndHash: boolean; + javaGenerateEqualsAndHash: boolean; /** FileOptions javaStringCheckUtf8. */ - public javaStringCheckUtf8: boolean; + javaStringCheckUtf8: boolean; /** FileOptions optimizeFor. */ - public optimizeFor: google.protobuf.FileOptions.OptimizeMode; + optimizeFor: google.protobuf.FileOptions.OptimizeMode; /** FileOptions goPackage. */ - public goPackage: string; + goPackage: string; /** FileOptions ccGenericServices. */ - public ccGenericServices: boolean; + ccGenericServices: boolean; /** FileOptions javaGenericServices. */ - public javaGenericServices: boolean; + javaGenericServices: boolean; /** FileOptions pyGenericServices. */ - public pyGenericServices: boolean; + pyGenericServices: boolean; /** FileOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; /** FileOptions ccEnableArenas. */ - public ccEnableArenas: boolean; + ccEnableArenas: boolean; /** FileOptions objcClassPrefix. */ - public objcClassPrefix: string; + objcClassPrefix: string; /** FileOptions csharpNamespace. */ - public csharpNamespace: string; + csharpNamespace: string; + + /** FileOptions swiftPrefix. */ + swiftPrefix: string; + + /** FileOptions phpClassPrefix. */ + phpClassPrefix: string; + + /** FileOptions phpNamespace. */ + phpNamespace: string; + + /** FileOptions phpMetadataNamespace. */ + phpMetadataNamespace: string; + + /** FileOptions rubyPackage. */ + rubyPackage: string; + + /** FileOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); /** FileOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new FileOptions instance using the specified properties. * @param [properties] Properties to set * @returns FileOptions instance */ - public static create(properties?: google.protobuf.IFileOptions): google.protobuf.FileOptions; + static create(properties: google.protobuf.FileOptions.$Shape): google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape; + static create(properties?: google.protobuf.FileOptions.$Properties): google.protobuf.FileOptions; /** * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. @@ -5365,7 +7169,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FileOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. @@ -5373,40 +7177,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IFileOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FileOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FileOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FileOptions + * @returns {google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape} FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape; /** * Decodes a FileOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FileOptions + * @returns {google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape} FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape; /** * Verifies a FileOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FileOptions */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; + static fromObject(object: { [k: string]: any }): google.protobuf.FileOptions; /** * Creates a plain object from a FileOptions message. Also converts values to other types if specified. @@ -5414,84 +7218,161 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FileOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FileOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FileOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FileOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace FileOptions { + /** Properties of a FileOptions. */ + interface $Properties { + + /** FileOptions javaPackage */ + javaPackage?: (string|null); + + /** FileOptions javaOuterClassname */ + javaOuterClassname?: (string|null); + + /** FileOptions javaMultipleFiles */ + javaMultipleFiles?: (boolean|null); + + /** FileOptions javaGenerateEqualsAndHash */ + javaGenerateEqualsAndHash?: (boolean|null); + + /** FileOptions javaStringCheckUtf8 */ + javaStringCheckUtf8?: (boolean|null); + + /** FileOptions optimizeFor */ + optimizeFor?: (google.protobuf.FileOptions.OptimizeMode|null); + + /** FileOptions goPackage */ + goPackage?: (string|null); + + /** FileOptions ccGenericServices */ + ccGenericServices?: (boolean|null); + + /** FileOptions javaGenericServices */ + javaGenericServices?: (boolean|null); + + /** FileOptions pyGenericServices */ + pyGenericServices?: (boolean|null); + + /** FileOptions deprecated */ + deprecated?: (boolean|null); + + /** FileOptions ccEnableArenas */ + ccEnableArenas?: (boolean|null); + + /** FileOptions objcClassPrefix */ + objcClassPrefix?: (string|null); + + /** FileOptions csharpNamespace */ + csharpNamespace?: (string|null); + + /** FileOptions swiftPrefix */ + swiftPrefix?: (string|null); + + /** FileOptions phpClassPrefix */ + phpClassPrefix?: (string|null); + + /** FileOptions phpNamespace */ + phpNamespace?: (string|null); + + /** FileOptions phpMetadataNamespace */ + phpMetadataNamespace?: (string|null); + + /** FileOptions rubyPackage */ + rubyPackage?: (string|null); + + /** FileOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** FileOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FileOptions. */ + type $Shape = google.protobuf.FileOptions.$Properties; + /** OptimizeMode enum. */ enum OptimizeMode { + + /** SPEED value */ SPEED = 1, + + /** CODE_SIZE value */ CODE_SIZE = 2, + + /** LITE_RUNTIME value */ LITE_RUNTIME = 3 } } - /** Properties of a MessageOptions. */ - interface IMessageOptions { - - /** MessageOptions messageSetWireFormat */ - messageSetWireFormat?: (boolean|null); - - /** MessageOptions noStandardDescriptorAccessor */ - noStandardDescriptorAccessor?: (boolean|null); - - /** MessageOptions deprecated */ - deprecated?: (boolean|null); - - /** MessageOptions mapEntry */ - mapEntry?: (boolean|null); - - /** MessageOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); - - /** MessageOptions .arrow.flight.protocol.sql.experimental */ - ".arrow.flight.protocol.sql.experimental"?: (boolean|null); + /** + * Properties of a MessageOptions. + * @deprecated Use google.protobuf.MessageOptions.$Properties instead. + */ + interface IMessageOptions extends google.protobuf.MessageOptions.$Properties { } /** Represents a MessageOptions. */ - class MessageOptions implements IMessageOptions { + class MessageOptions { /** * Constructs a new MessageOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IMessageOptions); + constructor(properties?: google.protobuf.MessageOptions.$Properties); + + /** MessageOptions .arrow.flight.protocol.sql.experimental */ + ".arrow.flight.protocol.sql.experimental": boolean; + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** MessageOptions messageSetWireFormat. */ - public messageSetWireFormat: boolean; + messageSetWireFormat: boolean; /** MessageOptions noStandardDescriptorAccessor. */ - public noStandardDescriptorAccessor: boolean; + noStandardDescriptorAccessor: boolean; /** MessageOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; /** MessageOptions mapEntry. */ - public mapEntry: boolean; + mapEntry: boolean; + + /** MessageOptions deprecatedLegacyJsonFieldConflicts. */ + deprecatedLegacyJsonFieldConflicts: boolean; + + /** MessageOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); /** MessageOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new MessageOptions instance using the specified properties. * @param [properties] Properties to set * @returns MessageOptions instance */ - public static create(properties?: google.protobuf.IMessageOptions): google.protobuf.MessageOptions; + static create(properties: google.protobuf.MessageOptions.$Shape): google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape; + static create(properties?: google.protobuf.MessageOptions.$Properties): google.protobuf.MessageOptions; /** * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. @@ -5499,7 +7380,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.MessageOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. @@ -5507,40 +7388,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IMessageOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.MessageOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a MessageOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns MessageOptions + * @returns {google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape} MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape; /** * Decodes a MessageOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns MessageOptions + * @returns {google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape} MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape; /** * Verifies a MessageOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns MessageOptions */ - public static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; + static fromObject(object: { [k: string]: any }): google.protobuf.MessageOptions; /** * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. @@ -5548,83 +7429,127 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.MessageOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this MessageOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for MessageOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for MessageOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a FieldOptions. */ - interface IFieldOptions { + namespace MessageOptions { + + /** Properties of a MessageOptions. */ + interface $Properties { + + /** MessageOptions messageSetWireFormat */ + messageSetWireFormat?: (boolean|null); - /** FieldOptions ctype */ - ctype?: (google.protobuf.FieldOptions.CType|null); + /** MessageOptions noStandardDescriptorAccessor */ + noStandardDescriptorAccessor?: (boolean|null); - /** FieldOptions packed */ - packed?: (boolean|null); + /** MessageOptions deprecated */ + deprecated?: (boolean|null); - /** FieldOptions jstype */ - jstype?: (google.protobuf.FieldOptions.JSType|null); + /** MessageOptions mapEntry */ + mapEntry?: (boolean|null); - /** FieldOptions lazy */ - lazy?: (boolean|null); + /** MessageOptions deprecatedLegacyJsonFieldConflicts */ + deprecatedLegacyJsonFieldConflicts?: (boolean|null); - /** FieldOptions deprecated */ - deprecated?: (boolean|null); + /** MessageOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); - /** FieldOptions weak */ - weak?: (boolean|null); + /** MessageOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); - /** FieldOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + /** MessageOptions .arrow.flight.protocol.sql.experimental */ + ".arrow.flight.protocol.sql.experimental"?: (boolean|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a MessageOptions. */ + type $Shape = google.protobuf.MessageOptions.$Properties; + } + + /** + * Properties of a FieldOptions. + * @deprecated Use google.protobuf.FieldOptions.$Properties instead. + */ + interface IFieldOptions extends google.protobuf.FieldOptions.$Properties { } /** Represents a FieldOptions. */ - class FieldOptions implements IFieldOptions { + class FieldOptions { /** * Constructs a new FieldOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IFieldOptions); + constructor(properties?: google.protobuf.FieldOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** FieldOptions ctype. */ - public ctype: google.protobuf.FieldOptions.CType; + ctype: google.protobuf.FieldOptions.CType; /** FieldOptions packed. */ - public packed: boolean; + packed: boolean; /** FieldOptions jstype. */ - public jstype: google.protobuf.FieldOptions.JSType; + jstype: google.protobuf.FieldOptions.JSType; /** FieldOptions lazy. */ - public lazy: boolean; + lazy: boolean; + + /** FieldOptions unverifiedLazy. */ + unverifiedLazy: boolean; /** FieldOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; /** FieldOptions weak. */ - public weak: boolean; + weak: boolean; + + /** FieldOptions debugRedact. */ + debugRedact: boolean; + + /** FieldOptions retention. */ + retention: google.protobuf.FieldOptions.OptionRetention; + + /** FieldOptions targets. */ + targets: google.protobuf.FieldOptions.OptionTargetType[]; + + /** FieldOptions editionDefaults. */ + editionDefaults: google.protobuf.FieldOptions.EditionDefault.$Properties[]; + + /** FieldOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** FieldOptions featureSupport. */ + featureSupport?: (google.protobuf.FieldOptions.FeatureSupport.$Properties|null); /** FieldOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new FieldOptions instance using the specified properties. * @param [properties] Properties to set * @returns FieldOptions instance */ - public static create(properties?: google.protobuf.IFieldOptions): google.protobuf.FieldOptions; + static create(properties: google.protobuf.FieldOptions.$Shape): google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape; + static create(properties?: google.protobuf.FieldOptions.$Properties): google.protobuf.FieldOptions; /** * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. @@ -5632,7 +7557,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FieldOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. @@ -5640,40 +7565,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IFieldOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FieldOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a FieldOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns FieldOptions + * @returns {google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape} FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape; /** * Decodes a FieldOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns FieldOptions + * @returns {google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape} FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape; /** * Verifies a FieldOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns FieldOptions */ - public static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; + static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions; /** * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. @@ -5681,173 +7606,572 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FieldOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this FieldOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for FieldOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FieldOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace FieldOptions { + /** Properties of a FieldOptions. */ + interface $Properties { + + /** FieldOptions ctype */ + ctype?: (google.protobuf.FieldOptions.CType|null); + + /** FieldOptions packed */ + packed?: (boolean|null); + + /** FieldOptions jstype */ + jstype?: (google.protobuf.FieldOptions.JSType|null); + + /** FieldOptions lazy */ + lazy?: (boolean|null); + + /** FieldOptions unverifiedLazy */ + unverifiedLazy?: (boolean|null); + + /** FieldOptions deprecated */ + deprecated?: (boolean|null); + + /** FieldOptions weak */ + weak?: (boolean|null); + + /** FieldOptions debugRedact */ + debugRedact?: (boolean|null); + + /** FieldOptions retention */ + retention?: (google.protobuf.FieldOptions.OptionRetention|null); + + /** FieldOptions targets */ + targets?: (google.protobuf.FieldOptions.OptionTargetType[]|null); + + /** FieldOptions editionDefaults */ + editionDefaults?: (google.protobuf.FieldOptions.EditionDefault.$Properties[]|null); + + /** FieldOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** FieldOptions featureSupport */ + featureSupport?: (google.protobuf.FieldOptions.FeatureSupport.$Properties|null); + + /** FieldOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FieldOptions. */ + type $Shape = google.protobuf.FieldOptions.$Properties; + /** CType enum. */ enum CType { + + /** STRING value */ STRING = 0, + + /** CORD value */ CORD = 1, + + /** STRING_PIECE value */ STRING_PIECE = 2 } /** JSType enum. */ enum JSType { + + /** JS_NORMAL value */ JS_NORMAL = 0, + + /** JS_STRING value */ JS_STRING = 1, + + /** JS_NUMBER value */ JS_NUMBER = 2 } - } - /** Properties of an OneofOptions. */ - interface IOneofOptions { + /** OptionRetention enum. */ + enum OptionRetention { - /** OneofOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); - } + /** RETENTION_UNKNOWN value */ + RETENTION_UNKNOWN = 0, - /** Represents an OneofOptions. */ - class OneofOptions implements IOneofOptions { + /** RETENTION_RUNTIME value */ + RETENTION_RUNTIME = 1, - /** - * Constructs a new OneofOptions. - * @param [properties] Properties to set - */ - constructor(properties?: google.protobuf.IOneofOptions); + /** RETENTION_SOURCE value */ + RETENTION_SOURCE = 2 + } - /** OneofOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + /** OptionTargetType enum. */ + enum OptionTargetType { - /** - * Creates a new OneofOptions instance using the specified properties. - * @param [properties] Properties to set - * @returns OneofOptions instance - */ - public static create(properties?: google.protobuf.IOneofOptions): google.protobuf.OneofOptions; + /** TARGET_TYPE_UNKNOWN value */ + TARGET_TYPE_UNKNOWN = 0, - /** - * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @param message OneofOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; + /** TARGET_TYPE_FILE value */ + TARGET_TYPE_FILE = 1, - /** - * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @param message OneofOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.IOneofOptions, writer?: $protobuf.Writer): $protobuf.Writer; + /** TARGET_TYPE_EXTENSION_RANGE value */ + TARGET_TYPE_EXTENSION_RANGE = 2, - /** - * Decodes an OneofOptions message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns OneofOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions; + /** TARGET_TYPE_MESSAGE value */ + TARGET_TYPE_MESSAGE = 3, - /** - * Decodes an OneofOptions message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns OneofOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions; + /** TARGET_TYPE_FIELD value */ + TARGET_TYPE_FIELD = 4, - /** - * Verifies an OneofOptions message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); + /** TARGET_TYPE_ONEOF value */ + TARGET_TYPE_ONEOF = 5, - /** - * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns OneofOptions - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; + /** TARGET_TYPE_ENUM value */ + TARGET_TYPE_ENUM = 6, - /** - * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. - * @param message OneofOptions - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + /** TARGET_TYPE_ENUM_ENTRY value */ + TARGET_TYPE_ENUM_ENTRY = 7, - /** - * Converts this OneofOptions to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; + /** TARGET_TYPE_SERVICE value */ + TARGET_TYPE_SERVICE = 8, + + /** TARGET_TYPE_METHOD value */ + TARGET_TYPE_METHOD = 9 + } /** - * Gets the default type url for OneofOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Properties of an EditionDefault. + * @deprecated Use google.protobuf.FieldOptions.EditionDefault.$Properties instead. */ - public static getTypeUrl(typeUrlPrefix?: string): string; + interface IEditionDefault extends google.protobuf.FieldOptions.EditionDefault.$Properties { + } + + /** Represents an EditionDefault. */ + class EditionDefault { + + /** + * Constructs a new EditionDefault. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.FieldOptions.EditionDefault.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** EditionDefault edition. */ + edition: google.protobuf.Edition; + + /** EditionDefault value. */ + value: string; + + /** + * Creates a new EditionDefault instance using the specified properties. + * @param [properties] Properties to set + * @returns EditionDefault instance + */ + static create(properties: google.protobuf.FieldOptions.EditionDefault.$Shape): google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape; + static create(properties?: google.protobuf.FieldOptions.EditionDefault.$Properties): google.protobuf.FieldOptions.EditionDefault; + + /** + * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. + * @param message EditionDefault message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.FieldOptions.EditionDefault.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. + * @param message EditionDefault message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.FieldOptions.EditionDefault.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an EditionDefault message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape} EditionDefault + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape; + + /** + * Decodes an EditionDefault message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape} EditionDefault + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape; + + /** + * Verifies an EditionDefault message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns EditionDefault + */ + static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.EditionDefault; + + /** + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. + * @param message EditionDefault + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.FieldOptions.EditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this EditionDefault to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for EditionDefault + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace EditionDefault { + + /** Properties of an EditionDefault. */ + interface $Properties { + + /** EditionDefault edition */ + edition?: (google.protobuf.Edition|null); + + /** EditionDefault value */ + value?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EditionDefault. */ + type $Shape = google.protobuf.FieldOptions.EditionDefault.$Properties; + } + + /** + * Properties of a FeatureSupport. + * @deprecated Use google.protobuf.FieldOptions.FeatureSupport.$Properties instead. + */ + interface IFeatureSupport extends google.protobuf.FieldOptions.FeatureSupport.$Properties { + } + + /** Represents a FeatureSupport. */ + class FeatureSupport { + + /** + * Constructs a new FeatureSupport. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.FieldOptions.FeatureSupport.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** FeatureSupport editionIntroduced. */ + editionIntroduced: google.protobuf.Edition; + + /** FeatureSupport editionDeprecated. */ + editionDeprecated: google.protobuf.Edition; + + /** FeatureSupport deprecationWarning. */ + deprecationWarning: string; + + /** FeatureSupport editionRemoved. */ + editionRemoved: google.protobuf.Edition; + + /** + * Creates a new FeatureSupport instance using the specified properties. + * @param [properties] Properties to set + * @returns FeatureSupport instance + */ + static create(properties: google.protobuf.FieldOptions.FeatureSupport.$Shape): google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape; + static create(properties?: google.protobuf.FieldOptions.FeatureSupport.$Properties): google.protobuf.FieldOptions.FeatureSupport; + + /** + * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * @param message FeatureSupport message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.FieldOptions.FeatureSupport.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * @param message FeatureSupport message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.FieldOptions.FeatureSupport.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FeatureSupport message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape} FeatureSupport + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape; + + /** + * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape} FeatureSupport + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape; + + /** + * Verifies a FeatureSupport message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FeatureSupport + */ + static fromObject(object: { [k: string]: any }): google.protobuf.FieldOptions.FeatureSupport; + + /** + * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * @param message FeatureSupport + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.FieldOptions.FeatureSupport, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FeatureSupport to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for FeatureSupport + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace FeatureSupport { + + /** Properties of a FeatureSupport. */ + interface $Properties { + + /** FeatureSupport editionIntroduced */ + editionIntroduced?: (google.protobuf.Edition|null); + + /** FeatureSupport editionDeprecated */ + editionDeprecated?: (google.protobuf.Edition|null); + + /** FeatureSupport deprecationWarning */ + deprecationWarning?: (string|null); + + /** FeatureSupport editionRemoved */ + editionRemoved?: (google.protobuf.Edition|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FeatureSupport. */ + type $Shape = google.protobuf.FieldOptions.FeatureSupport.$Properties; + } + } + + /** + * Properties of a OneofOptions. + * @deprecated Use google.protobuf.OneofOptions.$Properties instead. + */ + interface IOneofOptions extends google.protobuf.OneofOptions.$Properties { + } + + /** Represents a OneofOptions. */ + class OneofOptions { + + /** + * Constructs a new OneofOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.OneofOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** OneofOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** OneofOptions uninterpretedOption. */ + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; + + /** + * Creates a new OneofOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns OneofOptions instance + */ + static create(properties: google.protobuf.OneofOptions.$Shape): google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape; + static create(properties?: google.protobuf.OneofOptions.$Properties): google.protobuf.OneofOptions; + + /** + * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @param message OneofOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.OneofOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @param message OneofOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.OneofOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a OneofOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape} OneofOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape; + + /** + * Decodes a OneofOptions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape} OneofOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape; + + /** + * Verifies a OneofOptions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a OneofOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns OneofOptions + */ + static fromObject(object: { [k: string]: any }): google.protobuf.OneofOptions; + + /** + * Creates a plain object from a OneofOptions message. Also converts values to other types if specified. + * @param message OneofOptions + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.OneofOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this OneofOptions to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for OneofOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; } - /** Properties of an EnumOptions. */ - interface IEnumOptions { + namespace OneofOptions { + + /** Properties of a OneofOptions. */ + interface $Properties { + + /** OneofOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** OneofOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); - /** EnumOptions allowAlias */ - allowAlias?: (boolean|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** EnumOptions deprecated */ - deprecated?: (boolean|null); + /** Shape of a OneofOptions. */ + type $Shape = google.protobuf.OneofOptions.$Properties; + } - /** EnumOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + /** + * Properties of an EnumOptions. + * @deprecated Use google.protobuf.EnumOptions.$Properties instead. + */ + interface IEnumOptions extends google.protobuf.EnumOptions.$Properties { } /** Represents an EnumOptions. */ - class EnumOptions implements IEnumOptions { + class EnumOptions { /** * Constructs a new EnumOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IEnumOptions); + constructor(properties?: google.protobuf.EnumOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** EnumOptions allowAlias. */ - public allowAlias: boolean; + allowAlias: boolean; /** EnumOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; + + /** EnumOptions deprecatedLegacyJsonFieldConflicts. */ + deprecatedLegacyJsonFieldConflicts: boolean; + + /** EnumOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); /** EnumOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new EnumOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumOptions instance */ - public static create(properties?: google.protobuf.IEnumOptions): google.protobuf.EnumOptions; + static create(properties: google.protobuf.EnumOptions.$Shape): google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape; + static create(properties?: google.protobuf.EnumOptions.$Properties): google.protobuf.EnumOptions; /** * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. @@ -5855,7 +8179,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.EnumOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. @@ -5863,40 +8187,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IEnumOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.EnumOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EnumOptions + * @returns {google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape} EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape; /** * Decodes an EnumOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns EnumOptions + * @returns {google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape} EnumOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape; /** * Verifies an EnumOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumOptions */ - public static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; + static fromObject(object: { [k: string]: any }): google.protobuf.EnumOptions; /** * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. @@ -5904,53 +8228,91 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.EnumOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for EnumOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for EnumOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of an EnumValueOptions. */ - interface IEnumValueOptions { + namespace EnumOptions { + + /** Properties of an EnumOptions. */ + interface $Properties { + + /** EnumOptions allowAlias */ + allowAlias?: (boolean|null); + + /** EnumOptions deprecated */ + deprecated?: (boolean|null); + + /** EnumOptions deprecatedLegacyJsonFieldConflicts */ + deprecatedLegacyJsonFieldConflicts?: (boolean|null); + + /** EnumOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); - /** EnumValueOptions deprecated */ - deprecated?: (boolean|null); + /** EnumOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); - /** EnumValueOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EnumOptions. */ + type $Shape = google.protobuf.EnumOptions.$Properties; + } + + /** + * Properties of an EnumValueOptions. + * @deprecated Use google.protobuf.EnumValueOptions.$Properties instead. + */ + interface IEnumValueOptions extends google.protobuf.EnumValueOptions.$Properties { } /** Represents an EnumValueOptions. */ - class EnumValueOptions implements IEnumValueOptions { + class EnumValueOptions { /** * Constructs a new EnumValueOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IEnumValueOptions); + constructor(properties?: google.protobuf.EnumValueOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** EnumValueOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; + + /** EnumValueOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** EnumValueOptions debugRedact. */ + debugRedact: boolean; + + /** EnumValueOptions featureSupport. */ + featureSupport?: (google.protobuf.FieldOptions.FeatureSupport.$Properties|null); /** EnumValueOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new EnumValueOptions instance using the specified properties. * @param [properties] Properties to set * @returns EnumValueOptions instance */ - public static create(properties?: google.protobuf.IEnumValueOptions): google.protobuf.EnumValueOptions; + static create(properties: google.protobuf.EnumValueOptions.$Shape): google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape; + static create(properties?: google.protobuf.EnumValueOptions.$Properties): google.protobuf.EnumValueOptions; /** * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. @@ -5958,7 +8320,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.EnumValueOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. @@ -5966,40 +8328,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IEnumValueOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.EnumValueOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an EnumValueOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns EnumValueOptions + * @returns {google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape} EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape; /** * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns EnumValueOptions + * @returns {google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape} EnumValueOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape; /** * Verifies an EnumValueOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns EnumValueOptions */ - public static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; + static fromObject(object: { [k: string]: any }): google.protobuf.EnumValueOptions; /** * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. @@ -6007,53 +8369,85 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.EnumValueOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this EnumValueOptions to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for EnumValueOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for EnumValueOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - /** Properties of a ServiceOptions. */ - interface IServiceOptions { + namespace EnumValueOptions { + + /** Properties of an EnumValueOptions. */ + interface $Properties { + + /** EnumValueOptions deprecated */ + deprecated?: (boolean|null); + + /** EnumValueOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** EnumValueOptions debugRedact */ + debugRedact?: (boolean|null); + + /** EnumValueOptions featureSupport */ + featureSupport?: (google.protobuf.FieldOptions.FeatureSupport.$Properties|null); + + /** EnumValueOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); - /** ServiceOptions deprecated */ - deprecated?: (boolean|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an EnumValueOptions. */ + type $Shape = google.protobuf.EnumValueOptions.$Properties; + } - /** ServiceOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); + /** + * Properties of a ServiceOptions. + * @deprecated Use google.protobuf.ServiceOptions.$Properties instead. + */ + interface IServiceOptions extends google.protobuf.ServiceOptions.$Properties { } /** Represents a ServiceOptions. */ - class ServiceOptions implements IServiceOptions { + class ServiceOptions { /** * Constructs a new ServiceOptions. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IServiceOptions); + constructor(properties?: google.protobuf.ServiceOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** ServiceOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); /** ServiceOptions deprecated. */ - public deprecated: boolean; + deprecated: boolean; /** ServiceOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; /** * Creates a new ServiceOptions instance using the specified properties. * @param [properties] Properties to set * @returns ServiceOptions instance */ - public static create(properties?: google.protobuf.IServiceOptions): google.protobuf.ServiceOptions; + static create(properties: google.protobuf.ServiceOptions.$Shape): google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape; + static create(properties?: google.protobuf.ServiceOptions.$Properties): google.protobuf.ServiceOptions; /** * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. @@ -6061,7 +8455,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.ServiceOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. @@ -6069,430 +8463,1312 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IServiceOptions, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.ServiceOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a ServiceOptions message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns ServiceOptions + * @returns {google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape} ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape; /** * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns ServiceOptions + * @returns {google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape} ServiceOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape; /** * Verifies a ServiceOptions message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ServiceOptions + */ + static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; + + /** + * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. + * @param message ServiceOptions + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this ServiceOptions to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for ServiceOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace ServiceOptions { + + /** Properties of a ServiceOptions. */ + interface $Properties { + + /** ServiceOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** ServiceOptions deprecated */ + deprecated?: (boolean|null); + + /** ServiceOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a ServiceOptions. */ + type $Shape = google.protobuf.ServiceOptions.$Properties; + } + + /** + * Properties of a MethodOptions. + * @deprecated Use google.protobuf.MethodOptions.$Properties instead. + */ + interface IMethodOptions extends google.protobuf.MethodOptions.$Properties { + } + + /** Represents a MethodOptions. */ + class MethodOptions { + + /** + * Constructs a new MethodOptions. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.MethodOptions.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** MethodOptions deprecated. */ + deprecated: boolean; + + /** MethodOptions idempotencyLevel. */ + idempotencyLevel: google.protobuf.MethodOptions.IdempotencyLevel; + + /** MethodOptions features. */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** MethodOptions uninterpretedOption. */ + uninterpretedOption: google.protobuf.UninterpretedOption.$Properties[]; + + /** + * Creates a new MethodOptions instance using the specified properties. + * @param [properties] Properties to set + * @returns MethodOptions instance + */ + static create(properties: google.protobuf.MethodOptions.$Shape): google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape; + static create(properties?: google.protobuf.MethodOptions.$Properties): google.protobuf.MethodOptions; + + /** + * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @param message MethodOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.MethodOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @param message MethodOptions message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.MethodOptions.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a MethodOptions message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape} MethodOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape; + + /** + * Decodes a MethodOptions message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape} MethodOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape; + + /** + * Verifies a MethodOptions message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns MethodOptions + */ + static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; + + /** + * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. + * @param message MethodOptions + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this MethodOptions to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for MethodOptions + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace MethodOptions { + + /** Properties of a MethodOptions. */ + interface $Properties { + + /** MethodOptions deprecated */ + deprecated?: (boolean|null); + + /** MethodOptions idempotencyLevel */ + idempotencyLevel?: (google.protobuf.MethodOptions.IdempotencyLevel|null); + + /** MethodOptions features */ + features?: (google.protobuf.FeatureSet.$Properties|null); + + /** MethodOptions uninterpretedOption */ + uninterpretedOption?: (google.protobuf.UninterpretedOption.$Properties[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a MethodOptions. */ + type $Shape = google.protobuf.MethodOptions.$Properties; + + /** IdempotencyLevel enum. */ + enum IdempotencyLevel { + + /** IDEMPOTENCY_UNKNOWN value */ + IDEMPOTENCY_UNKNOWN = 0, + + /** NO_SIDE_EFFECTS value */ + NO_SIDE_EFFECTS = 1, + + /** IDEMPOTENT value */ + IDEMPOTENT = 2 + } + } + + /** + * Properties of an UninterpretedOption. + * @deprecated Use google.protobuf.UninterpretedOption.$Properties instead. + */ + interface IUninterpretedOption extends google.protobuf.UninterpretedOption.$Properties { + } + + /** Represents an UninterpretedOption. */ + class UninterpretedOption { + + /** + * Constructs a new UninterpretedOption. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.UninterpretedOption.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** UninterpretedOption name. */ + name: google.protobuf.UninterpretedOption.NamePart.$Properties[]; + + /** UninterpretedOption identifierValue. */ + identifierValue: string; + + /** UninterpretedOption positiveIntValue. */ + positiveIntValue: (number|Long); + + /** UninterpretedOption negativeIntValue. */ + negativeIntValue: (number|Long); + + /** UninterpretedOption doubleValue. */ + doubleValue: number; + + /** UninterpretedOption stringValue. */ + stringValue: Uint8Array; + + /** UninterpretedOption aggregateValue. */ + aggregateValue: string; + + /** + * Creates a new UninterpretedOption instance using the specified properties. + * @param [properties] Properties to set + * @returns UninterpretedOption instance + */ + static create(properties: google.protobuf.UninterpretedOption.$Shape): google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape; + static create(properties?: google.protobuf.UninterpretedOption.$Properties): google.protobuf.UninterpretedOption; + + /** + * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * @param message UninterpretedOption message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.UninterpretedOption.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * @param message UninterpretedOption message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.UninterpretedOption.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes an UninterpretedOption message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape} UninterpretedOption + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape; + + /** + * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape} UninterpretedOption + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape; + + /** + * Verifies an UninterpretedOption message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns UninterpretedOption + */ + static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; + + /** + * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. + * @param message UninterpretedOption + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this UninterpretedOption to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for UninterpretedOption + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace UninterpretedOption { + + /** Properties of an UninterpretedOption. */ + interface $Properties { + + /** UninterpretedOption name */ + name?: (google.protobuf.UninterpretedOption.NamePart.$Properties[]|null); + + /** UninterpretedOption identifierValue */ + identifierValue?: (string|null); + + /** UninterpretedOption positiveIntValue */ + positiveIntValue?: (number|Long|null); + + /** UninterpretedOption negativeIntValue */ + negativeIntValue?: (number|Long|null); + + /** UninterpretedOption doubleValue */ + doubleValue?: (number|null); + + /** UninterpretedOption stringValue */ + stringValue?: (Uint8Array|null); + + /** UninterpretedOption aggregateValue */ + aggregateValue?: (string|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an UninterpretedOption. */ + type $Shape = google.protobuf.UninterpretedOption.$Properties; + + /** + * Properties of a NamePart. + * @deprecated Use google.protobuf.UninterpretedOption.NamePart.$Properties instead. + */ + interface INamePart extends google.protobuf.UninterpretedOption.NamePart.$Properties { + } + + /** Represents a NamePart. */ + class NamePart { + + /** + * Constructs a new NamePart. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.UninterpretedOption.NamePart.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** NamePart namePart. */ + namePart: string; + + /** NamePart isExtension. */ + isExtension: boolean; + + /** + * Creates a new NamePart instance using the specified properties. + * @param [properties] Properties to set + * @returns NamePart instance + */ + static create(properties: google.protobuf.UninterpretedOption.NamePart.$Shape): google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape; + static create(properties?: google.protobuf.UninterpretedOption.NamePart.$Properties): google.protobuf.UninterpretedOption.NamePart; + + /** + * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @param message NamePart message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.UninterpretedOption.NamePart.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @param message NamePart message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.UninterpretedOption.NamePart.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a NamePart message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape} NamePart + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape; + + /** + * Decodes a NamePart message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape} NamePart + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape; + + /** + * Verifies a NamePart message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a NamePart message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns NamePart + */ + static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; + + /** + * Creates a plain object from a NamePart message. Also converts values to other types if specified. + * @param message NamePart + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this NamePart to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for NamePart + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace NamePart { + + /** Properties of a NamePart. */ + interface $Properties { + + /** NamePart namePart */ + namePart: string; + + /** NamePart isExtension */ + isExtension: boolean; + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a NamePart. */ + type $Shape = google.protobuf.UninterpretedOption.NamePart.$Properties; + } + } + + /** + * Properties of a FeatureSet. + * @deprecated Use google.protobuf.FeatureSet.$Properties instead. + */ + interface IFeatureSet extends google.protobuf.FeatureSet.$Properties { + } + + /** Represents a FeatureSet. */ + class FeatureSet { + + /** + * Constructs a new FeatureSet. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.FeatureSet.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** FeatureSet fieldPresence. */ + fieldPresence: google.protobuf.FeatureSet.FieldPresence; + + /** FeatureSet enumType. */ + enumType: google.protobuf.FeatureSet.EnumType; + + /** FeatureSet repeatedFieldEncoding. */ + repeatedFieldEncoding: google.protobuf.FeatureSet.RepeatedFieldEncoding; + + /** FeatureSet utf8Validation. */ + utf8Validation: google.protobuf.FeatureSet.Utf8Validation; + + /** FeatureSet messageEncoding. */ + messageEncoding: google.protobuf.FeatureSet.MessageEncoding; + + /** FeatureSet jsonFormat. */ + jsonFormat: google.protobuf.FeatureSet.JsonFormat; + + /** FeatureSet enforceNamingStyle. */ + enforceNamingStyle: google.protobuf.FeatureSet.EnforceNamingStyle; + + /** FeatureSet defaultSymbolVisibility. */ + defaultSymbolVisibility: google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility; + + /** FeatureSet enforceProtoLimits. */ + enforceProtoLimits: google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits; + + /** + * Creates a new FeatureSet instance using the specified properties. + * @param [properties] Properties to set + * @returns FeatureSet instance + */ + static create(properties: google.protobuf.FeatureSet.$Shape): google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape; + static create(properties?: google.protobuf.FeatureSet.$Properties): google.protobuf.FeatureSet; + + /** + * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. + * @param message FeatureSet message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.FeatureSet.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. + * @param message FeatureSet message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.FeatureSet.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a FeatureSet message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape} FeatureSet + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape; + + /** + * Decodes a FeatureSet message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape} FeatureSet + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape; + + /** + * Verifies a FeatureSet message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns FeatureSet + */ + static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet; + + /** + * Creates a plain object from a FeatureSet message. Also converts values to other types if specified. + * @param message FeatureSet + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.FeatureSet, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this FeatureSet to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for FeatureSet + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } + + namespace FeatureSet { + + /** Properties of a FeatureSet. */ + interface $Properties { + + /** FeatureSet fieldPresence */ + fieldPresence?: (google.protobuf.FeatureSet.FieldPresence|null); + + /** FeatureSet enumType */ + enumType?: (google.protobuf.FeatureSet.EnumType|null); + + /** FeatureSet repeatedFieldEncoding */ + repeatedFieldEncoding?: (google.protobuf.FeatureSet.RepeatedFieldEncoding|null); + + /** FeatureSet utf8Validation */ + utf8Validation?: (google.protobuf.FeatureSet.Utf8Validation|null); + + /** FeatureSet messageEncoding */ + messageEncoding?: (google.protobuf.FeatureSet.MessageEncoding|null); + + /** FeatureSet jsonFormat */ + jsonFormat?: (google.protobuf.FeatureSet.JsonFormat|null); + + /** FeatureSet enforceNamingStyle */ + enforceNamingStyle?: (google.protobuf.FeatureSet.EnforceNamingStyle|null); + + /** FeatureSet defaultSymbolVisibility */ + defaultSymbolVisibility?: (google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null); + + /** FeatureSet enforceProtoLimits */ + enforceProtoLimits?: (google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FeatureSet. */ + type $Shape = google.protobuf.FeatureSet.$Properties; + + /** FieldPresence enum. */ + enum FieldPresence { + + /** FIELD_PRESENCE_UNKNOWN value */ + FIELD_PRESENCE_UNKNOWN = 0, + + /** EXPLICIT value */ + EXPLICIT = 1, + + /** IMPLICIT value */ + IMPLICIT = 2, + + /** LEGACY_REQUIRED value */ + LEGACY_REQUIRED = 3 + } + + /** EnumType enum. */ + enum EnumType { + + /** ENUM_TYPE_UNKNOWN value */ + ENUM_TYPE_UNKNOWN = 0, + + /** OPEN value */ + OPEN = 1, + + /** CLOSED value */ + CLOSED = 2 + } + + /** RepeatedFieldEncoding enum. */ + enum RepeatedFieldEncoding { + + /** REPEATED_FIELD_ENCODING_UNKNOWN value */ + REPEATED_FIELD_ENCODING_UNKNOWN = 0, + + /** PACKED value */ + PACKED = 1, + + /** EXPANDED value */ + EXPANDED = 2 + } + + /** Utf8Validation enum. */ + enum Utf8Validation { + + /** UTF8_VALIDATION_UNKNOWN value */ + UTF8_VALIDATION_UNKNOWN = 0, + + /** VERIFY value */ + VERIFY = 2, + + /** NONE value */ + NONE = 3 + } + + /** MessageEncoding enum. */ + enum MessageEncoding { + + /** MESSAGE_ENCODING_UNKNOWN value */ + MESSAGE_ENCODING_UNKNOWN = 0, + + /** LENGTH_PREFIXED value */ + LENGTH_PREFIXED = 1, + + /** DELIMITED value */ + DELIMITED = 2 + } + + /** JsonFormat enum. */ + enum JsonFormat { + + /** JSON_FORMAT_UNKNOWN value */ + JSON_FORMAT_UNKNOWN = 0, + + /** ALLOW value */ + ALLOW = 1, + + /** LEGACY_BEST_EFFORT value */ + LEGACY_BEST_EFFORT = 2 + } + + /** EnforceNamingStyle enum. */ + enum EnforceNamingStyle { + + /** ENFORCE_NAMING_STYLE_UNKNOWN value */ + ENFORCE_NAMING_STYLE_UNKNOWN = 0, + + /** STYLE2024 value */ + STYLE2024 = 1, + + /** STYLE_LEGACY value */ + STYLE_LEGACY = 2, + + /** STYLE2026 value */ + STYLE2026 = 3 + } + + /** + * Properties of a VisibilityFeature. + * @deprecated Use google.protobuf.FeatureSet.VisibilityFeature.$Properties instead. + */ + interface IVisibilityFeature extends google.protobuf.FeatureSet.VisibilityFeature.$Properties { + } + + /** Represents a VisibilityFeature. */ + class VisibilityFeature { + + /** + * Constructs a new VisibilityFeature. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.FeatureSet.VisibilityFeature.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + + /** + * Creates a new VisibilityFeature instance using the specified properties. + * @param [properties] Properties to set + * @returns VisibilityFeature instance + */ + static create(properties: google.protobuf.FeatureSet.VisibilityFeature.$Shape): google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape; + static create(properties?: google.protobuf.FeatureSet.VisibilityFeature.$Properties): google.protobuf.FeatureSet.VisibilityFeature; + + /** + * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. + * @param message VisibilityFeature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.FeatureSet.VisibilityFeature.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. + * @param message VisibilityFeature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.FeatureSet.VisibilityFeature.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a VisibilityFeature message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape} VisibilityFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape; + + /** + * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape} VisibilityFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape; + + /** + * Verifies a VisibilityFeature message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns VisibilityFeature + */ + static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.VisibilityFeature; + + /** + * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. + * @param message VisibilityFeature + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.FeatureSet.VisibilityFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this VisibilityFeature to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for VisibilityFeature + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } - /** - * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns ServiceOptions - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.ServiceOptions; + namespace VisibilityFeature { - /** - * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. - * @param message ServiceOptions - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.ServiceOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + /** Properties of a VisibilityFeature. */ + interface $Properties { - /** - * Converts this ServiceOptions to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** - * Gets the default type url for ServiceOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } + /** Shape of a VisibilityFeature. */ + type $Shape = google.protobuf.FeatureSet.VisibilityFeature.$Properties; - /** Properties of a MethodOptions. */ - interface IMethodOptions { + /** DefaultSymbolVisibility enum. */ + enum DefaultSymbolVisibility { - /** MethodOptions deprecated */ - deprecated?: (boolean|null); + /** DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value */ + DEFAULT_SYMBOL_VISIBILITY_UNKNOWN = 0, - /** MethodOptions uninterpretedOption */ - uninterpretedOption?: (google.protobuf.IUninterpretedOption[]|null); - } + /** EXPORT_ALL value */ + EXPORT_ALL = 1, - /** Represents a MethodOptions. */ - class MethodOptions implements IMethodOptions { + /** EXPORT_TOP_LEVEL value */ + EXPORT_TOP_LEVEL = 2, + + /** LOCAL_ALL value */ + LOCAL_ALL = 3, + + /** STRICT value */ + STRICT = 4 + } + } /** - * Constructs a new MethodOptions. - * @param [properties] Properties to set + * Properties of a ProtoLimitsFeature. + * @deprecated Use google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties instead. */ - constructor(properties?: google.protobuf.IMethodOptions); + interface IProtoLimitsFeature extends google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties { + } - /** MethodOptions deprecated. */ - public deprecated: boolean; + /** Represents a ProtoLimitsFeature. */ + class ProtoLimitsFeature { - /** MethodOptions uninterpretedOption. */ - public uninterpretedOption: google.protobuf.IUninterpretedOption[]; + /** + * Constructs a new ProtoLimitsFeature. + * @param [properties] Properties to set + */ + constructor(properties?: google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties); - /** - * Creates a new MethodOptions instance using the specified properties. - * @param [properties] Properties to set - * @returns MethodOptions instance - */ - public static create(properties?: google.protobuf.IMethodOptions): google.protobuf.MethodOptions; + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; - /** - * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @param message MethodOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encode(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; + /** + * Creates a new ProtoLimitsFeature instance using the specified properties. + * @param [properties] Properties to set + * @returns ProtoLimitsFeature instance + */ + static create(properties: google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape): google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape; + static create(properties?: google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties): google.protobuf.FeatureSet.ProtoLimitsFeature; - /** - * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @param message MethodOptions message or plain object to encode - * @param [writer] Writer to encode to - * @returns Writer - */ - public static encodeDelimited(message: google.protobuf.IMethodOptions, writer?: $protobuf.Writer): $protobuf.Writer; + /** + * Encodes the specified ProtoLimitsFeature message. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. + * @param message ProtoLimitsFeature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encode(message: google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; - /** - * Decodes a MethodOptions message from the specified reader or buffer. - * @param reader Reader or buffer to decode from - * @param [length] Message length if known beforehand - * @returns MethodOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.MethodOptions; + /** + * Encodes the specified ProtoLimitsFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. + * @param message ProtoLimitsFeature message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + static encodeDelimited(message: google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; - /** - * Decodes a MethodOptions message from the specified reader or buffer, length delimited. - * @param reader Reader or buffer to decode from - * @returns MethodOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.MethodOptions; + /** + * Decodes a ProtoLimitsFeature message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape} ProtoLimitsFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape; - /** - * Verifies a MethodOptions message. - * @param message Plain object to verify - * @returns `null` if valid, otherwise the reason why it is not - */ - public static verify(message: { [k: string]: any }): (string|null); + /** + * Decodes a ProtoLimitsFeature message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape} ProtoLimitsFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape; - /** - * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. - * @param object Plain object - * @returns MethodOptions - */ - public static fromObject(object: { [k: string]: any }): google.protobuf.MethodOptions; + /** + * Verifies a ProtoLimitsFeature message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + static verify(message: { [k: string]: any }): (string|null); - /** - * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. - * @param message MethodOptions - * @param [options] Conversion options - * @returns Plain object - */ - public static toObject(message: google.protobuf.MethodOptions, options?: $protobuf.IConversionOptions): { [k: string]: any }; + /** + * Creates a ProtoLimitsFeature message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns ProtoLimitsFeature + */ + static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSet.ProtoLimitsFeature; - /** - * Converts this MethodOptions to JSON. - * @returns JSON object - */ - public toJSON(): { [k: string]: any }; + /** + * Creates a plain object from a ProtoLimitsFeature message. Also converts values to other types if specified. + * @param message ProtoLimitsFeature + * @param [options] Conversion options + * @returns Plain object + */ + static toObject(message: google.protobuf.FeatureSet.ProtoLimitsFeature, options?: $protobuf.IConversionOptions): { [k: string]: any }; - /** - * Gets the default type url for MethodOptions - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url - */ - public static getTypeUrl(typeUrlPrefix?: string): string; - } + /** + * Converts this ProtoLimitsFeature to JSON. + * @returns JSON object + */ + toJSON(): { [k: string]: any }; + + /** + * Gets the type url for ProtoLimitsFeature + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url + */ + static getTypeUrl(prefix?: string): string; + } - /** Properties of an UninterpretedOption. */ - interface IUninterpretedOption { + namespace ProtoLimitsFeature { - /** UninterpretedOption name */ - name?: (google.protobuf.UninterpretedOption.INamePart[]|null); + /** Properties of a ProtoLimitsFeature. */ + interface $Properties { - /** UninterpretedOption identifierValue */ - identifierValue?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** UninterpretedOption positiveIntValue */ - positiveIntValue?: (number|Long|null); + /** Shape of a ProtoLimitsFeature. */ + type $Shape = google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties; - /** UninterpretedOption negativeIntValue */ - negativeIntValue?: (number|Long|null); + /** EnforceProtoLimits enum. */ + enum EnforceProtoLimits { - /** UninterpretedOption doubleValue */ - doubleValue?: (number|null); + /** PROTO_LIMITS_UNKNOWN value */ + PROTO_LIMITS_UNKNOWN = 0, - /** UninterpretedOption stringValue */ - stringValue?: (Uint8Array|null); + /** LEGACY_NO_EXPLICIT_LIMITS value */ + LEGACY_NO_EXPLICIT_LIMITS = 1, - /** UninterpretedOption aggregateValue */ - aggregateValue?: (string|null); + /** PROTO_LIMITS2026 value */ + PROTO_LIMITS2026 = 2 + } + } } - /** Represents an UninterpretedOption. */ - class UninterpretedOption implements IUninterpretedOption { + /** + * Properties of a FeatureSetDefaults. + * @deprecated Use google.protobuf.FeatureSetDefaults.$Properties instead. + */ + interface IFeatureSetDefaults extends google.protobuf.FeatureSetDefaults.$Properties { + } + + /** Represents a FeatureSetDefaults. */ + class FeatureSetDefaults { /** - * Constructs a new UninterpretedOption. + * Constructs a new FeatureSetDefaults. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IUninterpretedOption); - - /** UninterpretedOption name. */ - public name: google.protobuf.UninterpretedOption.INamePart[]; - - /** UninterpretedOption identifierValue. */ - public identifierValue: string; - - /** UninterpretedOption positiveIntValue. */ - public positiveIntValue: (number|Long); + constructor(properties?: google.protobuf.FeatureSetDefaults.$Properties); - /** UninterpretedOption negativeIntValue. */ - public negativeIntValue: (number|Long); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; - /** UninterpretedOption doubleValue. */ - public doubleValue: number; + /** FeatureSetDefaults defaults. */ + defaults: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties[]; - /** UninterpretedOption stringValue. */ - public stringValue: Uint8Array; + /** FeatureSetDefaults minimumEdition. */ + minimumEdition: google.protobuf.Edition; - /** UninterpretedOption aggregateValue. */ - public aggregateValue: string; + /** FeatureSetDefaults maximumEdition. */ + maximumEdition: google.protobuf.Edition; /** - * Creates a new UninterpretedOption instance using the specified properties. + * Creates a new FeatureSetDefaults instance using the specified properties. * @param [properties] Properties to set - * @returns UninterpretedOption instance + * @returns FeatureSetDefaults instance */ - public static create(properties?: google.protobuf.IUninterpretedOption): google.protobuf.UninterpretedOption; + static create(properties: google.protobuf.FeatureSetDefaults.$Shape): google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape; + static create(properties?: google.protobuf.FeatureSetDefaults.$Properties): google.protobuf.FeatureSetDefaults; /** - * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. - * @param message UninterpretedOption message or plain object to encode + * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. + * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FeatureSetDefaults.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. - * @param message UninterpretedOption message or plain object to encode + * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. + * @param message FeatureSetDefaults message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IUninterpretedOption, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FeatureSetDefaults.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes an UninterpretedOption message from the specified reader or buffer. + * Decodes a FeatureSetDefaults message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns UninterpretedOption + * @returns {google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape} FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape; /** - * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. + * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns UninterpretedOption + * @returns {google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape} FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape; /** - * Verifies an UninterpretedOption message. + * Verifies a FeatureSetDefaults message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** - * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. + * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types. * @param object Plain object - * @returns UninterpretedOption + * @returns FeatureSetDefaults */ - public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption; + static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults; /** - * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. - * @param message UninterpretedOption + * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified. + * @param message FeatureSetDefaults * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.UninterpretedOption, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FeatureSetDefaults, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** - * Converts this UninterpretedOption to JSON. + * Converts this FeatureSetDefaults to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for UninterpretedOption - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FeatureSetDefaults + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - namespace UninterpretedOption { + namespace FeatureSetDefaults { - /** Properties of a NamePart. */ - interface INamePart { + /** Properties of a FeatureSetDefaults. */ + interface $Properties { - /** NamePart namePart */ - namePart: string; + /** FeatureSetDefaults defaults */ + defaults?: (google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties[]|null); - /** NamePart isExtension */ - isExtension: boolean; + /** FeatureSetDefaults minimumEdition */ + minimumEdition?: (google.protobuf.Edition|null); + + /** FeatureSetDefaults maximumEdition */ + maximumEdition?: (google.protobuf.Edition|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; } - /** Represents a NamePart. */ - class NamePart implements INamePart { + /** Shape of a FeatureSetDefaults. */ + type $Shape = google.protobuf.FeatureSetDefaults.$Properties; + + /** + * Properties of a FeatureSetEditionDefault. + * @deprecated Use google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties instead. + */ + interface IFeatureSetEditionDefault extends google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties { + } + + /** Represents a FeatureSetEditionDefault. */ + class FeatureSetEditionDefault { /** - * Constructs a new NamePart. + * Constructs a new FeatureSetEditionDefault. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.UninterpretedOption.INamePart); + constructor(properties?: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties); - /** NamePart namePart. */ - public namePart: string; + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; - /** NamePart isExtension. */ - public isExtension: boolean; + /** FeatureSetEditionDefault edition. */ + edition: google.protobuf.Edition; + + /** FeatureSetEditionDefault overridableFeatures. */ + overridableFeatures?: (google.protobuf.FeatureSet.$Properties|null); + + /** FeatureSetEditionDefault fixedFeatures. */ + fixedFeatures?: (google.protobuf.FeatureSet.$Properties|null); /** - * Creates a new NamePart instance using the specified properties. + * Creates a new FeatureSetEditionDefault instance using the specified properties. * @param [properties] Properties to set - * @returns NamePart instance + * @returns FeatureSetEditionDefault instance */ - public static create(properties?: google.protobuf.UninterpretedOption.INamePart): google.protobuf.UninterpretedOption.NamePart; + static create(properties: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape; + static create(properties?: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** - * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. - * @param message NamePart message or plain object to encode + * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. + * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. - * @param message NamePart message or plain object to encode + * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. + * @param message FeatureSetEditionDefault message or plain object to encode * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.UninterpretedOption.INamePart, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** - * Decodes a NamePart message from the specified reader or buffer. + * Decodes a FeatureSetEditionDefault message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns NamePart + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape} FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.UninterpretedOption.NamePart; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape; /** - * Decodes a NamePart message from the specified reader or buffer, length delimited. + * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns NamePart + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape} FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.UninterpretedOption.NamePart; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape; /** - * Verifies a NamePart message. + * Verifies a FeatureSetEditionDefault message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** - * Creates a NamePart message from a plain object. Also converts values to their respective internal types. + * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types. * @param object Plain object - * @returns NamePart + * @returns FeatureSetEditionDefault */ - public static fromObject(object: { [k: string]: any }): google.protobuf.UninterpretedOption.NamePart; + static fromObject(object: { [k: string]: any }): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; /** - * Creates a plain object from a NamePart message. Also converts values to other types if specified. - * @param message NamePart + * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified. + * @param message FeatureSetEditionDefault * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.UninterpretedOption.NamePart, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** - * Converts this NamePart to JSON. + * Converts this FeatureSetEditionDefault to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for NamePart - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for FeatureSetEditionDefault + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - } - /** Properties of a SourceCodeInfo. */ - interface ISourceCodeInfo { + namespace FeatureSetEditionDefault { + + /** Properties of a FeatureSetEditionDefault. */ + interface $Properties { + + /** FeatureSetEditionDefault edition */ + edition?: (google.protobuf.Edition|null); + + /** FeatureSetEditionDefault overridableFeatures */ + overridableFeatures?: (google.protobuf.FeatureSet.$Properties|null); + + /** FeatureSetEditionDefault fixedFeatures */ + fixedFeatures?: (google.protobuf.FeatureSet.$Properties|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a FeatureSetEditionDefault. */ + type $Shape = google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties; + } + } - /** SourceCodeInfo location */ - location?: (google.protobuf.SourceCodeInfo.ILocation[]|null); + /** + * Properties of a SourceCodeInfo. + * @deprecated Use google.protobuf.SourceCodeInfo.$Properties instead. + */ + interface ISourceCodeInfo extends google.protobuf.SourceCodeInfo.$Properties { } /** Represents a SourceCodeInfo. */ - class SourceCodeInfo implements ISourceCodeInfo { + class SourceCodeInfo { /** * Constructs a new SourceCodeInfo. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.ISourceCodeInfo); + constructor(properties?: google.protobuf.SourceCodeInfo.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** SourceCodeInfo location. */ - public location: google.protobuf.SourceCodeInfo.ILocation[]; + location: google.protobuf.SourceCodeInfo.Location.$Properties[]; /** * Creates a new SourceCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns SourceCodeInfo instance */ - public static create(properties?: google.protobuf.ISourceCodeInfo): google.protobuf.SourceCodeInfo; + static create(properties: google.protobuf.SourceCodeInfo.$Shape): google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape; + static create(properties?: google.protobuf.SourceCodeInfo.$Properties): google.protobuf.SourceCodeInfo; /** * Encodes the specified SourceCodeInfo message. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. @@ -6500,7 +9776,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.SourceCodeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified SourceCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.verify|verify} messages. @@ -6508,40 +9784,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.ISourceCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.SourceCodeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a SourceCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns SourceCodeInfo + * @returns {google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape} SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape; /** * Decodes a SourceCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns SourceCodeInfo + * @returns {google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape} SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape; /** * Verifies a SourceCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a SourceCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns SourceCodeInfo */ - public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; + static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo; /** * Creates a plain object from a SourceCodeInfo message. Also converts values to other types if specified. @@ -6549,73 +9825,78 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.SourceCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this SourceCodeInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for SourceCodeInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for SourceCodeInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace SourceCodeInfo { - /** Properties of a Location. */ - interface ILocation { + /** Properties of a SourceCodeInfo. */ + interface $Properties { - /** Location path */ - path?: (number[]|null); + /** SourceCodeInfo location */ + location?: (google.protobuf.SourceCodeInfo.Location.$Properties[]|null); - /** Location span */ - span?: (number[]|null); - - /** Location leadingComments */ - leadingComments?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** Location trailingComments */ - trailingComments?: (string|null); + /** Shape of a SourceCodeInfo. */ + type $Shape = google.protobuf.SourceCodeInfo.$Properties; - /** Location leadingDetachedComments */ - leadingDetachedComments?: (string[]|null); + /** + * Properties of a Location. + * @deprecated Use google.protobuf.SourceCodeInfo.Location.$Properties instead. + */ + interface ILocation extends google.protobuf.SourceCodeInfo.Location.$Properties { } /** Represents a Location. */ - class Location implements ILocation { + class Location { /** * Constructs a new Location. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.SourceCodeInfo.ILocation); + constructor(properties?: google.protobuf.SourceCodeInfo.Location.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Location path. */ - public path: number[]; + path: number[]; /** Location span. */ - public span: number[]; + span: number[]; /** Location leadingComments. */ - public leadingComments: string; + leadingComments: string; /** Location trailingComments. */ - public trailingComments: string; + trailingComments: string; /** Location leadingDetachedComments. */ - public leadingDetachedComments: string[]; + leadingDetachedComments: string[]; /** * Creates a new Location instance using the specified properties. * @param [properties] Properties to set * @returns Location instance */ - public static create(properties?: google.protobuf.SourceCodeInfo.ILocation): google.protobuf.SourceCodeInfo.Location; + static create(properties: google.protobuf.SourceCodeInfo.Location.$Shape): google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape; + static create(properties?: google.protobuf.SourceCodeInfo.Location.$Properties): google.protobuf.SourceCodeInfo.Location; /** * Encodes the specified Location message. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. @@ -6623,7 +9904,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.SourceCodeInfo.Location.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Location message, length delimited. Does not implicitly {@link google.protobuf.SourceCodeInfo.Location.verify|verify} messages. @@ -6631,40 +9912,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.SourceCodeInfo.ILocation, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.SourceCodeInfo.Location.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a Location message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Location + * @returns {google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape; /** * Decodes a Location message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Location + * @returns {google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape; /** * Verifies a Location message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a Location message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Location */ - public static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; + static fromObject(object: { [k: string]: any }): google.protobuf.SourceCodeInfo.Location; /** * Creates a plain object from a Location message. Also converts values to other types if specified. @@ -6672,48 +9953,80 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.SourceCodeInfo.Location, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Location to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Location - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Location + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } - } - /** Properties of a GeneratedCodeInfo. */ - interface IGeneratedCodeInfo { + namespace Location { + + /** Properties of a Location. */ + interface $Properties { + + /** Location path */ + path?: (number[]|null); + + /** Location span */ + span?: (number[]|null); + + /** Location leadingComments */ + leadingComments?: (string|null); + + /** Location trailingComments */ + trailingComments?: (string|null); + + /** Location leadingDetachedComments */ + leadingDetachedComments?: (string[]|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of a Location. */ + type $Shape = google.protobuf.SourceCodeInfo.Location.$Properties; + } + } - /** GeneratedCodeInfo annotation */ - annotation?: (google.protobuf.GeneratedCodeInfo.IAnnotation[]|null); + /** + * Properties of a GeneratedCodeInfo. + * @deprecated Use google.protobuf.GeneratedCodeInfo.$Properties instead. + */ + interface IGeneratedCodeInfo extends google.protobuf.GeneratedCodeInfo.$Properties { } /** Represents a GeneratedCodeInfo. */ - class GeneratedCodeInfo implements IGeneratedCodeInfo { + class GeneratedCodeInfo { /** * Constructs a new GeneratedCodeInfo. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.IGeneratedCodeInfo); + constructor(properties?: google.protobuf.GeneratedCodeInfo.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** GeneratedCodeInfo annotation. */ - public annotation: google.protobuf.GeneratedCodeInfo.IAnnotation[]; + annotation: google.protobuf.GeneratedCodeInfo.Annotation.$Properties[]; /** * Creates a new GeneratedCodeInfo instance using the specified properties. * @param [properties] Properties to set * @returns GeneratedCodeInfo instance */ - public static create(properties?: google.protobuf.IGeneratedCodeInfo): google.protobuf.GeneratedCodeInfo; + static create(properties: google.protobuf.GeneratedCodeInfo.$Shape): google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape; + static create(properties?: google.protobuf.GeneratedCodeInfo.$Properties): google.protobuf.GeneratedCodeInfo; /** * Encodes the specified GeneratedCodeInfo message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. @@ -6721,7 +10034,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.GeneratedCodeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified GeneratedCodeInfo message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.verify|verify} messages. @@ -6729,40 +10042,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.IGeneratedCodeInfo, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns GeneratedCodeInfo + * @returns {google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape} GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape; /** * Decodes a GeneratedCodeInfo message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns GeneratedCodeInfo + * @returns {google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape} GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape; /** * Verifies a GeneratedCodeInfo message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates a GeneratedCodeInfo message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns GeneratedCodeInfo */ - public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; + static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo; /** * Creates a plain object from a GeneratedCodeInfo message. Also converts values to other types if specified. @@ -6770,67 +10083,78 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.GeneratedCodeInfo, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this GeneratedCodeInfo to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for GeneratedCodeInfo - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for GeneratedCodeInfo + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; } namespace GeneratedCodeInfo { - /** Properties of an Annotation. */ - interface IAnnotation { + /** Properties of a GeneratedCodeInfo. */ + interface $Properties { - /** Annotation path */ - path?: (number[]|null); + /** GeneratedCodeInfo annotation */ + annotation?: (google.protobuf.GeneratedCodeInfo.Annotation.$Properties[]|null); - /** Annotation sourceFile */ - sourceFile?: (string|null); + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } - /** Annotation begin */ - begin?: (number|null); + /** Shape of a GeneratedCodeInfo. */ + type $Shape = google.protobuf.GeneratedCodeInfo.$Properties; - /** Annotation end */ - end?: (number|null); + /** + * Properties of an Annotation. + * @deprecated Use google.protobuf.GeneratedCodeInfo.Annotation.$Properties instead. + */ + interface IAnnotation extends google.protobuf.GeneratedCodeInfo.Annotation.$Properties { } /** Represents an Annotation. */ - class Annotation implements IAnnotation { + class Annotation { /** * Constructs a new Annotation. * @param [properties] Properties to set */ - constructor(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation); + constructor(properties?: google.protobuf.GeneratedCodeInfo.Annotation.$Properties); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; /** Annotation path. */ - public path: number[]; + path: number[]; /** Annotation sourceFile. */ - public sourceFile: string; + sourceFile: string; /** Annotation begin. */ - public begin: number; + begin: number; /** Annotation end. */ - public end: number; + end: number; + + /** Annotation semantic. */ + semantic: google.protobuf.GeneratedCodeInfo.Annotation.Semantic; /** * Creates a new Annotation instance using the specified properties. * @param [properties] Properties to set * @returns Annotation instance */ - public static create(properties?: google.protobuf.GeneratedCodeInfo.IAnnotation): google.protobuf.GeneratedCodeInfo.Annotation; + static create(properties: google.protobuf.GeneratedCodeInfo.Annotation.$Shape): google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape; + static create(properties?: google.protobuf.GeneratedCodeInfo.Annotation.$Properties): google.protobuf.GeneratedCodeInfo.Annotation; /** * Encodes the specified Annotation message. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. @@ -6838,7 +10162,7 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encode(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + static encode(message: google.protobuf.GeneratedCodeInfo.Annotation.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Encodes the specified Annotation message, length delimited. Does not implicitly {@link google.protobuf.GeneratedCodeInfo.Annotation.verify|verify} messages. @@ -6846,40 +10170,40 @@ export namespace google { * @param [writer] Writer to encode to * @returns Writer */ - public static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.IAnnotation, writer?: $protobuf.Writer): $protobuf.Writer; + static encodeDelimited(message: google.protobuf.GeneratedCodeInfo.Annotation.$Properties, writer?: $protobuf.Writer): $protobuf.Writer; /** * Decodes an Annotation message from the specified reader or buffer. * @param reader Reader or buffer to decode from * @param [length] Message length if known beforehand - * @returns Annotation + * @returns {google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape} Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation; + static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape; /** * Decodes an Annotation message from the specified reader or buffer, length delimited. * @param reader Reader or buffer to decode from - * @returns Annotation + * @returns {google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape} Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation; + static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape; /** * Verifies an Annotation message. * @param message Plain object to verify * @returns `null` if valid, otherwise the reason why it is not */ - public static verify(message: { [k: string]: any }): (string|null); + static verify(message: { [k: string]: any }): (string|null); /** * Creates an Annotation message from a plain object. Also converts values to their respective internal types. * @param object Plain object * @returns Annotation */ - public static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; + static fromObject(object: { [k: string]: any }): google.protobuf.GeneratedCodeInfo.Annotation; /** * Creates a plain object from an Annotation message. Also converts values to other types if specified. @@ -6887,21 +10211,75 @@ export namespace google { * @param [options] Conversion options * @returns Plain object */ - public static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; + static toObject(message: google.protobuf.GeneratedCodeInfo.Annotation, options?: $protobuf.IConversionOptions): { [k: string]: any }; /** * Converts this Annotation to JSON. * @returns JSON object */ - public toJSON(): { [k: string]: any }; + toJSON(): { [k: string]: any }; /** - * Gets the default type url for Annotation - * @param [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns The default type url + * Gets the type url for Annotation + * @param [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns The type url */ - public static getTypeUrl(typeUrlPrefix?: string): string; + static getTypeUrl(prefix?: string): string; + } + + namespace Annotation { + + /** Properties of an Annotation. */ + interface $Properties { + + /** Annotation path */ + path?: (number[]|null); + + /** Annotation sourceFile */ + sourceFile?: (string|null); + + /** Annotation begin */ + begin?: (number|null); + + /** Annotation end */ + end?: (number|null); + + /** Annotation semantic */ + semantic?: (google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null); + + /** Unknown fields preserved while decoding when enabled */ + $unknowns?: Uint8Array[]; + } + + /** Shape of an Annotation. */ + type $Shape = google.protobuf.GeneratedCodeInfo.Annotation.$Properties; + + /** Semantic enum. */ + enum Semantic { + + /** NONE value */ + NONE = 0, + + /** SET value */ + SET = 1, + + /** ALIAS value */ + ALIAS = 2 + } } } + + /** SymbolVisibility enum. */ + enum SymbolVisibility { + + /** VISIBILITY_UNSET value */ + VISIBILITY_UNSET = 0, + + /** VISIBILITY_LOCAL value */ + VISIBILITY_LOCAL = 1, + + /** VISIBILITY_EXPORT value */ + VISIBILITY_EXPORT = 2 + } } } diff --git a/src/generated/flightsql.js b/src/generated/flightsql.js index b5b087d..711c96e 100644 --- a/src/generated/flightsql.js +++ b/src/generated/flightsql.js @@ -1,13 +1,14 @@ -/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars*/ +/*eslint-disable block-scoped-var, id-length, no-control-regex, no-magic-numbers, no-mixed-operators, no-prototype-builtins, no-redeclare, no-shadow, no-var, sort-vars, default-case, jsdoc/require-param*/ "use strict"; var $protobuf = require("protobufjs/minimal"); // Common aliases var $Reader = $protobuf.Reader, $Writer = $protobuf.Writer, $util = $protobuf.util; +var $Object = $util.global.Object, $undefined = $util.global.undefined, $Error = $util.global.Error, $RangeError = $util.global.RangeError, $Array = $util.global.Array, $TypeError = $util.global.TypeError, $String = $util.global.String, $Boolean = $util.global.Boolean, $Number = $util.global.Number, $parseInt = $util.global.parseInt, $BigInt = $util.global.BigInt, $isFinite = $util.global.isFinite; // Exported root namespace -var $root = $protobuf.roots.fsql || ($protobuf.roots.fsql = {}); +var $root = $protobuf.roots["fsql"] || ($protobuf.roots["fsql"] = {}); $root.arrow = (function() { @@ -47,28 +48,41 @@ $root.arrow = (function() { sql.CommandGetSqlInfo = (function() { + /** + * Properties of a CommandGetSqlInfo. + * @typedef {Object} arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties + * @property {Array.|null} [info] CommandGetSqlInfo info + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandGetSqlInfo. * @memberof arrow.flight.protocol.sql * @interface ICommandGetSqlInfo - * @property {Array.|null} [info] CommandGetSqlInfo info + * @augments arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties instead. + */ + + /** + * Shape of a CommandGetSqlInfo. + * @typedef {arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties} arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape */ /** * Constructs a new CommandGetSqlInfo. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetSqlInfo. - * @implements ICommandGetSqlInfo * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetSqlInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetSqlInfo(properties) { + var CommandGetSqlInfo = function (properties) { this.info = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetSqlInfo info. @@ -83,10 +97,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetSqlInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetSqlInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo} CommandGetSqlInfo instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape): arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties): arrow.flight.protocol.sql.CommandGetSqlInfo; + * }} */ - CommandGetSqlInfo.create = function create(properties) { + CommandGetSqlInfo.create = function(properties) { return new CommandGetSqlInfo(properties); }; @@ -95,19 +113,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetSqlInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetSqlInfo} message CommandGetSqlInfo message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties} message CommandGetSqlInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetSqlInfo.encode = function encode(message, writer) { + CommandGetSqlInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.info != null && message.info.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (var i = 0; i < message.info.length; ++i) - writer.uint32(message.info[i]); - writer.ldelim(); - } + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.info != null && message.info.length) + writer.uint32(/* id 1, wireType 2 =*/10).uint32s(message.info); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -116,12 +137,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetSqlInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetSqlInfo} message CommandGetSqlInfo message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetSqlInfo.$Properties} message CommandGetSqlInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetSqlInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetSqlInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -131,33 +152,65 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo} CommandGetSqlInfo + * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape} CommandGetSqlInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetSqlInfo.decode = function decode(reader, length) { + CommandGetSqlInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetSqlInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetSqlInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType === 2) { + if (!(message.info && message.info.length)) + message.info = []; + reader.uint32s(message.info); + continue; + } + if (wireType !== 0) + break; if (!(message.info && message.info.length)) message.info = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.info.push(reader.uint32()); - } else - message.info.push(reader.uint32()); - break; + message.info.push(reader.uint32()); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -167,11 +220,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetSqlInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo} CommandGetSqlInfo + * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo & arrow.flight.protocol.sql.CommandGetSqlInfo.$Shape} CommandGetSqlInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetSqlInfo.decodeDelimited = function decodeDelimited(reader) { + CommandGetSqlInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -185,11 +238,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetSqlInfo.verify = function verify(message) { + CommandGetSqlInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.info != null && message.hasOwnProperty("info")) { - if (!Array.isArray(message.info)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) { + if (!$Array.isArray(message.info)) return "info: array expected"; for (var i = 0; i < message.info.length; ++i) if (!$util.isInteger(message.info[i])) @@ -206,14 +263,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetSqlInfo} CommandGetSqlInfo */ - CommandGetSqlInfo.fromObject = function fromObject(object) { + CommandGetSqlInfo.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetSqlInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetSqlInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetSqlInfo(); if (object.info) { - if (!Array.isArray(object.info)) - throw TypeError(".arrow.flight.protocol.sql.CommandGetSqlInfo.info: array expected"); - message.info = []; + if (!$Array.isArray(object.info)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetSqlInfo.info: array expected"); + message.info = $Array(object.info.length); for (var i = 0; i < object.info.length; ++i) message.info[i] = object.info[i] >>> 0; } @@ -229,14 +292,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetSqlInfo.toObject = function toObject(message, options) { + CommandGetSqlInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.info = []; if (message.info && message.info.length) { - object.info = []; + object.info = $Array(message.info.length); for (var j = 0; j < message.info.length; ++j) object.info[j] = message.info[j]; } @@ -250,23 +317,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetSqlInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetSqlInfo.prototype.toJSON = function() { + return CommandGetSqlInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetSqlInfo + * Gets the type url for CommandGetSqlInfo * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetSqlInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetSqlInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetSqlInfo"; + CommandGetSqlInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetSqlInfo"; }; return CommandGetSqlInfo; @@ -369,7 +435,7 @@ $root.arrow = (function() { * @property {number} SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTED=576 SQL_STORED_FUNCTIONS_USING_CALL_SYNTAX_SUPPORTED value */ sql.SqlInfo = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "FLIGHT_SQL_SERVER_NAME"] = 0; values[valuesById[1] = "FLIGHT_SQL_SERVER_VERSION"] = 1; values[valuesById[2] = "FLIGHT_SQL_SERVER_ARROW_VERSION"] = 2; @@ -473,7 +539,7 @@ $root.arrow = (function() { * @property {number} SQL_SUPPORTED_TRANSACTION_SAVEPOINT=2 SQL_SUPPORTED_TRANSACTION_SAVEPOINT value */ sql.SqlSupportedTransaction = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_SUPPORTED_TRANSACTION_NONE"] = 0; values[valuesById[1] = "SQL_SUPPORTED_TRANSACTION_TRANSACTION"] = 1; values[valuesById[2] = "SQL_SUPPORTED_TRANSACTION_SAVEPOINT"] = 2; @@ -490,7 +556,7 @@ $root.arrow = (function() { * @property {number} SQL_CASE_SENSITIVITY_LOWERCASE=3 SQL_CASE_SENSITIVITY_LOWERCASE value */ sql.SqlSupportedCaseSensitivity = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_CASE_SENSITIVITY_UNKNOWN"] = 0; values[valuesById[1] = "SQL_CASE_SENSITIVITY_CASE_INSENSITIVE"] = 1; values[valuesById[2] = "SQL_CASE_SENSITIVITY_UPPERCASE"] = 2; @@ -508,7 +574,7 @@ $root.arrow = (function() { * @property {number} SQL_NULLS_SORTED_AT_END=3 SQL_NULLS_SORTED_AT_END value */ sql.SqlNullOrdering = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_NULLS_SORTED_HIGH"] = 0; values[valuesById[1] = "SQL_NULLS_SORTED_LOW"] = 1; values[valuesById[2] = "SQL_NULLS_SORTED_AT_START"] = 2; @@ -525,7 +591,7 @@ $root.arrow = (function() { * @property {number} SQL_EXTENDED_GRAMMAR=2 SQL_EXTENDED_GRAMMAR value */ sql.SupportedSqlGrammar = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_MINIMUM_GRAMMAR"] = 0; values[valuesById[1] = "SQL_CORE_GRAMMAR"] = 1; values[valuesById[2] = "SQL_EXTENDED_GRAMMAR"] = 2; @@ -541,7 +607,7 @@ $root.arrow = (function() { * @property {number} ANSI92_FULL_SQL=2 ANSI92_FULL_SQL value */ sql.SupportedAnsi92SqlGrammarLevel = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "ANSI92_ENTRY_SQL"] = 0; values[valuesById[1] = "ANSI92_INTERMEDIATE_SQL"] = 1; values[valuesById[2] = "ANSI92_FULL_SQL"] = 2; @@ -557,7 +623,7 @@ $root.arrow = (function() { * @property {number} SQL_FULL_OUTER_JOINS=2 SQL_FULL_OUTER_JOINS value */ sql.SqlOuterJoinsSupportLevel = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_JOINS_UNSUPPORTED"] = 0; values[valuesById[1] = "SQL_LIMITED_OUTER_JOINS"] = 1; values[valuesById[2] = "SQL_FULL_OUTER_JOINS"] = 2; @@ -572,7 +638,7 @@ $root.arrow = (function() { * @property {number} SQL_GROUP_BY_BEYOND_SELECT=1 SQL_GROUP_BY_BEYOND_SELECT value */ sql.SqlSupportedGroupBy = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_GROUP_BY_UNRELATED"] = 0; values[valuesById[1] = "SQL_GROUP_BY_BEYOND_SELECT"] = 1; return values; @@ -587,7 +653,7 @@ $root.arrow = (function() { * @property {number} SQL_ELEMENT_IN_PRIVILEGE_DEFINITIONS=2 SQL_ELEMENT_IN_PRIVILEGE_DEFINITIONS value */ sql.SqlSupportedElementActions = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_ELEMENT_IN_PROCEDURE_CALLS"] = 0; values[valuesById[1] = "SQL_ELEMENT_IN_INDEX_DEFINITIONS"] = 1; values[valuesById[2] = "SQL_ELEMENT_IN_PRIVILEGE_DEFINITIONS"] = 2; @@ -602,7 +668,7 @@ $root.arrow = (function() { * @property {number} SQL_POSITIONED_UPDATE=1 SQL_POSITIONED_UPDATE value */ sql.SqlSupportedPositionedCommands = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_POSITIONED_DELETE"] = 0; values[valuesById[1] = "SQL_POSITIONED_UPDATE"] = 1; return values; @@ -618,7 +684,7 @@ $root.arrow = (function() { * @property {number} SQL_SUBQUERIES_IN_QUANTIFIEDS=3 SQL_SUBQUERIES_IN_QUANTIFIEDS value */ sql.SqlSupportedSubqueries = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_SUBQUERIES_IN_COMPARISONS"] = 0; values[valuesById[1] = "SQL_SUBQUERIES_IN_EXISTS"] = 1; values[valuesById[2] = "SQL_SUBQUERIES_IN_INS"] = 2; @@ -634,7 +700,7 @@ $root.arrow = (function() { * @property {number} SQL_UNION_ALL=1 SQL_UNION_ALL value */ sql.SqlSupportedUnions = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_UNION"] = 0; values[valuesById[1] = "SQL_UNION_ALL"] = 1; return values; @@ -651,7 +717,7 @@ $root.arrow = (function() { * @property {number} SQL_TRANSACTION_SERIALIZABLE=4 SQL_TRANSACTION_SERIALIZABLE value */ sql.SqlTransactionIsolationLevel = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_TRANSACTION_NONE"] = 0; values[valuesById[1] = "SQL_TRANSACTION_READ_UNCOMMITTED"] = 1; values[valuesById[2] = "SQL_TRANSACTION_READ_COMMITTED"] = 2; @@ -669,7 +735,7 @@ $root.arrow = (function() { * @property {number} SQL_DATA_MANIPULATION_TRANSACTIONS=2 SQL_DATA_MANIPULATION_TRANSACTIONS value */ sql.SqlSupportedTransactions = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_TRANSACTION_UNSPECIFIED"] = 0; values[valuesById[1] = "SQL_DATA_DEFINITION_TRANSACTIONS"] = 1; values[valuesById[2] = "SQL_DATA_MANIPULATION_TRANSACTIONS"] = 2; @@ -686,7 +752,7 @@ $root.arrow = (function() { * @property {number} SQL_RESULT_SET_TYPE_SCROLL_SENSITIVE=3 SQL_RESULT_SET_TYPE_SCROLL_SENSITIVE value */ sql.SqlSupportedResultSetType = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_RESULT_SET_TYPE_UNSPECIFIED"] = 0; values[valuesById[1] = "SQL_RESULT_SET_TYPE_FORWARD_ONLY"] = 1; values[valuesById[2] = "SQL_RESULT_SET_TYPE_SCROLL_INSENSITIVE"] = 2; @@ -703,7 +769,7 @@ $root.arrow = (function() { * @property {number} SQL_RESULT_SET_CONCURRENCY_UPDATABLE=2 SQL_RESULT_SET_CONCURRENCY_UPDATABLE value */ sql.SqlSupportedResultSetConcurrency = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_RESULT_SET_CONCURRENCY_UNSPECIFIED"] = 0; values[valuesById[1] = "SQL_RESULT_SET_CONCURRENCY_READ_ONLY"] = 1; values[valuesById[2] = "SQL_RESULT_SET_CONCURRENCY_UPDATABLE"] = 2; @@ -736,7 +802,7 @@ $root.arrow = (function() { * @property {number} SQL_CONVERT_VARCHAR=19 SQL_CONVERT_VARCHAR value */ sql.SqlSupportsConvert = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SQL_CONVERT_BIGINT"] = 0; values[valuesById[1] = "SQL_CONVERT_BINARY"] = 1; values[valuesById[2] = "SQL_CONVERT_BIT"] = 2; @@ -791,7 +857,7 @@ $root.arrow = (function() { * @property {number} XDBC_WVARCHAR=-9 XDBC_WVARCHAR value */ sql.XdbcDataType = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "XDBC_UNKNOWN_TYPE"] = 0; values[valuesById[1] = "XDBC_CHAR"] = 1; values[valuesById[2] = "XDBC_NUMERIC"] = 2; @@ -857,7 +923,7 @@ $root.arrow = (function() { * @property {number} XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND=113 XDBC_SUBCODE_INTERVAL_MINUTE_TO_SECOND value */ sql.XdbcDatetimeSubcode = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "XDBC_SUBCODE_UNKNOWN"] = 0; values[valuesById[1] = "XDBC_SUBCODE_YEAR"] = 1; values["XDBC_SUBCODE_DATE"] = 1; @@ -902,7 +968,7 @@ $root.arrow = (function() { * @property {number} NULLABILITY_UNKNOWN=2 Indicates that nullability of the fields cannot be determined. */ sql.Nullable = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "NULLABILITY_NO_NULLS"] = 0; values[valuesById[1] = "NULLABILITY_NULLABLE"] = 1; values[valuesById[2] = "NULLABILITY_UNKNOWN"] = 2; @@ -924,7 +990,7 @@ $root.arrow = (function() { * @property {number} SEARCHABLE_FULL=3 Indicates that the column can be used in a WHERE clause using any operator. */ sql.Searchable = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "SEARCHABLE_NONE"] = 0; values[valuesById[1] = "SEARCHABLE_CHAR"] = 1; values[valuesById[2] = "SEARCHABLE_BASIC"] = 2; @@ -934,27 +1000,40 @@ $root.arrow = (function() { sql.CommandGetXdbcTypeInfo = (function() { + /** + * Properties of a CommandGetXdbcTypeInfo. + * @typedef {Object} arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties + * @property {number|null} [dataType] CommandGetXdbcTypeInfo dataType + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandGetXdbcTypeInfo. * @memberof arrow.flight.protocol.sql * @interface ICommandGetXdbcTypeInfo - * @property {number|null} [dataType] CommandGetXdbcTypeInfo dataType + * @augments arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties instead. + */ + + /** + * Shape of a CommandGetXdbcTypeInfo. + * @typedef {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties} arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape */ /** * Constructs a new CommandGetXdbcTypeInfo. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetXdbcTypeInfo. - * @implements ICommandGetXdbcTypeInfo * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetXdbcTypeInfo(properties) { + var CommandGetXdbcTypeInfo = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetXdbcTypeInfo dataType. @@ -967,13 +1046,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetXdbcTypeInfo _dataType. - * @member {"dataType"|undefined} _dataType - * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo - * @instance - */ - Object.defineProperty(CommandGetXdbcTypeInfo.prototype, "_dataType", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetXdbcTypeInfo.prototype, "_dataType", { get: $util.oneOfGetter($oneOfFields = ["dataType"]), set: $util.oneOfSetter($oneOfFields) }); @@ -983,10 +1057,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo} CommandGetXdbcTypeInfo instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties): arrow.flight.protocol.sql.CommandGetXdbcTypeInfo; + * }} */ - CommandGetXdbcTypeInfo.create = function create(properties) { + CommandGetXdbcTypeInfo.create = function(properties) { return new CommandGetXdbcTypeInfo(properties); }; @@ -995,15 +1073,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo} message CommandGetXdbcTypeInfo message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties} message CommandGetXdbcTypeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetXdbcTypeInfo.encode = function encode(message, writer) { + CommandGetXdbcTypeInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.dataType != null && Object.hasOwnProperty.call(message, "dataType")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.dataType != null && $Object.hasOwnProperty.call(message, "dataType")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.dataType); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1012,12 +1097,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo * @static - * @param {arrow.flight.protocol.sql.ICommandGetXdbcTypeInfo} message CommandGetXdbcTypeInfo message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Properties} message CommandGetXdbcTypeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetXdbcTypeInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetXdbcTypeInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1027,26 +1112,58 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo} CommandGetXdbcTypeInfo + * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape} CommandGetXdbcTypeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetXdbcTypeInfo.decode = function decode(reader, length) { + CommandGetXdbcTypeInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetXdbcTypeInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetXdbcTypeInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 0) + break; message.dataType = reader.int32(); - break; + message._dataType = "dataType"; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1056,11 +1173,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo} CommandGetXdbcTypeInfo + * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo & arrow.flight.protocol.sql.CommandGetXdbcTypeInfo.$Shape} CommandGetXdbcTypeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetXdbcTypeInfo.decodeDelimited = function decodeDelimited(reader) { + CommandGetXdbcTypeInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1074,11 +1191,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetXdbcTypeInfo.verify = function verify(message) { + CommandGetXdbcTypeInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.dataType != null && message.hasOwnProperty("dataType")) { + if (message.dataType != null && $Object.hasOwnProperty.call(message, "dataType")) { properties._dataType = 1; if (!$util.isInteger(message.dataType)) return "dataType: integer expected"; @@ -1094,9 +1215,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetXdbcTypeInfo} CommandGetXdbcTypeInfo */ - CommandGetXdbcTypeInfo.fromObject = function fromObject(object) { + CommandGetXdbcTypeInfo.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetXdbcTypeInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetXdbcTypeInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetXdbcTypeInfo(); if (object.dataType != null) message.dataType = object.dataType | 0; @@ -1112,15 +1239,16 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetXdbcTypeInfo.toObject = function toObject(message, options) { + CommandGetXdbcTypeInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (message.dataType != null && message.hasOwnProperty("dataType")) { + if (message.dataType != null && $Object.hasOwnProperty.call(message, "dataType")) object.dataType = message.dataType; - if (options.oneofs) - object._dataType = "dataType"; - } return object; }; @@ -1131,23 +1259,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetXdbcTypeInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetXdbcTypeInfo.prototype.toJSON = function() { + return CommandGetXdbcTypeInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetXdbcTypeInfo + * Gets the type url for CommandGetXdbcTypeInfo * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetXdbcTypeInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetXdbcTypeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetXdbcTypeInfo"; + CommandGetXdbcTypeInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetXdbcTypeInfo"; }; return CommandGetXdbcTypeInfo; @@ -1155,36 +1282,53 @@ $root.arrow = (function() { sql.CommandGetCatalogs = (function() { + /** + * Properties of a CommandGetCatalogs. + * @typedef {Object} arrow.flight.protocol.sql.CommandGetCatalogs.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandGetCatalogs. * @memberof arrow.flight.protocol.sql * @interface ICommandGetCatalogs + * @augments arrow.flight.protocol.sql.CommandGetCatalogs.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetCatalogs.$Properties instead. + */ + + /** + * Shape of a CommandGetCatalogs. + * @typedef {arrow.flight.protocol.sql.CommandGetCatalogs.$Properties} arrow.flight.protocol.sql.CommandGetCatalogs.$Shape */ /** * Constructs a new CommandGetCatalogs. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetCatalogs. - * @implements ICommandGetCatalogs * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetCatalogs=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetCatalogs.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetCatalogs(properties) { + var CommandGetCatalogs = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new CommandGetCatalogs instance using the specified properties. * @function create * @memberof arrow.flight.protocol.sql.CommandGetCatalogs * @static - * @param {arrow.flight.protocol.sql.ICommandGetCatalogs=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetCatalogs.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetCatalogs} CommandGetCatalogs instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetCatalogs.$Shape): arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetCatalogs.$Properties): arrow.flight.protocol.sql.CommandGetCatalogs; + * }} */ - CommandGetCatalogs.create = function create(properties) { + CommandGetCatalogs.create = function(properties) { return new CommandGetCatalogs(properties); }; @@ -1193,13 +1337,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetCatalogs * @static - * @param {arrow.flight.protocol.sql.ICommandGetCatalogs} message CommandGetCatalogs message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetCatalogs.$Properties} message CommandGetCatalogs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetCatalogs.encode = function encode(message, writer) { + CommandGetCatalogs.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1208,12 +1359,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetCatalogs * @static - * @param {arrow.flight.protocol.sql.ICommandGetCatalogs} message CommandGetCatalogs message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetCatalogs.$Properties} message CommandGetCatalogs message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetCatalogs.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetCatalogs.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1223,22 +1374,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetCatalogs} CommandGetCatalogs + * @returns {arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape} CommandGetCatalogs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetCatalogs.decode = function decode(reader, length) { + CommandGetCatalogs.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetCatalogs(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetCatalogs(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1248,11 +1425,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetCatalogs * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetCatalogs} CommandGetCatalogs + * @returns {arrow.flight.protocol.sql.CommandGetCatalogs & arrow.flight.protocol.sql.CommandGetCatalogs.$Shape} CommandGetCatalogs * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetCatalogs.decodeDelimited = function decodeDelimited(reader) { + CommandGetCatalogs.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1266,9 +1443,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetCatalogs.verify = function verify(message) { + CommandGetCatalogs.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -1280,9 +1461,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetCatalogs} CommandGetCatalogs */ - CommandGetCatalogs.fromObject = function fromObject(object) { + CommandGetCatalogs.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetCatalogs) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetCatalogs: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.sql.CommandGetCatalogs(); }; @@ -1295,7 +1482,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetCatalogs.toObject = function toObject() { + CommandGetCatalogs.toObject = function () { return {}; }; @@ -1306,23 +1493,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetCatalogs.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetCatalogs.prototype.toJSON = function() { + return CommandGetCatalogs.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetCatalogs + * Gets the type url for CommandGetCatalogs * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetCatalogs * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetCatalogs.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetCatalogs"; + CommandGetCatalogs.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetCatalogs"; }; return CommandGetCatalogs; @@ -1332,26 +1518,39 @@ $root.arrow = (function() { /** * Properties of a CommandGetDbSchemas. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetDbSchemas + * @typedef {Object} arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties * @property {string|null} [catalog] CommandGetDbSchemas catalog * @property {string|null} [dbSchemaFilterPattern] CommandGetDbSchemas dbSchemaFilterPattern + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandGetDbSchemas. + * @memberof arrow.flight.protocol.sql + * @interface ICommandGetDbSchemas + * @augments arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties instead. + */ + + /** + * Shape of a CommandGetDbSchemas. + * @typedef {arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties} arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape */ /** * Constructs a new CommandGetDbSchemas. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetDbSchemas. - * @implements ICommandGetDbSchemas * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetDbSchemas=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetDbSchemas(properties) { + var CommandGetDbSchemas = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetDbSchemas catalog. @@ -1372,24 +1571,14 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetDbSchemas _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas - * @instance - */ - Object.defineProperty(CommandGetDbSchemas.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetDbSchemas.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetDbSchemas _dbSchemaFilterPattern. - * @member {"dbSchemaFilterPattern"|undefined} _dbSchemaFilterPattern - * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas - * @instance - */ - Object.defineProperty(CommandGetDbSchemas.prototype, "_dbSchemaFilterPattern", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetDbSchemas.prototype, "_dbSchemaFilterPattern", { get: $util.oneOfGetter($oneOfFields = ["dbSchemaFilterPattern"]), set: $util.oneOfSetter($oneOfFields) }); @@ -1399,10 +1588,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas * @static - * @param {arrow.flight.protocol.sql.ICommandGetDbSchemas=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas} CommandGetDbSchemas instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape): arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties): arrow.flight.protocol.sql.CommandGetDbSchemas; + * }} */ - CommandGetDbSchemas.create = function create(properties) { + CommandGetDbSchemas.create = function(properties) { return new CommandGetDbSchemas(properties); }; @@ -1411,17 +1604,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas * @static - * @param {arrow.flight.protocol.sql.ICommandGetDbSchemas} message CommandGetDbSchemas message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties} message CommandGetDbSchemas message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetDbSchemas.encode = function encode(message, writer) { + CommandGetDbSchemas.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.catalog); - if (message.dbSchemaFilterPattern != null && Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.dbSchemaFilterPattern); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1430,12 +1630,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas * @static - * @param {arrow.flight.protocol.sql.ICommandGetDbSchemas} message CommandGetDbSchemas message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetDbSchemas.$Properties} message CommandGetDbSchemas message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetDbSchemas.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetDbSchemas.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1445,30 +1645,65 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas} CommandGetDbSchemas + * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape} CommandGetDbSchemas * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetDbSchemas.decode = function decode(reader, length) { + CommandGetDbSchemas.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetDbSchemas(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetDbSchemas(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 2: { - message.dbSchemaFilterPattern = reader.string(); - break; + if (wireType !== 2) + break; + message.dbSchemaFilterPattern = reader.stringVerify(); + message._dbSchemaFilterPattern = "dbSchemaFilterPattern"; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1478,11 +1713,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas} CommandGetDbSchemas + * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas & arrow.flight.protocol.sql.CommandGetDbSchemas.$Shape} CommandGetDbSchemas * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetDbSchemas.decodeDelimited = function decodeDelimited(reader) { + CommandGetDbSchemas.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1496,16 +1731,20 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetDbSchemas.verify = function verify(message) { + CommandGetDbSchemas.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.dbSchemaFilterPattern != null && message.hasOwnProperty("dbSchemaFilterPattern")) { + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) { properties._dbSchemaFilterPattern = 1; if (!$util.isString(message.dbSchemaFilterPattern)) return "dbSchemaFilterPattern: string expected"; @@ -1521,14 +1760,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetDbSchemas} CommandGetDbSchemas */ - CommandGetDbSchemas.fromObject = function fromObject(object) { + CommandGetDbSchemas.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetDbSchemas) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetDbSchemas: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetDbSchemas(); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.dbSchemaFilterPattern != null) - message.dbSchemaFilterPattern = String(object.dbSchemaFilterPattern); + message.dbSchemaFilterPattern = $String(object.dbSchemaFilterPattern); return message; }; @@ -1541,20 +1786,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetDbSchemas.toObject = function toObject(message, options) { + CommandGetDbSchemas.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.dbSchemaFilterPattern != null && message.hasOwnProperty("dbSchemaFilterPattern")) { + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) object.dbSchemaFilterPattern = message.dbSchemaFilterPattern; - if (options.oneofs) - object._dbSchemaFilterPattern = "dbSchemaFilterPattern"; - } return object; }; @@ -1565,23 +1808,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetDbSchemas.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetDbSchemas.prototype.toJSON = function() { + return CommandGetDbSchemas.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetDbSchemas + * Gets the type url for CommandGetDbSchemas * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetDbSchemas * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetDbSchemas.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetDbSchemas"; + CommandGetDbSchemas.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetDbSchemas"; }; return CommandGetDbSchemas; @@ -1591,30 +1833,43 @@ $root.arrow = (function() { /** * Properties of a CommandGetTables. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetTables + * @typedef {Object} arrow.flight.protocol.sql.CommandGetTables.$Properties * @property {string|null} [catalog] CommandGetTables catalog * @property {string|null} [dbSchemaFilterPattern] CommandGetTables dbSchemaFilterPattern * @property {string|null} [tableNameFilterPattern] CommandGetTables tableNameFilterPattern * @property {Array.|null} [tableTypes] CommandGetTables tableTypes * @property {boolean|null} [includeSchema] CommandGetTables includeSchema + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandGetTables. + * @memberof arrow.flight.protocol.sql + * @interface ICommandGetTables + * @augments arrow.flight.protocol.sql.CommandGetTables.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetTables.$Properties instead. + */ + + /** + * Shape of a CommandGetTables. + * @typedef {arrow.flight.protocol.sql.CommandGetTables.$Properties} arrow.flight.protocol.sql.CommandGetTables.$Shape */ /** * Constructs a new CommandGetTables. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetTables. - * @implements ICommandGetTables * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetTables=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetTables.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetTables(properties) { + var CommandGetTables = function (properties) { this.tableTypes = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetTables catalog. @@ -1659,35 +1914,20 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetTables _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandGetTables - * @instance - */ - Object.defineProperty(CommandGetTables.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetTables.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetTables _dbSchemaFilterPattern. - * @member {"dbSchemaFilterPattern"|undefined} _dbSchemaFilterPattern - * @memberof arrow.flight.protocol.sql.CommandGetTables - * @instance - */ - Object.defineProperty(CommandGetTables.prototype, "_dbSchemaFilterPattern", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetTables.prototype, "_dbSchemaFilterPattern", { get: $util.oneOfGetter($oneOfFields = ["dbSchemaFilterPattern"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetTables _tableNameFilterPattern. - * @member {"tableNameFilterPattern"|undefined} _tableNameFilterPattern - * @memberof arrow.flight.protocol.sql.CommandGetTables - * @instance - */ - Object.defineProperty(CommandGetTables.prototype, "_tableNameFilterPattern", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetTables.prototype, "_tableNameFilterPattern", { get: $util.oneOfGetter($oneOfFields = ["tableNameFilterPattern"]), set: $util.oneOfSetter($oneOfFields) }); @@ -1697,10 +1937,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetTables * @static - * @param {arrow.flight.protocol.sql.ICommandGetTables=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetTables.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetTables} CommandGetTables instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetTables.$Shape): arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetTables.$Properties): arrow.flight.protocol.sql.CommandGetTables; + * }} */ - CommandGetTables.create = function create(properties) { + CommandGetTables.create = function(properties) { return new CommandGetTables(properties); }; @@ -1709,24 +1953,31 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetTables * @static - * @param {arrow.flight.protocol.sql.ICommandGetTables} message CommandGetTables message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetTables.$Properties} message CommandGetTables message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetTables.encode = function encode(message, writer) { + CommandGetTables.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.catalog); - if (message.dbSchemaFilterPattern != null && Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.dbSchemaFilterPattern); - if (message.tableNameFilterPattern != null && Object.hasOwnProperty.call(message, "tableNameFilterPattern")) + if (message.tableNameFilterPattern != null && $Object.hasOwnProperty.call(message, "tableNameFilterPattern")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.tableNameFilterPattern); if (message.tableTypes != null && message.tableTypes.length) for (var i = 0; i < message.tableTypes.length; ++i) writer.uint32(/* id 4, wireType 2 =*/34).string(message.tableTypes[i]); - if (message.includeSchema != null && Object.hasOwnProperty.call(message, "includeSchema")) + if (message.includeSchema != null && $Object.hasOwnProperty.call(message, "includeSchema") && message.includeSchema !== false) writer.uint32(/* id 5, wireType 0 =*/40).bool(message.includeSchema); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -1735,12 +1986,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetTables * @static - * @param {arrow.flight.protocol.sql.ICommandGetTables} message CommandGetTables message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetTables.$Properties} message CommandGetTables message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetTables.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetTables.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -1750,44 +2001,89 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetTables} CommandGetTables + * @returns {arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape} CommandGetTables * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetTables.decode = function decode(reader, length) { + CommandGetTables.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetTables(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetTables(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 2: { - message.dbSchemaFilterPattern = reader.string(); - break; + if (wireType !== 2) + break; + message.dbSchemaFilterPattern = reader.stringVerify(); + message._dbSchemaFilterPattern = "dbSchemaFilterPattern"; + continue; } case 3: { - message.tableNameFilterPattern = reader.string(); - break; + if (wireType !== 2) + break; + message.tableNameFilterPattern = reader.stringVerify(); + message._tableNameFilterPattern = "tableNameFilterPattern"; + continue; } case 4: { + if (wireType !== 2) + break; if (!(message.tableTypes && message.tableTypes.length)) message.tableTypes = []; - message.tableTypes.push(reader.string()); - break; + message.tableTypes.push(reader.stringVerify()); + continue; } case 5: { - message.includeSchema = reader.bool(); - break; + if (wireType !== 0) + break; + if (value = reader.bool()) + message.includeSchema = value; + else + delete message.includeSchema; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -1797,11 +2093,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetTables * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetTables} CommandGetTables + * @returns {arrow.flight.protocol.sql.CommandGetTables & arrow.flight.protocol.sql.CommandGetTables.$Shape} CommandGetTables * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetTables.decodeDelimited = function decodeDelimited(reader) { + CommandGetTables.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -1815,33 +2111,37 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetTables.verify = function verify(message) { + CommandGetTables.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.dbSchemaFilterPattern != null && message.hasOwnProperty("dbSchemaFilterPattern")) { + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) { properties._dbSchemaFilterPattern = 1; if (!$util.isString(message.dbSchemaFilterPattern)) return "dbSchemaFilterPattern: string expected"; } - if (message.tableNameFilterPattern != null && message.hasOwnProperty("tableNameFilterPattern")) { + if (message.tableNameFilterPattern != null && $Object.hasOwnProperty.call(message, "tableNameFilterPattern")) { properties._tableNameFilterPattern = 1; if (!$util.isString(message.tableNameFilterPattern)) return "tableNameFilterPattern: string expected"; } - if (message.tableTypes != null && message.hasOwnProperty("tableTypes")) { - if (!Array.isArray(message.tableTypes)) + if (message.tableTypes != null && $Object.hasOwnProperty.call(message, "tableTypes")) { + if (!$Array.isArray(message.tableTypes)) return "tableTypes: array expected"; for (var i = 0; i < message.tableTypes.length; ++i) if (!$util.isString(message.tableTypes[i])) return "tableTypes: string[] expected"; } - if (message.includeSchema != null && message.hasOwnProperty("includeSchema")) + if (message.includeSchema != null && $Object.hasOwnProperty.call(message, "includeSchema")) if (typeof message.includeSchema !== "boolean") return "includeSchema: boolean expected"; return null; @@ -1855,25 +2155,32 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetTables} CommandGetTables */ - CommandGetTables.fromObject = function fromObject(object) { + CommandGetTables.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetTables) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetTables: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetTables(); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.dbSchemaFilterPattern != null) - message.dbSchemaFilterPattern = String(object.dbSchemaFilterPattern); + message.dbSchemaFilterPattern = $String(object.dbSchemaFilterPattern); if (object.tableNameFilterPattern != null) - message.tableNameFilterPattern = String(object.tableNameFilterPattern); + message.tableNameFilterPattern = $String(object.tableNameFilterPattern); if (object.tableTypes) { - if (!Array.isArray(object.tableTypes)) - throw TypeError(".arrow.flight.protocol.sql.CommandGetTables.tableTypes: array expected"); - message.tableTypes = []; + if (!$Array.isArray(object.tableTypes)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetTables.tableTypes: array expected"); + message.tableTypes = $Array(object.tableTypes.length); for (var i = 0; i < object.tableTypes.length; ++i) - message.tableTypes[i] = String(object.tableTypes[i]); + message.tableTypes[i] = $String(object.tableTypes[i]); } if (object.includeSchema != null) - message.includeSchema = Boolean(object.includeSchema); + if (object.includeSchema) + message.includeSchema = $Boolean(object.includeSchema); return message; }; @@ -1886,35 +2193,30 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetTables.toObject = function toObject(message, options) { + CommandGetTables.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.tableTypes = []; if (options.defaults) object.includeSchema = false; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.dbSchemaFilterPattern != null && message.hasOwnProperty("dbSchemaFilterPattern")) { + if (message.dbSchemaFilterPattern != null && $Object.hasOwnProperty.call(message, "dbSchemaFilterPattern")) object.dbSchemaFilterPattern = message.dbSchemaFilterPattern; - if (options.oneofs) - object._dbSchemaFilterPattern = "dbSchemaFilterPattern"; - } - if (message.tableNameFilterPattern != null && message.hasOwnProperty("tableNameFilterPattern")) { + if (message.tableNameFilterPattern != null && $Object.hasOwnProperty.call(message, "tableNameFilterPattern")) object.tableNameFilterPattern = message.tableNameFilterPattern; - if (options.oneofs) - object._tableNameFilterPattern = "tableNameFilterPattern"; - } if (message.tableTypes && message.tableTypes.length) { - object.tableTypes = []; + object.tableTypes = $Array(message.tableTypes.length); for (var j = 0; j < message.tableTypes.length; ++j) object.tableTypes[j] = message.tableTypes[j]; } - if (message.includeSchema != null && message.hasOwnProperty("includeSchema")) + if (message.includeSchema != null && $Object.hasOwnProperty.call(message, "includeSchema")) object.includeSchema = message.includeSchema; return object; }; @@ -1926,23 +2228,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetTables.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetTables.prototype.toJSON = function() { + return CommandGetTables.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetTables + * Gets the type url for CommandGetTables * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetTables * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetTables.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetTables"; + CommandGetTables.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetTables"; }; return CommandGetTables; @@ -1950,36 +2251,53 @@ $root.arrow = (function() { sql.CommandGetTableTypes = (function() { + /** + * Properties of a CommandGetTableTypes. + * @typedef {Object} arrow.flight.protocol.sql.CommandGetTableTypes.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandGetTableTypes. * @memberof arrow.flight.protocol.sql * @interface ICommandGetTableTypes + * @augments arrow.flight.protocol.sql.CommandGetTableTypes.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetTableTypes.$Properties instead. + */ + + /** + * Shape of a CommandGetTableTypes. + * @typedef {arrow.flight.protocol.sql.CommandGetTableTypes.$Properties} arrow.flight.protocol.sql.CommandGetTableTypes.$Shape */ /** * Constructs a new CommandGetTableTypes. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetTableTypes. - * @implements ICommandGetTableTypes * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetTableTypes=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetTableTypes.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetTableTypes(properties) { + var CommandGetTableTypes = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new CommandGetTableTypes instance using the specified properties. * @function create * @memberof arrow.flight.protocol.sql.CommandGetTableTypes * @static - * @param {arrow.flight.protocol.sql.ICommandGetTableTypes=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetTableTypes.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetTableTypes} CommandGetTableTypes instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetTableTypes.$Shape): arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetTableTypes.$Properties): arrow.flight.protocol.sql.CommandGetTableTypes; + * }} */ - CommandGetTableTypes.create = function create(properties) { + CommandGetTableTypes.create = function(properties) { return new CommandGetTableTypes(properties); }; @@ -1988,13 +2306,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetTableTypes * @static - * @param {arrow.flight.protocol.sql.ICommandGetTableTypes} message CommandGetTableTypes message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetTableTypes.$Properties} message CommandGetTableTypes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetTableTypes.encode = function encode(message, writer) { + CommandGetTableTypes.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2003,12 +2328,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetTableTypes * @static - * @param {arrow.flight.protocol.sql.ICommandGetTableTypes} message CommandGetTableTypes message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetTableTypes.$Properties} message CommandGetTableTypes message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetTableTypes.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetTableTypes.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2018,22 +2343,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetTableTypes} CommandGetTableTypes + * @returns {arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape} CommandGetTableTypes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetTableTypes.decode = function decode(reader, length) { + CommandGetTableTypes.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetTableTypes(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetTableTypes(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2043,11 +2394,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetTableTypes * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetTableTypes} CommandGetTableTypes + * @returns {arrow.flight.protocol.sql.CommandGetTableTypes & arrow.flight.protocol.sql.CommandGetTableTypes.$Shape} CommandGetTableTypes * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetTableTypes.decodeDelimited = function decodeDelimited(reader) { + CommandGetTableTypes.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2061,9 +2412,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetTableTypes.verify = function verify(message) { + CommandGetTableTypes.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -2075,9 +2430,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetTableTypes} CommandGetTableTypes */ - CommandGetTableTypes.fromObject = function fromObject(object) { + CommandGetTableTypes.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetTableTypes) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetTableTypes: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.sql.CommandGetTableTypes(); }; @@ -2090,7 +2451,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetTableTypes.toObject = function toObject() { + CommandGetTableTypes.toObject = function () { return {}; }; @@ -2101,23 +2462,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetTableTypes.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetTableTypes.prototype.toJSON = function() { + return CommandGetTableTypes.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetTableTypes + * Gets the type url for CommandGetTableTypes * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetTableTypes * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetTableTypes.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetTableTypes"; + CommandGetTableTypes.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetTableTypes"; }; return CommandGetTableTypes; @@ -2127,27 +2487,40 @@ $root.arrow = (function() { /** * Properties of a CommandGetPrimaryKeys. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetPrimaryKeys + * @typedef {Object} arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties * @property {string|null} [catalog] CommandGetPrimaryKeys catalog * @property {string|null} [dbSchema] CommandGetPrimaryKeys dbSchema * @property {string|null} [table] CommandGetPrimaryKeys table + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandGetPrimaryKeys. + * @memberof arrow.flight.protocol.sql + * @interface ICommandGetPrimaryKeys + * @augments arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties instead. + */ + + /** + * Shape of a CommandGetPrimaryKeys. + * @typedef {arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties} arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape */ /** * Constructs a new CommandGetPrimaryKeys. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetPrimaryKeys. - * @implements ICommandGetPrimaryKeys * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetPrimaryKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetPrimaryKeys(properties) { + var CommandGetPrimaryKeys = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetPrimaryKeys catalog. @@ -2176,24 +2549,14 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetPrimaryKeys _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys - * @instance - */ - Object.defineProperty(CommandGetPrimaryKeys.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetPrimaryKeys.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetPrimaryKeys _dbSchema. - * @member {"dbSchema"|undefined} _dbSchema - * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys - * @instance - */ - Object.defineProperty(CommandGetPrimaryKeys.prototype, "_dbSchema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetPrimaryKeys.prototype, "_dbSchema", { get: $util.oneOfGetter($oneOfFields = ["dbSchema"]), set: $util.oneOfSetter($oneOfFields) }); @@ -2203,10 +2566,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetPrimaryKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys} CommandGetPrimaryKeys instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape): arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties): arrow.flight.protocol.sql.CommandGetPrimaryKeys; + * }} */ - CommandGetPrimaryKeys.create = function create(properties) { + CommandGetPrimaryKeys.create = function(properties) { return new CommandGetPrimaryKeys(properties); }; @@ -2215,19 +2582,26 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetPrimaryKeys} message CommandGetPrimaryKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties} message CommandGetPrimaryKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetPrimaryKeys.encode = function encode(message, writer) { + CommandGetPrimaryKeys.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.catalog); - if (message.dbSchema != null && Object.hasOwnProperty.call(message, "dbSchema")) + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.dbSchema); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table") && message.table !== "") writer.uint32(/* id 3, wireType 2 =*/26).string(message.table); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2236,12 +2610,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetPrimaryKeys} message CommandGetPrimaryKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Properties} message CommandGetPrimaryKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetPrimaryKeys.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetPrimaryKeys.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2251,34 +2625,74 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys} CommandGetPrimaryKeys + * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape} CommandGetPrimaryKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetPrimaryKeys.decode = function decode(reader, length) { + CommandGetPrimaryKeys.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetPrimaryKeys(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetPrimaryKeys(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 2: { - message.dbSchema = reader.string(); - break; + if (wireType !== 2) + break; + message.dbSchema = reader.stringVerify(); + message._dbSchema = "dbSchema"; + continue; } case 3: { - message.table = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.table = value; + else + delete message.table; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2288,11 +2702,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys} CommandGetPrimaryKeys + * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys & arrow.flight.protocol.sql.CommandGetPrimaryKeys.$Shape} CommandGetPrimaryKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetPrimaryKeys.decodeDelimited = function decodeDelimited(reader) { + CommandGetPrimaryKeys.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2306,21 +2720,25 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetPrimaryKeys.verify = function verify(message) { + CommandGetPrimaryKeys.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) { properties._dbSchema = 1; if (!$util.isString(message.dbSchema)) return "dbSchema: string expected"; } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) if (!$util.isString(message.table)) return "table: string expected"; return null; @@ -2334,16 +2752,23 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetPrimaryKeys} CommandGetPrimaryKeys */ - CommandGetPrimaryKeys.fromObject = function fromObject(object) { + CommandGetPrimaryKeys.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetPrimaryKeys) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetPrimaryKeys: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetPrimaryKeys(); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.dbSchema != null) - message.dbSchema = String(object.dbSchema); + message.dbSchema = $String(object.dbSchema); if (object.table != null) - message.table = String(object.table); + if (typeof object.table !== "string" || object.table.length) + message.table = $String(object.table); return message; }; @@ -2356,23 +2781,21 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetPrimaryKeys.toObject = function toObject(message, options) { + CommandGetPrimaryKeys.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.table = ""; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) object.dbSchema = message.dbSchema; - if (options.oneofs) - object._dbSchema = "dbSchema"; - } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) object.table = message.table; return object; }; @@ -2384,23 +2807,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetPrimaryKeys.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetPrimaryKeys.prototype.toJSON = function() { + return CommandGetPrimaryKeys.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetPrimaryKeys + * Gets the type url for CommandGetPrimaryKeys * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetPrimaryKeys * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetPrimaryKeys.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetPrimaryKeys"; + CommandGetPrimaryKeys.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetPrimaryKeys"; }; return CommandGetPrimaryKeys; @@ -2417,7 +2839,7 @@ $root.arrow = (function() { * @property {number} SET_DEFAULT=4 SET_DEFAULT value */ sql.UpdateDeleteRules = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "CASCADE"] = 0; values[valuesById[1] = "RESTRICT"] = 1; values[valuesById[2] = "SET_NULL"] = 2; @@ -2430,27 +2852,40 @@ $root.arrow = (function() { /** * Properties of a CommandGetExportedKeys. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetExportedKeys + * @typedef {Object} arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties * @property {string|null} [catalog] CommandGetExportedKeys catalog * @property {string|null} [dbSchema] CommandGetExportedKeys dbSchema * @property {string|null} [table] CommandGetExportedKeys table + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandGetExportedKeys. + * @memberof arrow.flight.protocol.sql + * @interface ICommandGetExportedKeys + * @augments arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties instead. + */ + + /** + * Shape of a CommandGetExportedKeys. + * @typedef {arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties} arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape */ /** * Constructs a new CommandGetExportedKeys. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetExportedKeys. - * @implements ICommandGetExportedKeys * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetExportedKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetExportedKeys(properties) { + var CommandGetExportedKeys = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetExportedKeys catalog. @@ -2479,24 +2914,14 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetExportedKeys _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys - * @instance - */ - Object.defineProperty(CommandGetExportedKeys.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetExportedKeys.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetExportedKeys _dbSchema. - * @member {"dbSchema"|undefined} _dbSchema - * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys - * @instance - */ - Object.defineProperty(CommandGetExportedKeys.prototype, "_dbSchema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetExportedKeys.prototype, "_dbSchema", { get: $util.oneOfGetter($oneOfFields = ["dbSchema"]), set: $util.oneOfSetter($oneOfFields) }); @@ -2506,10 +2931,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetExportedKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys} CommandGetExportedKeys instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape): arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties): arrow.flight.protocol.sql.CommandGetExportedKeys; + * }} */ - CommandGetExportedKeys.create = function create(properties) { + CommandGetExportedKeys.create = function(properties) { return new CommandGetExportedKeys(properties); }; @@ -2518,19 +2947,26 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetExportedKeys} message CommandGetExportedKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties} message CommandGetExportedKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetExportedKeys.encode = function encode(message, writer) { + CommandGetExportedKeys.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.catalog); - if (message.dbSchema != null && Object.hasOwnProperty.call(message, "dbSchema")) + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.dbSchema); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table") && message.table !== "") writer.uint32(/* id 3, wireType 2 =*/26).string(message.table); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2539,12 +2975,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetExportedKeys} message CommandGetExportedKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetExportedKeys.$Properties} message CommandGetExportedKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetExportedKeys.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetExportedKeys.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2554,34 +2990,74 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys} CommandGetExportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape} CommandGetExportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetExportedKeys.decode = function decode(reader, length) { + CommandGetExportedKeys.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetExportedKeys(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetExportedKeys(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 2: { - message.dbSchema = reader.string(); - break; + if (wireType !== 2) + break; + message.dbSchema = reader.stringVerify(); + message._dbSchema = "dbSchema"; + continue; } case 3: { - message.table = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.table = value; + else + delete message.table; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2591,11 +3067,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys} CommandGetExportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys & arrow.flight.protocol.sql.CommandGetExportedKeys.$Shape} CommandGetExportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetExportedKeys.decodeDelimited = function decodeDelimited(reader) { + CommandGetExportedKeys.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2609,21 +3085,25 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetExportedKeys.verify = function verify(message) { + CommandGetExportedKeys.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) { properties._dbSchema = 1; if (!$util.isString(message.dbSchema)) return "dbSchema: string expected"; } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) if (!$util.isString(message.table)) return "table: string expected"; return null; @@ -2637,16 +3117,23 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetExportedKeys} CommandGetExportedKeys */ - CommandGetExportedKeys.fromObject = function fromObject(object) { + CommandGetExportedKeys.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetExportedKeys) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetExportedKeys: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetExportedKeys(); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.dbSchema != null) - message.dbSchema = String(object.dbSchema); + message.dbSchema = $String(object.dbSchema); if (object.table != null) - message.table = String(object.table); + if (typeof object.table !== "string" || object.table.length) + message.table = $String(object.table); return message; }; @@ -2659,23 +3146,21 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetExportedKeys.toObject = function toObject(message, options) { + CommandGetExportedKeys.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.table = ""; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) object.dbSchema = message.dbSchema; - if (options.oneofs) - object._dbSchema = "dbSchema"; - } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) object.table = message.table; return object; }; @@ -2687,23 +3172,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetExportedKeys.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetExportedKeys.prototype.toJSON = function() { + return CommandGetExportedKeys.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetExportedKeys + * Gets the type url for CommandGetExportedKeys * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetExportedKeys * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetExportedKeys.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetExportedKeys"; + CommandGetExportedKeys.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetExportedKeys"; }; return CommandGetExportedKeys; @@ -2713,27 +3197,40 @@ $root.arrow = (function() { /** * Properties of a CommandGetImportedKeys. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetImportedKeys + * @typedef {Object} arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties * @property {string|null} [catalog] CommandGetImportedKeys catalog * @property {string|null} [dbSchema] CommandGetImportedKeys dbSchema * @property {string|null} [table] CommandGetImportedKeys table + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ /** - * Constructs a new CommandGetImportedKeys. + * Properties of a CommandGetImportedKeys. * @memberof arrow.flight.protocol.sql - * @classdesc Represents a CommandGetImportedKeys. - * @implements ICommandGetImportedKeys + * @interface ICommandGetImportedKeys + * @augments arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties instead. + */ + + /** + * Shape of a CommandGetImportedKeys. + * @typedef {arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties} arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape + */ + + /** + * Constructs a new CommandGetImportedKeys. + * @memberof arrow.flight.protocol.sql + * @classdesc Represents a CommandGetImportedKeys. * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetImportedKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetImportedKeys(properties) { + var CommandGetImportedKeys = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandGetImportedKeys catalog. @@ -2762,24 +3259,14 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetImportedKeys _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys - * @instance - */ - Object.defineProperty(CommandGetImportedKeys.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetImportedKeys.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetImportedKeys _dbSchema. - * @member {"dbSchema"|undefined} _dbSchema - * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys - * @instance - */ - Object.defineProperty(CommandGetImportedKeys.prototype, "_dbSchema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetImportedKeys.prototype, "_dbSchema", { get: $util.oneOfGetter($oneOfFields = ["dbSchema"]), set: $util.oneOfSetter($oneOfFields) }); @@ -2789,10 +3276,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetImportedKeys=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys} CommandGetImportedKeys instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape): arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties): arrow.flight.protocol.sql.CommandGetImportedKeys; + * }} */ - CommandGetImportedKeys.create = function create(properties) { + CommandGetImportedKeys.create = function(properties) { return new CommandGetImportedKeys(properties); }; @@ -2801,19 +3292,26 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetImportedKeys} message CommandGetImportedKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties} message CommandGetImportedKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetImportedKeys.encode = function encode(message, writer) { + CommandGetImportedKeys.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.catalog); - if (message.dbSchema != null && Object.hasOwnProperty.call(message, "dbSchema")) + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.dbSchema); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table") && message.table !== "") writer.uint32(/* id 3, wireType 2 =*/26).string(message.table); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -2822,12 +3320,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys * @static - * @param {arrow.flight.protocol.sql.ICommandGetImportedKeys} message CommandGetImportedKeys message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetImportedKeys.$Properties} message CommandGetImportedKeys message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetImportedKeys.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetImportedKeys.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -2837,34 +3335,74 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys} CommandGetImportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape} CommandGetImportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetImportedKeys.decode = function decode(reader, length) { + CommandGetImportedKeys.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetImportedKeys(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetImportedKeys(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 2: { - message.dbSchema = reader.string(); - break; + if (wireType !== 2) + break; + message.dbSchema = reader.stringVerify(); + message._dbSchema = "dbSchema"; + continue; } case 3: { - message.table = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.table = value; + else + delete message.table; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -2874,11 +3412,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys} CommandGetImportedKeys + * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys & arrow.flight.protocol.sql.CommandGetImportedKeys.$Shape} CommandGetImportedKeys * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetImportedKeys.decodeDelimited = function decodeDelimited(reader) { + CommandGetImportedKeys.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -2892,21 +3430,25 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetImportedKeys.verify = function verify(message) { + CommandGetImportedKeys.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) { properties._dbSchema = 1; if (!$util.isString(message.dbSchema)) return "dbSchema: string expected"; } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) if (!$util.isString(message.table)) return "table: string expected"; return null; @@ -2920,16 +3462,23 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetImportedKeys} CommandGetImportedKeys */ - CommandGetImportedKeys.fromObject = function fromObject(object) { + CommandGetImportedKeys.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetImportedKeys) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetImportedKeys: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetImportedKeys(); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.dbSchema != null) - message.dbSchema = String(object.dbSchema); + message.dbSchema = $String(object.dbSchema); if (object.table != null) - message.table = String(object.table); + if (typeof object.table !== "string" || object.table.length) + message.table = $String(object.table); return message; }; @@ -2942,23 +3491,21 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetImportedKeys.toObject = function toObject(message, options) { + CommandGetImportedKeys.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.table = ""; - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.dbSchema != null && message.hasOwnProperty("dbSchema")) { + if (message.dbSchema != null && $Object.hasOwnProperty.call(message, "dbSchema")) object.dbSchema = message.dbSchema; - if (options.oneofs) - object._dbSchema = "dbSchema"; - } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) object.table = message.table; return object; }; @@ -2970,23 +3517,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetImportedKeys.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetImportedKeys.prototype.toJSON = function() { + return CommandGetImportedKeys.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetImportedKeys + * Gets the type url for CommandGetImportedKeys * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetImportedKeys * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetImportedKeys.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetImportedKeys"; + CommandGetImportedKeys.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetImportedKeys"; }; return CommandGetImportedKeys; @@ -2996,8 +3542,7 @@ $root.arrow = (function() { /** * Properties of a CommandGetCrossReference. - * @memberof arrow.flight.protocol.sql - * @interface ICommandGetCrossReference + * @typedef {Object} arrow.flight.protocol.sql.CommandGetCrossReference.$Properties * @property {string|null} [pkCatalog] The catalog name where the parent table is. * An empty string retrieves those without a catalog. * If omitted the catalog name should not be used to narrow the search. @@ -3012,22 +3557,36 @@ $root.arrow = (function() { * An empty string retrieves those without a schema. * If omitted the schema name should not be used to narrow the search. * @property {string|null} [fkTable] The foreign table name. It cannot be null. + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandGetCrossReference. + * @memberof arrow.flight.protocol.sql + * @interface ICommandGetCrossReference + * @augments arrow.flight.protocol.sql.CommandGetCrossReference.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandGetCrossReference.$Properties instead. + */ + + /** + * Shape of a CommandGetCrossReference. + * @typedef {arrow.flight.protocol.sql.CommandGetCrossReference.$Properties} arrow.flight.protocol.sql.CommandGetCrossReference.$Shape */ /** * Constructs a new CommandGetCrossReference. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandGetCrossReference. - * @implements ICommandGetCrossReference * @constructor - * @param {arrow.flight.protocol.sql.ICommandGetCrossReference=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetCrossReference.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandGetCrossReference(properties) { + var CommandGetCrossReference = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * The catalog name where the parent table is. @@ -3088,46 +3647,26 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandGetCrossReference _pkCatalog. - * @member {"pkCatalog"|undefined} _pkCatalog - * @memberof arrow.flight.protocol.sql.CommandGetCrossReference - * @instance - */ - Object.defineProperty(CommandGetCrossReference.prototype, "_pkCatalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetCrossReference.prototype, "_pkCatalog", { get: $util.oneOfGetter($oneOfFields = ["pkCatalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetCrossReference _pkDbSchema. - * @member {"pkDbSchema"|undefined} _pkDbSchema - * @memberof arrow.flight.protocol.sql.CommandGetCrossReference - * @instance - */ - Object.defineProperty(CommandGetCrossReference.prototype, "_pkDbSchema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetCrossReference.prototype, "_pkDbSchema", { get: $util.oneOfGetter($oneOfFields = ["pkDbSchema"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetCrossReference _fkCatalog. - * @member {"fkCatalog"|undefined} _fkCatalog - * @memberof arrow.flight.protocol.sql.CommandGetCrossReference - * @instance - */ - Object.defineProperty(CommandGetCrossReference.prototype, "_fkCatalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetCrossReference.prototype, "_fkCatalog", { get: $util.oneOfGetter($oneOfFields = ["fkCatalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandGetCrossReference _fkDbSchema. - * @member {"fkDbSchema"|undefined} _fkDbSchema - * @memberof arrow.flight.protocol.sql.CommandGetCrossReference - * @instance - */ - Object.defineProperty(CommandGetCrossReference.prototype, "_fkDbSchema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandGetCrossReference.prototype, "_fkDbSchema", { get: $util.oneOfGetter($oneOfFields = ["fkDbSchema"]), set: $util.oneOfSetter($oneOfFields) }); @@ -3137,10 +3676,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandGetCrossReference * @static - * @param {arrow.flight.protocol.sql.ICommandGetCrossReference=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandGetCrossReference.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandGetCrossReference} CommandGetCrossReference instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandGetCrossReference.$Shape): arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandGetCrossReference.$Properties): arrow.flight.protocol.sql.CommandGetCrossReference; + * }} */ - CommandGetCrossReference.create = function create(properties) { + CommandGetCrossReference.create = function(properties) { return new CommandGetCrossReference(properties); }; @@ -3149,25 +3692,32 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandGetCrossReference * @static - * @param {arrow.flight.protocol.sql.ICommandGetCrossReference} message CommandGetCrossReference message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetCrossReference.$Properties} message CommandGetCrossReference message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetCrossReference.encode = function encode(message, writer) { + CommandGetCrossReference.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.pkCatalog != null && Object.hasOwnProperty.call(message, "pkCatalog")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.pkCatalog != null && $Object.hasOwnProperty.call(message, "pkCatalog")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.pkCatalog); - if (message.pkDbSchema != null && Object.hasOwnProperty.call(message, "pkDbSchema")) + if (message.pkDbSchema != null && $Object.hasOwnProperty.call(message, "pkDbSchema")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.pkDbSchema); - if (message.pkTable != null && Object.hasOwnProperty.call(message, "pkTable")) + if (message.pkTable != null && $Object.hasOwnProperty.call(message, "pkTable") && message.pkTable !== "") writer.uint32(/* id 3, wireType 2 =*/26).string(message.pkTable); - if (message.fkCatalog != null && Object.hasOwnProperty.call(message, "fkCatalog")) + if (message.fkCatalog != null && $Object.hasOwnProperty.call(message, "fkCatalog")) writer.uint32(/* id 4, wireType 2 =*/34).string(message.fkCatalog); - if (message.fkDbSchema != null && Object.hasOwnProperty.call(message, "fkDbSchema")) + if (message.fkDbSchema != null && $Object.hasOwnProperty.call(message, "fkDbSchema")) writer.uint32(/* id 5, wireType 2 =*/42).string(message.fkDbSchema); - if (message.fkTable != null && Object.hasOwnProperty.call(message, "fkTable")) + if (message.fkTable != null && $Object.hasOwnProperty.call(message, "fkTable") && message.fkTable !== "") writer.uint32(/* id 6, wireType 2 =*/50).string(message.fkTable); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3176,12 +3726,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandGetCrossReference * @static - * @param {arrow.flight.protocol.sql.ICommandGetCrossReference} message CommandGetCrossReference message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandGetCrossReference.$Properties} message CommandGetCrossReference message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandGetCrossReference.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandGetCrossReference.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3191,46 +3741,97 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandGetCrossReference} CommandGetCrossReference + * @returns {arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape} CommandGetCrossReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetCrossReference.decode = function decode(reader, length) { + CommandGetCrossReference.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandGetCrossReference(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandGetCrossReference(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.pkCatalog = reader.string(); - break; + if (wireType !== 2) + break; + message.pkCatalog = reader.stringVerify(); + message._pkCatalog = "pkCatalog"; + continue; } case 2: { - message.pkDbSchema = reader.string(); - break; + if (wireType !== 2) + break; + message.pkDbSchema = reader.stringVerify(); + message._pkDbSchema = "pkDbSchema"; + continue; } case 3: { - message.pkTable = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.pkTable = value; + else + delete message.pkTable; + continue; } case 4: { - message.fkCatalog = reader.string(); - break; + if (wireType !== 2) + break; + message.fkCatalog = reader.stringVerify(); + message._fkCatalog = "fkCatalog"; + continue; } case 5: { - message.fkDbSchema = reader.string(); - break; + if (wireType !== 2) + break; + message.fkDbSchema = reader.stringVerify(); + message._fkDbSchema = "fkDbSchema"; + continue; } case 6: { - message.fkTable = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.fkTable = value; + else + delete message.fkTable; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3240,11 +3841,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandGetCrossReference * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandGetCrossReference} CommandGetCrossReference + * @returns {arrow.flight.protocol.sql.CommandGetCrossReference & arrow.flight.protocol.sql.CommandGetCrossReference.$Shape} CommandGetCrossReference * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandGetCrossReference.decodeDelimited = function decodeDelimited(reader) { + CommandGetCrossReference.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3258,34 +3859,38 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandGetCrossReference.verify = function verify(message) { + CommandGetCrossReference.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.pkCatalog != null && message.hasOwnProperty("pkCatalog")) { + if (message.pkCatalog != null && $Object.hasOwnProperty.call(message, "pkCatalog")) { properties._pkCatalog = 1; if (!$util.isString(message.pkCatalog)) return "pkCatalog: string expected"; } - if (message.pkDbSchema != null && message.hasOwnProperty("pkDbSchema")) { + if (message.pkDbSchema != null && $Object.hasOwnProperty.call(message, "pkDbSchema")) { properties._pkDbSchema = 1; if (!$util.isString(message.pkDbSchema)) return "pkDbSchema: string expected"; } - if (message.pkTable != null && message.hasOwnProperty("pkTable")) + if (message.pkTable != null && $Object.hasOwnProperty.call(message, "pkTable")) if (!$util.isString(message.pkTable)) return "pkTable: string expected"; - if (message.fkCatalog != null && message.hasOwnProperty("fkCatalog")) { + if (message.fkCatalog != null && $Object.hasOwnProperty.call(message, "fkCatalog")) { properties._fkCatalog = 1; if (!$util.isString(message.fkCatalog)) return "fkCatalog: string expected"; } - if (message.fkDbSchema != null && message.hasOwnProperty("fkDbSchema")) { + if (message.fkDbSchema != null && $Object.hasOwnProperty.call(message, "fkDbSchema")) { properties._fkDbSchema = 1; if (!$util.isString(message.fkDbSchema)) return "fkDbSchema: string expected"; } - if (message.fkTable != null && message.hasOwnProperty("fkTable")) + if (message.fkTable != null && $Object.hasOwnProperty.call(message, "fkTable")) if (!$util.isString(message.fkTable)) return "fkTable: string expected"; return null; @@ -3299,22 +3904,30 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandGetCrossReference} CommandGetCrossReference */ - CommandGetCrossReference.fromObject = function fromObject(object) { + CommandGetCrossReference.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandGetCrossReference) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandGetCrossReference: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandGetCrossReference(); if (object.pkCatalog != null) - message.pkCatalog = String(object.pkCatalog); + message.pkCatalog = $String(object.pkCatalog); if (object.pkDbSchema != null) - message.pkDbSchema = String(object.pkDbSchema); + message.pkDbSchema = $String(object.pkDbSchema); if (object.pkTable != null) - message.pkTable = String(object.pkTable); + if (typeof object.pkTable !== "string" || object.pkTable.length) + message.pkTable = $String(object.pkTable); if (object.fkCatalog != null) - message.fkCatalog = String(object.fkCatalog); + message.fkCatalog = $String(object.fkCatalog); if (object.fkDbSchema != null) - message.fkDbSchema = String(object.fkDbSchema); + message.fkDbSchema = $String(object.fkDbSchema); if (object.fkTable != null) - message.fkTable = String(object.fkTable); + if (typeof object.fkTable !== "string" || object.fkTable.length) + message.fkTable = $String(object.fkTable); return message; }; @@ -3327,37 +3940,29 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandGetCrossReference.toObject = function toObject(message, options) { + CommandGetCrossReference.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.pkTable = ""; object.fkTable = ""; } - if (message.pkCatalog != null && message.hasOwnProperty("pkCatalog")) { + if (message.pkCatalog != null && $Object.hasOwnProperty.call(message, "pkCatalog")) object.pkCatalog = message.pkCatalog; - if (options.oneofs) - object._pkCatalog = "pkCatalog"; - } - if (message.pkDbSchema != null && message.hasOwnProperty("pkDbSchema")) { + if (message.pkDbSchema != null && $Object.hasOwnProperty.call(message, "pkDbSchema")) object.pkDbSchema = message.pkDbSchema; - if (options.oneofs) - object._pkDbSchema = "pkDbSchema"; - } - if (message.pkTable != null && message.hasOwnProperty("pkTable")) + if (message.pkTable != null && $Object.hasOwnProperty.call(message, "pkTable")) object.pkTable = message.pkTable; - if (message.fkCatalog != null && message.hasOwnProperty("fkCatalog")) { + if (message.fkCatalog != null && $Object.hasOwnProperty.call(message, "fkCatalog")) object.fkCatalog = message.fkCatalog; - if (options.oneofs) - object._fkCatalog = "fkCatalog"; - } - if (message.fkDbSchema != null && message.hasOwnProperty("fkDbSchema")) { + if (message.fkDbSchema != null && $Object.hasOwnProperty.call(message, "fkDbSchema")) object.fkDbSchema = message.fkDbSchema; - if (options.oneofs) - object._fkDbSchema = "fkDbSchema"; - } - if (message.fkTable != null && message.hasOwnProperty("fkTable")) + if (message.fkTable != null && $Object.hasOwnProperty.call(message, "fkTable")) object.fkTable = message.fkTable; return object; }; @@ -3369,23 +3974,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandGetCrossReference.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandGetCrossReference.prototype.toJSON = function() { + return CommandGetCrossReference.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandGetCrossReference + * Gets the type url for CommandGetCrossReference * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandGetCrossReference * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandGetCrossReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandGetCrossReference"; + CommandGetCrossReference.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandGetCrossReference"; }; return CommandGetCrossReference; @@ -3395,26 +3999,39 @@ $root.arrow = (function() { /** * Properties of an ActionCreatePreparedStatementRequest. - * @memberof arrow.flight.protocol.sql - * @interface IActionCreatePreparedStatementRequest + * @typedef {Object} arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties * @property {string|null} [query] ActionCreatePreparedStatementRequest query * @property {Uint8Array|null} [transactionId] ActionCreatePreparedStatementRequest transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionCreatePreparedStatementRequest. + * @memberof arrow.flight.protocol.sql + * @interface IActionCreatePreparedStatementRequest + * @augments arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties instead. + */ + + /** + * Shape of an ActionCreatePreparedStatementRequest. + * @typedef {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties} arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape */ /** * Constructs a new ActionCreatePreparedStatementRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionCreatePreparedStatementRequest. - * @implements IActionCreatePreparedStatementRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionCreatePreparedStatementRequest(properties) { + var ActionCreatePreparedStatementRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionCreatePreparedStatementRequest query. @@ -3435,13 +4052,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * ActionCreatePreparedStatementRequest _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest - * @instance - */ - Object.defineProperty(ActionCreatePreparedStatementRequest.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(ActionCreatePreparedStatementRequest.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -3451,10 +4063,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest} ActionCreatePreparedStatementRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest; + * }} */ - ActionCreatePreparedStatementRequest.create = function create(properties) { + ActionCreatePreparedStatementRequest.create = function(properties) { return new ActionCreatePreparedStatementRequest(properties); }; @@ -3463,17 +4079,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest} message ActionCreatePreparedStatementRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties} message ActionCreatePreparedStatementRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedStatementRequest.encode = function encode(message, writer) { + ActionCreatePreparedStatementRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.query != null && Object.hasOwnProperty.call(message, "query")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.query != null && $Object.hasOwnProperty.call(message, "query") && message.query !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.query); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3482,12 +4105,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementRequest} message ActionCreatePreparedStatementRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Properties} message ActionCreatePreparedStatementRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedStatementRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionCreatePreparedStatementRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3497,30 +4120,67 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest} ActionCreatePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape} ActionCreatePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedStatementRequest.decode = function decode(reader, length) { + ActionCreatePreparedStatementRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.query = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.query = value; + else + delete message.query; + continue; } case 2: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3530,11 +4190,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest} ActionCreatePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest & arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest.$Shape} ActionCreatePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedStatementRequest.decodeDelimited = function decodeDelimited(reader) { + ActionCreatePreparedStatementRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3548,14 +4208,18 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionCreatePreparedStatementRequest.verify = function verify(message) { + ActionCreatePreparedStatementRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) if (!$util.isString(message.query)) return "query: string expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; @@ -3571,12 +4235,19 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest} ActionCreatePreparedStatementRequest */ - ActionCreatePreparedStatementRequest.fromObject = function fromObject(object) { + ActionCreatePreparedStatementRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest(); if (object.query != null) - message.query = String(object.query); + if (typeof object.query !== "string" || object.query.length) + message.query = $String(object.query); if (object.transactionId != null) if (typeof object.transactionId === "string") $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); @@ -3594,19 +4265,20 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionCreatePreparedStatementRequest.toObject = function toObject(message, options) { + ActionCreatePreparedStatementRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.query = ""; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) object.query = message.query; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -3617,23 +4289,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionCreatePreparedStatementRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionCreatePreparedStatementRequest.prototype.toJSON = function() { + return ActionCreatePreparedStatementRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionCreatePreparedStatementRequest + * Gets the type url for ActionCreatePreparedStatementRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionCreatePreparedStatementRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest"; + ActionCreatePreparedStatementRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionCreatePreparedStatementRequest"; }; return ActionCreatePreparedStatementRequest; @@ -3643,26 +4314,39 @@ $root.arrow = (function() { /** * Properties of a SubstraitPlan. - * @memberof arrow.flight.protocol.sql - * @interface ISubstraitPlan + * @typedef {Object} arrow.flight.protocol.sql.SubstraitPlan.$Properties * @property {Uint8Array|null} [plan] SubstraitPlan plan * @property {string|null} [version] SubstraitPlan version + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a SubstraitPlan. + * @memberof arrow.flight.protocol.sql + * @interface ISubstraitPlan + * @augments arrow.flight.protocol.sql.SubstraitPlan.$Properties + * @deprecated Use arrow.flight.protocol.sql.SubstraitPlan.$Properties instead. + */ + + /** + * Shape of a SubstraitPlan. + * @typedef {arrow.flight.protocol.sql.SubstraitPlan.$Properties} arrow.flight.protocol.sql.SubstraitPlan.$Shape */ /** * Constructs a new SubstraitPlan. * @memberof arrow.flight.protocol.sql * @classdesc Represents a SubstraitPlan. - * @implements ISubstraitPlan * @constructor - * @param {arrow.flight.protocol.sql.ISubstraitPlan=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.SubstraitPlan.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SubstraitPlan(properties) { + var SubstraitPlan = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SubstraitPlan plan. @@ -3685,10 +4369,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.SubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ISubstraitPlan=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.SubstraitPlan.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.SubstraitPlan} SubstraitPlan instance + * @type {{ + * (properties: arrow.flight.protocol.sql.SubstraitPlan.$Shape): arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape; + * (properties?: arrow.flight.protocol.sql.SubstraitPlan.$Properties): arrow.flight.protocol.sql.SubstraitPlan; + * }} */ - SubstraitPlan.create = function create(properties) { + SubstraitPlan.create = function(properties) { return new SubstraitPlan(properties); }; @@ -3697,17 +4385,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.SubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ISubstraitPlan} message SubstraitPlan message or plain object to encode + * @param {arrow.flight.protocol.sql.SubstraitPlan.$Properties} message SubstraitPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SubstraitPlan.encode = function encode(message, writer) { + SubstraitPlan.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.plan != null && Object.hasOwnProperty.call(message, "plan")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan") && message.plan.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.plan); - if (message.version != null && Object.hasOwnProperty.call(message, "version")) + if (message.version != null && $Object.hasOwnProperty.call(message, "version") && message.version !== "") writer.uint32(/* id 2, wireType 2 =*/18).string(message.version); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3716,12 +4411,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.SubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ISubstraitPlan} message SubstraitPlan message or plain object to encode + * @param {arrow.flight.protocol.sql.SubstraitPlan.$Properties} message SubstraitPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SubstraitPlan.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SubstraitPlan.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3731,30 +4426,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.SubstraitPlan} SubstraitPlan + * @returns {arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape} SubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SubstraitPlan.decode = function decode(reader, length) { + SubstraitPlan.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.SubstraitPlan(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.SubstraitPlan(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.plan = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.plan = value; + else + delete message.plan; + continue; } case 2: { - message.version = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.version = value; + else + delete message.version; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -3764,11 +4498,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.SubstraitPlan * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.SubstraitPlan} SubstraitPlan + * @returns {arrow.flight.protocol.sql.SubstraitPlan & arrow.flight.protocol.sql.SubstraitPlan.$Shape} SubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SubstraitPlan.decodeDelimited = function decodeDelimited(reader) { + SubstraitPlan.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -3782,13 +4516,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SubstraitPlan.verify = function verify(message) { + SubstraitPlan.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.plan != null && message.hasOwnProperty("plan")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) if (!(message.plan && typeof message.plan.length === "number" || $util.isString(message.plan))) return "plan: buffer expected"; - if (message.version != null && message.hasOwnProperty("version")) + if (message.version != null && $Object.hasOwnProperty.call(message, "version")) if (!$util.isString(message.version)) return "version: string expected"; return null; @@ -3802,17 +4540,25 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.SubstraitPlan} SubstraitPlan */ - SubstraitPlan.fromObject = function fromObject(object) { + SubstraitPlan.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.SubstraitPlan) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.SubstraitPlan: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.SubstraitPlan(); if (object.plan != null) - if (typeof object.plan === "string") - $util.base64.decode(object.plan, message.plan = $util.newBuffer($util.base64.length(object.plan)), 0); - else if (object.plan.length >= 0) - message.plan = object.plan; + if (object.plan.length) + if (typeof object.plan === "string") + $util.base64.decode(object.plan, message.plan = $util.newBuffer($util.base64.length(object.plan)), 0); + else if (object.plan.length >= 0) + message.plan = object.plan; if (object.version != null) - message.version = String(object.version); + if (typeof object.version !== "string" || object.version.length) + message.version = $String(object.version); return message; }; @@ -3825,23 +4571,27 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SubstraitPlan.toObject = function toObject(message, options) { + SubstraitPlan.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.plan = ""; else { object.plan = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.plan = $util.newBuffer(object.plan); } object.version = ""; } - if (message.plan != null && message.hasOwnProperty("plan")) - object.plan = options.bytes === String ? $util.base64.encode(message.plan, 0, message.plan.length) : options.bytes === Array ? Array.prototype.slice.call(message.plan) : message.plan; - if (message.version != null && message.hasOwnProperty("version")) + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) + object.plan = options.bytes === $String ? $util.base64.encode(message.plan, 0, message.plan.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.plan) : message.plan; + if (message.version != null && $Object.hasOwnProperty.call(message, "version")) object.version = message.version; return object; }; @@ -3853,23 +4603,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - SubstraitPlan.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SubstraitPlan.prototype.toJSON = function() { + return SubstraitPlan.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SubstraitPlan + * Gets the type url for SubstraitPlan * @function getTypeUrl * @memberof arrow.flight.protocol.sql.SubstraitPlan * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SubstraitPlan.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.SubstraitPlan"; + SubstraitPlan.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.SubstraitPlan"; }; return SubstraitPlan; @@ -3877,32 +4626,45 @@ $root.arrow = (function() { sql.ActionCreatePreparedSubstraitPlanRequest = (function() { + /** + * Properties of an ActionCreatePreparedSubstraitPlanRequest. + * @typedef {Object} arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties + * @property {arrow.flight.protocol.sql.SubstraitPlan.$Properties|null} [plan] ActionCreatePreparedSubstraitPlanRequest plan + * @property {Uint8Array|null} [transactionId] ActionCreatePreparedSubstraitPlanRequest transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionCreatePreparedSubstraitPlanRequest. * @memberof arrow.flight.protocol.sql * @interface IActionCreatePreparedSubstraitPlanRequest - * @property {arrow.flight.protocol.sql.ISubstraitPlan|null} [plan] ActionCreatePreparedSubstraitPlanRequest plan - * @property {Uint8Array|null} [transactionId] ActionCreatePreparedSubstraitPlanRequest transactionId + * @augments arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties instead. + */ + + /** + * Shape of an ActionCreatePreparedSubstraitPlanRequest. + * @typedef {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties} arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape */ /** * Constructs a new ActionCreatePreparedSubstraitPlanRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionCreatePreparedSubstraitPlanRequest. - * @implements IActionCreatePreparedSubstraitPlanRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionCreatePreparedSubstraitPlanRequest(properties) { + var ActionCreatePreparedSubstraitPlanRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionCreatePreparedSubstraitPlanRequest plan. - * @member {arrow.flight.protocol.sql.ISubstraitPlan|null|undefined} plan + * @member {arrow.flight.protocol.sql.SubstraitPlan.$Properties|null|undefined} plan * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @instance */ @@ -3919,13 +4681,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * ActionCreatePreparedSubstraitPlanRequest _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest - * @instance - */ - Object.defineProperty(ActionCreatePreparedSubstraitPlanRequest.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(ActionCreatePreparedSubstraitPlanRequest.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -3935,10 +4692,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest} ActionCreatePreparedSubstraitPlanRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest; + * }} */ - ActionCreatePreparedSubstraitPlanRequest.create = function create(properties) { + ActionCreatePreparedSubstraitPlanRequest.create = function(properties) { return new ActionCreatePreparedSubstraitPlanRequest(properties); }; @@ -3947,17 +4708,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest} message ActionCreatePreparedSubstraitPlanRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties} message ActionCreatePreparedSubstraitPlanRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedSubstraitPlanRequest.encode = function encode(message, writer) { + ActionCreatePreparedSubstraitPlanRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.plan != null && Object.hasOwnProperty.call(message, "plan")) - $root.arrow.flight.protocol.sql.SubstraitPlan.encode(message.plan, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) + $root.arrow.flight.protocol.sql.SubstraitPlan.encode(message.plan, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -3966,12 +4734,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedSubstraitPlanRequest} message ActionCreatePreparedSubstraitPlanRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Properties} message ActionCreatePreparedSubstraitPlanRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedSubstraitPlanRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionCreatePreparedSubstraitPlanRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -3981,30 +4749,64 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest} ActionCreatePreparedSubstraitPlanRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape} ActionCreatePreparedSubstraitPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedSubstraitPlanRequest.decode = function decode(reader, length) { + ActionCreatePreparedSubstraitPlanRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.decode(reader, reader.uint32(), $undefined, _depth + 1, message.plan); + continue; } case 2: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4014,11 +4816,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest} ActionCreatePreparedSubstraitPlanRequest + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest & arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.$Shape} ActionCreatePreparedSubstraitPlanRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedSubstraitPlanRequest.decodeDelimited = function decodeDelimited(reader) { + ActionCreatePreparedSubstraitPlanRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4032,16 +4834,20 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionCreatePreparedSubstraitPlanRequest.verify = function verify(message) { + ActionCreatePreparedSubstraitPlanRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.plan != null && message.hasOwnProperty("plan")) { - var error = $root.arrow.flight.protocol.sql.SubstraitPlan.verify(message.plan); + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) { + var error = $root.arrow.flight.protocol.sql.SubstraitPlan.verify(message.plan, _depth + 1); if (error) return "plan." + error; } - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; @@ -4057,14 +4863,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest} ActionCreatePreparedSubstraitPlanRequest */ - ActionCreatePreparedSubstraitPlanRequest.fromObject = function fromObject(object) { + ActionCreatePreparedSubstraitPlanRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest(); if (object.plan != null) { - if (typeof object.plan !== "object") - throw TypeError(".arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.plan: object expected"); - message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.fromObject(object.plan); + if (!$util.isObject(object.plan)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest.plan: object expected"); + message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.fromObject(object.plan, _depth + 1); } if (object.transactionId != null) if (typeof object.transactionId === "string") @@ -4083,19 +4895,20 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionCreatePreparedSubstraitPlanRequest.toObject = function toObject(message, options) { + ActionCreatePreparedSubstraitPlanRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.plan = null; - if (message.plan != null && message.hasOwnProperty("plan")) - object.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.toObject(message.plan, options); - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) + object.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.toObject(message.plan, options, _depth + 1); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -4106,23 +4919,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionCreatePreparedSubstraitPlanRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionCreatePreparedSubstraitPlanRequest.prototype.toJSON = function() { + return ActionCreatePreparedSubstraitPlanRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionCreatePreparedSubstraitPlanRequest + * Gets the type url for ActionCreatePreparedSubstraitPlanRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionCreatePreparedSubstraitPlanRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest"; + ActionCreatePreparedSubstraitPlanRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionCreatePreparedSubstraitPlanRequest"; }; return ActionCreatePreparedSubstraitPlanRequest; @@ -4132,27 +4944,40 @@ $root.arrow = (function() { /** * Properties of an ActionCreatePreparedStatementResult. - * @memberof arrow.flight.protocol.sql - * @interface IActionCreatePreparedStatementResult + * @typedef {Object} arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties * @property {Uint8Array|null} [preparedStatementHandle] ActionCreatePreparedStatementResult preparedStatementHandle * @property {Uint8Array|null} [datasetSchema] ActionCreatePreparedStatementResult datasetSchema * @property {Uint8Array|null} [parameterSchema] ActionCreatePreparedStatementResult parameterSchema + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionCreatePreparedStatementResult. + * @memberof arrow.flight.protocol.sql + * @interface IActionCreatePreparedStatementResult + * @augments arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties instead. + */ + + /** + * Shape of an ActionCreatePreparedStatementResult. + * @typedef {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties} arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape */ /** * Constructs a new ActionCreatePreparedStatementResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionCreatePreparedStatementResult. - * @implements IActionCreatePreparedStatementResult * @constructor - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionCreatePreparedStatementResult(properties) { + var ActionCreatePreparedStatementResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionCreatePreparedStatementResult preparedStatementHandle. @@ -4183,10 +5008,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult} ActionCreatePreparedStatementResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties): arrow.flight.protocol.sql.ActionCreatePreparedStatementResult; + * }} */ - ActionCreatePreparedStatementResult.create = function create(properties) { + ActionCreatePreparedStatementResult.create = function(properties) { return new ActionCreatePreparedStatementResult(properties); }; @@ -4195,19 +5024,26 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementResult} message ActionCreatePreparedStatementResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties} message ActionCreatePreparedStatementResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedStatementResult.encode = function encode(message, writer) { + ActionCreatePreparedStatementResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.preparedStatementHandle != null && Object.hasOwnProperty.call(message, "preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle") && message.preparedStatementHandle.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.preparedStatementHandle); - if (message.datasetSchema != null && Object.hasOwnProperty.call(message, "datasetSchema")) + if (message.datasetSchema != null && $Object.hasOwnProperty.call(message, "datasetSchema") && message.datasetSchema.length) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.datasetSchema); - if (message.parameterSchema != null && Object.hasOwnProperty.call(message, "parameterSchema")) + if (message.parameterSchema != null && $Object.hasOwnProperty.call(message, "parameterSchema") && message.parameterSchema.length) writer.uint32(/* id 3, wireType 2 =*/26).bytes(message.parameterSchema); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4216,12 +5052,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IActionCreatePreparedStatementResult} message ActionCreatePreparedStatementResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Properties} message ActionCreatePreparedStatementResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCreatePreparedStatementResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionCreatePreparedStatementResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4231,34 +5067,78 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult} ActionCreatePreparedStatementResult + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape} ActionCreatePreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedStatementResult.decode = function decode(reader, length) { + ActionCreatePreparedStatementResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.preparedStatementHandle = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.preparedStatementHandle = value; + else + delete message.preparedStatementHandle; + continue; } case 2: { - message.datasetSchema = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.datasetSchema = value; + else + delete message.datasetSchema; + continue; } case 3: { - message.parameterSchema = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.parameterSchema = value; + else + delete message.parameterSchema; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4268,11 +5148,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult} ActionCreatePreparedStatementResult + * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult & arrow.flight.protocol.sql.ActionCreatePreparedStatementResult.$Shape} ActionCreatePreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCreatePreparedStatementResult.decodeDelimited = function decodeDelimited(reader) { + ActionCreatePreparedStatementResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4286,16 +5166,20 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionCreatePreparedStatementResult.verify = function verify(message) { + ActionCreatePreparedStatementResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) if (!(message.preparedStatementHandle && typeof message.preparedStatementHandle.length === "number" || $util.isString(message.preparedStatementHandle))) return "preparedStatementHandle: buffer expected"; - if (message.datasetSchema != null && message.hasOwnProperty("datasetSchema")) + if (message.datasetSchema != null && $Object.hasOwnProperty.call(message, "datasetSchema")) if (!(message.datasetSchema && typeof message.datasetSchema.length === "number" || $util.isString(message.datasetSchema))) return "datasetSchema: buffer expected"; - if (message.parameterSchema != null && message.hasOwnProperty("parameterSchema")) + if (message.parameterSchema != null && $Object.hasOwnProperty.call(message, "parameterSchema")) if (!(message.parameterSchema && typeof message.parameterSchema.length === "number" || $util.isString(message.parameterSchema))) return "parameterSchema: buffer expected"; return null; @@ -4309,25 +5193,34 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionCreatePreparedStatementResult} ActionCreatePreparedStatementResult */ - ActionCreatePreparedStatementResult.fromObject = function fromObject(object) { + ActionCreatePreparedStatementResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCreatePreparedStatementResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionCreatePreparedStatementResult(); if (object.preparedStatementHandle != null) - if (typeof object.preparedStatementHandle === "string") - $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); - else if (object.preparedStatementHandle.length >= 0) - message.preparedStatementHandle = object.preparedStatementHandle; + if (object.preparedStatementHandle.length) + if (typeof object.preparedStatementHandle === "string") + $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); + else if (object.preparedStatementHandle.length >= 0) + message.preparedStatementHandle = object.preparedStatementHandle; if (object.datasetSchema != null) - if (typeof object.datasetSchema === "string") - $util.base64.decode(object.datasetSchema, message.datasetSchema = $util.newBuffer($util.base64.length(object.datasetSchema)), 0); - else if (object.datasetSchema.length >= 0) - message.datasetSchema = object.datasetSchema; + if (object.datasetSchema.length) + if (typeof object.datasetSchema === "string") + $util.base64.decode(object.datasetSchema, message.datasetSchema = $util.newBuffer($util.base64.length(object.datasetSchema)), 0); + else if (object.datasetSchema.length >= 0) + message.datasetSchema = object.datasetSchema; if (object.parameterSchema != null) - if (typeof object.parameterSchema === "string") - $util.base64.decode(object.parameterSchema, message.parameterSchema = $util.newBuffer($util.base64.length(object.parameterSchema)), 0); - else if (object.parameterSchema.length >= 0) - message.parameterSchema = object.parameterSchema; + if (object.parameterSchema.length) + if (typeof object.parameterSchema === "string") + $util.base64.decode(object.parameterSchema, message.parameterSchema = $util.newBuffer($util.base64.length(object.parameterSchema)), 0); + else if (object.parameterSchema.length >= 0) + message.parameterSchema = object.parameterSchema; return message; }; @@ -4340,39 +5233,43 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionCreatePreparedStatementResult.toObject = function toObject(message, options) { + ActionCreatePreparedStatementResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.preparedStatementHandle = ""; else { object.preparedStatementHandle = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.preparedStatementHandle = $util.newBuffer(object.preparedStatementHandle); } - if (options.bytes === String) + if (options.bytes === $String) object.datasetSchema = ""; else { object.datasetSchema = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.datasetSchema = $util.newBuffer(object.datasetSchema); } - if (options.bytes === String) + if (options.bytes === $String) object.parameterSchema = ""; else { object.parameterSchema = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.parameterSchema = $util.newBuffer(object.parameterSchema); } } - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) - object.preparedStatementHandle = options.bytes === String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; - if (message.datasetSchema != null && message.hasOwnProperty("datasetSchema")) - object.datasetSchema = options.bytes === String ? $util.base64.encode(message.datasetSchema, 0, message.datasetSchema.length) : options.bytes === Array ? Array.prototype.slice.call(message.datasetSchema) : message.datasetSchema; - if (message.parameterSchema != null && message.hasOwnProperty("parameterSchema")) - object.parameterSchema = options.bytes === String ? $util.base64.encode(message.parameterSchema, 0, message.parameterSchema.length) : options.bytes === Array ? Array.prototype.slice.call(message.parameterSchema) : message.parameterSchema; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) + object.preparedStatementHandle = options.bytes === $String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; + if (message.datasetSchema != null && $Object.hasOwnProperty.call(message, "datasetSchema")) + object.datasetSchema = options.bytes === $String ? $util.base64.encode(message.datasetSchema, 0, message.datasetSchema.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.datasetSchema) : message.datasetSchema; + if (message.parameterSchema != null && $Object.hasOwnProperty.call(message, "parameterSchema")) + object.parameterSchema = options.bytes === $String ? $util.base64.encode(message.parameterSchema, 0, message.parameterSchema.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.parameterSchema) : message.parameterSchema; return object; }; @@ -4383,23 +5280,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionCreatePreparedStatementResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionCreatePreparedStatementResult.prototype.toJSON = function() { + return ActionCreatePreparedStatementResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionCreatePreparedStatementResult + * Gets the type url for ActionCreatePreparedStatementResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionCreatePreparedStatementResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionCreatePreparedStatementResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionCreatePreparedStatementResult"; + ActionCreatePreparedStatementResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionCreatePreparedStatementResult"; }; return ActionCreatePreparedStatementResult; @@ -4407,27 +5303,40 @@ $root.arrow = (function() { sql.ActionClosePreparedStatementRequest = (function() { + /** + * Properties of an ActionClosePreparedStatementRequest. + * @typedef {Object} arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties + * @property {Uint8Array|null} [preparedStatementHandle] ActionClosePreparedStatementRequest preparedStatementHandle + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionClosePreparedStatementRequest. * @memberof arrow.flight.protocol.sql * @interface IActionClosePreparedStatementRequest - * @property {Uint8Array|null} [preparedStatementHandle] ActionClosePreparedStatementRequest preparedStatementHandle + * @augments arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties instead. + */ + + /** + * Shape of an ActionClosePreparedStatementRequest. + * @typedef {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties} arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape */ /** * Constructs a new ActionClosePreparedStatementRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionClosePreparedStatementRequest. - * @implements IActionClosePreparedStatementRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionClosePreparedStatementRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionClosePreparedStatementRequest(properties) { + var ActionClosePreparedStatementRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionClosePreparedStatementRequest preparedStatementHandle. @@ -4442,10 +5351,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionClosePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionClosePreparedStatementRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest} ActionClosePreparedStatementRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties): arrow.flight.protocol.sql.ActionClosePreparedStatementRequest; + * }} */ - ActionClosePreparedStatementRequest.create = function create(properties) { + ActionClosePreparedStatementRequest.create = function(properties) { return new ActionClosePreparedStatementRequest(properties); }; @@ -4454,15 +5367,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionClosePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionClosePreparedStatementRequest} message ActionClosePreparedStatementRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties} message ActionClosePreparedStatementRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionClosePreparedStatementRequest.encode = function encode(message, writer) { + ActionClosePreparedStatementRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.preparedStatementHandle != null && Object.hasOwnProperty.call(message, "preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle") && message.preparedStatementHandle.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.preparedStatementHandle); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4471,12 +5391,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionClosePreparedStatementRequest * @static - * @param {arrow.flight.protocol.sql.IActionClosePreparedStatementRequest} message ActionClosePreparedStatementRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Properties} message ActionClosePreparedStatementRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionClosePreparedStatementRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionClosePreparedStatementRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4486,26 +5406,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest} ActionClosePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape} ActionClosePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionClosePreparedStatementRequest.decode = function decode(reader, length) { + ActionClosePreparedStatementRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionClosePreparedStatementRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionClosePreparedStatementRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.preparedStatementHandle = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.preparedStatementHandle = value; + else + delete message.preparedStatementHandle; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4515,11 +5469,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionClosePreparedStatementRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest} ActionClosePreparedStatementRequest + * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest & arrow.flight.protocol.sql.ActionClosePreparedStatementRequest.$Shape} ActionClosePreparedStatementRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionClosePreparedStatementRequest.decodeDelimited = function decodeDelimited(reader) { + ActionClosePreparedStatementRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4533,10 +5487,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionClosePreparedStatementRequest.verify = function verify(message) { + ActionClosePreparedStatementRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) if (!(message.preparedStatementHandle && typeof message.preparedStatementHandle.length === "number" || $util.isString(message.preparedStatementHandle))) return "preparedStatementHandle: buffer expected"; return null; @@ -4550,15 +5508,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionClosePreparedStatementRequest} ActionClosePreparedStatementRequest */ - ActionClosePreparedStatementRequest.fromObject = function fromObject(object) { + ActionClosePreparedStatementRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionClosePreparedStatementRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionClosePreparedStatementRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionClosePreparedStatementRequest(); if (object.preparedStatementHandle != null) - if (typeof object.preparedStatementHandle === "string") - $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); - else if (object.preparedStatementHandle.length >= 0) - message.preparedStatementHandle = object.preparedStatementHandle; + if (object.preparedStatementHandle.length) + if (typeof object.preparedStatementHandle === "string") + $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); + else if (object.preparedStatementHandle.length >= 0) + message.preparedStatementHandle = object.preparedStatementHandle; return message; }; @@ -4571,20 +5536,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionClosePreparedStatementRequest.toObject = function toObject(message, options) { + ActionClosePreparedStatementRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.preparedStatementHandle = ""; else { object.preparedStatementHandle = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.preparedStatementHandle = $util.newBuffer(object.preparedStatementHandle); } - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) - object.preparedStatementHandle = options.bytes === String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) + object.preparedStatementHandle = options.bytes === $String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; return object; }; @@ -4595,23 +5564,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionClosePreparedStatementRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionClosePreparedStatementRequest.prototype.toJSON = function() { + return ActionClosePreparedStatementRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionClosePreparedStatementRequest + * Gets the type url for ActionClosePreparedStatementRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionClosePreparedStatementRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionClosePreparedStatementRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionClosePreparedStatementRequest"; + ActionClosePreparedStatementRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionClosePreparedStatementRequest"; }; return ActionClosePreparedStatementRequest; @@ -4619,36 +5587,53 @@ $root.arrow = (function() { sql.ActionBeginTransactionRequest = (function() { + /** + * Properties of an ActionBeginTransactionRequest. + * @typedef {Object} arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionBeginTransactionRequest. * @memberof arrow.flight.protocol.sql * @interface IActionBeginTransactionRequest + * @augments arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties instead. + */ + + /** + * Shape of an ActionBeginTransactionRequest. + * @typedef {arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties} arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape */ /** * Constructs a new ActionBeginTransactionRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionBeginTransactionRequest. - * @implements IActionBeginTransactionRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionBeginTransactionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionBeginTransactionRequest(properties) { + var ActionBeginTransactionRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Creates a new ActionBeginTransactionRequest instance using the specified properties. * @function create * @memberof arrow.flight.protocol.sql.ActionBeginTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest} ActionBeginTransactionRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape): arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties): arrow.flight.protocol.sql.ActionBeginTransactionRequest; + * }} */ - ActionBeginTransactionRequest.create = function create(properties) { + ActionBeginTransactionRequest.create = function(properties) { return new ActionBeginTransactionRequest(properties); }; @@ -4657,13 +5642,20 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionBeginTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionRequest} message ActionBeginTransactionRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties} message ActionBeginTransactionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginTransactionRequest.encode = function encode(message, writer) { + ActionBeginTransactionRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4672,12 +5664,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionBeginTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionRequest} message ActionBeginTransactionRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Properties} message ActionBeginTransactionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginTransactionRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionBeginTransactionRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4687,22 +5679,48 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest} ActionBeginTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape} ActionBeginTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginTransactionRequest.decode = function decode(reader, length) { + ActionBeginTransactionRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionBeginTransactionRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionBeginTransactionRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - default: - reader.skipType(tag & 7); + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4712,11 +5730,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionBeginTransactionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest} ActionBeginTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest & arrow.flight.protocol.sql.ActionBeginTransactionRequest.$Shape} ActionBeginTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginTransactionRequest.decodeDelimited = function decodeDelimited(reader) { + ActionBeginTransactionRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4730,9 +5748,13 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionBeginTransactionRequest.verify = function verify(message) { + ActionBeginTransactionRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; return null; }; @@ -4744,9 +5766,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionBeginTransactionRequest} ActionBeginTransactionRequest */ - ActionBeginTransactionRequest.fromObject = function fromObject(object) { + ActionBeginTransactionRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionBeginTransactionRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionBeginTransactionRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); return new $root.arrow.flight.protocol.sql.ActionBeginTransactionRequest(); }; @@ -4759,7 +5787,7 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionBeginTransactionRequest.toObject = function toObject() { + ActionBeginTransactionRequest.toObject = function () { return {}; }; @@ -4770,23 +5798,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionBeginTransactionRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionBeginTransactionRequest.prototype.toJSON = function() { + return ActionBeginTransactionRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionBeginTransactionRequest + * Gets the type url for ActionBeginTransactionRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionBeginTransactionRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionBeginTransactionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionBeginTransactionRequest"; + ActionBeginTransactionRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionBeginTransactionRequest"; }; return ActionBeginTransactionRequest; @@ -4796,26 +5823,39 @@ $root.arrow = (function() { /** * Properties of an ActionBeginSavepointRequest. - * @memberof arrow.flight.protocol.sql - * @interface IActionBeginSavepointRequest + * @typedef {Object} arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties * @property {Uint8Array|null} [transactionId] ActionBeginSavepointRequest transactionId * @property {string|null} [name] ActionBeginSavepointRequest name + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionBeginSavepointRequest. + * @memberof arrow.flight.protocol.sql + * @interface IActionBeginSavepointRequest + * @augments arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties instead. + */ + + /** + * Shape of an ActionBeginSavepointRequest. + * @typedef {arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties} arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape */ /** * Constructs a new ActionBeginSavepointRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionBeginSavepointRequest. - * @implements IActionBeginSavepointRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionBeginSavepointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionBeginSavepointRequest(properties) { + var ActionBeginSavepointRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionBeginSavepointRequest transactionId. @@ -4838,10 +5878,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionBeginSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest} ActionBeginSavepointRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape): arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties): arrow.flight.protocol.sql.ActionBeginSavepointRequest; + * }} */ - ActionBeginSavepointRequest.create = function create(properties) { + ActionBeginSavepointRequest.create = function(properties) { return new ActionBeginSavepointRequest(properties); }; @@ -4850,17 +5894,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionBeginSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointRequest} message ActionBeginSavepointRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties} message ActionBeginSavepointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginSavepointRequest.encode = function encode(message, writer) { + ActionBeginSavepointRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId") && message.transactionId.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.transactionId); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name") && message.name !== "") writer.uint32(/* id 2, wireType 2 =*/18).string(message.name); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -4869,12 +5920,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionBeginSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointRequest} message ActionBeginSavepointRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Properties} message ActionBeginSavepointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginSavepointRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionBeginSavepointRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -4884,30 +5935,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest} ActionBeginSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape} ActionBeginSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginSavepointRequest.decode = function decode(reader, length) { + ActionBeginSavepointRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionBeginSavepointRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionBeginSavepointRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.transactionId = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.transactionId = value; + else + delete message.transactionId; + continue; } case 2: { - message.name = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.name = value; + else + delete message.name; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -4917,11 +6007,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionBeginSavepointRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest} ActionBeginSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest & arrow.flight.protocol.sql.ActionBeginSavepointRequest.$Shape} ActionBeginSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginSavepointRequest.decodeDelimited = function decodeDelimited(reader) { + ActionBeginSavepointRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -4935,13 +6025,17 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionBeginSavepointRequest.verify = function verify(message) { + ActionBeginSavepointRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; return null; @@ -4955,17 +6049,25 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionBeginSavepointRequest} ActionBeginSavepointRequest */ - ActionBeginSavepointRequest.fromObject = function fromObject(object) { + ActionBeginSavepointRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionBeginSavepointRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionBeginSavepointRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionBeginSavepointRequest(); if (object.transactionId != null) - if (typeof object.transactionId === "string") - $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); - else if (object.transactionId.length >= 0) - message.transactionId = object.transactionId; + if (object.transactionId.length) + if (typeof object.transactionId === "string") + $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); + else if (object.transactionId.length >= 0) + message.transactionId = object.transactionId; if (object.name != null) - message.name = String(object.name); + if (typeof object.name !== "string" || object.name.length) + message.name = $String(object.name); return message; }; @@ -4978,23 +6080,27 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionBeginSavepointRequest.toObject = function toObject(message, options) { + ActionBeginSavepointRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.transactionId = ""; else { object.transactionId = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.transactionId = $util.newBuffer(object.transactionId); } object.name = ""; } - if (message.transactionId != null && message.hasOwnProperty("transactionId")) - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (message.name != null && message.hasOwnProperty("name")) + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; return object; }; @@ -5006,23 +6112,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionBeginSavepointRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionBeginSavepointRequest.prototype.toJSON = function() { + return ActionBeginSavepointRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionBeginSavepointRequest + * Gets the type url for ActionBeginSavepointRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionBeginSavepointRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionBeginSavepointRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionBeginSavepointRequest"; + ActionBeginSavepointRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionBeginSavepointRequest"; }; return ActionBeginSavepointRequest; @@ -5030,27 +6135,40 @@ $root.arrow = (function() { sql.ActionBeginTransactionResult = (function() { + /** + * Properties of an ActionBeginTransactionResult. + * @typedef {Object} arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties + * @property {Uint8Array|null} [transactionId] ActionBeginTransactionResult transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionBeginTransactionResult. * @memberof arrow.flight.protocol.sql * @interface IActionBeginTransactionResult - * @property {Uint8Array|null} [transactionId] ActionBeginTransactionResult transactionId + * @augments arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties instead. + */ + + /** + * Shape of an ActionBeginTransactionResult. + * @typedef {arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties} arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape */ /** * Constructs a new ActionBeginTransactionResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionBeginTransactionResult. - * @implements IActionBeginTransactionResult * @constructor - * @param {arrow.flight.protocol.sql.IActionBeginTransactionResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionBeginTransactionResult(properties) { + var ActionBeginTransactionResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionBeginTransactionResult transactionId. @@ -5065,10 +6183,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionBeginTransactionResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult} ActionBeginTransactionResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape): arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties): arrow.flight.protocol.sql.ActionBeginTransactionResult; + * }} */ - ActionBeginTransactionResult.create = function create(properties) { + ActionBeginTransactionResult.create = function(properties) { return new ActionBeginTransactionResult(properties); }; @@ -5077,15 +6199,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionBeginTransactionResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionResult} message ActionBeginTransactionResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties} message ActionBeginTransactionResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginTransactionResult.encode = function encode(message, writer) { + ActionBeginTransactionResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId") && message.transactionId.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5094,12 +6223,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionBeginTransactionResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginTransactionResult} message ActionBeginTransactionResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginTransactionResult.$Properties} message ActionBeginTransactionResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginTransactionResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionBeginTransactionResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5109,26 +6238,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult} ActionBeginTransactionResult + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape} ActionBeginTransactionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginTransactionResult.decode = function decode(reader, length) { + ActionBeginTransactionResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionBeginTransactionResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionBeginTransactionResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.transactionId = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.transactionId = value; + else + delete message.transactionId; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5138,11 +6301,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionBeginTransactionResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult} ActionBeginTransactionResult + * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult & arrow.flight.protocol.sql.ActionBeginTransactionResult.$Shape} ActionBeginTransactionResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginTransactionResult.decodeDelimited = function decodeDelimited(reader) { + ActionBeginTransactionResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5156,10 +6319,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionBeginTransactionResult.verify = function verify(message) { + ActionBeginTransactionResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; return null; @@ -5173,15 +6340,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionBeginTransactionResult} ActionBeginTransactionResult */ - ActionBeginTransactionResult.fromObject = function fromObject(object) { + ActionBeginTransactionResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionBeginTransactionResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionBeginTransactionResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionBeginTransactionResult(); if (object.transactionId != null) - if (typeof object.transactionId === "string") - $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); - else if (object.transactionId.length >= 0) - message.transactionId = object.transactionId; + if (object.transactionId.length) + if (typeof object.transactionId === "string") + $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); + else if (object.transactionId.length >= 0) + message.transactionId = object.transactionId; return message; }; @@ -5194,20 +6368,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionBeginTransactionResult.toObject = function toObject(message, options) { + ActionBeginTransactionResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.transactionId = ""; else { object.transactionId = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.transactionId = $util.newBuffer(object.transactionId); } - if (message.transactionId != null && message.hasOwnProperty("transactionId")) - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -5218,23 +6396,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionBeginTransactionResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionBeginTransactionResult.prototype.toJSON = function() { + return ActionBeginTransactionResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionBeginTransactionResult + * Gets the type url for ActionBeginTransactionResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionBeginTransactionResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionBeginTransactionResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionBeginTransactionResult"; + ActionBeginTransactionResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionBeginTransactionResult"; }; return ActionBeginTransactionResult; @@ -5242,27 +6419,40 @@ $root.arrow = (function() { sql.ActionBeginSavepointResult = (function() { + /** + * Properties of an ActionBeginSavepointResult. + * @typedef {Object} arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties + * @property {Uint8Array|null} [savepointId] ActionBeginSavepointResult savepointId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionBeginSavepointResult. * @memberof arrow.flight.protocol.sql * @interface IActionBeginSavepointResult - * @property {Uint8Array|null} [savepointId] ActionBeginSavepointResult savepointId + * @augments arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties instead. + */ + + /** + * Shape of an ActionBeginSavepointResult. + * @typedef {arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties} arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape */ /** * Constructs a new ActionBeginSavepointResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionBeginSavepointResult. - * @implements IActionBeginSavepointResult * @constructor - * @param {arrow.flight.protocol.sql.IActionBeginSavepointResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionBeginSavepointResult(properties) { + var ActionBeginSavepointResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionBeginSavepointResult savepointId. @@ -5277,10 +6467,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionBeginSavepointResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult} ActionBeginSavepointResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape): arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties): arrow.flight.protocol.sql.ActionBeginSavepointResult; + * }} */ - ActionBeginSavepointResult.create = function create(properties) { + ActionBeginSavepointResult.create = function(properties) { return new ActionBeginSavepointResult(properties); }; @@ -5289,15 +6483,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionBeginSavepointResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointResult} message ActionBeginSavepointResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties} message ActionBeginSavepointResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginSavepointResult.encode = function encode(message, writer) { + ActionBeginSavepointResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.savepointId != null && Object.hasOwnProperty.call(message, "savepointId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId") && message.savepointId.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.savepointId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5306,12 +6507,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionBeginSavepointResult * @static - * @param {arrow.flight.protocol.sql.IActionBeginSavepointResult} message ActionBeginSavepointResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionBeginSavepointResult.$Properties} message ActionBeginSavepointResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionBeginSavepointResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionBeginSavepointResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5321,26 +6522,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult} ActionBeginSavepointResult + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape} ActionBeginSavepointResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginSavepointResult.decode = function decode(reader, length) { + ActionBeginSavepointResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionBeginSavepointResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionBeginSavepointResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.savepointId = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.savepointId = value; + else + delete message.savepointId; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5350,11 +6585,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionBeginSavepointResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult} ActionBeginSavepointResult + * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult & arrow.flight.protocol.sql.ActionBeginSavepointResult.$Shape} ActionBeginSavepointResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionBeginSavepointResult.decodeDelimited = function decodeDelimited(reader) { + ActionBeginSavepointResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5368,10 +6603,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionBeginSavepointResult.verify = function verify(message) { + ActionBeginSavepointResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.savepointId != null && message.hasOwnProperty("savepointId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId")) if (!(message.savepointId && typeof message.savepointId.length === "number" || $util.isString(message.savepointId))) return "savepointId: buffer expected"; return null; @@ -5385,15 +6624,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionBeginSavepointResult} ActionBeginSavepointResult */ - ActionBeginSavepointResult.fromObject = function fromObject(object) { + ActionBeginSavepointResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionBeginSavepointResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionBeginSavepointResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionBeginSavepointResult(); if (object.savepointId != null) - if (typeof object.savepointId === "string") - $util.base64.decode(object.savepointId, message.savepointId = $util.newBuffer($util.base64.length(object.savepointId)), 0); - else if (object.savepointId.length >= 0) - message.savepointId = object.savepointId; + if (object.savepointId.length) + if (typeof object.savepointId === "string") + $util.base64.decode(object.savepointId, message.savepointId = $util.newBuffer($util.base64.length(object.savepointId)), 0); + else if (object.savepointId.length >= 0) + message.savepointId = object.savepointId; return message; }; @@ -5406,20 +6652,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionBeginSavepointResult.toObject = function toObject(message, options) { + ActionBeginSavepointResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.savepointId = ""; else { object.savepointId = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.savepointId = $util.newBuffer(object.savepointId); } - if (message.savepointId != null && message.hasOwnProperty("savepointId")) - object.savepointId = options.bytes === String ? $util.base64.encode(message.savepointId, 0, message.savepointId.length) : options.bytes === Array ? Array.prototype.slice.call(message.savepointId) : message.savepointId; + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId")) + object.savepointId = options.bytes === $String ? $util.base64.encode(message.savepointId, 0, message.savepointId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.savepointId) : message.savepointId; return object; }; @@ -5430,23 +6680,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionBeginSavepointResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionBeginSavepointResult.prototype.toJSON = function() { + return ActionBeginSavepointResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionBeginSavepointResult + * Gets the type url for ActionBeginSavepointResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionBeginSavepointResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionBeginSavepointResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionBeginSavepointResult"; + ActionBeginSavepointResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionBeginSavepointResult"; }; return ActionBeginSavepointResult; @@ -5456,26 +6705,39 @@ $root.arrow = (function() { /** * Properties of an ActionEndTransactionRequest. - * @memberof arrow.flight.protocol.sql - * @interface IActionEndTransactionRequest + * @typedef {Object} arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties * @property {Uint8Array|null} [transactionId] ActionEndTransactionRequest transactionId * @property {arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction|null} [action] ActionEndTransactionRequest action + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionEndTransactionRequest. + * @memberof arrow.flight.protocol.sql + * @interface IActionEndTransactionRequest + * @augments arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties instead. + */ + + /** + * Shape of an ActionEndTransactionRequest. + * @typedef {arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties} arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape */ /** * Constructs a new ActionEndTransactionRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionEndTransactionRequest. - * @implements IActionEndTransactionRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionEndTransactionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionEndTransactionRequest(properties) { + var ActionEndTransactionRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionEndTransactionRequest transactionId. @@ -5498,10 +6760,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionEndTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndTransactionRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest} ActionEndTransactionRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape): arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties): arrow.flight.protocol.sql.ActionEndTransactionRequest; + * }} */ - ActionEndTransactionRequest.create = function create(properties) { + ActionEndTransactionRequest.create = function(properties) { return new ActionEndTransactionRequest(properties); }; @@ -5510,17 +6776,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionEndTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndTransactionRequest} message ActionEndTransactionRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties} message ActionEndTransactionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionEndTransactionRequest.encode = function encode(message, writer) { + ActionEndTransactionRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId") && message.transactionId.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.transactionId); - if (message.action != null && Object.hasOwnProperty.call(message, "action")) + if (message.action != null && $Object.hasOwnProperty.call(message, "action") && message.action !== 0) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.action); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5529,12 +6802,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionEndTransactionRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndTransactionRequest} message ActionEndTransactionRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionEndTransactionRequest.$Properties} message ActionEndTransactionRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionEndTransactionRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionEndTransactionRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5544,30 +6817,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest} ActionEndTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape} ActionEndTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionEndTransactionRequest.decode = function decode(reader, length) { + ActionEndTransactionRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionEndTransactionRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionEndTransactionRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.transactionId = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.transactionId = value; + else + delete message.transactionId; + continue; } case 2: { - message.action = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.action = value; + else + delete message.action; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5577,11 +6889,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionEndTransactionRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest} ActionEndTransactionRequest + * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest & arrow.flight.protocol.sql.ActionEndTransactionRequest.$Shape} ActionEndTransactionRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionEndTransactionRequest.decodeDelimited = function decodeDelimited(reader) { + ActionEndTransactionRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5595,21 +6907,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionEndTransactionRequest.verify = function verify(message) { + ActionEndTransactionRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; - if (message.action != null && message.hasOwnProperty("action")) - switch (message.action) { - default: + if (message.action != null && $Object.hasOwnProperty.call(message, "action")) + if (typeof message.action !== "number" || (message.action | 0) !== message.action) return "action: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -5621,35 +6931,40 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionEndTransactionRequest} ActionEndTransactionRequest */ - ActionEndTransactionRequest.fromObject = function fromObject(object) { + ActionEndTransactionRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionEndTransactionRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionEndTransactionRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionEndTransactionRequest(); if (object.transactionId != null) - if (typeof object.transactionId === "string") - $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); - else if (object.transactionId.length >= 0) - message.transactionId = object.transactionId; - switch (object.action) { - default: - if (typeof object.action === "number") { - message.action = object.action; + if (object.transactionId.length) + if (typeof object.transactionId === "string") + $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); + else if (object.transactionId.length >= 0) + message.transactionId = object.transactionId; + if (object.action !== 0 && (typeof object.action !== "string" || $root.arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction[object.action] !== 0)) + switch (object.action) { + case "END_TRANSACTION_UNSPECIFIED": + case 0: + message.action = 0; + break; + case "END_TRANSACTION_COMMIT": + case 1: + message.action = 1; break; + case "END_TRANSACTION_ROLLBACK": + case 2: + message.action = 2; + break; + default: + if (typeof object.action === "number" && (object.action | 0) === object.action) + message.action = object.action; } - break; - case "END_TRANSACTION_UNSPECIFIED": - case 0: - message.action = 0; - break; - case "END_TRANSACTION_COMMIT": - case 1: - message.action = 1; - break; - case "END_TRANSACTION_ROLLBACK": - case 2: - message.action = 2; - break; - } return message; }; @@ -5662,24 +6977,28 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionEndTransactionRequest.toObject = function toObject(message, options) { + ActionEndTransactionRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.transactionId = ""; else { object.transactionId = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.transactionId = $util.newBuffer(object.transactionId); } - object.action = options.enums === String ? "END_TRANSACTION_UNSPECIFIED" : 0; + object.action = options.enums === $String ? "END_TRANSACTION_UNSPECIFIED" : 0; } - if (message.transactionId != null && message.hasOwnProperty("transactionId")) - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (message.action != null && message.hasOwnProperty("action")) - object.action = options.enums === String ? $root.arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction[message.action] === undefined ? message.action : $root.arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction[message.action] : message.action; + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; + if (message.action != null && $Object.hasOwnProperty.call(message, "action")) + object.action = options.enums === $String ? $root.arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction[message.action] === $undefined ? message.action : $root.arrow.flight.protocol.sql.ActionEndTransactionRequest.EndTransaction[message.action] : message.action; return object; }; @@ -5690,23 +7009,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionEndTransactionRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionEndTransactionRequest.prototype.toJSON = function() { + return ActionEndTransactionRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionEndTransactionRequest + * Gets the type url for ActionEndTransactionRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionEndTransactionRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionEndTransactionRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionEndTransactionRequest"; + ActionEndTransactionRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionEndTransactionRequest"; }; /** @@ -5718,7 +7036,7 @@ $root.arrow = (function() { * @property {number} END_TRANSACTION_ROLLBACK=2 END_TRANSACTION_ROLLBACK value */ ActionEndTransactionRequest.EndTransaction = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "END_TRANSACTION_UNSPECIFIED"] = 0; values[valuesById[1] = "END_TRANSACTION_COMMIT"] = 1; values[valuesById[2] = "END_TRANSACTION_ROLLBACK"] = 2; @@ -5732,26 +7050,39 @@ $root.arrow = (function() { /** * Properties of an ActionEndSavepointRequest. - * @memberof arrow.flight.protocol.sql - * @interface IActionEndSavepointRequest + * @typedef {Object} arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties * @property {Uint8Array|null} [savepointId] ActionEndSavepointRequest savepointId * @property {arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint|null} [action] ActionEndSavepointRequest action + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ActionEndSavepointRequest. + * @memberof arrow.flight.protocol.sql + * @interface IActionEndSavepointRequest + * @augments arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties instead. + */ + + /** + * Shape of an ActionEndSavepointRequest. + * @typedef {arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties} arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape */ /** * Constructs a new ActionEndSavepointRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionEndSavepointRequest. - * @implements IActionEndSavepointRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionEndSavepointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionEndSavepointRequest(properties) { + var ActionEndSavepointRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionEndSavepointRequest savepointId. @@ -5774,10 +7105,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionEndSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndSavepointRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest} ActionEndSavepointRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape): arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties): arrow.flight.protocol.sql.ActionEndSavepointRequest; + * }} */ - ActionEndSavepointRequest.create = function create(properties) { + ActionEndSavepointRequest.create = function(properties) { return new ActionEndSavepointRequest(properties); }; @@ -5786,17 +7121,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionEndSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndSavepointRequest} message ActionEndSavepointRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties} message ActionEndSavepointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionEndSavepointRequest.encode = function encode(message, writer) { + ActionEndSavepointRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.savepointId != null && Object.hasOwnProperty.call(message, "savepointId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId") && message.savepointId.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.savepointId); - if (message.action != null && Object.hasOwnProperty.call(message, "action")) + if (message.action != null && $Object.hasOwnProperty.call(message, "action") && message.action !== 0) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.action); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -5805,12 +7147,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionEndSavepointRequest * @static - * @param {arrow.flight.protocol.sql.IActionEndSavepointRequest} message ActionEndSavepointRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionEndSavepointRequest.$Properties} message ActionEndSavepointRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionEndSavepointRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionEndSavepointRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -5820,30 +7162,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest} ActionEndSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape} ActionEndSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionEndSavepointRequest.decode = function decode(reader, length) { + ActionEndSavepointRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionEndSavepointRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionEndSavepointRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.savepointId = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.savepointId = value; + else + delete message.savepointId; + continue; } case 2: { - message.action = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.action = value; + else + delete message.action; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -5853,11 +7234,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionEndSavepointRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest} ActionEndSavepointRequest + * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest & arrow.flight.protocol.sql.ActionEndSavepointRequest.$Shape} ActionEndSavepointRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionEndSavepointRequest.decodeDelimited = function decodeDelimited(reader) { + ActionEndSavepointRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -5871,21 +7252,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionEndSavepointRequest.verify = function verify(message) { + ActionEndSavepointRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.savepointId != null && message.hasOwnProperty("savepointId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId")) if (!(message.savepointId && typeof message.savepointId.length === "number" || $util.isString(message.savepointId))) return "savepointId: buffer expected"; - if (message.action != null && message.hasOwnProperty("action")) - switch (message.action) { - default: + if (message.action != null && $Object.hasOwnProperty.call(message, "action")) + if (typeof message.action !== "number" || (message.action | 0) !== message.action) return "action: enum value expected"; - case 0: - case 1: - case 2: - break; - } return null; }; @@ -5897,35 +7276,40 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionEndSavepointRequest} ActionEndSavepointRequest */ - ActionEndSavepointRequest.fromObject = function fromObject(object) { + ActionEndSavepointRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionEndSavepointRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionEndSavepointRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionEndSavepointRequest(); if (object.savepointId != null) - if (typeof object.savepointId === "string") - $util.base64.decode(object.savepointId, message.savepointId = $util.newBuffer($util.base64.length(object.savepointId)), 0); - else if (object.savepointId.length >= 0) - message.savepointId = object.savepointId; - switch (object.action) { - default: - if (typeof object.action === "number") { - message.action = object.action; + if (object.savepointId.length) + if (typeof object.savepointId === "string") + $util.base64.decode(object.savepointId, message.savepointId = $util.newBuffer($util.base64.length(object.savepointId)), 0); + else if (object.savepointId.length >= 0) + message.savepointId = object.savepointId; + if (object.action !== 0 && (typeof object.action !== "string" || $root.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint[object.action] !== 0)) + switch (object.action) { + case "END_SAVEPOINT_UNSPECIFIED": + case 0: + message.action = 0; + break; + case "END_SAVEPOINT_RELEASE": + case 1: + message.action = 1; break; + case "END_SAVEPOINT_ROLLBACK": + case 2: + message.action = 2; + break; + default: + if (typeof object.action === "number" && (object.action | 0) === object.action) + message.action = object.action; } - break; - case "END_SAVEPOINT_UNSPECIFIED": - case 0: - message.action = 0; - break; - case "END_SAVEPOINT_RELEASE": - case 1: - message.action = 1; - break; - case "END_SAVEPOINT_ROLLBACK": - case 2: - message.action = 2; - break; - } return message; }; @@ -5938,24 +7322,28 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionEndSavepointRequest.toObject = function toObject(message, options) { + ActionEndSavepointRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - if (options.bytes === String) + if (options.bytes === $String) object.savepointId = ""; else { object.savepointId = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.savepointId = $util.newBuffer(object.savepointId); } - object.action = options.enums === String ? "END_SAVEPOINT_UNSPECIFIED" : 0; + object.action = options.enums === $String ? "END_SAVEPOINT_UNSPECIFIED" : 0; } - if (message.savepointId != null && message.hasOwnProperty("savepointId")) - object.savepointId = options.bytes === String ? $util.base64.encode(message.savepointId, 0, message.savepointId.length) : options.bytes === Array ? Array.prototype.slice.call(message.savepointId) : message.savepointId; - if (message.action != null && message.hasOwnProperty("action")) - object.action = options.enums === String ? $root.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint[message.action] === undefined ? message.action : $root.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint[message.action] : message.action; + if (message.savepointId != null && $Object.hasOwnProperty.call(message, "savepointId")) + object.savepointId = options.bytes === $String ? $util.base64.encode(message.savepointId, 0, message.savepointId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.savepointId) : message.savepointId; + if (message.action != null && $Object.hasOwnProperty.call(message, "action")) + object.action = options.enums === $String ? $root.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint[message.action] === $undefined ? message.action : $root.arrow.flight.protocol.sql.ActionEndSavepointRequest.EndSavepoint[message.action] : message.action; return object; }; @@ -5966,23 +7354,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionEndSavepointRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionEndSavepointRequest.prototype.toJSON = function() { + return ActionEndSavepointRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionEndSavepointRequest + * Gets the type url for ActionEndSavepointRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionEndSavepointRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionEndSavepointRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionEndSavepointRequest"; + ActionEndSavepointRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionEndSavepointRequest"; }; /** @@ -5994,7 +7381,7 @@ $root.arrow = (function() { * @property {number} END_SAVEPOINT_ROLLBACK=2 END_SAVEPOINT_ROLLBACK value */ ActionEndSavepointRequest.EndSavepoint = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "END_SAVEPOINT_UNSPECIFIED"] = 0; values[valuesById[1] = "END_SAVEPOINT_RELEASE"] = 1; values[valuesById[2] = "END_SAVEPOINT_ROLLBACK"] = 2; @@ -6008,26 +7395,39 @@ $root.arrow = (function() { /** * Properties of a CommandStatementQuery. - * @memberof arrow.flight.protocol.sql - * @interface ICommandStatementQuery + * @typedef {Object} arrow.flight.protocol.sql.CommandStatementQuery.$Properties * @property {string|null} [query] CommandStatementQuery query * @property {Uint8Array|null} [transactionId] CommandStatementQuery transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandStatementQuery. + * @memberof arrow.flight.protocol.sql + * @interface ICommandStatementQuery + * @augments arrow.flight.protocol.sql.CommandStatementQuery.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandStatementQuery.$Properties instead. + */ + + /** + * Shape of a CommandStatementQuery. + * @typedef {arrow.flight.protocol.sql.CommandStatementQuery.$Properties} arrow.flight.protocol.sql.CommandStatementQuery.$Shape */ /** * Constructs a new CommandStatementQuery. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandStatementQuery. - * @implements ICommandStatementQuery * @constructor - * @param {arrow.flight.protocol.sql.ICommandStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementQuery.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandStatementQuery(properties) { + var CommandStatementQuery = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandStatementQuery query. @@ -6048,13 +7448,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandStatementQuery _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.CommandStatementQuery - * @instance - */ - Object.defineProperty(CommandStatementQuery.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementQuery.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -6064,10 +7459,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementQuery.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandStatementQuery} CommandStatementQuery instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandStatementQuery.$Shape): arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandStatementQuery.$Properties): arrow.flight.protocol.sql.CommandStatementQuery; + * }} */ - CommandStatementQuery.create = function create(properties) { + CommandStatementQuery.create = function(properties) { return new CommandStatementQuery(properties); }; @@ -6076,17 +7475,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandStatementQuery} message CommandStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementQuery.$Properties} message CommandStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementQuery.encode = function encode(message, writer) { + CommandStatementQuery.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.query != null && Object.hasOwnProperty.call(message, "query")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.query != null && $Object.hasOwnProperty.call(message, "query") && message.query !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.query); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6095,12 +7501,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandStatementQuery} message CommandStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementQuery.$Properties} message CommandStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementQuery.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandStatementQuery.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6110,30 +7516,67 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandStatementQuery} CommandStatementQuery + * @returns {arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape} CommandStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementQuery.decode = function decode(reader, length) { + CommandStatementQuery.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandStatementQuery(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandStatementQuery(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.query = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.query = value; + else + delete message.query; + continue; } case 2: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6143,11 +7586,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandStatementQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandStatementQuery} CommandStatementQuery + * @returns {arrow.flight.protocol.sql.CommandStatementQuery & arrow.flight.protocol.sql.CommandStatementQuery.$Shape} CommandStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementQuery.decodeDelimited = function decodeDelimited(reader) { + CommandStatementQuery.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6161,14 +7604,18 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandStatementQuery.verify = function verify(message) { + CommandStatementQuery.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) if (!$util.isString(message.query)) return "query: string expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; @@ -6184,12 +7631,19 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandStatementQuery} CommandStatementQuery */ - CommandStatementQuery.fromObject = function fromObject(object) { + CommandStatementQuery.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandStatementQuery) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementQuery: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandStatementQuery(); if (object.query != null) - message.query = String(object.query); + if (typeof object.query !== "string" || object.query.length) + message.query = $String(object.query); if (object.transactionId != null) if (typeof object.transactionId === "string") $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); @@ -6207,19 +7661,20 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandStatementQuery.toObject = function toObject(message, options) { + CommandStatementQuery.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.query = ""; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) object.query = message.query; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -6230,23 +7685,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandStatementQuery.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandStatementQuery.prototype.toJSON = function() { + return CommandStatementQuery.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandStatementQuery + * Gets the type url for CommandStatementQuery * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandStatementQuery * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandStatementQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandStatementQuery"; + CommandStatementQuery.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandStatementQuery"; }; return CommandStatementQuery; @@ -6254,32 +7708,45 @@ $root.arrow = (function() { sql.CommandStatementSubstraitPlan = (function() { + /** + * Properties of a CommandStatementSubstraitPlan. + * @typedef {Object} arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties + * @property {arrow.flight.protocol.sql.SubstraitPlan.$Properties|null} [plan] CommandStatementSubstraitPlan plan + * @property {Uint8Array|null} [transactionId] CommandStatementSubstraitPlan transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandStatementSubstraitPlan. * @memberof arrow.flight.protocol.sql * @interface ICommandStatementSubstraitPlan - * @property {arrow.flight.protocol.sql.ISubstraitPlan|null} [plan] CommandStatementSubstraitPlan plan - * @property {Uint8Array|null} [transactionId] CommandStatementSubstraitPlan transactionId + * @augments arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties instead. + */ + + /** + * Shape of a CommandStatementSubstraitPlan. + * @typedef {arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties} arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape */ /** * Constructs a new CommandStatementSubstraitPlan. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandStatementSubstraitPlan. - * @implements ICommandStatementSubstraitPlan * @constructor - * @param {arrow.flight.protocol.sql.ICommandStatementSubstraitPlan=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandStatementSubstraitPlan(properties) { + var CommandStatementSubstraitPlan = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandStatementSubstraitPlan plan. - * @member {arrow.flight.protocol.sql.ISubstraitPlan|null|undefined} plan + * @member {arrow.flight.protocol.sql.SubstraitPlan.$Properties|null|undefined} plan * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @instance */ @@ -6296,13 +7763,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandStatementSubstraitPlan _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan - * @instance - */ - Object.defineProperty(CommandStatementSubstraitPlan.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementSubstraitPlan.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -6312,10 +7774,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ICommandStatementSubstraitPlan=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan} CommandStatementSubstraitPlan instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape): arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties): arrow.flight.protocol.sql.CommandStatementSubstraitPlan; + * }} */ - CommandStatementSubstraitPlan.create = function create(properties) { + CommandStatementSubstraitPlan.create = function(properties) { return new CommandStatementSubstraitPlan(properties); }; @@ -6324,17 +7790,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ICommandStatementSubstraitPlan} message CommandStatementSubstraitPlan message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties} message CommandStatementSubstraitPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementSubstraitPlan.encode = function encode(message, writer) { + CommandStatementSubstraitPlan.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.plan != null && Object.hasOwnProperty.call(message, "plan")) - $root.arrow.flight.protocol.sql.SubstraitPlan.encode(message.plan, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) + $root.arrow.flight.protocol.sql.SubstraitPlan.encode(message.plan, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6343,12 +7816,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @static - * @param {arrow.flight.protocol.sql.ICommandStatementSubstraitPlan} message CommandStatementSubstraitPlan message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Properties} message CommandStatementSubstraitPlan message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementSubstraitPlan.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandStatementSubstraitPlan.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6358,30 +7831,64 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan} CommandStatementSubstraitPlan + * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape} CommandStatementSubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementSubstraitPlan.decode = function decode(reader, length) { + CommandStatementSubstraitPlan.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandStatementSubstraitPlan(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandStatementSubstraitPlan(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.decode(reader, reader.uint32(), $undefined, _depth + 1, message.plan); + continue; } case 2: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6391,11 +7898,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan} CommandStatementSubstraitPlan + * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan & arrow.flight.protocol.sql.CommandStatementSubstraitPlan.$Shape} CommandStatementSubstraitPlan * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementSubstraitPlan.decodeDelimited = function decodeDelimited(reader) { + CommandStatementSubstraitPlan.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6409,16 +7916,20 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandStatementSubstraitPlan.verify = function verify(message) { + CommandStatementSubstraitPlan.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.plan != null && message.hasOwnProperty("plan")) { - var error = $root.arrow.flight.protocol.sql.SubstraitPlan.verify(message.plan); + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) { + var error = $root.arrow.flight.protocol.sql.SubstraitPlan.verify(message.plan, _depth + 1); if (error) return "plan." + error; } - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; @@ -6434,14 +7945,20 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandStatementSubstraitPlan} CommandStatementSubstraitPlan */ - CommandStatementSubstraitPlan.fromObject = function fromObject(object) { + CommandStatementSubstraitPlan.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandStatementSubstraitPlan) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementSubstraitPlan: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandStatementSubstraitPlan(); if (object.plan != null) { - if (typeof object.plan !== "object") - throw TypeError(".arrow.flight.protocol.sql.CommandStatementSubstraitPlan.plan: object expected"); - message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.fromObject(object.plan); + if (!$util.isObject(object.plan)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementSubstraitPlan.plan: object expected"); + message.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.fromObject(object.plan, _depth + 1); } if (object.transactionId != null) if (typeof object.transactionId === "string") @@ -6460,19 +7977,20 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandStatementSubstraitPlan.toObject = function toObject(message, options) { + CommandStatementSubstraitPlan.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.plan = null; - if (message.plan != null && message.hasOwnProperty("plan")) - object.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.toObject(message.plan, options); - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.plan != null && $Object.hasOwnProperty.call(message, "plan")) + object.plan = $root.arrow.flight.protocol.sql.SubstraitPlan.toObject(message.plan, options, _depth + 1); + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -6483,23 +8001,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandStatementSubstraitPlan.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandStatementSubstraitPlan.prototype.toJSON = function() { + return CommandStatementSubstraitPlan.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandStatementSubstraitPlan + * Gets the type url for CommandStatementSubstraitPlan * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandStatementSubstraitPlan * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandStatementSubstraitPlan.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandStatementSubstraitPlan"; + CommandStatementSubstraitPlan.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandStatementSubstraitPlan"; }; return CommandStatementSubstraitPlan; @@ -6509,26 +8026,39 @@ $root.arrow = (function() { /** * Properties of a TicketStatementQuery. - * @memberof arrow.flight.protocol.sql - * @interface ITicketStatementQuery + * @typedef {Object} arrow.flight.protocol.sql.TicketStatementQuery.$Properties * @property {Uint8Array|null} [statementHandle] TicketStatementQuery statementHandle + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ /** - * Constructs a new TicketStatementQuery. + * Properties of a TicketStatementQuery. * @memberof arrow.flight.protocol.sql - * @classdesc Represents a ticket resulting from GetFlightInfo with a CommandStatementQuery. - * This should be used only once and treated as an opaque value, that is, clients should not attempt to parse this. - * @implements ITicketStatementQuery + * @interface ITicketStatementQuery + * @augments arrow.flight.protocol.sql.TicketStatementQuery.$Properties + * @deprecated Use arrow.flight.protocol.sql.TicketStatementQuery.$Properties instead. + */ + + /** + * Shape of a TicketStatementQuery. + * @typedef {arrow.flight.protocol.sql.TicketStatementQuery.$Properties} arrow.flight.protocol.sql.TicketStatementQuery.$Shape + */ + + /** + * Constructs a new TicketStatementQuery. + * @memberof arrow.flight.protocol.sql + * @classdesc Represents a ticket resulting from GetFlightInfo with a CommandStatementQuery. + * This should be used only once and treated as an opaque value, that is, clients should not attempt to parse this. * @constructor - * @param {arrow.flight.protocol.sql.ITicketStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.TicketStatementQuery.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function TicketStatementQuery(properties) { + var TicketStatementQuery = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * TicketStatementQuery statementHandle. @@ -6543,10 +8073,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.TicketStatementQuery * @static - * @param {arrow.flight.protocol.sql.ITicketStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.TicketStatementQuery.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.TicketStatementQuery} TicketStatementQuery instance + * @type {{ + * (properties: arrow.flight.protocol.sql.TicketStatementQuery.$Shape): arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape; + * (properties?: arrow.flight.protocol.sql.TicketStatementQuery.$Properties): arrow.flight.protocol.sql.TicketStatementQuery; + * }} */ - TicketStatementQuery.create = function create(properties) { + TicketStatementQuery.create = function(properties) { return new TicketStatementQuery(properties); }; @@ -6555,15 +8089,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.TicketStatementQuery * @static - * @param {arrow.flight.protocol.sql.ITicketStatementQuery} message TicketStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.TicketStatementQuery.$Properties} message TicketStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TicketStatementQuery.encode = function encode(message, writer) { + TicketStatementQuery.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.statementHandle != null && Object.hasOwnProperty.call(message, "statementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.statementHandle != null && $Object.hasOwnProperty.call(message, "statementHandle") && message.statementHandle.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.statementHandle); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6572,12 +8113,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.TicketStatementQuery * @static - * @param {arrow.flight.protocol.sql.ITicketStatementQuery} message TicketStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.TicketStatementQuery.$Properties} message TicketStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TicketStatementQuery.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + TicketStatementQuery.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6587,26 +8128,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.TicketStatementQuery} TicketStatementQuery + * @returns {arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape} TicketStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TicketStatementQuery.decode = function decode(reader, length) { + TicketStatementQuery.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.TicketStatementQuery(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.TicketStatementQuery(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.statementHandle = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.statementHandle = value; + else + delete message.statementHandle; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6616,11 +8191,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.TicketStatementQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.TicketStatementQuery} TicketStatementQuery + * @returns {arrow.flight.protocol.sql.TicketStatementQuery & arrow.flight.protocol.sql.TicketStatementQuery.$Shape} TicketStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TicketStatementQuery.decodeDelimited = function decodeDelimited(reader) { + TicketStatementQuery.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6634,10 +8209,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TicketStatementQuery.verify = function verify(message) { + TicketStatementQuery.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.statementHandle != null && message.hasOwnProperty("statementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.statementHandle != null && $Object.hasOwnProperty.call(message, "statementHandle")) if (!(message.statementHandle && typeof message.statementHandle.length === "number" || $util.isString(message.statementHandle))) return "statementHandle: buffer expected"; return null; @@ -6651,15 +8230,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.TicketStatementQuery} TicketStatementQuery */ - TicketStatementQuery.fromObject = function fromObject(object) { + TicketStatementQuery.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.TicketStatementQuery) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.TicketStatementQuery: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.TicketStatementQuery(); if (object.statementHandle != null) - if (typeof object.statementHandle === "string") - $util.base64.decode(object.statementHandle, message.statementHandle = $util.newBuffer($util.base64.length(object.statementHandle)), 0); - else if (object.statementHandle.length >= 0) - message.statementHandle = object.statementHandle; + if (object.statementHandle.length) + if (typeof object.statementHandle === "string") + $util.base64.decode(object.statementHandle, message.statementHandle = $util.newBuffer($util.base64.length(object.statementHandle)), 0); + else if (object.statementHandle.length >= 0) + message.statementHandle = object.statementHandle; return message; }; @@ -6672,20 +8258,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TicketStatementQuery.toObject = function toObject(message, options) { + TicketStatementQuery.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.statementHandle = ""; else { object.statementHandle = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.statementHandle = $util.newBuffer(object.statementHandle); } - if (message.statementHandle != null && message.hasOwnProperty("statementHandle")) - object.statementHandle = options.bytes === String ? $util.base64.encode(message.statementHandle, 0, message.statementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.statementHandle) : message.statementHandle; + if (message.statementHandle != null && $Object.hasOwnProperty.call(message, "statementHandle")) + object.statementHandle = options.bytes === $String ? $util.base64.encode(message.statementHandle, 0, message.statementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.statementHandle) : message.statementHandle; return object; }; @@ -6696,23 +8286,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - TicketStatementQuery.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + TicketStatementQuery.prototype.toJSON = function() { + return TicketStatementQuery.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TicketStatementQuery + * Gets the type url for TicketStatementQuery * @function getTypeUrl * @memberof arrow.flight.protocol.sql.TicketStatementQuery * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - TicketStatementQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.TicketStatementQuery"; + TicketStatementQuery.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.TicketStatementQuery"; }; return TicketStatementQuery; @@ -6720,27 +8309,40 @@ $root.arrow = (function() { sql.CommandPreparedStatementQuery = (function() { + /** + * Properties of a CommandPreparedStatementQuery. + * @typedef {Object} arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties + * @property {Uint8Array|null} [preparedStatementHandle] CommandPreparedStatementQuery preparedStatementHandle + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandPreparedStatementQuery. * @memberof arrow.flight.protocol.sql * @interface ICommandPreparedStatementQuery - * @property {Uint8Array|null} [preparedStatementHandle] CommandPreparedStatementQuery preparedStatementHandle + * @augments arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties instead. + */ + + /** + * Shape of a CommandPreparedStatementQuery. + * @typedef {arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties} arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape */ /** * Constructs a new CommandPreparedStatementQuery. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandPreparedStatementQuery. - * @implements ICommandPreparedStatementQuery * @constructor - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandPreparedStatementQuery(properties) { + var CommandPreparedStatementQuery = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandPreparedStatementQuery preparedStatementHandle. @@ -6755,10 +8357,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandPreparedStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementQuery=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery} CommandPreparedStatementQuery instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape): arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties): arrow.flight.protocol.sql.CommandPreparedStatementQuery; + * }} */ - CommandPreparedStatementQuery.create = function create(properties) { + CommandPreparedStatementQuery.create = function(properties) { return new CommandPreparedStatementQuery(properties); }; @@ -6767,15 +8373,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandPreparedStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementQuery} message CommandPreparedStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties} message CommandPreparedStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandPreparedStatementQuery.encode = function encode(message, writer) { + CommandPreparedStatementQuery.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.preparedStatementHandle != null && Object.hasOwnProperty.call(message, "preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle") && message.preparedStatementHandle.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.preparedStatementHandle); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -6784,12 +8397,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandPreparedStatementQuery * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementQuery} message CommandPreparedStatementQuery message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Properties} message CommandPreparedStatementQuery message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandPreparedStatementQuery.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandPreparedStatementQuery.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -6799,26 +8412,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery} CommandPreparedStatementQuery + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape} CommandPreparedStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandPreparedStatementQuery.decode = function decode(reader, length) { + CommandPreparedStatementQuery.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandPreparedStatementQuery(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandPreparedStatementQuery(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.preparedStatementHandle = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.preparedStatementHandle = value; + else + delete message.preparedStatementHandle; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -6828,11 +8475,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandPreparedStatementQuery * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery} CommandPreparedStatementQuery + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery & arrow.flight.protocol.sql.CommandPreparedStatementQuery.$Shape} CommandPreparedStatementQuery * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandPreparedStatementQuery.decodeDelimited = function decodeDelimited(reader) { + CommandPreparedStatementQuery.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -6846,10 +8493,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandPreparedStatementQuery.verify = function verify(message) { + CommandPreparedStatementQuery.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) if (!(message.preparedStatementHandle && typeof message.preparedStatementHandle.length === "number" || $util.isString(message.preparedStatementHandle))) return "preparedStatementHandle: buffer expected"; return null; @@ -6863,15 +8514,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandPreparedStatementQuery} CommandPreparedStatementQuery */ - CommandPreparedStatementQuery.fromObject = function fromObject(object) { + CommandPreparedStatementQuery.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandPreparedStatementQuery) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandPreparedStatementQuery: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandPreparedStatementQuery(); if (object.preparedStatementHandle != null) - if (typeof object.preparedStatementHandle === "string") - $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); - else if (object.preparedStatementHandle.length >= 0) - message.preparedStatementHandle = object.preparedStatementHandle; + if (object.preparedStatementHandle.length) + if (typeof object.preparedStatementHandle === "string") + $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); + else if (object.preparedStatementHandle.length >= 0) + message.preparedStatementHandle = object.preparedStatementHandle; return message; }; @@ -6884,20 +8542,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandPreparedStatementQuery.toObject = function toObject(message, options) { + CommandPreparedStatementQuery.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.preparedStatementHandle = ""; else { object.preparedStatementHandle = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.preparedStatementHandle = $util.newBuffer(object.preparedStatementHandle); } - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) - object.preparedStatementHandle = options.bytes === String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) + object.preparedStatementHandle = options.bytes === $String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; return object; }; @@ -6908,23 +8570,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandPreparedStatementQuery.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandPreparedStatementQuery.prototype.toJSON = function() { + return CommandPreparedStatementQuery.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandPreparedStatementQuery + * Gets the type url for CommandPreparedStatementQuery * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandPreparedStatementQuery * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandPreparedStatementQuery.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandPreparedStatementQuery"; + CommandPreparedStatementQuery.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandPreparedStatementQuery"; }; return CommandPreparedStatementQuery; @@ -6934,26 +8595,39 @@ $root.arrow = (function() { /** * Properties of a CommandStatementUpdate. - * @memberof arrow.flight.protocol.sql - * @interface ICommandStatementUpdate + * @typedef {Object} arrow.flight.protocol.sql.CommandStatementUpdate.$Properties * @property {string|null} [query] CommandStatementUpdate query * @property {Uint8Array|null} [transactionId] CommandStatementUpdate transactionId + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandStatementUpdate. + * @memberof arrow.flight.protocol.sql + * @interface ICommandStatementUpdate + * @augments arrow.flight.protocol.sql.CommandStatementUpdate.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandStatementUpdate.$Properties instead. + */ + + /** + * Shape of a CommandStatementUpdate. + * @typedef {arrow.flight.protocol.sql.CommandStatementUpdate.$Properties} arrow.flight.protocol.sql.CommandStatementUpdate.$Shape */ /** * Constructs a new CommandStatementUpdate. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandStatementUpdate. - * @implements ICommandStatementUpdate * @constructor - * @param {arrow.flight.protocol.sql.ICommandStatementUpdate=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementUpdate.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandStatementUpdate(properties) { + var CommandStatementUpdate = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandStatementUpdate query. @@ -6974,13 +8648,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandStatementUpdate _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.CommandStatementUpdate - * @instance - */ - Object.defineProperty(CommandStatementUpdate.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementUpdate.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -6990,10 +8659,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandStatementUpdate=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementUpdate.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandStatementUpdate} CommandStatementUpdate instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandStatementUpdate.$Shape): arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandStatementUpdate.$Properties): arrow.flight.protocol.sql.CommandStatementUpdate; + * }} */ - CommandStatementUpdate.create = function create(properties) { + CommandStatementUpdate.create = function(properties) { return new CommandStatementUpdate(properties); }; @@ -7002,17 +8675,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandStatementUpdate} message CommandStatementUpdate message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementUpdate.$Properties} message CommandStatementUpdate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementUpdate.encode = function encode(message, writer) { + CommandStatementUpdate.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.query != null && Object.hasOwnProperty.call(message, "query")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.query != null && $Object.hasOwnProperty.call(message, "query") && message.query !== "") writer.uint32(/* id 1, wireType 2 =*/10).string(message.query); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 2, wireType 2 =*/18).bytes(message.transactionId); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7021,12 +8701,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandStatementUpdate} message CommandStatementUpdate message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementUpdate.$Properties} message CommandStatementUpdate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementUpdate.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandStatementUpdate.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7036,30 +8716,67 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandStatementUpdate} CommandStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape} CommandStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementUpdate.decode = function decode(reader, length) { + CommandStatementUpdate.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandStatementUpdate(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandStatementUpdate(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.query = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.query = value; + else + delete message.query; + continue; } case 2: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7069,11 +8786,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandStatementUpdate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandStatementUpdate} CommandStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandStatementUpdate & arrow.flight.protocol.sql.CommandStatementUpdate.$Shape} CommandStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementUpdate.decodeDelimited = function decodeDelimited(reader) { + CommandStatementUpdate.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7087,14 +8804,18 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandStatementUpdate.verify = function verify(message) { + CommandStatementUpdate.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) if (!$util.isString(message.query)) return "query: string expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; @@ -7110,12 +8831,19 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandStatementUpdate} CommandStatementUpdate */ - CommandStatementUpdate.fromObject = function fromObject(object) { + CommandStatementUpdate.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandStatementUpdate) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementUpdate: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandStatementUpdate(); if (object.query != null) - message.query = String(object.query); + if (typeof object.query !== "string" || object.query.length) + message.query = $String(object.query); if (object.transactionId != null) if (typeof object.transactionId === "string") $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); @@ -7133,19 +8861,20 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandStatementUpdate.toObject = function toObject(message, options) { + CommandStatementUpdate.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) object.query = ""; - if (message.query != null && message.hasOwnProperty("query")) + if (message.query != null && $Object.hasOwnProperty.call(message, "query")) object.query = message.query; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; return object; }; @@ -7156,23 +8885,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandStatementUpdate.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandStatementUpdate.prototype.toJSON = function() { + return CommandStatementUpdate.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandStatementUpdate + * Gets the type url for CommandStatementUpdate * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandStatementUpdate * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandStatementUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandStatementUpdate"; + CommandStatementUpdate.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandStatementUpdate"; }; return CommandStatementUpdate; @@ -7180,27 +8908,40 @@ $root.arrow = (function() { sql.CommandPreparedStatementUpdate = (function() { + /** + * Properties of a CommandPreparedStatementUpdate. + * @typedef {Object} arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties + * @property {Uint8Array|null} [preparedStatementHandle] CommandPreparedStatementUpdate preparedStatementHandle + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a CommandPreparedStatementUpdate. * @memberof arrow.flight.protocol.sql * @interface ICommandPreparedStatementUpdate - * @property {Uint8Array|null} [preparedStatementHandle] CommandPreparedStatementUpdate preparedStatementHandle + * @augments arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties instead. + */ + + /** + * Shape of a CommandPreparedStatementUpdate. + * @typedef {arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties} arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape */ /** * Constructs a new CommandPreparedStatementUpdate. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandPreparedStatementUpdate. - * @implements ICommandPreparedStatementUpdate * @constructor - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementUpdate=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandPreparedStatementUpdate(properties) { + var CommandPreparedStatementUpdate = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandPreparedStatementUpdate preparedStatementHandle. @@ -7215,10 +8956,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandPreparedStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementUpdate=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate} CommandPreparedStatementUpdate instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape): arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties): arrow.flight.protocol.sql.CommandPreparedStatementUpdate; + * }} */ - CommandPreparedStatementUpdate.create = function create(properties) { + CommandPreparedStatementUpdate.create = function(properties) { return new CommandPreparedStatementUpdate(properties); }; @@ -7227,15 +8972,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandPreparedStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementUpdate} message CommandPreparedStatementUpdate message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties} message CommandPreparedStatementUpdate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandPreparedStatementUpdate.encode = function encode(message, writer) { + CommandPreparedStatementUpdate.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.preparedStatementHandle != null && Object.hasOwnProperty.call(message, "preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle") && message.preparedStatementHandle.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.preparedStatementHandle); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7244,12 +8996,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandPreparedStatementUpdate * @static - * @param {arrow.flight.protocol.sql.ICommandPreparedStatementUpdate} message CommandPreparedStatementUpdate message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Properties} message CommandPreparedStatementUpdate message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandPreparedStatementUpdate.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandPreparedStatementUpdate.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7259,26 +9011,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate} CommandPreparedStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape} CommandPreparedStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandPreparedStatementUpdate.decode = function decode(reader, length) { + CommandPreparedStatementUpdate.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandPreparedStatementUpdate(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandPreparedStatementUpdate(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.preparedStatementHandle = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.preparedStatementHandle = value; + else + delete message.preparedStatementHandle; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7288,11 +9074,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandPreparedStatementUpdate * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate} CommandPreparedStatementUpdate + * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate & arrow.flight.protocol.sql.CommandPreparedStatementUpdate.$Shape} CommandPreparedStatementUpdate * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandPreparedStatementUpdate.decodeDelimited = function decodeDelimited(reader) { + CommandPreparedStatementUpdate.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7306,10 +9092,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandPreparedStatementUpdate.verify = function verify(message) { + CommandPreparedStatementUpdate.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) if (!(message.preparedStatementHandle && typeof message.preparedStatementHandle.length === "number" || $util.isString(message.preparedStatementHandle))) return "preparedStatementHandle: buffer expected"; return null; @@ -7323,15 +9113,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandPreparedStatementUpdate} CommandPreparedStatementUpdate */ - CommandPreparedStatementUpdate.fromObject = function fromObject(object) { + CommandPreparedStatementUpdate.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandPreparedStatementUpdate) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandPreparedStatementUpdate: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandPreparedStatementUpdate(); if (object.preparedStatementHandle != null) - if (typeof object.preparedStatementHandle === "string") - $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); - else if (object.preparedStatementHandle.length >= 0) - message.preparedStatementHandle = object.preparedStatementHandle; + if (object.preparedStatementHandle.length) + if (typeof object.preparedStatementHandle === "string") + $util.base64.decode(object.preparedStatementHandle, message.preparedStatementHandle = $util.newBuffer($util.base64.length(object.preparedStatementHandle)), 0); + else if (object.preparedStatementHandle.length >= 0) + message.preparedStatementHandle = object.preparedStatementHandle; return message; }; @@ -7344,20 +9141,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandPreparedStatementUpdate.toObject = function toObject(message, options) { + CommandPreparedStatementUpdate.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.preparedStatementHandle = ""; else { object.preparedStatementHandle = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.preparedStatementHandle = $util.newBuffer(object.preparedStatementHandle); } - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) - object.preparedStatementHandle = options.bytes === String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) + object.preparedStatementHandle = options.bytes === $String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; return object; }; @@ -7368,23 +9169,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandPreparedStatementUpdate.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandPreparedStatementUpdate.prototype.toJSON = function() { + return CommandPreparedStatementUpdate.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandPreparedStatementUpdate + * Gets the type url for CommandPreparedStatementUpdate * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandPreparedStatementUpdate * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandPreparedStatementUpdate.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandPreparedStatementUpdate"; + CommandPreparedStatementUpdate.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandPreparedStatementUpdate"; }; return CommandPreparedStatementUpdate; @@ -7394,36 +9194,49 @@ $root.arrow = (function() { /** * Properties of a CommandStatementIngest. - * @memberof arrow.flight.protocol.sql - * @interface ICommandStatementIngest - * @property {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions|null} [tableDefinitionOptions] CommandStatementIngest tableDefinitionOptions + * @typedef {Object} arrow.flight.protocol.sql.CommandStatementIngest.$Properties + * @property {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties|null} [tableDefinitionOptions] CommandStatementIngest tableDefinitionOptions * @property {string|null} [table] CommandStatementIngest table * @property {string|null} [schema] CommandStatementIngest schema * @property {string|null} [catalog] CommandStatementIngest catalog * @property {boolean|null} [temporary] CommandStatementIngest temporary * @property {Uint8Array|null} [transactionId] CommandStatementIngest transactionId * @property {Object.|null} [options] CommandStatementIngest options + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a CommandStatementIngest. + * @memberof arrow.flight.protocol.sql + * @interface ICommandStatementIngest + * @augments arrow.flight.protocol.sql.CommandStatementIngest.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandStatementIngest.$Properties instead. + */ + + /** + * Shape of a CommandStatementIngest. + * @typedef {arrow.flight.protocol.sql.CommandStatementIngest.$Properties} arrow.flight.protocol.sql.CommandStatementIngest.$Shape */ /** * Constructs a new CommandStatementIngest. * @memberof arrow.flight.protocol.sql * @classdesc Represents a CommandStatementIngest. - * @implements ICommandStatementIngest * @constructor - * @param {arrow.flight.protocol.sql.ICommandStatementIngest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementIngest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function CommandStatementIngest(properties) { + var CommandStatementIngest = function (properties) { this.options = {}; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * CommandStatementIngest tableDefinitionOptions. - * @member {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions|null|undefined} tableDefinitionOptions + * @member {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties|null|undefined} tableDefinitionOptions * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @instance */ @@ -7480,35 +9293,20 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * CommandStatementIngest _schema. - * @member {"schema"|undefined} _schema - * @memberof arrow.flight.protocol.sql.CommandStatementIngest - * @instance - */ - Object.defineProperty(CommandStatementIngest.prototype, "_schema", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementIngest.prototype, "_schema", { get: $util.oneOfGetter($oneOfFields = ["schema"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandStatementIngest _catalog. - * @member {"catalog"|undefined} _catalog - * @memberof arrow.flight.protocol.sql.CommandStatementIngest - * @instance - */ - Object.defineProperty(CommandStatementIngest.prototype, "_catalog", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementIngest.prototype, "_catalog", { get: $util.oneOfGetter($oneOfFields = ["catalog"]), set: $util.oneOfSetter($oneOfFields) }); - /** - * CommandStatementIngest _transactionId. - * @member {"transactionId"|undefined} _transactionId - * @memberof arrow.flight.protocol.sql.CommandStatementIngest - * @instance - */ - Object.defineProperty(CommandStatementIngest.prototype, "_transactionId", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(CommandStatementIngest.prototype, "_transactionId", { get: $util.oneOfGetter($oneOfFields = ["transactionId"]), set: $util.oneOfSetter($oneOfFields) }); @@ -7518,10 +9316,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @static - * @param {arrow.flight.protocol.sql.ICommandStatementIngest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementIngest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandStatementIngest} CommandStatementIngest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandStatementIngest.$Shape): arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandStatementIngest.$Properties): arrow.flight.protocol.sql.CommandStatementIngest; + * }} */ - CommandStatementIngest.create = function create(properties) { + CommandStatementIngest.create = function(properties) { return new CommandStatementIngest(properties); }; @@ -7530,28 +9332,35 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @static - * @param {arrow.flight.protocol.sql.ICommandStatementIngest} message CommandStatementIngest message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementIngest.$Properties} message CommandStatementIngest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementIngest.encode = function encode(message, writer) { + CommandStatementIngest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.tableDefinitionOptions != null && Object.hasOwnProperty.call(message, "tableDefinitionOptions")) - $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.encode(message.tableDefinitionOptions, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); - if (message.table != null && Object.hasOwnProperty.call(message, "table")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.tableDefinitionOptions != null && $Object.hasOwnProperty.call(message, "tableDefinitionOptions")) + $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.encode(message.tableDefinitionOptions, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.table != null && $Object.hasOwnProperty.call(message, "table") && message.table !== "") writer.uint32(/* id 2, wireType 2 =*/18).string(message.table); - if (message.schema != null && Object.hasOwnProperty.call(message, "schema")) + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.schema); - if (message.catalog != null && Object.hasOwnProperty.call(message, "catalog")) + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) writer.uint32(/* id 4, wireType 2 =*/34).string(message.catalog); - if (message.temporary != null && Object.hasOwnProperty.call(message, "temporary")) + if (message.temporary != null && $Object.hasOwnProperty.call(message, "temporary") && message.temporary !== false) writer.uint32(/* id 5, wireType 0 =*/40).bool(message.temporary); - if (message.transactionId != null && Object.hasOwnProperty.call(message, "transactionId")) + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) writer.uint32(/* id 6, wireType 2 =*/50).bytes(message.transactionId); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - for (var keys = Object.keys(message.options), i = 0; i < keys.length; ++i) + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + for (var keys = $Object.keys(message.options), i = 0; i < keys.length; ++i) writer.uint32(/* id 1000, wireType 2 =*/8002).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.options[keys[i]]).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7560,12 +9369,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @static - * @param {arrow.flight.protocol.sql.ICommandStatementIngest} message CommandStatementIngest message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementIngest.$Properties} message CommandStatementIngest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - CommandStatementIngest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + CommandStatementIngest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7575,69 +9384,132 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandStatementIngest} CommandStatementIngest + * @returns {arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape} CommandStatementIngest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementIngest.decode = function decode(reader, length) { + CommandStatementIngest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandStatementIngest(), key, value; + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, key, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandStatementIngest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.tableDefinitionOptions); + continue; } case 2: { - message.table = reader.string(); - break; + if (wireType !== 2) + break; + if ((value = reader.stringVerify()).length) + message.table = value; + else + delete message.table; + continue; } case 3: { - message.schema = reader.string(); - break; + if (wireType !== 2) + break; + message.schema = reader.stringVerify(); + message._schema = "schema"; + continue; } case 4: { - message.catalog = reader.string(); - break; + if (wireType !== 2) + break; + message.catalog = reader.stringVerify(); + message._catalog = "catalog"; + continue; } case 5: { - message.temporary = reader.bool(); - break; + if (wireType !== 0) + break; + if (value = reader.bool()) + message.temporary = value; + else + delete message.temporary; + continue; } case 6: { + if (wireType !== 2) + break; message.transactionId = reader.bytes(); - break; + message._transactionId = "transactionId"; + continue; } case 1000: { + if (wireType !== 2) + break; if (message.options === $util.emptyObject) message.options = {}; var end2 = reader.uint32() + reader.pos; + if (end2 > reader.len) + throw $RangeError("index out of range"); + reader.len = end2; key = ""; value = ""; while (reader.pos < end2) { - var tag2 = reader.uint32(); - switch (tag2 >>> 3) { + var tag2 = reader.tag(); + wireType = tag2 & 7; + switch (tag2 >>>= 3) { case 1: - key = reader.string(); - break; + if (wireType !== 2) + break; + key = reader.stringVerify(); + continue; case 2: - value = reader.string(); - break; - default: - reader.skipType(tag2 & 7); - break; + if (wireType !== 2) + break; + value = reader.stringVerify(); + continue; } + reader.skipType(wireType, _depth, tag2); } + if (reader.pos !== end2) + throw $RangeError("index out of range"); + reader.len = end; + if (key === "__proto__") + $util.makeProp(message.options, key); message.options[key] = value; - break; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7647,11 +9519,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandStatementIngest} CommandStatementIngest + * @returns {arrow.flight.protocol.sql.CommandStatementIngest & arrow.flight.protocol.sql.CommandStatementIngest.$Shape} CommandStatementIngest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - CommandStatementIngest.decodeDelimited = function decodeDelimited(reader) { + CommandStatementIngest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7665,40 +9537,44 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - CommandStatementIngest.verify = function verify(message) { + CommandStatementIngest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.tableDefinitionOptions != null && message.hasOwnProperty("tableDefinitionOptions")) { - var error = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.verify(message.tableDefinitionOptions); + if (message.tableDefinitionOptions != null && $Object.hasOwnProperty.call(message, "tableDefinitionOptions")) { + var error = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.verify(message.tableDefinitionOptions, _depth + 1); if (error) return "tableDefinitionOptions." + error; } - if (message.table != null && message.hasOwnProperty("table")) + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) if (!$util.isString(message.table)) return "table: string expected"; - if (message.schema != null && message.hasOwnProperty("schema")) { + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) { properties._schema = 1; if (!$util.isString(message.schema)) return "schema: string expected"; } - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) { properties._catalog = 1; if (!$util.isString(message.catalog)) return "catalog: string expected"; } - if (message.temporary != null && message.hasOwnProperty("temporary")) + if (message.temporary != null && $Object.hasOwnProperty.call(message, "temporary")) if (typeof message.temporary !== "boolean") return "temporary: boolean expected"; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) { properties._transactionId = 1; if (!(message.transactionId && typeof message.transactionId.length === "number" || $util.isString(message.transactionId))) return "transactionId: buffer expected"; } - if (message.options != null && message.hasOwnProperty("options")) { + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { if (!$util.isObject(message.options)) return "options: object expected"; - var key = Object.keys(message.options); + var key = $Object.keys(message.options); for (var i = 0; i < key.length; ++i) if (!$util.isString(message.options[key[i]])) return "options: string{k:string} expected"; @@ -7714,34 +9590,45 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandStatementIngest} CommandStatementIngest */ - CommandStatementIngest.fromObject = function fromObject(object) { + CommandStatementIngest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandStatementIngest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementIngest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandStatementIngest(); if (object.tableDefinitionOptions != null) { - if (typeof object.tableDefinitionOptions !== "object") - throw TypeError(".arrow.flight.protocol.sql.CommandStatementIngest.tableDefinitionOptions: object expected"); - message.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.fromObject(object.tableDefinitionOptions); + if (!$util.isObject(object.tableDefinitionOptions)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementIngest.tableDefinitionOptions: object expected"); + message.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.fromObject(object.tableDefinitionOptions, _depth + 1); } if (object.table != null) - message.table = String(object.table); + if (typeof object.table !== "string" || object.table.length) + message.table = $String(object.table); if (object.schema != null) - message.schema = String(object.schema); + message.schema = $String(object.schema); if (object.catalog != null) - message.catalog = String(object.catalog); + message.catalog = $String(object.catalog); if (object.temporary != null) - message.temporary = Boolean(object.temporary); + if (object.temporary) + message.temporary = $Boolean(object.temporary); if (object.transactionId != null) if (typeof object.transactionId === "string") $util.base64.decode(object.transactionId, message.transactionId = $util.newBuffer($util.base64.length(object.transactionId)), 0); else if (object.transactionId.length >= 0) message.transactionId = object.transactionId; if (object.options) { - if (typeof object.options !== "object") - throw TypeError(".arrow.flight.protocol.sql.CommandStatementIngest.options: object expected"); + if (!$util.isObject(object.options)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementIngest.options: object expected"); message.options = {}; - for (var keys = Object.keys(object.options), i = 0; i < keys.length; ++i) - message.options[keys[i]] = String(object.options[keys[i]]); + for (var keys = $Object.keys(object.options), i = 0; i < keys.length; ++i) { + if (keys[i] === "__proto__") + $util.makeProp(message.options, keys[i]); + message.options[keys[i]] = $String(object.options[keys[i]]); + } } return message; }; @@ -7755,9 +9642,13 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - CommandStatementIngest.toObject = function toObject(message, options) { + CommandStatementIngest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.objects || options.defaults) object.options = {}; @@ -7766,32 +9657,26 @@ $root.arrow = (function() { object.table = ""; object.temporary = false; } - if (message.tableDefinitionOptions != null && message.hasOwnProperty("tableDefinitionOptions")) - object.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.toObject(message.tableDefinitionOptions, options); - if (message.table != null && message.hasOwnProperty("table")) + if (message.tableDefinitionOptions != null && $Object.hasOwnProperty.call(message, "tableDefinitionOptions")) + object.tableDefinitionOptions = $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.toObject(message.tableDefinitionOptions, options, _depth + 1); + if (message.table != null && $Object.hasOwnProperty.call(message, "table")) object.table = message.table; - if (message.schema != null && message.hasOwnProperty("schema")) { + if (message.schema != null && $Object.hasOwnProperty.call(message, "schema")) object.schema = message.schema; - if (options.oneofs) - object._schema = "schema"; - } - if (message.catalog != null && message.hasOwnProperty("catalog")) { + if (message.catalog != null && $Object.hasOwnProperty.call(message, "catalog")) object.catalog = message.catalog; - if (options.oneofs) - object._catalog = "catalog"; - } - if (message.temporary != null && message.hasOwnProperty("temporary")) + if (message.temporary != null && $Object.hasOwnProperty.call(message, "temporary")) object.temporary = message.temporary; - if (message.transactionId != null && message.hasOwnProperty("transactionId")) { - object.transactionId = options.bytes === String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === Array ? Array.prototype.slice.call(message.transactionId) : message.transactionId; - if (options.oneofs) - object._transactionId = "transactionId"; - } + if (message.transactionId != null && $Object.hasOwnProperty.call(message, "transactionId")) + object.transactionId = options.bytes === $String ? $util.base64.encode(message.transactionId, 0, message.transactionId.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.transactionId) : message.transactionId; var keys2; - if (message.options && (keys2 = Object.keys(message.options)).length) { + if (message.options && (keys2 = $Object.keys(message.options)).length) { object.options = {}; - for (var j = 0; j < keys2.length; ++j) + for (var j = 0; j < keys2.length; ++j) { + if (keys2[j] === "__proto__") + $util.makeProp(object.options, keys2[j]); object.options[keys2[j]] = message.options[keys2[j]]; + } } return object; }; @@ -7803,49 +9688,61 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - CommandStatementIngest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + CommandStatementIngest.prototype.toJSON = function() { + return CommandStatementIngest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for CommandStatementIngest + * Gets the type url for CommandStatementIngest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - CommandStatementIngest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandStatementIngest"; + CommandStatementIngest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandStatementIngest"; }; CommandStatementIngest.TableDefinitionOptions = (function() { /** * Properties of a TableDefinitionOptions. - * @memberof arrow.flight.protocol.sql.CommandStatementIngest - * @interface ITableDefinitionOptions + * @typedef {Object} arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties * @property {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption|null} [ifNotExist] TableDefinitionOptions ifNotExist * @property {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption|null} [ifExists] TableDefinitionOptions ifExists + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a TableDefinitionOptions. + * @memberof arrow.flight.protocol.sql.CommandStatementIngest + * @interface ITableDefinitionOptions + * @augments arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties + * @deprecated Use arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties instead. + */ + + /** + * Shape of a TableDefinitionOptions. + * @typedef {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties} arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape */ /** * Constructs a new TableDefinitionOptions. * @memberof arrow.flight.protocol.sql.CommandStatementIngest * @classdesc Represents a TableDefinitionOptions. - * @implements ITableDefinitionOptions * @constructor - * @param {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function TableDefinitionOptions(properties) { + var TableDefinitionOptions = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * TableDefinitionOptions ifNotExist. @@ -7868,10 +9765,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions * @static - * @param {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions} TableDefinitionOptions instance + * @type {{ + * (properties: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape; + * (properties?: arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties): arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions; + * }} */ - TableDefinitionOptions.create = function create(properties) { + TableDefinitionOptions.create = function(properties) { return new TableDefinitionOptions(properties); }; @@ -7880,17 +9781,24 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions * @static - * @param {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions} message TableDefinitionOptions message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties} message TableDefinitionOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TableDefinitionOptions.encode = function encode(message, writer) { + TableDefinitionOptions.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.ifNotExist != null && Object.hasOwnProperty.call(message, "ifNotExist")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.ifNotExist != null && $Object.hasOwnProperty.call(message, "ifNotExist") && message.ifNotExist !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.ifNotExist); - if (message.ifExists != null && Object.hasOwnProperty.call(message, "ifExists")) + if (message.ifExists != null && $Object.hasOwnProperty.call(message, "ifExists") && message.ifExists !== 0) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.ifExists); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -7899,12 +9807,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions * @static - * @param {arrow.flight.protocol.sql.CommandStatementIngest.ITableDefinitionOptions} message TableDefinitionOptions message or plain object to encode + * @param {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Properties} message TableDefinitionOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - TableDefinitionOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + TableDefinitionOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -7914,30 +9822,69 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions} TableDefinitionOptions + * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape} TableDefinitionOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TableDefinitionOptions.decode = function decode(reader, length) { + TableDefinitionOptions.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.ifNotExist = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.ifNotExist = value; + else + delete message.ifNotExist; + continue; } case 2: { - message.ifExists = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.ifExists = value; + else + delete message.ifExists; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -7947,11 +9894,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions} TableDefinitionOptions + * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions & arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.$Shape} TableDefinitionOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - TableDefinitionOptions.decodeDelimited = function decodeDelimited(reader) { + TableDefinitionOptions.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -7965,28 +9912,19 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - TableDefinitionOptions.verify = function verify(message) { + TableDefinitionOptions.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ifNotExist != null && message.hasOwnProperty("ifNotExist")) - switch (message.ifNotExist) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.ifNotExist != null && $Object.hasOwnProperty.call(message, "ifNotExist")) + if (typeof message.ifNotExist !== "number" || (message.ifNotExist | 0) !== message.ifNotExist) return "ifNotExist: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.ifExists != null && message.hasOwnProperty("ifExists")) - switch (message.ifExists) { - default: + if (message.ifExists != null && $Object.hasOwnProperty.call(message, "ifExists")) + if (typeof message.ifExists !== "number" || (message.ifExists | 0) !== message.ifExists) return "ifExists: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } return null; }; @@ -7998,54 +9936,56 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions} TableDefinitionOptions */ - TableDefinitionOptions.fromObject = function fromObject(object) { + TableDefinitionOptions.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions(); - switch (object.ifNotExist) { - default: - if (typeof object.ifNotExist === "number") { - message.ifNotExist = object.ifNotExist; + if (object.ifNotExist !== 0 && (typeof object.ifNotExist !== "string" || $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption[object.ifNotExist] !== 0)) + switch (object.ifNotExist) { + case "TABLE_NOT_EXIST_OPTION_UNSPECIFIED": + case 0: + message.ifNotExist = 0; + break; + case "TABLE_NOT_EXIST_OPTION_CREATE": + case 1: + message.ifNotExist = 1; + break; + case "TABLE_NOT_EXIST_OPTION_FAIL": + case 2: + message.ifNotExist = 2; break; + default: + if (typeof object.ifNotExist === "number" && (object.ifNotExist | 0) === object.ifNotExist) + message.ifNotExist = object.ifNotExist; } - break; - case "TABLE_NOT_EXIST_OPTION_UNSPECIFIED": - case 0: - message.ifNotExist = 0; - break; - case "TABLE_NOT_EXIST_OPTION_CREATE": - case 1: - message.ifNotExist = 1; - break; - case "TABLE_NOT_EXIST_OPTION_FAIL": - case 2: - message.ifNotExist = 2; - break; - } - switch (object.ifExists) { - default: - if (typeof object.ifExists === "number") { - message.ifExists = object.ifExists; + if (object.ifExists !== 0 && (typeof object.ifExists !== "string" || $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption[object.ifExists] !== 0)) + switch (object.ifExists) { + case "TABLE_EXISTS_OPTION_UNSPECIFIED": + case 0: + message.ifExists = 0; + break; + case "TABLE_EXISTS_OPTION_FAIL": + case 1: + message.ifExists = 1; + break; + case "TABLE_EXISTS_OPTION_APPEND": + case 2: + message.ifExists = 2; + break; + case "TABLE_EXISTS_OPTION_REPLACE": + case 3: + message.ifExists = 3; break; + default: + if (typeof object.ifExists === "number" && (object.ifExists | 0) === object.ifExists) + message.ifExists = object.ifExists; } - break; - case "TABLE_EXISTS_OPTION_UNSPECIFIED": - case 0: - message.ifExists = 0; - break; - case "TABLE_EXISTS_OPTION_FAIL": - case 1: - message.ifExists = 1; - break; - case "TABLE_EXISTS_OPTION_APPEND": - case 2: - message.ifExists = 2; - break; - case "TABLE_EXISTS_OPTION_REPLACE": - case 3: - message.ifExists = 3; - break; - } return message; }; @@ -8058,18 +9998,22 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - TableDefinitionOptions.toObject = function toObject(message, options) { + TableDefinitionOptions.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - object.ifNotExist = options.enums === String ? "TABLE_NOT_EXIST_OPTION_UNSPECIFIED" : 0; - object.ifExists = options.enums === String ? "TABLE_EXISTS_OPTION_UNSPECIFIED" : 0; + object.ifNotExist = options.enums === $String ? "TABLE_NOT_EXIST_OPTION_UNSPECIFIED" : 0; + object.ifExists = options.enums === $String ? "TABLE_EXISTS_OPTION_UNSPECIFIED" : 0; } - if (message.ifNotExist != null && message.hasOwnProperty("ifNotExist")) - object.ifNotExist = options.enums === String ? $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption[message.ifNotExist] === undefined ? message.ifNotExist : $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption[message.ifNotExist] : message.ifNotExist; - if (message.ifExists != null && message.hasOwnProperty("ifExists")) - object.ifExists = options.enums === String ? $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption[message.ifExists] === undefined ? message.ifExists : $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption[message.ifExists] : message.ifExists; + if (message.ifNotExist != null && $Object.hasOwnProperty.call(message, "ifNotExist")) + object.ifNotExist = options.enums === $String ? $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption[message.ifNotExist] === $undefined ? message.ifNotExist : $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableNotExistOption[message.ifNotExist] : message.ifNotExist; + if (message.ifExists != null && $Object.hasOwnProperty.call(message, "ifExists")) + object.ifExists = options.enums === $String ? $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption[message.ifExists] === $undefined ? message.ifExists : $root.arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions.TableExistsOption[message.ifExists] : message.ifExists; return object; }; @@ -8080,23 +10024,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - TableDefinitionOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + TableDefinitionOptions.prototype.toJSON = function() { + return TableDefinitionOptions.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for TableDefinitionOptions + * Gets the type url for TableDefinitionOptions * @function getTypeUrl * @memberof arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - TableDefinitionOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions"; + TableDefinitionOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.CommandStatementIngest.TableDefinitionOptions"; }; /** @@ -8108,7 +10051,7 @@ $root.arrow = (function() { * @property {number} TABLE_NOT_EXIST_OPTION_FAIL=2 TABLE_NOT_EXIST_OPTION_FAIL value */ TableDefinitionOptions.TableNotExistOption = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "TABLE_NOT_EXIST_OPTION_UNSPECIFIED"] = 0; values[valuesById[1] = "TABLE_NOT_EXIST_OPTION_CREATE"] = 1; values[valuesById[2] = "TABLE_NOT_EXIST_OPTION_FAIL"] = 2; @@ -8125,7 +10068,7 @@ $root.arrow = (function() { * @property {number} TABLE_EXISTS_OPTION_REPLACE=3 TABLE_EXISTS_OPTION_REPLACE value */ TableDefinitionOptions.TableExistsOption = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "TABLE_EXISTS_OPTION_UNSPECIFIED"] = 0; values[valuesById[1] = "TABLE_EXISTS_OPTION_FAIL"] = 1; values[valuesById[2] = "TABLE_EXISTS_OPTION_APPEND"] = 2; @@ -8141,27 +10084,40 @@ $root.arrow = (function() { sql.DoPutUpdateResult = (function() { + /** + * Properties of a DoPutUpdateResult. + * @typedef {Object} arrow.flight.protocol.sql.DoPutUpdateResult.$Properties + * @property {number|Long|null} [recordCount] DoPutUpdateResult recordCount + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a DoPutUpdateResult. * @memberof arrow.flight.protocol.sql * @interface IDoPutUpdateResult - * @property {number|Long|null} [recordCount] DoPutUpdateResult recordCount + * @augments arrow.flight.protocol.sql.DoPutUpdateResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.DoPutUpdateResult.$Properties instead. + */ + + /** + * Shape of a DoPutUpdateResult. + * @typedef {arrow.flight.protocol.sql.DoPutUpdateResult.$Properties} arrow.flight.protocol.sql.DoPutUpdateResult.$Shape */ /** * Constructs a new DoPutUpdateResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents a DoPutUpdateResult. - * @implements IDoPutUpdateResult * @constructor - * @param {arrow.flight.protocol.sql.IDoPutUpdateResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.DoPutUpdateResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function DoPutUpdateResult(properties) { + var DoPutUpdateResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * DoPutUpdateResult recordCount. @@ -8176,10 +10132,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.DoPutUpdateResult * @static - * @param {arrow.flight.protocol.sql.IDoPutUpdateResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.DoPutUpdateResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.DoPutUpdateResult} DoPutUpdateResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.DoPutUpdateResult.$Shape): arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape; + * (properties?: arrow.flight.protocol.sql.DoPutUpdateResult.$Properties): arrow.flight.protocol.sql.DoPutUpdateResult; + * }} */ - DoPutUpdateResult.create = function create(properties) { + DoPutUpdateResult.create = function(properties) { return new DoPutUpdateResult(properties); }; @@ -8188,15 +10148,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.DoPutUpdateResult * @static - * @param {arrow.flight.protocol.sql.IDoPutUpdateResult} message DoPutUpdateResult message or plain object to encode + * @param {arrow.flight.protocol.sql.DoPutUpdateResult.$Properties} message DoPutUpdateResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DoPutUpdateResult.encode = function encode(message, writer) { + DoPutUpdateResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.recordCount != null && Object.hasOwnProperty.call(message, "recordCount")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.recordCount != null && $Object.hasOwnProperty.call(message, "recordCount") && (typeof message.recordCount === "object" ? message.recordCount.low || message.recordCount.high : message.recordCount !== 0)) writer.uint32(/* id 1, wireType 0 =*/8).int64(message.recordCount); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -8205,12 +10172,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.DoPutUpdateResult * @static - * @param {arrow.flight.protocol.sql.IDoPutUpdateResult} message DoPutUpdateResult message or plain object to encode + * @param {arrow.flight.protocol.sql.DoPutUpdateResult.$Properties} message DoPutUpdateResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DoPutUpdateResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + DoPutUpdateResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -8220,26 +10187,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.DoPutUpdateResult} DoPutUpdateResult + * @returns {arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape} DoPutUpdateResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DoPutUpdateResult.decode = function decode(reader, length) { + DoPutUpdateResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.DoPutUpdateResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.DoPutUpdateResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.recordCount = reader.int64(); - break; + if (wireType !== 0) + break; + if (typeof (value = reader.int64()) === "object" ? value.low || value.high : value !== 0) + message.recordCount = value; + else + delete message.recordCount; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -8249,11 +10250,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.DoPutUpdateResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.DoPutUpdateResult} DoPutUpdateResult + * @returns {arrow.flight.protocol.sql.DoPutUpdateResult & arrow.flight.protocol.sql.DoPutUpdateResult.$Shape} DoPutUpdateResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DoPutUpdateResult.decodeDelimited = function decodeDelimited(reader) { + DoPutUpdateResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -8267,10 +10268,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DoPutUpdateResult.verify = function verify(message) { + DoPutUpdateResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.recordCount != null && message.hasOwnProperty("recordCount")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.recordCount != null && $Object.hasOwnProperty.call(message, "recordCount")) if (!$util.isInteger(message.recordCount) && !(message.recordCount && $util.isInteger(message.recordCount.low) && $util.isInteger(message.recordCount.high))) return "recordCount: integer|Long expected"; return null; @@ -8284,19 +10289,26 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.DoPutUpdateResult} DoPutUpdateResult */ - DoPutUpdateResult.fromObject = function fromObject(object) { + DoPutUpdateResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.DoPutUpdateResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.DoPutUpdateResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.DoPutUpdateResult(); if (object.recordCount != null) - if ($util.Long) - (message.recordCount = $util.Long.fromValue(object.recordCount)).unsigned = false; - else if (typeof object.recordCount === "string") - message.recordCount = parseInt(object.recordCount, 10); - else if (typeof object.recordCount === "number") - message.recordCount = object.recordCount; - else if (typeof object.recordCount === "object") - message.recordCount = new $util.LongBits(object.recordCount.low >>> 0, object.recordCount.high >>> 0).toNumber(); + if (typeof object.recordCount === "object" ? object.recordCount.low || object.recordCount.high : $Number(object.recordCount) !== 0) + if ($util.Long) + message.recordCount = $util.Long.fromValue(object.recordCount, false); + else if (typeof object.recordCount === "string") + message.recordCount = $parseInt(object.recordCount, 10); + else if (typeof object.recordCount === "number") + message.recordCount = object.recordCount; + else if (typeof object.recordCount === "object") + message.recordCount = new $util.LongBits(object.recordCount.low >>> 0, object.recordCount.high >>> 0).toNumber(); return message; }; @@ -8309,21 +10321,27 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - DoPutUpdateResult.toObject = function toObject(message, options) { + DoPutUpdateResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) if ($util.Long) { var long = new $util.Long(0, 0, false); - object.recordCount = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; + object.recordCount = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; } else - object.recordCount = options.longs === String ? "0" : 0; - if (message.recordCount != null && message.hasOwnProperty("recordCount")) - if (typeof message.recordCount === "number") - object.recordCount = options.longs === String ? String(message.recordCount) : message.recordCount; + object.recordCount = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; + if (message.recordCount != null && $Object.hasOwnProperty.call(message, "recordCount")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.recordCount = typeof message.recordCount === "number" ? $BigInt(message.recordCount) : $util.Long.fromBits(message.recordCount.low >>> 0, message.recordCount.high >>> 0, false).toBigInt(); + else if (typeof message.recordCount === "number") + object.recordCount = options.longs === $String ? $String(message.recordCount) : message.recordCount; else - object.recordCount = options.longs === String ? $util.Long.prototype.toString.call(message.recordCount) : options.longs === Number ? new $util.LongBits(message.recordCount.low >>> 0, message.recordCount.high >>> 0).toNumber() : message.recordCount; + object.recordCount = options.longs === $String ? $util.Long.prototype.toString.call(message.recordCount) : options.longs === $Number ? new $util.LongBits(message.recordCount.low >>> 0, message.recordCount.high >>> 0).toNumber() : message.recordCount; return object; }; @@ -8334,23 +10352,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - DoPutUpdateResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + DoPutUpdateResult.prototype.toJSON = function() { + return DoPutUpdateResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for DoPutUpdateResult + * Gets the type url for DoPutUpdateResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.DoPutUpdateResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - DoPutUpdateResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.DoPutUpdateResult"; + DoPutUpdateResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.DoPutUpdateResult"; }; return DoPutUpdateResult; @@ -8358,27 +10375,40 @@ $root.arrow = (function() { sql.DoPutPreparedStatementResult = (function() { + /** + * Properties of a DoPutPreparedStatementResult. + * @typedef {Object} arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties + * @property {Uint8Array|null} [preparedStatementHandle] DoPutPreparedStatementResult preparedStatementHandle + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a DoPutPreparedStatementResult. * @memberof arrow.flight.protocol.sql * @interface IDoPutPreparedStatementResult - * @property {Uint8Array|null} [preparedStatementHandle] DoPutPreparedStatementResult preparedStatementHandle + * @augments arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties instead. + */ + + /** + * Shape of a DoPutPreparedStatementResult. + * @typedef {arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties} arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape */ /** * Constructs a new DoPutPreparedStatementResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents a DoPutPreparedStatementResult. - * @implements IDoPutPreparedStatementResult * @constructor - * @param {arrow.flight.protocol.sql.IDoPutPreparedStatementResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function DoPutPreparedStatementResult(properties) { + var DoPutPreparedStatementResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * DoPutPreparedStatementResult preparedStatementHandle. @@ -8391,13 +10421,8 @@ $root.arrow = (function() { // OneOf field names bound to virtual getters and setters var $oneOfFields; - /** - * DoPutPreparedStatementResult _preparedStatementHandle. - * @member {"preparedStatementHandle"|undefined} _preparedStatementHandle - * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult - * @instance - */ - Object.defineProperty(DoPutPreparedStatementResult.prototype, "_preparedStatementHandle", { + // Virtual OneOf for proto3 optional field + $Object.defineProperty(DoPutPreparedStatementResult.prototype, "_preparedStatementHandle", { get: $util.oneOfGetter($oneOfFields = ["preparedStatementHandle"]), set: $util.oneOfSetter($oneOfFields) }); @@ -8407,10 +10432,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IDoPutPreparedStatementResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult} DoPutPreparedStatementResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape): arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape; + * (properties?: arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties): arrow.flight.protocol.sql.DoPutPreparedStatementResult; + * }} */ - DoPutPreparedStatementResult.create = function create(properties) { + DoPutPreparedStatementResult.create = function(properties) { return new DoPutPreparedStatementResult(properties); }; @@ -8419,15 +10448,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IDoPutPreparedStatementResult} message DoPutPreparedStatementResult message or plain object to encode + * @param {arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties} message DoPutPreparedStatementResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DoPutPreparedStatementResult.encode = function encode(message, writer) { + DoPutPreparedStatementResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.preparedStatementHandle != null && Object.hasOwnProperty.call(message, "preparedStatementHandle")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.preparedStatementHandle); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -8436,12 +10472,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult * @static - * @param {arrow.flight.protocol.sql.IDoPutPreparedStatementResult} message DoPutPreparedStatementResult message or plain object to encode + * @param {arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Properties} message DoPutPreparedStatementResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DoPutPreparedStatementResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + DoPutPreparedStatementResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -8451,26 +10487,58 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult} DoPutPreparedStatementResult + * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape} DoPutPreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DoPutPreparedStatementResult.decode = function decode(reader, length) { + DoPutPreparedStatementResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.DoPutPreparedStatementResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.DoPutPreparedStatementResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.preparedStatementHandle = reader.bytes(); - break; + message._preparedStatementHandle = "preparedStatementHandle"; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -8480,11 +10548,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult} DoPutPreparedStatementResult + * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult & arrow.flight.protocol.sql.DoPutPreparedStatementResult.$Shape} DoPutPreparedStatementResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DoPutPreparedStatementResult.decodeDelimited = function decodeDelimited(reader) { + DoPutPreparedStatementResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -8498,11 +10566,15 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DoPutPreparedStatementResult.verify = function verify(message) { + DoPutPreparedStatementResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; var properties = {}; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) { + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) { properties._preparedStatementHandle = 1; if (!(message.preparedStatementHandle && typeof message.preparedStatementHandle.length === "number" || $util.isString(message.preparedStatementHandle))) return "preparedStatementHandle: buffer expected"; @@ -8518,9 +10590,15 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.DoPutPreparedStatementResult} DoPutPreparedStatementResult */ - DoPutPreparedStatementResult.fromObject = function fromObject(object) { + DoPutPreparedStatementResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.DoPutPreparedStatementResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.DoPutPreparedStatementResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.DoPutPreparedStatementResult(); if (object.preparedStatementHandle != null) if (typeof object.preparedStatementHandle === "string") @@ -8539,15 +10617,16 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - DoPutPreparedStatementResult.toObject = function toObject(message, options) { + DoPutPreparedStatementResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (message.preparedStatementHandle != null && message.hasOwnProperty("preparedStatementHandle")) { - object.preparedStatementHandle = options.bytes === String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === Array ? Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; - if (options.oneofs) - object._preparedStatementHandle = "preparedStatementHandle"; - } + if (message.preparedStatementHandle != null && $Object.hasOwnProperty.call(message, "preparedStatementHandle")) + object.preparedStatementHandle = options.bytes === $String ? $util.base64.encode(message.preparedStatementHandle, 0, message.preparedStatementHandle.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.preparedStatementHandle) : message.preparedStatementHandle; return object; }; @@ -8558,23 +10637,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - DoPutPreparedStatementResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + DoPutPreparedStatementResult.prototype.toJSON = function() { + return DoPutPreparedStatementResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for DoPutPreparedStatementResult + * Gets the type url for DoPutPreparedStatementResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.DoPutPreparedStatementResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - DoPutPreparedStatementResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.DoPutPreparedStatementResult"; + DoPutPreparedStatementResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.DoPutPreparedStatementResult"; }; return DoPutPreparedStatementResult; @@ -8582,27 +10660,40 @@ $root.arrow = (function() { sql.ActionCancelQueryRequest = (function() { + /** + * Properties of an ActionCancelQueryRequest. + * @typedef {Object} arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties + * @property {Uint8Array|null} [info] ActionCancelQueryRequest info + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionCancelQueryRequest. * @memberof arrow.flight.protocol.sql * @interface IActionCancelQueryRequest - * @property {Uint8Array|null} [info] ActionCancelQueryRequest info + * @augments arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties instead. + */ + + /** + * Shape of an ActionCancelQueryRequest. + * @typedef {arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties} arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape */ /** * Constructs a new ActionCancelQueryRequest. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionCancelQueryRequest. - * @implements IActionCancelQueryRequest * @constructor - * @param {arrow.flight.protocol.sql.IActionCancelQueryRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionCancelQueryRequest(properties) { + var ActionCancelQueryRequest = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionCancelQueryRequest info. @@ -8617,10 +10708,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionCancelQueryRequest * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryRequest=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest} ActionCancelQueryRequest instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape): arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties): arrow.flight.protocol.sql.ActionCancelQueryRequest; + * }} */ - ActionCancelQueryRequest.create = function create(properties) { + ActionCancelQueryRequest.create = function(properties) { return new ActionCancelQueryRequest(properties); }; @@ -8629,15 +10724,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionCancelQueryRequest * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryRequest} message ActionCancelQueryRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties} message ActionCancelQueryRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCancelQueryRequest.encode = function encode(message, writer) { + ActionCancelQueryRequest.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.info != null && Object.hasOwnProperty.call(message, "info")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.info != null && $Object.hasOwnProperty.call(message, "info") && message.info.length) writer.uint32(/* id 1, wireType 2 =*/10).bytes(message.info); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -8646,12 +10748,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionCancelQueryRequest * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryRequest} message ActionCancelQueryRequest message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCancelQueryRequest.$Properties} message ActionCancelQueryRequest message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCancelQueryRequest.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionCancelQueryRequest.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -8661,26 +10763,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest} ActionCancelQueryRequest + * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape} ActionCancelQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCancelQueryRequest.decode = function decode(reader, length) { + ActionCancelQueryRequest.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionCancelQueryRequest(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionCancelQueryRequest(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.info = reader.bytes(); - break; + if (wireType !== 2) + break; + if ((value = reader.bytes()).length) + message.info = value; + else + delete message.info; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -8690,11 +10826,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionCancelQueryRequest * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest} ActionCancelQueryRequest + * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest & arrow.flight.protocol.sql.ActionCancelQueryRequest.$Shape} ActionCancelQueryRequest * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCancelQueryRequest.decodeDelimited = function decodeDelimited(reader) { + ActionCancelQueryRequest.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -8708,10 +10844,14 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionCancelQueryRequest.verify = function verify(message) { + ActionCancelQueryRequest.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.info != null && message.hasOwnProperty("info")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) if (!(message.info && typeof message.info.length === "number" || $util.isString(message.info))) return "info: buffer expected"; return null; @@ -8725,15 +10865,22 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionCancelQueryRequest} ActionCancelQueryRequest */ - ActionCancelQueryRequest.fromObject = function fromObject(object) { + ActionCancelQueryRequest.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionCancelQueryRequest) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCancelQueryRequest: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionCancelQueryRequest(); if (object.info != null) - if (typeof object.info === "string") - $util.base64.decode(object.info, message.info = $util.newBuffer($util.base64.length(object.info)), 0); - else if (object.info.length >= 0) - message.info = object.info; + if (object.info.length) + if (typeof object.info === "string") + $util.base64.decode(object.info, message.info = $util.newBuffer($util.base64.length(object.info)), 0); + else if (object.info.length >= 0) + message.info = object.info; return message; }; @@ -8746,20 +10893,24 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionCancelQueryRequest.toObject = function toObject(message, options) { + ActionCancelQueryRequest.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - if (options.bytes === String) + if (options.bytes === $String) object.info = ""; else { object.info = []; - if (options.bytes !== Array) + if (options.bytes !== $Array) object.info = $util.newBuffer(object.info); } - if (message.info != null && message.hasOwnProperty("info")) - object.info = options.bytes === String ? $util.base64.encode(message.info, 0, message.info.length) : options.bytes === Array ? Array.prototype.slice.call(message.info) : message.info; + if (message.info != null && $Object.hasOwnProperty.call(message, "info")) + object.info = options.bytes === $String ? $util.base64.encode(message.info, 0, message.info.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.info) : message.info; return object; }; @@ -8770,23 +10921,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionCancelQueryRequest.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionCancelQueryRequest.prototype.toJSON = function() { + return ActionCancelQueryRequest.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionCancelQueryRequest + * Gets the type url for ActionCancelQueryRequest * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionCancelQueryRequest * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionCancelQueryRequest.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionCancelQueryRequest"; + ActionCancelQueryRequest.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionCancelQueryRequest"; }; return ActionCancelQueryRequest; @@ -8794,27 +10944,40 @@ $root.arrow = (function() { sql.ActionCancelQueryResult = (function() { + /** + * Properties of an ActionCancelQueryResult. + * @typedef {Object} arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties + * @property {arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult|null} [result] ActionCancelQueryResult result + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of an ActionCancelQueryResult. * @memberof arrow.flight.protocol.sql * @interface IActionCancelQueryResult - * @property {arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult|null} [result] ActionCancelQueryResult result + * @augments arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties + * @deprecated Use arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties instead. + */ + + /** + * Shape of an ActionCancelQueryResult. + * @typedef {arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties} arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape */ /** * Constructs a new ActionCancelQueryResult. * @memberof arrow.flight.protocol.sql * @classdesc Represents an ActionCancelQueryResult. - * @implements IActionCancelQueryResult * @constructor - * @param {arrow.flight.protocol.sql.IActionCancelQueryResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ActionCancelQueryResult(properties) { + var ActionCancelQueryResult = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ActionCancelQueryResult result. @@ -8829,10 +10992,14 @@ $root.arrow = (function() { * @function create * @memberof arrow.flight.protocol.sql.ActionCancelQueryResult * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryResult=} [properties] Properties to set + * @param {arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties=} [properties] Properties to set * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult} ActionCancelQueryResult instance + * @type {{ + * (properties: arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape): arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape; + * (properties?: arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties): arrow.flight.protocol.sql.ActionCancelQueryResult; + * }} */ - ActionCancelQueryResult.create = function create(properties) { + ActionCancelQueryResult.create = function(properties) { return new ActionCancelQueryResult(properties); }; @@ -8841,15 +11008,22 @@ $root.arrow = (function() { * @function encode * @memberof arrow.flight.protocol.sql.ActionCancelQueryResult * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryResult} message ActionCancelQueryResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties} message ActionCancelQueryResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCancelQueryResult.encode = function encode(message, writer) { + ActionCancelQueryResult.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.result != null && Object.hasOwnProperty.call(message, "result")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.result != null && $Object.hasOwnProperty.call(message, "result") && message.result !== 0) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.result); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -8858,12 +11032,12 @@ $root.arrow = (function() { * @function encodeDelimited * @memberof arrow.flight.protocol.sql.ActionCancelQueryResult * @static - * @param {arrow.flight.protocol.sql.IActionCancelQueryResult} message ActionCancelQueryResult message or plain object to encode + * @param {arrow.flight.protocol.sql.ActionCancelQueryResult.$Properties} message ActionCancelQueryResult message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ActionCancelQueryResult.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ActionCancelQueryResult.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -8873,26 +11047,60 @@ $root.arrow = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult} ActionCancelQueryResult + * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape} ActionCancelQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCancelQueryResult.decode = function decode(reader, length) { + ActionCancelQueryResult.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.arrow.flight.protocol.sql.ActionCancelQueryResult(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.arrow.flight.protocol.sql.ActionCancelQueryResult(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.result = reader.int32(); - break; + if (wireType !== 0) + break; + if (value = reader.int32()) + message.result = value; + else + delete message.result; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -8902,11 +11110,11 @@ $root.arrow = (function() { * @memberof arrow.flight.protocol.sql.ActionCancelQueryResult * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult} ActionCancelQueryResult + * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult & arrow.flight.protocol.sql.ActionCancelQueryResult.$Shape} ActionCancelQueryResult * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ActionCancelQueryResult.decodeDelimited = function decodeDelimited(reader) { + ActionCancelQueryResult.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -8920,19 +11128,16 @@ $root.arrow = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ActionCancelQueryResult.verify = function verify(message) { + ActionCancelQueryResult.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.result != null && message.hasOwnProperty("result")) - switch (message.result) { - default: + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.result != null && $Object.hasOwnProperty.call(message, "result")) + if (typeof message.result !== "number" || (message.result | 0) !== message.result) return "result: enum value expected"; - case 0: - case 1: - case 2: - case 3: - break; - } return null; }; @@ -8944,34 +11149,38 @@ $root.arrow = (function() { * @param {Object.} object Plain object * @returns {arrow.flight.protocol.sql.ActionCancelQueryResult} ActionCancelQueryResult */ - ActionCancelQueryResult.fromObject = function fromObject(object) { + ActionCancelQueryResult.fromObject = function (object, _depth) { if (object instanceof $root.arrow.flight.protocol.sql.ActionCancelQueryResult) return object; + if (!$util.isObject(object)) + throw $TypeError(".arrow.flight.protocol.sql.ActionCancelQueryResult: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.arrow.flight.protocol.sql.ActionCancelQueryResult(); - switch (object.result) { - default: - if (typeof object.result === "number") { - message.result = object.result; + if (object.result !== 0 && (typeof object.result !== "string" || $root.arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult[object.result] !== 0)) + switch (object.result) { + case "CANCEL_RESULT_UNSPECIFIED": + case 0: + message.result = 0; + break; + case "CANCEL_RESULT_CANCELLED": + case 1: + message.result = 1; break; + case "CANCEL_RESULT_CANCELLING": + case 2: + message.result = 2; + break; + case "CANCEL_RESULT_NOT_CANCELLABLE": + case 3: + message.result = 3; + break; + default: + if (typeof object.result === "number" && (object.result | 0) === object.result) + message.result = object.result; } - break; - case "CANCEL_RESULT_UNSPECIFIED": - case 0: - message.result = 0; - break; - case "CANCEL_RESULT_CANCELLED": - case 1: - message.result = 1; - break; - case "CANCEL_RESULT_CANCELLING": - case 2: - message.result = 2; - break; - case "CANCEL_RESULT_NOT_CANCELLABLE": - case 3: - message.result = 3; - break; - } return message; }; @@ -8984,14 +11193,18 @@ $root.arrow = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ActionCancelQueryResult.toObject = function toObject(message, options) { + ActionCancelQueryResult.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) - object.result = options.enums === String ? "CANCEL_RESULT_UNSPECIFIED" : 0; - if (message.result != null && message.hasOwnProperty("result")) - object.result = options.enums === String ? $root.arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult[message.result] === undefined ? message.result : $root.arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult[message.result] : message.result; + object.result = options.enums === $String ? "CANCEL_RESULT_UNSPECIFIED" : 0; + if (message.result != null && $Object.hasOwnProperty.call(message, "result")) + object.result = options.enums === $String ? $root.arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult[message.result] === $undefined ? message.result : $root.arrow.flight.protocol.sql.ActionCancelQueryResult.CancelResult[message.result] : message.result; return object; }; @@ -9002,23 +11215,22 @@ $root.arrow = (function() { * @instance * @returns {Object.} JSON object */ - ActionCancelQueryResult.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ActionCancelQueryResult.prototype.toJSON = function() { + return ActionCancelQueryResult.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ActionCancelQueryResult + * Gets the type url for ActionCancelQueryResult * @function getTypeUrl * @memberof arrow.flight.protocol.sql.ActionCancelQueryResult * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ActionCancelQueryResult.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/arrow.flight.protocol.sql.ActionCancelQueryResult"; + ActionCancelQueryResult.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/arrow.flight.protocol.sql.ActionCancelQueryResult"; }; /** @@ -9031,7 +11243,7 @@ $root.arrow = (function() { * @property {number} CANCEL_RESULT_NOT_CANCELLABLE=3 CANCEL_RESULT_NOT_CANCELLABLE value */ ActionCancelQueryResult.CancelResult = (function() { - var valuesById = {}, values = Object.create(valuesById); + var valuesById = $Object.create(null), values = $Object.create(valuesById); values[valuesById[0] = "CANCEL_RESULT_UNSPECIFIED"] = 0; values[valuesById[1] = "CANCEL_RESULT_CANCELLED"] = 1; values[valuesById[2] = "CANCEL_RESULT_CANCELLING"] = 2; @@ -9074,32 +11286,45 @@ $root.google = (function() { protobuf.FileDescriptorSet = (function() { + /** + * Properties of a FileDescriptorSet. + * @typedef {Object} google.protobuf.FileDescriptorSet.$Properties + * @property {Array.|null} [file] FileDescriptorSet file + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a FileDescriptorSet. * @memberof google.protobuf * @interface IFileDescriptorSet - * @property {Array.|null} [file] FileDescriptorSet file + * @augments google.protobuf.FileDescriptorSet.$Properties + * @deprecated Use google.protobuf.FileDescriptorSet.$Properties instead. + */ + + /** + * Shape of a FileDescriptorSet. + * @typedef {google.protobuf.FileDescriptorSet.$Properties} google.protobuf.FileDescriptorSet.$Shape */ /** * Constructs a new FileDescriptorSet. * @memberof google.protobuf * @classdesc Represents a FileDescriptorSet. - * @implements IFileDescriptorSet * @constructor - * @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set + * @param {google.protobuf.FileDescriptorSet.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FileDescriptorSet(properties) { + var FileDescriptorSet = function (properties) { this.file = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FileDescriptorSet file. - * @member {Array.} file + * @member {Array.} file * @memberof google.protobuf.FileDescriptorSet * @instance */ @@ -9110,10 +11335,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.FileDescriptorSet * @static - * @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set + * @param {google.protobuf.FileDescriptorSet.$Properties=} [properties] Properties to set * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet instance + * @type {{ + * (properties: google.protobuf.FileDescriptorSet.$Shape): google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape; + * (properties?: google.protobuf.FileDescriptorSet.$Properties): google.protobuf.FileDescriptorSet; + * }} */ - FileDescriptorSet.create = function create(properties) { + FileDescriptorSet.create = function(properties) { return new FileDescriptorSet(properties); }; @@ -9122,16 +11351,23 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.FileDescriptorSet * @static - * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode + * @param {google.protobuf.FileDescriptorSet.$Properties} message FileDescriptorSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileDescriptorSet.encode = function encode(message, writer) { + FileDescriptorSet.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); if (message.file != null && message.file.length) for (var i = 0; i < message.file.length; ++i) - $root.google.protobuf.FileDescriptorProto.encode(message.file[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + $root.google.protobuf.FileDescriptorProto.encode(message.file[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -9140,12 +11376,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.FileDescriptorSet * @static - * @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode + * @param {google.protobuf.FileDescriptorSet.$Properties} message FileDescriptorSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileDescriptorSet.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FileDescriptorSet.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -9155,28 +11391,59 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet + * @returns {google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape} FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileDescriptorSet.decode = function decode(reader, length) { + FileDescriptorSet.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FileDescriptorSet(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FileDescriptorSet(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (!(message.file && message.file.length)) message.file = []; - message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32())); - break; + message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -9186,11 +11453,11 @@ $root.google = (function() { * @memberof google.protobuf.FileDescriptorSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet + * @returns {google.protobuf.FileDescriptorSet & google.protobuf.FileDescriptorSet.$Shape} FileDescriptorSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileDescriptorSet.decodeDelimited = function decodeDelimited(reader) { + FileDescriptorSet.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -9204,14 +11471,18 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FileDescriptorSet.verify = function verify(message) { + FileDescriptorSet.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.file != null && message.hasOwnProperty("file")) { - if (!Array.isArray(message.file)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.file != null && $Object.hasOwnProperty.call(message, "file")) { + if (!$Array.isArray(message.file)) return "file: array expected"; for (var i = 0; i < message.file.length; ++i) { - var error = $root.google.protobuf.FileDescriptorProto.verify(message.file[i]); + var error = $root.google.protobuf.FileDescriptorProto.verify(message.file[i], _depth + 1); if (error) return "file." + error; } @@ -9227,18 +11498,24 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet */ - FileDescriptorSet.fromObject = function fromObject(object) { + FileDescriptorSet.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.FileDescriptorSet) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FileDescriptorSet: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.FileDescriptorSet(); if (object.file) { - if (!Array.isArray(object.file)) - throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected"); - message.file = []; + if (!$Array.isArray(object.file)) + throw $TypeError(".google.protobuf.FileDescriptorSet.file: array expected"); + message.file = $Array(object.file.length); for (var i = 0; i < object.file.length; ++i) { - if (typeof object.file[i] !== "object") - throw TypeError(".google.protobuf.FileDescriptorSet.file: object expected"); - message.file[i] = $root.google.protobuf.FileDescriptorProto.fromObject(object.file[i]); + if (!$util.isObject(object.file[i])) + throw $TypeError(".google.protobuf.FileDescriptorSet.file: object expected"); + message.file[i] = $root.google.protobuf.FileDescriptorProto.fromObject(object.file[i], _depth + 1); } } return message; @@ -9253,16 +11530,20 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FileDescriptorSet.toObject = function toObject(message, options) { + FileDescriptorSet.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.file = []; if (message.file && message.file.length) { - object.file = []; + object.file = $Array(message.file.length); for (var j = 0; j < message.file.length; ++j) - object.file[j] = $root.google.protobuf.FileDescriptorProto.toObject(message.file[j], options); + object.file[j] = $root.google.protobuf.FileDescriptorProto.toObject(message.file[j], options, _depth + 1); } return object; }; @@ -9274,69 +11555,120 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - FileDescriptorSet.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FileDescriptorSet.prototype.toJSON = function() { + return FileDescriptorSet.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FileDescriptorSet + * Gets the type url for FileDescriptorSet * @function getTypeUrl * @memberof google.protobuf.FileDescriptorSet * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FileDescriptorSet"; + FileDescriptorSet.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FileDescriptorSet"; }; return FileDescriptorSet; })(); + /** + * Edition enum. + * @name google.protobuf.Edition + * @enum {number} + * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value + * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value + * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value + * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value + * @property {number} EDITION_2023=1000 EDITION_2023 value + * @property {number} EDITION_2024=1001 EDITION_2024 value + * @property {number} EDITION_2026=1002 EDITION_2026 value + * @property {number} EDITION_1_TEST_ONLY=1 EDITION_1_TEST_ONLY value + * @property {number} EDITION_2_TEST_ONLY=2 EDITION_2_TEST_ONLY value + * @property {number} EDITION_99997_TEST_ONLY=99997 EDITION_99997_TEST_ONLY value + * @property {number} EDITION_99998_TEST_ONLY=99998 EDITION_99998_TEST_ONLY value + * @property {number} EDITION_99999_TEST_ONLY=99999 EDITION_99999_TEST_ONLY value + * @property {number} EDITION_MAX=2147483647 EDITION_MAX value + */ + protobuf.Edition = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "EDITION_UNKNOWN"] = 0; + values[valuesById[900] = "EDITION_LEGACY"] = 900; + values[valuesById[998] = "EDITION_PROTO2"] = 998; + values[valuesById[999] = "EDITION_PROTO3"] = 999; + values[valuesById[1000] = "EDITION_2023"] = 1000; + values[valuesById[1001] = "EDITION_2024"] = 1001; + values[valuesById[1002] = "EDITION_2026"] = 1002; + values[valuesById[1] = "EDITION_1_TEST_ONLY"] = 1; + values[valuesById[2] = "EDITION_2_TEST_ONLY"] = 2; + values[valuesById[99997] = "EDITION_99997_TEST_ONLY"] = 99997; + values[valuesById[99998] = "EDITION_99998_TEST_ONLY"] = 99998; + values[valuesById[99999] = "EDITION_99999_TEST_ONLY"] = 99999; + values[valuesById[2147483647] = "EDITION_MAX"] = 2147483647; + return values; + })(); + protobuf.FileDescriptorProto = (function() { /** * Properties of a FileDescriptorProto. - * @memberof google.protobuf - * @interface IFileDescriptorProto + * @typedef {Object} google.protobuf.FileDescriptorProto.$Properties * @property {string|null} [name] FileDescriptorProto name * @property {string|null} ["package"] FileDescriptorProto package * @property {Array.|null} [dependency] FileDescriptorProto dependency * @property {Array.|null} [publicDependency] FileDescriptorProto publicDependency * @property {Array.|null} [weakDependency] FileDescriptorProto weakDependency - * @property {Array.|null} [messageType] FileDescriptorProto messageType - * @property {Array.|null} [enumType] FileDescriptorProto enumType - * @property {Array.|null} [service] FileDescriptorProto service - * @property {Array.|null} [extension] FileDescriptorProto extension - * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options - * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo + * @property {Array.|null} [optionDependency] FileDescriptorProto optionDependency + * @property {Array.|null} [messageType] FileDescriptorProto messageType + * @property {Array.|null} [enumType] FileDescriptorProto enumType + * @property {Array.|null} [service] FileDescriptorProto service + * @property {Array.|null} [extension] FileDescriptorProto extension + * @property {google.protobuf.FileOptions.$Properties|null} [options] FileDescriptorProto options + * @property {google.protobuf.SourceCodeInfo.$Properties|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo * @property {string|null} [syntax] FileDescriptorProto syntax + * @property {google.protobuf.Edition|null} [edition] FileDescriptorProto edition + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FileDescriptorProto. + * @memberof google.protobuf + * @interface IFileDescriptorProto + * @augments google.protobuf.FileDescriptorProto.$Properties + * @deprecated Use google.protobuf.FileDescriptorProto.$Properties instead. + */ + + /** + * Shape of a FileDescriptorProto. + * @typedef {google.protobuf.FileDescriptorProto.$Properties} google.protobuf.FileDescriptorProto.$Shape */ /** * Constructs a new FileDescriptorProto. * @memberof google.protobuf * @classdesc Represents a FileDescriptorProto. - * @implements IFileDescriptorProto * @constructor - * @param {google.protobuf.IFileDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.FileDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FileDescriptorProto(properties) { + var FileDescriptorProto = function (properties) { this.dependency = []; this.publicDependency = []; this.weakDependency = []; + this.optionDependency = []; this.messageType = []; this.enumType = []; this.service = []; this.extension = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * FileDescriptorProto name. @@ -9378,9 +11710,17 @@ $root.google = (function() { */ FileDescriptorProto.prototype.weakDependency = $util.emptyArray; + /** + * FileDescriptorProto optionDependency. + * @member {Array.} optionDependency + * @memberof google.protobuf.FileDescriptorProto + * @instance + */ + FileDescriptorProto.prototype.optionDependency = $util.emptyArray; + /** * FileDescriptorProto messageType. - * @member {Array.} messageType + * @member {Array.} messageType * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9388,7 +11728,7 @@ $root.google = (function() { /** * FileDescriptorProto enumType. - * @member {Array.} enumType + * @member {Array.} enumType * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9396,7 +11736,7 @@ $root.google = (function() { /** * FileDescriptorProto service. - * @member {Array.} service + * @member {Array.} service * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9404,7 +11744,7 @@ $root.google = (function() { /** * FileDescriptorProto extension. - * @member {Array.} extension + * @member {Array.} extension * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9412,7 +11752,7 @@ $root.google = (function() { /** * FileDescriptorProto options. - * @member {google.protobuf.IFileOptions|null|undefined} options + * @member {google.protobuf.FileOptions.$Properties|null|undefined} options * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9420,7 +11760,7 @@ $root.google = (function() { /** * FileDescriptorProto sourceCodeInfo. - * @member {google.protobuf.ISourceCodeInfo|null|undefined} sourceCodeInfo + * @member {google.protobuf.SourceCodeInfo.$Properties|null|undefined} sourceCodeInfo * @memberof google.protobuf.FileDescriptorProto * @instance */ @@ -9434,15 +11774,27 @@ $root.google = (function() { */ FileDescriptorProto.prototype.syntax = ""; + /** + * FileDescriptorProto edition. + * @member {google.protobuf.Edition} edition + * @memberof google.protobuf.FileDescriptorProto + * @instance + */ + FileDescriptorProto.prototype.edition = 0; + /** * Creates a new FileDescriptorProto instance using the specified properties. * @function create * @memberof google.protobuf.FileDescriptorProto * @static - * @param {google.protobuf.IFileDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.FileDescriptorProto.$Properties=} [properties] Properties to set * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto instance + * @type {{ + * (properties: google.protobuf.FileDescriptorProto.$Shape): google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape; + * (properties?: google.protobuf.FileDescriptorProto.$Properties): google.protobuf.FileDescriptorProto; + * }} */ - FileDescriptorProto.create = function create(properties) { + FileDescriptorProto.create = function(properties) { return new FileDescriptorProto(properties); }; @@ -9451,44 +11803,56 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.FileDescriptorProto * @static - * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode + * @param {google.protobuf.FileDescriptorProto.$Properties} message FileDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileDescriptorProto.encode = function encode(message, writer) { + FileDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message["package"] != null && Object.hasOwnProperty.call(message, "package")) + if (message["package"] != null && $Object.hasOwnProperty.call(message, "package")) writer.uint32(/* id 2, wireType 2 =*/18).string(message["package"]); if (message.dependency != null && message.dependency.length) for (var i = 0; i < message.dependency.length; ++i) writer.uint32(/* id 3, wireType 2 =*/26).string(message.dependency[i]); if (message.messageType != null && message.messageType.length) for (var i = 0; i < message.messageType.length; ++i) - $root.google.protobuf.DescriptorProto.encode(message.messageType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + $root.google.protobuf.DescriptorProto.encode(message.messageType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); if (message.enumType != null && message.enumType.length) for (var i = 0; i < message.enumType.length; ++i) - $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 5, wireType 2 =*/42).fork(), _depth + 1).ldelim(); if (message.service != null && message.service.length) for (var i = 0; i < message.service.length; ++i) - $root.google.protobuf.ServiceDescriptorProto.encode(message.service[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); + $root.google.protobuf.ServiceDescriptorProto.encode(message.service[i], writer.uint32(/* id 6, wireType 2 =*/50).fork(), _depth + 1).ldelim(); if (message.extension != null && message.extension.length) for (var i = 0; i < message.extension.length; ++i) - $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.FileOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.sourceCodeInfo != null && Object.hasOwnProperty.call(message, "sourceCodeInfo")) - $root.google.protobuf.SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 7, wireType 2 =*/58).fork(), _depth + 1).ldelim(); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.FileOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork(), _depth + 1).ldelim(); + if (message.sourceCodeInfo != null && $Object.hasOwnProperty.call(message, "sourceCodeInfo")) + $root.google.protobuf.SourceCodeInfo.encode(message.sourceCodeInfo, writer.uint32(/* id 9, wireType 2 =*/74).fork(), _depth + 1).ldelim(); if (message.publicDependency != null && message.publicDependency.length) for (var i = 0; i < message.publicDependency.length; ++i) writer.uint32(/* id 10, wireType 0 =*/80).int32(message.publicDependency[i]); if (message.weakDependency != null && message.weakDependency.length) for (var i = 0; i < message.weakDependency.length; ++i) writer.uint32(/* id 11, wireType 0 =*/88).int32(message.weakDependency[i]); - if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax")) + if (message.syntax != null && $Object.hasOwnProperty.call(message, "syntax")) writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax); + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition); + if (message.optionDependency != null && message.optionDependency.length) + for (var i = 0; i < message.optionDependency.length; ++i) + writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -9497,12 +11861,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.FileDescriptorProto * @static - * @param {google.protobuf.IFileDescriptorProto} message FileDescriptorProto message or plain object to encode + * @param {google.protobuf.FileDescriptorProto.$Properties} message FileDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FileDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -9512,94 +11876,169 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto + * @returns {google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape} FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileDescriptorProto.decode = function decode(reader, length) { + FileDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FileDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FileDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; } case 2: { + if (wireType !== 2) + break; message["package"] = reader.string(); - break; + continue; } case 3: { + if (wireType !== 2) + break; if (!(message.dependency && message.dependency.length)) message.dependency = []; message.dependency.push(reader.string()); - break; + continue; } case 10: { + if (wireType === 2) { + if (!(message.publicDependency && message.publicDependency.length)) + message.publicDependency = []; + reader.int32s(message.publicDependency); + continue; + } + if (wireType !== 0) + break; if (!(message.publicDependency && message.publicDependency.length)) message.publicDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.publicDependency.push(reader.int32()); - } else - message.publicDependency.push(reader.int32()); - break; + message.publicDependency.push(reader.int32()); + continue; } case 11: { + if (wireType === 2) { + if (!(message.weakDependency && message.weakDependency.length)) + message.weakDependency = []; + reader.int32s(message.weakDependency); + continue; + } + if (wireType !== 0) + break; if (!(message.weakDependency && message.weakDependency.length)) message.weakDependency = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.weakDependency.push(reader.int32()); - } else - message.weakDependency.push(reader.int32()); - break; + message.weakDependency.push(reader.int32()); + continue; + } + case 15: { + if (wireType !== 2) + break; + if (!(message.optionDependency && message.optionDependency.length)) + message.optionDependency = []; + message.optionDependency.push(reader.string()); + continue; } case 4: { + if (wireType !== 2) + break; if (!(message.messageType && message.messageType.length)) message.messageType = []; - message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; + message.messageType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 5: { + if (wireType !== 2) + break; if (!(message.enumType && message.enumType.length)) message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 6: { + if (wireType !== 2) + break; if (!(message.service && message.service.length)) message.service = []; - message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32())); - break; + message.service.push($root.google.protobuf.ServiceDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 7: { + if (wireType !== 2) + break; if (!(message.extension && message.extension.length)) message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 8: { - message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.options = $root.google.protobuf.FileOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; } case 9: { - message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.decode(reader, reader.uint32(), $undefined, _depth + 1, message.sourceCodeInfo); + continue; } case 12: { + if (wireType !== 2) + break; message.syntax = reader.string(); - break; + continue; + } + case 14: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.edition = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -9609,11 +12048,11 @@ $root.google = (function() { * @memberof google.protobuf.FileDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto + * @returns {google.protobuf.FileDescriptorProto & google.protobuf.FileDescriptorProto.$Shape} FileDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + FileDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -9627,85 +12066,115 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FileDescriptorProto.verify = function verify(message) { + FileDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message["package"] != null && message.hasOwnProperty("package")) + if (message["package"] != null && $Object.hasOwnProperty.call(message, "package")) if (!$util.isString(message["package"])) return "package: string expected"; - if (message.dependency != null && message.hasOwnProperty("dependency")) { - if (!Array.isArray(message.dependency)) + if (message.dependency != null && $Object.hasOwnProperty.call(message, "dependency")) { + if (!$Array.isArray(message.dependency)) return "dependency: array expected"; for (var i = 0; i < message.dependency.length; ++i) if (!$util.isString(message.dependency[i])) return "dependency: string[] expected"; } - if (message.publicDependency != null && message.hasOwnProperty("publicDependency")) { - if (!Array.isArray(message.publicDependency)) + if (message.publicDependency != null && $Object.hasOwnProperty.call(message, "publicDependency")) { + if (!$Array.isArray(message.publicDependency)) return "publicDependency: array expected"; for (var i = 0; i < message.publicDependency.length; ++i) if (!$util.isInteger(message.publicDependency[i])) return "publicDependency: integer[] expected"; } - if (message.weakDependency != null && message.hasOwnProperty("weakDependency")) { - if (!Array.isArray(message.weakDependency)) + if (message.weakDependency != null && $Object.hasOwnProperty.call(message, "weakDependency")) { + if (!$Array.isArray(message.weakDependency)) return "weakDependency: array expected"; for (var i = 0; i < message.weakDependency.length; ++i) if (!$util.isInteger(message.weakDependency[i])) return "weakDependency: integer[] expected"; } - if (message.messageType != null && message.hasOwnProperty("messageType")) { - if (!Array.isArray(message.messageType)) + if (message.optionDependency != null && $Object.hasOwnProperty.call(message, "optionDependency")) { + if (!$Array.isArray(message.optionDependency)) + return "optionDependency: array expected"; + for (var i = 0; i < message.optionDependency.length; ++i) + if (!$util.isString(message.optionDependency[i])) + return "optionDependency: string[] expected"; + } + if (message.messageType != null && $Object.hasOwnProperty.call(message, "messageType")) { + if (!$Array.isArray(message.messageType)) return "messageType: array expected"; for (var i = 0; i < message.messageType.length; ++i) { - var error = $root.google.protobuf.DescriptorProto.verify(message.messageType[i]); + var error = $root.google.protobuf.DescriptorProto.verify(message.messageType[i], _depth + 1); if (error) return "messageType." + error; } } - if (message.enumType != null && message.hasOwnProperty("enumType")) { - if (!Array.isArray(message.enumType)) + if (message.enumType != null && $Object.hasOwnProperty.call(message, "enumType")) { + if (!$Array.isArray(message.enumType)) return "enumType: array expected"; for (var i = 0; i < message.enumType.length; ++i) { - var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i]); + var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i], _depth + 1); if (error) return "enumType." + error; } } - if (message.service != null && message.hasOwnProperty("service")) { - if (!Array.isArray(message.service)) + if (message.service != null && $Object.hasOwnProperty.call(message, "service")) { + if (!$Array.isArray(message.service)) return "service: array expected"; for (var i = 0; i < message.service.length; ++i) { - var error = $root.google.protobuf.ServiceDescriptorProto.verify(message.service[i]); + var error = $root.google.protobuf.ServiceDescriptorProto.verify(message.service[i], _depth + 1); if (error) return "service." + error; } } - if (message.extension != null && message.hasOwnProperty("extension")) { - if (!Array.isArray(message.extension)) + if (message.extension != null && $Object.hasOwnProperty.call(message, "extension")) { + if (!$Array.isArray(message.extension)) return "extension: array expected"; for (var i = 0; i < message.extension.length; ++i) { - var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i]); + var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i], _depth + 1); if (error) return "extension." + error; } } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.FileOptions.verify(message.options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.FileOptions.verify(message.options, _depth + 1); if (error) return "options." + error; } - if (message.sourceCodeInfo != null && message.hasOwnProperty("sourceCodeInfo")) { - var error = $root.google.protobuf.SourceCodeInfo.verify(message.sourceCodeInfo); + if (message.sourceCodeInfo != null && $Object.hasOwnProperty.call(message, "sourceCodeInfo")) { + var error = $root.google.protobuf.SourceCodeInfo.verify(message.sourceCodeInfo, _depth + 1); if (error) return "sourceCodeInfo." + error; } - if (message.syntax != null && message.hasOwnProperty("syntax")) + if (message.syntax != null && $Object.hasOwnProperty.call(message, "syntax")) if (!$util.isString(message.syntax)) return "syntax: string expected"; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + switch (message.edition) { + default: + return "edition: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } return null; }; @@ -9717,87 +12186,155 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.FileDescriptorProto} FileDescriptorProto */ - FileDescriptorProto.fromObject = function fromObject(object) { + FileDescriptorProto.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.FileDescriptorProto) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FileDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.FileDescriptorProto(); if (object.name != null) - message.name = String(object.name); + message.name = $String(object.name); if (object["package"] != null) - message["package"] = String(object["package"]); + message["package"] = $String(object["package"]); if (object.dependency) { - if (!Array.isArray(object.dependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.dependency: array expected"); - message.dependency = []; + if (!$Array.isArray(object.dependency)) + throw $TypeError(".google.protobuf.FileDescriptorProto.dependency: array expected"); + message.dependency = $Array(object.dependency.length); for (var i = 0; i < object.dependency.length; ++i) - message.dependency[i] = String(object.dependency[i]); + message.dependency[i] = $String(object.dependency[i]); } if (object.publicDependency) { - if (!Array.isArray(object.publicDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.publicDependency: array expected"); - message.publicDependency = []; + if (!$Array.isArray(object.publicDependency)) + throw $TypeError(".google.protobuf.FileDescriptorProto.publicDependency: array expected"); + message.publicDependency = $Array(object.publicDependency.length); for (var i = 0; i < object.publicDependency.length; ++i) message.publicDependency[i] = object.publicDependency[i] | 0; } if (object.weakDependency) { - if (!Array.isArray(object.weakDependency)) - throw TypeError(".google.protobuf.FileDescriptorProto.weakDependency: array expected"); - message.weakDependency = []; + if (!$Array.isArray(object.weakDependency)) + throw $TypeError(".google.protobuf.FileDescriptorProto.weakDependency: array expected"); + message.weakDependency = $Array(object.weakDependency.length); for (var i = 0; i < object.weakDependency.length; ++i) message.weakDependency[i] = object.weakDependency[i] | 0; } + if (object.optionDependency) { + if (!$Array.isArray(object.optionDependency)) + throw $TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected"); + message.optionDependency = $Array(object.optionDependency.length); + for (var i = 0; i < object.optionDependency.length; ++i) + message.optionDependency[i] = $String(object.optionDependency[i]); + } if (object.messageType) { - if (!Array.isArray(object.messageType)) - throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); - message.messageType = []; + if (!$Array.isArray(object.messageType)) + throw $TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected"); + message.messageType = $Array(object.messageType.length); for (var i = 0; i < object.messageType.length; ++i) { - if (typeof object.messageType[i] !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.messageType: object expected"); - message.messageType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.messageType[i]); + if (!$util.isObject(object.messageType[i])) + throw $TypeError(".google.protobuf.FileDescriptorProto.messageType: object expected"); + message.messageType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.messageType[i], _depth + 1); } } if (object.enumType) { - if (!Array.isArray(object.enumType)) - throw TypeError(".google.protobuf.FileDescriptorProto.enumType: array expected"); - message.enumType = []; + if (!$Array.isArray(object.enumType)) + throw $TypeError(".google.protobuf.FileDescriptorProto.enumType: array expected"); + message.enumType = $Array(object.enumType.length); for (var i = 0; i < object.enumType.length; ++i) { - if (typeof object.enumType[i] !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.enumType: object expected"); - message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i]); + if (!$util.isObject(object.enumType[i])) + throw $TypeError(".google.protobuf.FileDescriptorProto.enumType: object expected"); + message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i], _depth + 1); } } if (object.service) { - if (!Array.isArray(object.service)) - throw TypeError(".google.protobuf.FileDescriptorProto.service: array expected"); - message.service = []; + if (!$Array.isArray(object.service)) + throw $TypeError(".google.protobuf.FileDescriptorProto.service: array expected"); + message.service = $Array(object.service.length); for (var i = 0; i < object.service.length; ++i) { - if (typeof object.service[i] !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.service: object expected"); - message.service[i] = $root.google.protobuf.ServiceDescriptorProto.fromObject(object.service[i]); + if (!$util.isObject(object.service[i])) + throw $TypeError(".google.protobuf.FileDescriptorProto.service: object expected"); + message.service[i] = $root.google.protobuf.ServiceDescriptorProto.fromObject(object.service[i], _depth + 1); } } if (object.extension) { - if (!Array.isArray(object.extension)) - throw TypeError(".google.protobuf.FileDescriptorProto.extension: array expected"); - message.extension = []; + if (!$Array.isArray(object.extension)) + throw $TypeError(".google.protobuf.FileDescriptorProto.extension: array expected"); + message.extension = $Array(object.extension.length); for (var i = 0; i < object.extension.length; ++i) { - if (typeof object.extension[i] !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.extension: object expected"); - message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i]); + if (!$util.isObject(object.extension[i])) + throw $TypeError(".google.protobuf.FileDescriptorProto.extension: object expected"); + message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i], _depth + 1); } } if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.FileOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.FileDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.FileOptions.fromObject(object.options, _depth + 1); } if (object.sourceCodeInfo != null) { - if (typeof object.sourceCodeInfo !== "object") - throw TypeError(".google.protobuf.FileDescriptorProto.sourceCodeInfo: object expected"); - message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.fromObject(object.sourceCodeInfo); + if (!$util.isObject(object.sourceCodeInfo)) + throw $TypeError(".google.protobuf.FileDescriptorProto.sourceCodeInfo: object expected"); + message.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.fromObject(object.sourceCodeInfo, _depth + 1); } if (object.syntax != null) - message.syntax = String(object.syntax); + message.syntax = $String(object.syntax); + switch (object.edition) { + case "EDITION_UNKNOWN": + case 0: + message.edition = 0; + break; + case "EDITION_LEGACY": + case 900: + message.edition = 900; + break; + case "EDITION_PROTO2": + case 998: + message.edition = 998; + break; + case "EDITION_PROTO3": + case 999: + message.edition = 999; + break; + case "EDITION_2023": + case 1000: + message.edition = 1000; + break; + case "EDITION_2024": + case 1001: + message.edition = 1001; + break; + case "EDITION_2026": + case 1002: + message.edition = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.edition = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.edition = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.edition = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.edition = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.edition = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.edition = 2147483647; + break; + default: + } return message; }; @@ -9810,9 +12347,13 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FileDescriptorProto.toObject = function toObject(message, options) { + FileDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) { object.dependency = []; @@ -9822,6 +12363,7 @@ $root.google = (function() { object.extension = []; object.publicDependency = []; object.weakDependency = []; + object.optionDependency = []; } if (options.defaults) { object.name = ""; @@ -9829,52 +12371,60 @@ $root.google = (function() { object.options = null; object.sourceCodeInfo = null; object.syntax = ""; + object.edition = options.enums === $String ? "EDITION_UNKNOWN" : 0; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; - if (message["package"] != null && message.hasOwnProperty("package")) + if (message["package"] != null && $Object.hasOwnProperty.call(message, "package")) object["package"] = message["package"]; if (message.dependency && message.dependency.length) { - object.dependency = []; + object.dependency = $Array(message.dependency.length); for (var j = 0; j < message.dependency.length; ++j) object.dependency[j] = message.dependency[j]; } if (message.messageType && message.messageType.length) { - object.messageType = []; + object.messageType = $Array(message.messageType.length); for (var j = 0; j < message.messageType.length; ++j) - object.messageType[j] = $root.google.protobuf.DescriptorProto.toObject(message.messageType[j], options); + object.messageType[j] = $root.google.protobuf.DescriptorProto.toObject(message.messageType[j], options, _depth + 1); } if (message.enumType && message.enumType.length) { - object.enumType = []; + object.enumType = $Array(message.enumType.length); for (var j = 0; j < message.enumType.length; ++j) - object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options); + object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options, _depth + 1); } if (message.service && message.service.length) { - object.service = []; + object.service = $Array(message.service.length); for (var j = 0; j < message.service.length; ++j) - object.service[j] = $root.google.protobuf.ServiceDescriptorProto.toObject(message.service[j], options); + object.service[j] = $root.google.protobuf.ServiceDescriptorProto.toObject(message.service[j], options, _depth + 1); } if (message.extension && message.extension.length) { - object.extension = []; + object.extension = $Array(message.extension.length); for (var j = 0; j < message.extension.length; ++j) - object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options); + object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options, _depth + 1); } - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.FileOptions.toObject(message.options, options); - if (message.sourceCodeInfo != null && message.hasOwnProperty("sourceCodeInfo")) - object.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.toObject(message.sourceCodeInfo, options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.FileOptions.toObject(message.options, options, _depth + 1); + if (message.sourceCodeInfo != null && $Object.hasOwnProperty.call(message, "sourceCodeInfo")) + object.sourceCodeInfo = $root.google.protobuf.SourceCodeInfo.toObject(message.sourceCodeInfo, options, _depth + 1); if (message.publicDependency && message.publicDependency.length) { - object.publicDependency = []; + object.publicDependency = $Array(message.publicDependency.length); for (var j = 0; j < message.publicDependency.length; ++j) object.publicDependency[j] = message.publicDependency[j]; } if (message.weakDependency && message.weakDependency.length) { - object.weakDependency = []; + object.weakDependency = $Array(message.weakDependency.length); for (var j = 0; j < message.weakDependency.length; ++j) object.weakDependency[j] = message.weakDependency[j]; } - if (message.syntax != null && message.hasOwnProperty("syntax")) + if (message.syntax != null && $Object.hasOwnProperty.call(message, "syntax")) object.syntax = message.syntax; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + object.edition = options.enums === $String ? $root.google.protobuf.Edition[message.edition] === $undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; + if (message.optionDependency && message.optionDependency.length) { + object.optionDependency = $Array(message.optionDependency.length); + for (var j = 0; j < message.optionDependency.length; ++j) + object.optionDependency[j] = message.optionDependency[j]; + } return object; }; @@ -9885,23 +12435,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - FileDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FileDescriptorProto.prototype.toJSON = function() { + return FileDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FileDescriptorProto + * Gets the type url for FileDescriptorProto * @function getTypeUrl * @memberof google.protobuf.FileDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FileDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FileDescriptorProto"; + FileDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FileDescriptorProto"; }; return FileDescriptorProto; @@ -9911,29 +12460,43 @@ $root.google = (function() { /** * Properties of a DescriptorProto. - * @memberof google.protobuf - * @interface IDescriptorProto + * @typedef {Object} google.protobuf.DescriptorProto.$Properties * @property {string|null} [name] DescriptorProto name - * @property {Array.|null} [field] DescriptorProto field - * @property {Array.|null} [extension] DescriptorProto extension - * @property {Array.|null} [nestedType] DescriptorProto nestedType - * @property {Array.|null} [enumType] DescriptorProto enumType - * @property {Array.|null} [extensionRange] DescriptorProto extensionRange - * @property {Array.|null} [oneofDecl] DescriptorProto oneofDecl - * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options - * @property {Array.|null} [reservedRange] DescriptorProto reservedRange + * @property {Array.|null} [field] DescriptorProto field + * @property {Array.|null} [extension] DescriptorProto extension + * @property {Array.|null} [nestedType] DescriptorProto nestedType + * @property {Array.|null} [enumType] DescriptorProto enumType + * @property {Array.|null} [extensionRange] DescriptorProto extensionRange + * @property {Array.|null} [oneofDecl] DescriptorProto oneofDecl + * @property {google.protobuf.MessageOptions.$Properties|null} [options] DescriptorProto options + * @property {Array.|null} [reservedRange] DescriptorProto reservedRange * @property {Array.|null} [reservedName] DescriptorProto reservedName + * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a DescriptorProto. + * @memberof google.protobuf + * @interface IDescriptorProto + * @augments google.protobuf.DescriptorProto.$Properties + * @deprecated Use google.protobuf.DescriptorProto.$Properties instead. + */ + + /** + * Shape of a DescriptorProto. + * @typedef {google.protobuf.DescriptorProto.$Properties} google.protobuf.DescriptorProto.$Shape */ /** * Constructs a new DescriptorProto. * @memberof google.protobuf * @classdesc Represents a DescriptorProto. - * @implements IDescriptorProto * @constructor - * @param {google.protobuf.IDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function DescriptorProto(properties) { + var DescriptorProto = function (properties) { this.field = []; this.extension = []; this.nestedType = []; @@ -9943,10 +12506,10 @@ $root.google = (function() { this.reservedRange = []; this.reservedName = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * DescriptorProto name. @@ -9958,7 +12521,7 @@ $root.google = (function() { /** * DescriptorProto field. - * @member {Array.} field + * @member {Array.} field * @memberof google.protobuf.DescriptorProto * @instance */ @@ -9966,7 +12529,7 @@ $root.google = (function() { /** * DescriptorProto extension. - * @member {Array.} extension + * @member {Array.} extension * @memberof google.protobuf.DescriptorProto * @instance */ @@ -9974,7 +12537,7 @@ $root.google = (function() { /** * DescriptorProto nestedType. - * @member {Array.} nestedType + * @member {Array.} nestedType * @memberof google.protobuf.DescriptorProto * @instance */ @@ -9982,7 +12545,7 @@ $root.google = (function() { /** * DescriptorProto enumType. - * @member {Array.} enumType + * @member {Array.} enumType * @memberof google.protobuf.DescriptorProto * @instance */ @@ -9990,7 +12553,7 @@ $root.google = (function() { /** * DescriptorProto extensionRange. - * @member {Array.} extensionRange + * @member {Array.} extensionRange * @memberof google.protobuf.DescriptorProto * @instance */ @@ -9998,7 +12561,7 @@ $root.google = (function() { /** * DescriptorProto oneofDecl. - * @member {Array.} oneofDecl + * @member {Array.} oneofDecl * @memberof google.protobuf.DescriptorProto * @instance */ @@ -10006,7 +12569,7 @@ $root.google = (function() { /** * DescriptorProto options. - * @member {google.protobuf.IMessageOptions|null|undefined} options + * @member {google.protobuf.MessageOptions.$Properties|null|undefined} options * @memberof google.protobuf.DescriptorProto * @instance */ @@ -10014,7 +12577,7 @@ $root.google = (function() { /** * DescriptorProto reservedRange. - * @member {Array.} reservedRange + * @member {Array.} reservedRange * @memberof google.protobuf.DescriptorProto * @instance */ @@ -10028,15 +12591,27 @@ $root.google = (function() { */ DescriptorProto.prototype.reservedName = $util.emptyArray; + /** + * DescriptorProto visibility. + * @member {google.protobuf.SymbolVisibility} visibility + * @memberof google.protobuf.DescriptorProto + * @instance + */ + DescriptorProto.prototype.visibility = 0; + /** * Creates a new DescriptorProto instance using the specified properties. * @function create * @memberof google.protobuf.DescriptorProto * @static - * @param {google.protobuf.IDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.$Properties=} [properties] Properties to set * @returns {google.protobuf.DescriptorProto} DescriptorProto instance + * @type {{ + * (properties: google.protobuf.DescriptorProto.$Shape): google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape; + * (properties?: google.protobuf.DescriptorProto.$Properties): google.protobuf.DescriptorProto; + * }} */ - DescriptorProto.create = function create(properties) { + DescriptorProto.create = function(properties) { return new DescriptorProto(properties); }; @@ -10045,41 +12620,50 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.DescriptorProto * @static - * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode + * @param {google.protobuf.DescriptorProto.$Properties} message DescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DescriptorProto.encode = function encode(message, writer) { + DescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); if (message.field != null && message.field.length) for (var i = 0; i < message.field.length; ++i) - $root.google.protobuf.FieldDescriptorProto.encode(message.field[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); + $root.google.protobuf.FieldDescriptorProto.encode(message.field[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); if (message.nestedType != null && message.nestedType.length) for (var i = 0; i < message.nestedType.length; ++i) - $root.google.protobuf.DescriptorProto.encode(message.nestedType[i], writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + $root.google.protobuf.DescriptorProto.encode(message.nestedType[i], writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); if (message.enumType != null && message.enumType.length) for (var i = 0; i < message.enumType.length; ++i) - $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); + $root.google.protobuf.EnumDescriptorProto.encode(message.enumType[i], writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); if (message.extensionRange != null && message.extensionRange.length) for (var i = 0; i < message.extensionRange.length; ++i) - $root.google.protobuf.DescriptorProto.ExtensionRange.encode(message.extensionRange[i], writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim(); + $root.google.protobuf.DescriptorProto.ExtensionRange.encode(message.extensionRange[i], writer.uint32(/* id 5, wireType 2 =*/42).fork(), _depth + 1).ldelim(); if (message.extension != null && message.extension.length) for (var i = 0; i < message.extension.length; ++i) - $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 6, wireType 2 =*/50).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.MessageOptions.encode(message.options, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim(); + $root.google.protobuf.FieldDescriptorProto.encode(message.extension[i], writer.uint32(/* id 6, wireType 2 =*/50).fork(), _depth + 1).ldelim(); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.MessageOptions.encode(message.options, writer.uint32(/* id 7, wireType 2 =*/58).fork(), _depth + 1).ldelim(); if (message.oneofDecl != null && message.oneofDecl.length) for (var i = 0; i < message.oneofDecl.length; ++i) - $root.google.protobuf.OneofDescriptorProto.encode(message.oneofDecl[i], writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); + $root.google.protobuf.OneofDescriptorProto.encode(message.oneofDecl[i], writer.uint32(/* id 8, wireType 2 =*/66).fork(), _depth + 1).ldelim(); if (message.reservedRange != null && message.reservedRange.length) for (var i = 0; i < message.reservedRange.length; ++i) - $root.google.protobuf.DescriptorProto.ReservedRange.encode(message.reservedRange[i], writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim(); + $root.google.protobuf.DescriptorProto.ReservedRange.encode(message.reservedRange[i], writer.uint32(/* id 9, wireType 2 =*/74).fork(), _depth + 1).ldelim(); if (message.reservedName != null && message.reservedName.length) for (var i = 0; i < message.reservedName.length; ++i) writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]); + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -10088,12 +12672,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.DescriptorProto * @static - * @param {google.protobuf.IDescriptorProto} message DescriptorProto message or plain object to encode + * @param {google.protobuf.DescriptorProto.$Properties} message DescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - DescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + DescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -10103,78 +12687,139 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.DescriptorProto} DescriptorProto + * @returns {google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape} DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DescriptorProto.decode = function decode(reader, length) { + DescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.DescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.DescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; } case 2: { + if (wireType !== 2) + break; if (!(message.field && message.field.length)) message.field = []; - message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; + message.field.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 6: { + if (wireType !== 2) + break; if (!(message.extension && message.extension.length)) message.extension = []; - message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32())); - break; + message.extension.push($root.google.protobuf.FieldDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 3: { + if (wireType !== 2) + break; if (!(message.nestedType && message.nestedType.length)) message.nestedType = []; - message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32())); - break; + message.nestedType.push($root.google.protobuf.DescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 4: { + if (wireType !== 2) + break; if (!(message.enumType && message.enumType.length)) message.enumType = []; - message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32())); - break; + message.enumType.push($root.google.protobuf.EnumDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 5: { + if (wireType !== 2) + break; if (!(message.extensionRange && message.extensionRange.length)) message.extensionRange = []; - message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32())); - break; + message.extensionRange.push($root.google.protobuf.DescriptorProto.ExtensionRange.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 8: { + if (wireType !== 2) + break; if (!(message.oneofDecl && message.oneofDecl.length)) message.oneofDecl = []; - message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32())); - break; + message.oneofDecl.push($root.google.protobuf.OneofDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 7: { - message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.options = $root.google.protobuf.MessageOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; } case 9: { + if (wireType !== 2) + break; if (!(message.reservedRange && message.reservedRange.length)) message.reservedRange = []; - message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32())); - break; + message.reservedRange.push($root.google.protobuf.DescriptorProto.ReservedRange.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 10: { + if (wireType !== 2) + break; if (!(message.reservedName && message.reservedName.length)) message.reservedName = []; message.reservedName.push(reader.string()); - break; + continue; } - default: - reader.skipType(tag & 7); - break; + case 11: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.SymbolVisibility[value] !== $undefined) + message.visibility = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -10184,11 +12829,11 @@ $root.google = (function() { * @memberof google.protobuf.DescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.DescriptorProto} DescriptorProto + * @returns {google.protobuf.DescriptorProto & google.protobuf.DescriptorProto.$Shape} DescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - DescriptorProto.decodeDelimited = function decodeDelimited(reader) { + DescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -10202,87 +12847,100 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - DescriptorProto.verify = function verify(message) { + DescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message.field != null && message.hasOwnProperty("field")) { - if (!Array.isArray(message.field)) + if (message.field != null && $Object.hasOwnProperty.call(message, "field")) { + if (!$Array.isArray(message.field)) return "field: array expected"; for (var i = 0; i < message.field.length; ++i) { - var error = $root.google.protobuf.FieldDescriptorProto.verify(message.field[i]); + var error = $root.google.protobuf.FieldDescriptorProto.verify(message.field[i], _depth + 1); if (error) return "field." + error; } } - if (message.extension != null && message.hasOwnProperty("extension")) { - if (!Array.isArray(message.extension)) + if (message.extension != null && $Object.hasOwnProperty.call(message, "extension")) { + if (!$Array.isArray(message.extension)) return "extension: array expected"; for (var i = 0; i < message.extension.length; ++i) { - var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i]); + var error = $root.google.protobuf.FieldDescriptorProto.verify(message.extension[i], _depth + 1); if (error) return "extension." + error; } } - if (message.nestedType != null && message.hasOwnProperty("nestedType")) { - if (!Array.isArray(message.nestedType)) + if (message.nestedType != null && $Object.hasOwnProperty.call(message, "nestedType")) { + if (!$Array.isArray(message.nestedType)) return "nestedType: array expected"; for (var i = 0; i < message.nestedType.length; ++i) { - var error = $root.google.protobuf.DescriptorProto.verify(message.nestedType[i]); + var error = $root.google.protobuf.DescriptorProto.verify(message.nestedType[i], _depth + 1); if (error) return "nestedType." + error; } } - if (message.enumType != null && message.hasOwnProperty("enumType")) { - if (!Array.isArray(message.enumType)) + if (message.enumType != null && $Object.hasOwnProperty.call(message, "enumType")) { + if (!$Array.isArray(message.enumType)) return "enumType: array expected"; for (var i = 0; i < message.enumType.length; ++i) { - var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i]); + var error = $root.google.protobuf.EnumDescriptorProto.verify(message.enumType[i], _depth + 1); if (error) return "enumType." + error; } } - if (message.extensionRange != null && message.hasOwnProperty("extensionRange")) { - if (!Array.isArray(message.extensionRange)) + if (message.extensionRange != null && $Object.hasOwnProperty.call(message, "extensionRange")) { + if (!$Array.isArray(message.extensionRange)) return "extensionRange: array expected"; for (var i = 0; i < message.extensionRange.length; ++i) { - var error = $root.google.protobuf.DescriptorProto.ExtensionRange.verify(message.extensionRange[i]); + var error = $root.google.protobuf.DescriptorProto.ExtensionRange.verify(message.extensionRange[i], _depth + 1); if (error) return "extensionRange." + error; } } - if (message.oneofDecl != null && message.hasOwnProperty("oneofDecl")) { - if (!Array.isArray(message.oneofDecl)) + if (message.oneofDecl != null && $Object.hasOwnProperty.call(message, "oneofDecl")) { + if (!$Array.isArray(message.oneofDecl)) return "oneofDecl: array expected"; for (var i = 0; i < message.oneofDecl.length; ++i) { - var error = $root.google.protobuf.OneofDescriptorProto.verify(message.oneofDecl[i]); + var error = $root.google.protobuf.OneofDescriptorProto.verify(message.oneofDecl[i], _depth + 1); if (error) return "oneofDecl." + error; } } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.MessageOptions.verify(message.options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.MessageOptions.verify(message.options, _depth + 1); if (error) return "options." + error; } - if (message.reservedRange != null && message.hasOwnProperty("reservedRange")) { - if (!Array.isArray(message.reservedRange)) + if (message.reservedRange != null && $Object.hasOwnProperty.call(message, "reservedRange")) { + if (!$Array.isArray(message.reservedRange)) return "reservedRange: array expected"; for (var i = 0; i < message.reservedRange.length; ++i) { - var error = $root.google.protobuf.DescriptorProto.ReservedRange.verify(message.reservedRange[i]); + var error = $root.google.protobuf.DescriptorProto.ReservedRange.verify(message.reservedRange[i], _depth + 1); if (error) return "reservedRange." + error; } } - if (message.reservedName != null && message.hasOwnProperty("reservedName")) { - if (!Array.isArray(message.reservedName)) + if (message.reservedName != null && $Object.hasOwnProperty.call(message, "reservedName")) { + if (!$Array.isArray(message.reservedName)) return "reservedName: array expected"; for (var i = 0; i < message.reservedName.length; ++i) if (!$util.isString(message.reservedName[i])) return "reservedName: string[] expected"; } + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + switch (message.visibility) { + default: + return "visibility: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; @@ -10294,93 +12952,114 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.DescriptorProto} DescriptorProto */ - DescriptorProto.fromObject = function fromObject(object) { + DescriptorProto.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.DescriptorProto) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.DescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.DescriptorProto(); if (object.name != null) - message.name = String(object.name); + message.name = $String(object.name); if (object.field) { - if (!Array.isArray(object.field)) - throw TypeError(".google.protobuf.DescriptorProto.field: array expected"); - message.field = []; + if (!$Array.isArray(object.field)) + throw $TypeError(".google.protobuf.DescriptorProto.field: array expected"); + message.field = $Array(object.field.length); for (var i = 0; i < object.field.length; ++i) { - if (typeof object.field[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.field: object expected"); - message.field[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.field[i]); + if (!$util.isObject(object.field[i])) + throw $TypeError(".google.protobuf.DescriptorProto.field: object expected"); + message.field[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.field[i], _depth + 1); } } if (object.extension) { - if (!Array.isArray(object.extension)) - throw TypeError(".google.protobuf.DescriptorProto.extension: array expected"); - message.extension = []; + if (!$Array.isArray(object.extension)) + throw $TypeError(".google.protobuf.DescriptorProto.extension: array expected"); + message.extension = $Array(object.extension.length); for (var i = 0; i < object.extension.length; ++i) { - if (typeof object.extension[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.extension: object expected"); - message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i]); + if (!$util.isObject(object.extension[i])) + throw $TypeError(".google.protobuf.DescriptorProto.extension: object expected"); + message.extension[i] = $root.google.protobuf.FieldDescriptorProto.fromObject(object.extension[i], _depth + 1); } } if (object.nestedType) { - if (!Array.isArray(object.nestedType)) - throw TypeError(".google.protobuf.DescriptorProto.nestedType: array expected"); - message.nestedType = []; + if (!$Array.isArray(object.nestedType)) + throw $TypeError(".google.protobuf.DescriptorProto.nestedType: array expected"); + message.nestedType = $Array(object.nestedType.length); for (var i = 0; i < object.nestedType.length; ++i) { - if (typeof object.nestedType[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.nestedType: object expected"); - message.nestedType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.nestedType[i]); + if (!$util.isObject(object.nestedType[i])) + throw $TypeError(".google.protobuf.DescriptorProto.nestedType: object expected"); + message.nestedType[i] = $root.google.protobuf.DescriptorProto.fromObject(object.nestedType[i], _depth + 1); } } if (object.enumType) { - if (!Array.isArray(object.enumType)) - throw TypeError(".google.protobuf.DescriptorProto.enumType: array expected"); - message.enumType = []; + if (!$Array.isArray(object.enumType)) + throw $TypeError(".google.protobuf.DescriptorProto.enumType: array expected"); + message.enumType = $Array(object.enumType.length); for (var i = 0; i < object.enumType.length; ++i) { - if (typeof object.enumType[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.enumType: object expected"); - message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i]); + if (!$util.isObject(object.enumType[i])) + throw $TypeError(".google.protobuf.DescriptorProto.enumType: object expected"); + message.enumType[i] = $root.google.protobuf.EnumDescriptorProto.fromObject(object.enumType[i], _depth + 1); } } if (object.extensionRange) { - if (!Array.isArray(object.extensionRange)) - throw TypeError(".google.protobuf.DescriptorProto.extensionRange: array expected"); - message.extensionRange = []; + if (!$Array.isArray(object.extensionRange)) + throw $TypeError(".google.protobuf.DescriptorProto.extensionRange: array expected"); + message.extensionRange = $Array(object.extensionRange.length); for (var i = 0; i < object.extensionRange.length; ++i) { - if (typeof object.extensionRange[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.extensionRange: object expected"); - message.extensionRange[i] = $root.google.protobuf.DescriptorProto.ExtensionRange.fromObject(object.extensionRange[i]); + if (!$util.isObject(object.extensionRange[i])) + throw $TypeError(".google.protobuf.DescriptorProto.extensionRange: object expected"); + message.extensionRange[i] = $root.google.protobuf.DescriptorProto.ExtensionRange.fromObject(object.extensionRange[i], _depth + 1); } } if (object.oneofDecl) { - if (!Array.isArray(object.oneofDecl)) - throw TypeError(".google.protobuf.DescriptorProto.oneofDecl: array expected"); - message.oneofDecl = []; + if (!$Array.isArray(object.oneofDecl)) + throw $TypeError(".google.protobuf.DescriptorProto.oneofDecl: array expected"); + message.oneofDecl = $Array(object.oneofDecl.length); for (var i = 0; i < object.oneofDecl.length; ++i) { - if (typeof object.oneofDecl[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.oneofDecl: object expected"); - message.oneofDecl[i] = $root.google.protobuf.OneofDescriptorProto.fromObject(object.oneofDecl[i]); + if (!$util.isObject(object.oneofDecl[i])) + throw $TypeError(".google.protobuf.DescriptorProto.oneofDecl: object expected"); + message.oneofDecl[i] = $root.google.protobuf.OneofDescriptorProto.fromObject(object.oneofDecl[i], _depth + 1); } } if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.DescriptorProto.options: object expected"); - message.options = $root.google.protobuf.MessageOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.DescriptorProto.options: object expected"); + message.options = $root.google.protobuf.MessageOptions.fromObject(object.options, _depth + 1); } if (object.reservedRange) { - if (!Array.isArray(object.reservedRange)) - throw TypeError(".google.protobuf.DescriptorProto.reservedRange: array expected"); - message.reservedRange = []; + if (!$Array.isArray(object.reservedRange)) + throw $TypeError(".google.protobuf.DescriptorProto.reservedRange: array expected"); + message.reservedRange = $Array(object.reservedRange.length); for (var i = 0; i < object.reservedRange.length; ++i) { - if (typeof object.reservedRange[i] !== "object") - throw TypeError(".google.protobuf.DescriptorProto.reservedRange: object expected"); - message.reservedRange[i] = $root.google.protobuf.DescriptorProto.ReservedRange.fromObject(object.reservedRange[i]); + if (!$util.isObject(object.reservedRange[i])) + throw $TypeError(".google.protobuf.DescriptorProto.reservedRange: object expected"); + message.reservedRange[i] = $root.google.protobuf.DescriptorProto.ReservedRange.fromObject(object.reservedRange[i], _depth + 1); } } if (object.reservedName) { - if (!Array.isArray(object.reservedName)) - throw TypeError(".google.protobuf.DescriptorProto.reservedName: array expected"); - message.reservedName = []; + if (!$Array.isArray(object.reservedName)) + throw $TypeError(".google.protobuf.DescriptorProto.reservedName: array expected"); + message.reservedName = $Array(object.reservedName.length); for (var i = 0; i < object.reservedName.length; ++i) - message.reservedName[i] = String(object.reservedName[i]); + message.reservedName[i] = $String(object.reservedName[i]); + } + switch (object.visibility) { + case "VISIBILITY_UNSET": + case 0: + message.visibility = 0; + break; + case "VISIBILITY_LOCAL": + case 1: + message.visibility = 1; + break; + case "VISIBILITY_EXPORT": + case 2: + message.visibility = 2; + break; + default: } return message; }; @@ -10394,9 +13073,13 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - DescriptorProto.toObject = function toObject(message, options) { + DescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) { object.field = []; @@ -10411,51 +13094,54 @@ $root.google = (function() { if (options.defaults) { object.name = ""; object.options = null; + object.visibility = options.enums === $String ? "VISIBILITY_UNSET" : 0; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; if (message.field && message.field.length) { - object.field = []; + object.field = $Array(message.field.length); for (var j = 0; j < message.field.length; ++j) - object.field[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.field[j], options); + object.field[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.field[j], options, _depth + 1); } if (message.nestedType && message.nestedType.length) { - object.nestedType = []; + object.nestedType = $Array(message.nestedType.length); for (var j = 0; j < message.nestedType.length; ++j) - object.nestedType[j] = $root.google.protobuf.DescriptorProto.toObject(message.nestedType[j], options); + object.nestedType[j] = $root.google.protobuf.DescriptorProto.toObject(message.nestedType[j], options, _depth + 1); } if (message.enumType && message.enumType.length) { - object.enumType = []; + object.enumType = $Array(message.enumType.length); for (var j = 0; j < message.enumType.length; ++j) - object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options); + object.enumType[j] = $root.google.protobuf.EnumDescriptorProto.toObject(message.enumType[j], options, _depth + 1); } if (message.extensionRange && message.extensionRange.length) { - object.extensionRange = []; + object.extensionRange = $Array(message.extensionRange.length); for (var j = 0; j < message.extensionRange.length; ++j) - object.extensionRange[j] = $root.google.protobuf.DescriptorProto.ExtensionRange.toObject(message.extensionRange[j], options); + object.extensionRange[j] = $root.google.protobuf.DescriptorProto.ExtensionRange.toObject(message.extensionRange[j], options, _depth + 1); } if (message.extension && message.extension.length) { - object.extension = []; + object.extension = $Array(message.extension.length); for (var j = 0; j < message.extension.length; ++j) - object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options); + object.extension[j] = $root.google.protobuf.FieldDescriptorProto.toObject(message.extension[j], options, _depth + 1); } - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.MessageOptions.toObject(message.options, options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.MessageOptions.toObject(message.options, options, _depth + 1); if (message.oneofDecl && message.oneofDecl.length) { - object.oneofDecl = []; + object.oneofDecl = $Array(message.oneofDecl.length); for (var j = 0; j < message.oneofDecl.length; ++j) - object.oneofDecl[j] = $root.google.protobuf.OneofDescriptorProto.toObject(message.oneofDecl[j], options); + object.oneofDecl[j] = $root.google.protobuf.OneofDescriptorProto.toObject(message.oneofDecl[j], options, _depth + 1); } if (message.reservedRange && message.reservedRange.length) { - object.reservedRange = []; + object.reservedRange = $Array(message.reservedRange.length); for (var j = 0; j < message.reservedRange.length; ++j) - object.reservedRange[j] = $root.google.protobuf.DescriptorProto.ReservedRange.toObject(message.reservedRange[j], options); + object.reservedRange[j] = $root.google.protobuf.DescriptorProto.ReservedRange.toObject(message.reservedRange[j], options, _depth + 1); } if (message.reservedName && message.reservedName.length) { - object.reservedName = []; + object.reservedName = $Array(message.reservedName.length); for (var j = 0; j < message.reservedName.length; ++j) object.reservedName[j] = message.reservedName[j]; } + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + object.visibility = options.enums === $String ? $root.google.protobuf.SymbolVisibility[message.visibility] === $undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; @@ -10466,49 +13152,62 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - DescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + DescriptorProto.prototype.toJSON = function() { + return DescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for DescriptorProto + * Gets the type url for DescriptorProto * @function getTypeUrl * @memberof google.protobuf.DescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - DescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.DescriptorProto"; + DescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.DescriptorProto"; }; DescriptorProto.ExtensionRange = (function() { /** * Properties of an ExtensionRange. - * @memberof google.protobuf.DescriptorProto - * @interface IExtensionRange + * @typedef {Object} google.protobuf.DescriptorProto.ExtensionRange.$Properties * @property {number|null} [start] ExtensionRange start * @property {number|null} [end] ExtensionRange end + * @property {google.protobuf.ExtensionRangeOptions.$Properties|null} [options] ExtensionRange options + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an ExtensionRange. + * @memberof google.protobuf.DescriptorProto + * @interface IExtensionRange + * @augments google.protobuf.DescriptorProto.ExtensionRange.$Properties + * @deprecated Use google.protobuf.DescriptorProto.ExtensionRange.$Properties instead. + */ + + /** + * Shape of an ExtensionRange. + * @typedef {google.protobuf.DescriptorProto.ExtensionRange.$Properties} google.protobuf.DescriptorProto.ExtensionRange.$Shape */ /** * Constructs a new ExtensionRange. * @memberof google.protobuf.DescriptorProto * @classdesc Represents an ExtensionRange. - * @implements IExtensionRange * @constructor - * @param {google.protobuf.DescriptorProto.IExtensionRange=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.ExtensionRange.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ExtensionRange(properties) { + var ExtensionRange = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ExtensionRange start. @@ -10526,15 +13225,27 @@ $root.google = (function() { */ ExtensionRange.prototype.end = 0; + /** + * ExtensionRange options. + * @member {google.protobuf.ExtensionRangeOptions.$Properties|null|undefined} options + * @memberof google.protobuf.DescriptorProto.ExtensionRange + * @instance + */ + ExtensionRange.prototype.options = null; + /** * Creates a new ExtensionRange instance using the specified properties. * @function create * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static - * @param {google.protobuf.DescriptorProto.IExtensionRange=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.ExtensionRange.$Properties=} [properties] Properties to set * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange instance + * @type {{ + * (properties: google.protobuf.DescriptorProto.ExtensionRange.$Shape): google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape; + * (properties?: google.protobuf.DescriptorProto.ExtensionRange.$Properties): google.protobuf.DescriptorProto.ExtensionRange; + * }} */ - ExtensionRange.create = function create(properties) { + ExtensionRange.create = function(properties) { return new ExtensionRange(properties); }; @@ -10543,17 +13254,26 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static - * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ExtensionRange.$Properties} message ExtensionRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExtensionRange.encode = function encode(message, writer) { + ExtensionRange.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.start != null && Object.hasOwnProperty.call(message, "start")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start); - if (message.end != null && Object.hasOwnProperty.call(message, "end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.ExtensionRangeOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -10562,12 +13282,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static - * @param {google.protobuf.DescriptorProto.IExtensionRange} message ExtensionRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ExtensionRange.$Properties} message ExtensionRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ExtensionRange.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ExtensionRange.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -10577,30 +13297,69 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange + * @returns {google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape} ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExtensionRange.decode = function decode(reader, length) { + ExtensionRange.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.DescriptorProto.ExtensionRange(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.DescriptorProto.ExtensionRange(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 0) + break; message.start = reader.int32(); - break; + continue; } case 2: { + if (wireType !== 0) + break; message.end = reader.int32(); - break; + continue; } - default: - reader.skipType(tag & 7); - break; + case 3: { + if (wireType !== 2) + break; + message.options = $root.google.protobuf.ExtensionRangeOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -10610,11 +13369,11 @@ $root.google = (function() { * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange + * @returns {google.protobuf.DescriptorProto.ExtensionRange & google.protobuf.DescriptorProto.ExtensionRange.$Shape} ExtensionRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ExtensionRange.decodeDelimited = function decodeDelimited(reader) { + ExtensionRange.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -10628,15 +13387,24 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ExtensionRange.verify = function verify(message) { + ExtensionRange.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.start != null && message.hasOwnProperty("start")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) if (!$util.isInteger(message.start)) return "start: integer expected"; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) if (!$util.isInteger(message.end)) return "end: integer expected"; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.ExtensionRangeOptions.verify(message.options, _depth + 1); + if (error) + return "options." + error; + } return null; }; @@ -10648,14 +13416,25 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.DescriptorProto.ExtensionRange} ExtensionRange */ - ExtensionRange.fromObject = function fromObject(object) { + ExtensionRange.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.DescriptorProto.ExtensionRange) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.DescriptorProto.ExtensionRange: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.DescriptorProto.ExtensionRange(); if (object.start != null) message.start = object.start | 0; if (object.end != null) message.end = object.end | 0; + if (object.options != null) { + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.DescriptorProto.ExtensionRange.options: object expected"); + message.options = $root.google.protobuf.ExtensionRangeOptions.fromObject(object.options, _depth + 1); + } return message; }; @@ -10668,18 +13447,25 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ExtensionRange.toObject = function toObject(message, options) { + ExtensionRange.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.start = 0; object.end = 0; + object.options = null; } - if (message.start != null && message.hasOwnProperty("start")) + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) object.start = message.start; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) object.end = message.end; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.ExtensionRangeOptions.toObject(message.options, options, _depth + 1); return object; }; @@ -10690,23 +13476,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - ExtensionRange.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ExtensionRange.prototype.toJSON = function() { + return ExtensionRange.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ExtensionRange + * Gets the type url for ExtensionRange * @function getTypeUrl * @memberof google.protobuf.DescriptorProto.ExtensionRange * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ExtensionRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.DescriptorProto.ExtensionRange"; + ExtensionRange.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.DescriptorProto.ExtensionRange"; }; return ExtensionRange; @@ -10716,26 +13501,39 @@ $root.google = (function() { /** * Properties of a ReservedRange. - * @memberof google.protobuf.DescriptorProto - * @interface IReservedRange + * @typedef {Object} google.protobuf.DescriptorProto.ReservedRange.$Properties * @property {number|null} [start] ReservedRange start * @property {number|null} [end] ReservedRange end + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a ReservedRange. + * @memberof google.protobuf.DescriptorProto + * @interface IReservedRange + * @augments google.protobuf.DescriptorProto.ReservedRange.$Properties + * @deprecated Use google.protobuf.DescriptorProto.ReservedRange.$Properties instead. + */ + + /** + * Shape of a ReservedRange. + * @typedef {google.protobuf.DescriptorProto.ReservedRange.$Properties} google.protobuf.DescriptorProto.ReservedRange.$Shape */ /** * Constructs a new ReservedRange. * @memberof google.protobuf.DescriptorProto * @classdesc Represents a ReservedRange. - * @implements IReservedRange * @constructor - * @param {google.protobuf.DescriptorProto.IReservedRange=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.ReservedRange.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ReservedRange(properties) { + var ReservedRange = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * ReservedRange start. @@ -10758,10 +13556,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.DescriptorProto.ReservedRange * @static - * @param {google.protobuf.DescriptorProto.IReservedRange=} [properties] Properties to set + * @param {google.protobuf.DescriptorProto.ReservedRange.$Properties=} [properties] Properties to set * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange instance + * @type {{ + * (properties: google.protobuf.DescriptorProto.ReservedRange.$Shape): google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape; + * (properties?: google.protobuf.DescriptorProto.ReservedRange.$Properties): google.protobuf.DescriptorProto.ReservedRange; + * }} */ - ReservedRange.create = function create(properties) { + ReservedRange.create = function(properties) { return new ReservedRange(properties); }; @@ -10770,17 +13572,24 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.DescriptorProto.ReservedRange * @static - * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ReservedRange.$Properties} message ReservedRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ReservedRange.encode = function encode(message, writer) { + ReservedRange.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.start != null && Object.hasOwnProperty.call(message, "start")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start); - if (message.end != null && Object.hasOwnProperty.call(message, "end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -10789,12 +13598,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.DescriptorProto.ReservedRange * @static - * @param {google.protobuf.DescriptorProto.IReservedRange} message ReservedRange message or plain object to encode + * @param {google.protobuf.DescriptorProto.ReservedRange.$Properties} message ReservedRange message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ReservedRange.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ReservedRange.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -10804,30 +13613,63 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange + * @returns {google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape} ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ReservedRange.decode = function decode(reader, length) { + ReservedRange.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.DescriptorProto.ReservedRange(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.DescriptorProto.ReservedRange(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 0) + break; message.start = reader.int32(); - break; + continue; } case 2: { + if (wireType !== 0) + break; message.end = reader.int32(); - break; + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -10837,11 +13679,11 @@ $root.google = (function() { * @memberof google.protobuf.DescriptorProto.ReservedRange * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange + * @returns {google.protobuf.DescriptorProto.ReservedRange & google.protobuf.DescriptorProto.ReservedRange.$Shape} ReservedRange * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ReservedRange.decodeDelimited = function decodeDelimited(reader) { + ReservedRange.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -10855,13 +13697,17 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ReservedRange.verify = function verify(message) { + ReservedRange.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.start != null && message.hasOwnProperty("start")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) if (!$util.isInteger(message.start)) return "start: integer expected"; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) if (!$util.isInteger(message.end)) return "end: integer expected"; return null; @@ -10875,9 +13721,15 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.DescriptorProto.ReservedRange} ReservedRange */ - ReservedRange.fromObject = function fromObject(object) { + ReservedRange.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.DescriptorProto.ReservedRange) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.DescriptorProto.ReservedRange: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.DescriptorProto.ReservedRange(); if (object.start != null) message.start = object.start | 0; @@ -10895,17 +13747,21 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ReservedRange.toObject = function toObject(message, options) { + ReservedRange.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.start = 0; object.end = 0; } - if (message.start != null && message.hasOwnProperty("start")) + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) object.start = message.start; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) object.end = message.end; return object; }; @@ -10917,23 +13773,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - ReservedRange.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ReservedRange.prototype.toJSON = function() { + return ReservedRange.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ReservedRange + * Gets the type url for ReservedRange * @function getTypeUrl * @memberof google.protobuf.DescriptorProto.ReservedRange * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ReservedRange.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.DescriptorProto.ReservedRange"; + ReservedRange.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.DescriptorProto.ReservedRange"; }; return ReservedRange; @@ -10942,1285 +13797,1734 @@ $root.google = (function() { return DescriptorProto; })(); - protobuf.FieldDescriptorProto = (function() { + protobuf.ExtensionRangeOptions = (function() { /** - * Properties of a FieldDescriptorProto. - * @memberof google.protobuf - * @interface IFieldDescriptorProto - * @property {string|null} [name] FieldDescriptorProto name - * @property {number|null} [number] FieldDescriptorProto number - * @property {google.protobuf.FieldDescriptorProto.Label|null} [label] FieldDescriptorProto label - * @property {google.protobuf.FieldDescriptorProto.Type|null} [type] FieldDescriptorProto type - * @property {string|null} [typeName] FieldDescriptorProto typeName - * @property {string|null} [extendee] FieldDescriptorProto extendee - * @property {string|null} [defaultValue] FieldDescriptorProto defaultValue - * @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex - * @property {string|null} [jsonName] FieldDescriptorProto jsonName - * @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options + * Properties of an ExtensionRangeOptions. + * @typedef {Object} google.protobuf.ExtensionRangeOptions.$Properties + * @property {Array.|null} [uninterpretedOption] ExtensionRangeOptions uninterpretedOption + * @property {Array.|null} [declaration] ExtensionRangeOptions declaration + * @property {google.protobuf.FeatureSet.$Properties|null} [features] ExtensionRangeOptions features + * @property {google.protobuf.ExtensionRangeOptions.VerificationState|null} [verification] ExtensionRangeOptions verification + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ /** - * Constructs a new FieldDescriptorProto. + * Properties of an ExtensionRangeOptions. * @memberof google.protobuf - * @classdesc Represents a FieldDescriptorProto. - * @implements IFieldDescriptorProto - * @constructor - * @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set - */ - function FieldDescriptorProto(properties) { - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FieldDescriptorProto name. - * @member {string} name - * @memberof google.protobuf.FieldDescriptorProto - * @instance - */ - FieldDescriptorProto.prototype.name = ""; - - /** - * FieldDescriptorProto number. - * @member {number} number - * @memberof google.protobuf.FieldDescriptorProto - * @instance - */ - FieldDescriptorProto.prototype.number = 0; - - /** - * FieldDescriptorProto label. - * @member {google.protobuf.FieldDescriptorProto.Label} label - * @memberof google.protobuf.FieldDescriptorProto - * @instance - */ - FieldDescriptorProto.prototype.label = 1; - - /** - * FieldDescriptorProto type. - * @member {google.protobuf.FieldDescriptorProto.Type} type - * @memberof google.protobuf.FieldDescriptorProto - * @instance + * @interface IExtensionRangeOptions + * @augments google.protobuf.ExtensionRangeOptions.$Properties + * @deprecated Use google.protobuf.ExtensionRangeOptions.$Properties instead. */ - FieldDescriptorProto.prototype.type = 1; /** - * FieldDescriptorProto typeName. - * @member {string} typeName - * @memberof google.protobuf.FieldDescriptorProto - * @instance + * Shape of an ExtensionRangeOptions. + * @typedef {google.protobuf.ExtensionRangeOptions.$Properties} google.protobuf.ExtensionRangeOptions.$Shape */ - FieldDescriptorProto.prototype.typeName = ""; /** - * FieldDescriptorProto extendee. - * @member {string} extendee - * @memberof google.protobuf.FieldDescriptorProto - * @instance + * Constructs a new ExtensionRangeOptions. + * @memberof google.protobuf + * @classdesc Represents an ExtensionRangeOptions. + * @constructor + * @param {google.protobuf.ExtensionRangeOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - FieldDescriptorProto.prototype.extendee = ""; + var ExtensionRangeOptions = function (properties) { + this.uninterpretedOption = []; + this.declaration = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; /** - * FieldDescriptorProto defaultValue. - * @member {string} defaultValue - * @memberof google.protobuf.FieldDescriptorProto + * ExtensionRangeOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.ExtensionRangeOptions * @instance */ - FieldDescriptorProto.prototype.defaultValue = ""; + ExtensionRangeOptions.prototype.uninterpretedOption = $util.emptyArray; /** - * FieldDescriptorProto oneofIndex. - * @member {number} oneofIndex - * @memberof google.protobuf.FieldDescriptorProto + * ExtensionRangeOptions declaration. + * @member {Array.} declaration + * @memberof google.protobuf.ExtensionRangeOptions * @instance */ - FieldDescriptorProto.prototype.oneofIndex = 0; + ExtensionRangeOptions.prototype.declaration = $util.emptyArray; /** - * FieldDescriptorProto jsonName. - * @member {string} jsonName - * @memberof google.protobuf.FieldDescriptorProto + * ExtensionRangeOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.ExtensionRangeOptions * @instance */ - FieldDescriptorProto.prototype.jsonName = ""; + ExtensionRangeOptions.prototype.features = null; /** - * FieldDescriptorProto options. - * @member {google.protobuf.IFieldOptions|null|undefined} options - * @memberof google.protobuf.FieldDescriptorProto + * ExtensionRangeOptions verification. + * @member {google.protobuf.ExtensionRangeOptions.VerificationState} verification + * @memberof google.protobuf.ExtensionRangeOptions * @instance */ - FieldDescriptorProto.prototype.options = null; + ExtensionRangeOptions.prototype.verification = 1; /** - * Creates a new FieldDescriptorProto instance using the specified properties. + * Creates a new ExtensionRangeOptions instance using the specified properties. * @function create - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static - * @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto instance - */ - FieldDescriptorProto.create = function create(properties) { - return new FieldDescriptorProto(properties); + * @param {google.protobuf.ExtensionRangeOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions instance + * @type {{ + * (properties: google.protobuf.ExtensionRangeOptions.$Shape): google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape; + * (properties?: google.protobuf.ExtensionRangeOptions.$Properties): google.protobuf.ExtensionRangeOptions; + * }} + */ + ExtensionRangeOptions.create = function(properties) { + return new ExtensionRangeOptions(properties); }; /** - * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. + * Encodes the specified ExtensionRangeOptions message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @function encode - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static - * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode + * @param {google.protobuf.ExtensionRangeOptions.$Properties} message ExtensionRangeOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FieldDescriptorProto.encode = function encode(message, writer) { + ExtensionRangeOptions.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.extendee != null && Object.hasOwnProperty.call(message, "extendee")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.extendee); - if (message.number != null && Object.hasOwnProperty.call(message, "number")) - writer.uint32(/* id 3, wireType 0 =*/24).int32(message.number); - if (message.label != null && Object.hasOwnProperty.call(message, "label")) - writer.uint32(/* id 4, wireType 0 =*/32).int32(message.label); - if (message.type != null && Object.hasOwnProperty.call(message, "type")) - writer.uint32(/* id 5, wireType 0 =*/40).int32(message.type); - if (message.typeName != null && Object.hasOwnProperty.call(message, "typeName")) - writer.uint32(/* id 6, wireType 2 =*/50).string(message.typeName); - if (message.defaultValue != null && Object.hasOwnProperty.call(message, "defaultValue")) - writer.uint32(/* id 7, wireType 2 =*/58).string(message.defaultValue); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.FieldOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim(); - if (message.oneofIndex != null && Object.hasOwnProperty.call(message, "oneofIndex")) - writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex); - if (message.jsonName != null && Object.hasOwnProperty.call(message, "jsonName")) - writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.declaration != null && message.declaration.length) + for (var i = 0; i < message.declaration.length; ++i) + $root.google.protobuf.ExtensionRangeOptions.Declaration.encode(message.declaration[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.verification != null && $Object.hasOwnProperty.call(message, "verification")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verification); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. + * Encodes the specified ExtensionRangeOptions message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static - * @param {google.protobuf.IFieldDescriptorProto} message FieldDescriptorProto message or plain object to encode + * @param {google.protobuf.ExtensionRangeOptions.$Properties} message ExtensionRangeOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FieldDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + ExtensionRangeOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a FieldDescriptorProto message from the specified reader or buffer. + * Decodes an ExtensionRangeOptions message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto + * @returns {google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape} ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FieldDescriptorProto.decode = function decode(reader, length) { + ExtensionRangeOptions.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.ExtensionRangeOptions(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 3: { - message.number = reader.int32(); - break; + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - case 4: { - message.label = reader.int32(); - break; + case 2: { + if (wireType !== 2) + break; + if (!(message.declaration && message.declaration.length)) + message.declaration = []; + message.declaration.push($root.google.protobuf.ExtensionRangeOptions.Declaration.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - case 5: { - message.type = reader.int32(); - break; + case 50: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; } - case 6: { - message.typeName = reader.string(); - break; + case 3: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.ExtensionRangeOptions.VerificationState[value] !== $undefined) + message.verification = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - case 2: { - message.extendee = reader.string(); - break; - } - case 7: { - message.defaultValue = reader.string(); - break; - } - case 9: { - message.oneofIndex = reader.int32(); - break; - } - case 10: { - message.jsonName = reader.string(); - break; - } - case 8: { - message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes an ExtensionRangeOptions message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto + * @returns {google.protobuf.ExtensionRangeOptions & google.protobuf.ExtensionRangeOptions.$Shape} ExtensionRangeOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FieldDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + ExtensionRangeOptions.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a FieldDescriptorProto message. + * Verifies an ExtensionRangeOptions message. * @function verify - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FieldDescriptorProto.verify = function verify(message) { + ExtensionRangeOptions.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.number != null && message.hasOwnProperty("number")) - if (!$util.isInteger(message.number)) - return "number: integer expected"; - if (message.label != null && message.hasOwnProperty("label")) - switch (message.label) { - default: - return "label: enum value expected"; - case 1: - case 2: - case 3: - break; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; } - if (message.type != null && message.hasOwnProperty("type")) - switch (message.type) { + } + if (message.declaration != null && $Object.hasOwnProperty.call(message, "declaration")) { + if (!$Array.isArray(message.declaration)) + return "declaration: array expected"; + for (var i = 0; i < message.declaration.length; ++i) { + var error = $root.google.protobuf.ExtensionRangeOptions.Declaration.verify(message.declaration[i], _depth + 1); + if (error) + return "declaration." + error; + } + } + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.verification != null && $Object.hasOwnProperty.call(message, "verification")) + switch (message.verification) { default: - return "type: enum value expected"; + return "verification: enum value expected"; + case 0: case 1: - case 2: - case 3: - case 4: - case 5: - case 6: - case 7: - case 8: - case 9: - case 10: - case 11: - case 12: - case 13: - case 14: - case 15: - case 16: - case 17: - case 18: break; } - if (message.typeName != null && message.hasOwnProperty("typeName")) - if (!$util.isString(message.typeName)) - return "typeName: string expected"; - if (message.extendee != null && message.hasOwnProperty("extendee")) - if (!$util.isString(message.extendee)) - return "extendee: string expected"; - if (message.defaultValue != null && message.hasOwnProperty("defaultValue")) - if (!$util.isString(message.defaultValue)) - return "defaultValue: string expected"; - if (message.oneofIndex != null && message.hasOwnProperty("oneofIndex")) - if (!$util.isInteger(message.oneofIndex)) - return "oneofIndex: integer expected"; - if (message.jsonName != null && message.hasOwnProperty("jsonName")) - if (!$util.isString(message.jsonName)) - return "jsonName: string expected"; - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.FieldOptions.verify(message.options); - if (error) - return "options." + error; - } return null; }; /** - * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates an ExtensionRangeOptions message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static * @param {Object.} object Plain object - * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto + * @returns {google.protobuf.ExtensionRangeOptions} ExtensionRangeOptions */ - FieldDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldDescriptorProto) + ExtensionRangeOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.ExtensionRangeOptions) return object; - var message = new $root.google.protobuf.FieldDescriptorProto(); - if (object.name != null) - message.name = String(object.name); - if (object.number != null) - message.number = object.number | 0; - switch (object.label) { - default: - if (typeof object.label === "number") { - message.label = object.label; - break; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.ExtensionRangeOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.ExtensionRangeOptions(); + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); } - break; - case "LABEL_OPTIONAL": - case 1: - message.label = 1; - break; - case "LABEL_REQUIRED": - case 2: - message.label = 2; - break; - case "LABEL_REPEATED": - case 3: - message.label = 3; - break; } - switch (object.type) { - default: - if (typeof object.type === "number") { - message.type = object.type; - break; + if (object.declaration) { + if (!$Array.isArray(object.declaration)) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.declaration: array expected"); + message.declaration = $Array(object.declaration.length); + for (var i = 0; i < object.declaration.length; ++i) { + if (!$util.isObject(object.declaration[i])) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.declaration: object expected"); + message.declaration[i] = $root.google.protobuf.ExtensionRangeOptions.Declaration.fromObject(object.declaration[i], _depth + 1); } + } + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + switch (object.verification) { + case "DECLARATION": + case 0: + message.verification = 0; break; - case "TYPE_DOUBLE": + case "UNVERIFIED": case 1: - message.type = 1; - break; - case "TYPE_FLOAT": - case 2: - message.type = 2; - break; - case "TYPE_INT64": - case 3: - message.type = 3; - break; - case "TYPE_UINT64": - case 4: - message.type = 4; - break; - case "TYPE_INT32": - case 5: - message.type = 5; - break; - case "TYPE_FIXED64": - case 6: - message.type = 6; - break; - case "TYPE_FIXED32": - case 7: - message.type = 7; - break; - case "TYPE_BOOL": - case 8: - message.type = 8; - break; - case "TYPE_STRING": - case 9: - message.type = 9; - break; - case "TYPE_GROUP": - case 10: - message.type = 10; - break; - case "TYPE_MESSAGE": - case 11: - message.type = 11; - break; - case "TYPE_BYTES": - case 12: - message.type = 12; - break; - case "TYPE_UINT32": - case 13: - message.type = 13; - break; - case "TYPE_ENUM": - case 14: - message.type = 14; - break; - case "TYPE_SFIXED32": - case 15: - message.type = 15; - break; - case "TYPE_SFIXED64": - case 16: - message.type = 16; - break; - case "TYPE_SINT32": - case 17: - message.type = 17; - break; - case "TYPE_SINT64": - case 18: - message.type = 18; + message.verification = 1; break; - } - if (object.typeName != null) - message.typeName = String(object.typeName); - if (object.extendee != null) - message.extendee = String(object.extendee); - if (object.defaultValue != null) - message.defaultValue = String(object.defaultValue); - if (object.oneofIndex != null) - message.oneofIndex = object.oneofIndex | 0; - if (object.jsonName != null) - message.jsonName = String(object.jsonName); - if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.FieldDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.FieldOptions.fromObject(object.options); + default: } return message; }; /** - * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from an ExtensionRangeOptions message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static - * @param {google.protobuf.FieldDescriptorProto} message FieldDescriptorProto + * @param {google.protobuf.ExtensionRangeOptions} message ExtensionRangeOptions * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FieldDescriptorProto.toObject = function toObject(message, options) { + ExtensionRangeOptions.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; + if (options.arrays || options.defaults) { + object.declaration = []; + object.uninterpretedOption = []; + } if (options.defaults) { - object.name = ""; - object.extendee = ""; - object.number = 0; - object.label = options.enums === String ? "LABEL_OPTIONAL" : 1; - object.type = options.enums === String ? "TYPE_DOUBLE" : 1; - object.typeName = ""; - object.defaultValue = ""; - object.options = null; - object.oneofIndex = 0; - object.jsonName = ""; + object.verification = options.enums === $String ? "UNVERIFIED" : 1; + object.features = null; + } + if (message.declaration && message.declaration.length) { + object.declaration = $Array(message.declaration.length); + for (var j = 0; j < message.declaration.length; ++j) + object.declaration[j] = $root.google.protobuf.ExtensionRangeOptions.Declaration.toObject(message.declaration[j], options, _depth + 1); + } + if (message.verification != null && $Object.hasOwnProperty.call(message, "verification")) + object.verification = options.enums === $String ? $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] === $undefined ? message.verification : $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] : message.verification; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.extendee != null && message.hasOwnProperty("extendee")) - object.extendee = message.extendee; - if (message.number != null && message.hasOwnProperty("number")) - object.number = message.number; - if (message.label != null && message.hasOwnProperty("label")) - object.label = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Label[message.label] === undefined ? message.label : $root.google.protobuf.FieldDescriptorProto.Label[message.label] : message.label; - if (message.type != null && message.hasOwnProperty("type")) - object.type = options.enums === String ? $root.google.protobuf.FieldDescriptorProto.Type[message.type] === undefined ? message.type : $root.google.protobuf.FieldDescriptorProto.Type[message.type] : message.type; - if (message.typeName != null && message.hasOwnProperty("typeName")) - object.typeName = message.typeName; - if (message.defaultValue != null && message.hasOwnProperty("defaultValue")) - object.defaultValue = message.defaultValue; - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.FieldOptions.toObject(message.options, options); - if (message.oneofIndex != null && message.hasOwnProperty("oneofIndex")) - object.oneofIndex = message.oneofIndex; - if (message.jsonName != null && message.hasOwnProperty("jsonName")) - object.jsonName = message.jsonName; return object; }; /** - * Converts this FieldDescriptorProto to JSON. + * Converts this ExtensionRangeOptions to JSON. * @function toJSON - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @instance * @returns {Object.} JSON object */ - FieldDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + ExtensionRangeOptions.prototype.toJSON = function() { + return ExtensionRangeOptions.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FieldDescriptorProto + * Gets the type url for ExtensionRangeOptions * @function getTypeUrl - * @memberof google.protobuf.FieldDescriptorProto + * @memberof google.protobuf.ExtensionRangeOptions * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FieldDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldDescriptorProto"; + ExtensionRangeOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.ExtensionRangeOptions"; }; - /** - * Type enum. - * @name google.protobuf.FieldDescriptorProto.Type - * @enum {number} - * @property {number} TYPE_DOUBLE=1 TYPE_DOUBLE value - * @property {number} TYPE_FLOAT=2 TYPE_FLOAT value - * @property {number} TYPE_INT64=3 TYPE_INT64 value - * @property {number} TYPE_UINT64=4 TYPE_UINT64 value - * @property {number} TYPE_INT32=5 TYPE_INT32 value - * @property {number} TYPE_FIXED64=6 TYPE_FIXED64 value - * @property {number} TYPE_FIXED32=7 TYPE_FIXED32 value - * @property {number} TYPE_BOOL=8 TYPE_BOOL value - * @property {number} TYPE_STRING=9 TYPE_STRING value - * @property {number} TYPE_GROUP=10 TYPE_GROUP value - * @property {number} TYPE_MESSAGE=11 TYPE_MESSAGE value - * @property {number} TYPE_BYTES=12 TYPE_BYTES value - * @property {number} TYPE_UINT32=13 TYPE_UINT32 value - * @property {number} TYPE_ENUM=14 TYPE_ENUM value - * @property {number} TYPE_SFIXED32=15 TYPE_SFIXED32 value - * @property {number} TYPE_SFIXED64=16 TYPE_SFIXED64 value - * @property {number} TYPE_SINT32=17 TYPE_SINT32 value - * @property {number} TYPE_SINT64=18 TYPE_SINT64 value - */ - FieldDescriptorProto.Type = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[1] = "TYPE_DOUBLE"] = 1; - values[valuesById[2] = "TYPE_FLOAT"] = 2; - values[valuesById[3] = "TYPE_INT64"] = 3; - values[valuesById[4] = "TYPE_UINT64"] = 4; - values[valuesById[5] = "TYPE_INT32"] = 5; - values[valuesById[6] = "TYPE_FIXED64"] = 6; - values[valuesById[7] = "TYPE_FIXED32"] = 7; - values[valuesById[8] = "TYPE_BOOL"] = 8; - values[valuesById[9] = "TYPE_STRING"] = 9; - values[valuesById[10] = "TYPE_GROUP"] = 10; - values[valuesById[11] = "TYPE_MESSAGE"] = 11; - values[valuesById[12] = "TYPE_BYTES"] = 12; - values[valuesById[13] = "TYPE_UINT32"] = 13; - values[valuesById[14] = "TYPE_ENUM"] = 14; - values[valuesById[15] = "TYPE_SFIXED32"] = 15; - values[valuesById[16] = "TYPE_SFIXED64"] = 16; - values[valuesById[17] = "TYPE_SINT32"] = 17; - values[valuesById[18] = "TYPE_SINT64"] = 18; - return values; + ExtensionRangeOptions.Declaration = (function() { + + /** + * Properties of a Declaration. + * @typedef {Object} google.protobuf.ExtensionRangeOptions.Declaration.$Properties + * @property {number|null} [number] Declaration number + * @property {string|null} [fullName] Declaration fullName + * @property {string|null} [type] Declaration type + * @property {boolean|null} [reserved] Declaration reserved + * @property {boolean|null} [repeated] Declaration repeated + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a Declaration. + * @memberof google.protobuf.ExtensionRangeOptions + * @interface IDeclaration + * @augments google.protobuf.ExtensionRangeOptions.Declaration.$Properties + * @deprecated Use google.protobuf.ExtensionRangeOptions.Declaration.$Properties instead. + */ + + /** + * Shape of a Declaration. + * @typedef {google.protobuf.ExtensionRangeOptions.Declaration.$Properties} google.protobuf.ExtensionRangeOptions.Declaration.$Shape + */ + + /** + * Constructs a new Declaration. + * @memberof google.protobuf.ExtensionRangeOptions + * @classdesc Represents a Declaration. + * @constructor + * @param {google.protobuf.ExtensionRangeOptions.Declaration.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var Declaration = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * Declaration number. + * @member {number} number + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + */ + Declaration.prototype.number = 0; + + /** + * Declaration fullName. + * @member {string} fullName + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + */ + Declaration.prototype.fullName = ""; + + /** + * Declaration type. + * @member {string} type + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + */ + Declaration.prototype.type = ""; + + /** + * Declaration reserved. + * @member {boolean} reserved + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + */ + Declaration.prototype.reserved = false; + + /** + * Declaration repeated. + * @member {boolean} repeated + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + */ + Declaration.prototype.repeated = false; + + /** + * Creates a new Declaration instance using the specified properties. + * @function create + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {google.protobuf.ExtensionRangeOptions.Declaration.$Properties=} [properties] Properties to set + * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration instance + * @type {{ + * (properties: google.protobuf.ExtensionRangeOptions.Declaration.$Shape): google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape; + * (properties?: google.protobuf.ExtensionRangeOptions.Declaration.$Properties): google.protobuf.ExtensionRangeOptions.Declaration; + * }} + */ + Declaration.create = function(properties) { + return new Declaration(properties); + }; + + /** + * Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. + * @function encode + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {google.protobuf.ExtensionRangeOptions.Declaration.$Properties} message Declaration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Declaration.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.number); + if (message.fullName != null && $Object.hasOwnProperty.call(message, "fullName")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.fullName); + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.type); + if (message.reserved != null && $Object.hasOwnProperty.call(message, "reserved")) + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.reserved); + if (message.repeated != null && $Object.hasOwnProperty.call(message, "repeated")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.repeated); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {google.protobuf.ExtensionRangeOptions.Declaration.$Properties} message Declaration message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Declaration.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a Declaration message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape} Declaration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Declaration.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.ExtensionRangeOptions.Declaration(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + message.number = reader.int32(); + continue; + } + case 2: { + if (wireType !== 2) + break; + message.fullName = reader.string(); + continue; + } + case 3: { + if (wireType !== 2) + break; + message.type = reader.string(); + continue; + } + case 5: { + if (wireType !== 0) + break; + message.reserved = reader.bool(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.repeated = reader.bool(); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a Declaration message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.ExtensionRangeOptions.Declaration & google.protobuf.ExtensionRangeOptions.Declaration.$Shape} Declaration + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Declaration.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Declaration message. + * @function verify + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Declaration.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + if (!$util.isInteger(message.number)) + return "number: integer expected"; + if (message.fullName != null && $Object.hasOwnProperty.call(message, "fullName")) + if (!$util.isString(message.fullName)) + return "fullName: string expected"; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + if (!$util.isString(message.type)) + return "type: string expected"; + if (message.reserved != null && $Object.hasOwnProperty.call(message, "reserved")) + if (typeof message.reserved !== "boolean") + return "reserved: boolean expected"; + if (message.repeated != null && $Object.hasOwnProperty.call(message, "repeated")) + if (typeof message.repeated !== "boolean") + return "repeated: boolean expected"; + return null; + }; + + /** + * Creates a Declaration message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration + */ + Declaration.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.ExtensionRangeOptions.Declaration) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.ExtensionRangeOptions.Declaration: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.ExtensionRangeOptions.Declaration(); + if (object.number != null) + message.number = object.number | 0; + if (object.fullName != null) + message.fullName = $String(object.fullName); + if (object.type != null) + message.type = $String(object.type); + if (object.reserved != null) + message.reserved = $Boolean(object.reserved); + if (object.repeated != null) + message.repeated = $Boolean(object.repeated); + return message; + }; + + /** + * Creates a plain object from a Declaration message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {google.protobuf.ExtensionRangeOptions.Declaration} message Declaration + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Declaration.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.defaults) { + object.number = 0; + object.fullName = ""; + object.type = ""; + object.reserved = false; + object.repeated = false; + } + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + object.number = message.number; + if (message.fullName != null && $Object.hasOwnProperty.call(message, "fullName")) + object.fullName = message.fullName; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + object.type = message.type; + if (message.reserved != null && $Object.hasOwnProperty.call(message, "reserved")) + object.reserved = message.reserved; + if (message.repeated != null && $Object.hasOwnProperty.call(message, "repeated")) + object.repeated = message.repeated; + return object; + }; + + /** + * Converts this Declaration to JSON. + * @function toJSON + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @instance + * @returns {Object.} JSON object + */ + Declaration.prototype.toJSON = function() { + return Declaration.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for Declaration + * @function getTypeUrl + * @memberof google.protobuf.ExtensionRangeOptions.Declaration + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + Declaration.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.ExtensionRangeOptions.Declaration"; + }; + + return Declaration; })(); /** - * Label enum. - * @name google.protobuf.FieldDescriptorProto.Label + * VerificationState enum. + * @name google.protobuf.ExtensionRangeOptions.VerificationState * @enum {number} - * @property {number} LABEL_OPTIONAL=1 LABEL_OPTIONAL value - * @property {number} LABEL_REQUIRED=2 LABEL_REQUIRED value - * @property {number} LABEL_REPEATED=3 LABEL_REPEATED value + * @property {number} DECLARATION=0 DECLARATION value + * @property {number} UNVERIFIED=1 UNVERIFIED value */ - FieldDescriptorProto.Label = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[1] = "LABEL_OPTIONAL"] = 1; - values[valuesById[2] = "LABEL_REQUIRED"] = 2; - values[valuesById[3] = "LABEL_REPEATED"] = 3; + ExtensionRangeOptions.VerificationState = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "DECLARATION"] = 0; + values[valuesById[1] = "UNVERIFIED"] = 1; return values; })(); - return FieldDescriptorProto; + return ExtensionRangeOptions; })(); - protobuf.OneofDescriptorProto = (function() { + protobuf.FieldDescriptorProto = (function() { + + /** + * Properties of a FieldDescriptorProto. + * @typedef {Object} google.protobuf.FieldDescriptorProto.$Properties + * @property {string|null} [name] FieldDescriptorProto name + * @property {number|null} [number] FieldDescriptorProto number + * @property {google.protobuf.FieldDescriptorProto.Label|null} [label] FieldDescriptorProto label + * @property {google.protobuf.FieldDescriptorProto.Type|null} [type] FieldDescriptorProto type + * @property {string|null} [typeName] FieldDescriptorProto typeName + * @property {string|null} [extendee] FieldDescriptorProto extendee + * @property {string|null} [defaultValue] FieldDescriptorProto defaultValue + * @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex + * @property {string|null} [jsonName] FieldDescriptorProto jsonName + * @property {google.protobuf.FieldOptions.$Properties|null} [options] FieldDescriptorProto options + * @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ /** - * Properties of an OneofDescriptorProto. + * Properties of a FieldDescriptorProto. * @memberof google.protobuf - * @interface IOneofDescriptorProto - * @property {string|null} [name] OneofDescriptorProto name - * @property {google.protobuf.IOneofOptions|null} [options] OneofDescriptorProto options + * @interface IFieldDescriptorProto + * @augments google.protobuf.FieldDescriptorProto.$Properties + * @deprecated Use google.protobuf.FieldDescriptorProto.$Properties instead. */ /** - * Constructs a new OneofDescriptorProto. + * Shape of a FieldDescriptorProto. + * @typedef {google.protobuf.FieldDescriptorProto.$Properties} google.protobuf.FieldDescriptorProto.$Shape + */ + + /** + * Constructs a new FieldDescriptorProto. * @memberof google.protobuf - * @classdesc Represents an OneofDescriptorProto. - * @implements IOneofDescriptorProto + * @classdesc Represents a FieldDescriptorProto. * @constructor - * @param {google.protobuf.IOneofDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.FieldDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function OneofDescriptorProto(properties) { + var FieldDescriptorProto = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * OneofDescriptorProto name. + * FieldDescriptorProto name. * @member {string} name - * @memberof google.protobuf.OneofDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @instance */ - OneofDescriptorProto.prototype.name = ""; + FieldDescriptorProto.prototype.name = ""; /** - * OneofDescriptorProto options. - * @member {google.protobuf.IOneofOptions|null|undefined} options - * @memberof google.protobuf.OneofDescriptorProto + * FieldDescriptorProto number. + * @member {number} number + * @memberof google.protobuf.FieldDescriptorProto * @instance */ - OneofDescriptorProto.prototype.options = null; + FieldDescriptorProto.prototype.number = 0; /** - * Creates a new OneofDescriptorProto instance using the specified properties. - * @function create - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {google.protobuf.IOneofDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto instance + * FieldDescriptorProto label. + * @member {google.protobuf.FieldDescriptorProto.Label} label + * @memberof google.protobuf.FieldDescriptorProto + * @instance */ - OneofDescriptorProto.create = function create(properties) { - return new OneofDescriptorProto(properties); - }; + FieldDescriptorProto.prototype.label = 1; /** - * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. - * @function encode - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * FieldDescriptorProto type. + * @member {google.protobuf.FieldDescriptorProto.Type} type + * @memberof google.protobuf.FieldDescriptorProto + * @instance */ - OneofDescriptorProto.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.OneofOptions.encode(message.options, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - return writer; - }; + FieldDescriptorProto.prototype.type = 1; /** - * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {google.protobuf.IOneofDescriptorProto} message OneofDescriptorProto message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * FieldDescriptorProto typeName. + * @member {string} typeName + * @memberof google.protobuf.FieldDescriptorProto + * @instance */ - OneofDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; + FieldDescriptorProto.prototype.typeName = ""; /** - * Decodes an OneofDescriptorProto message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - OneofDescriptorProto.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.OneofDescriptorProto(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.name = reader.string(); - break; - } - case 2: { - message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32()); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; - - /** - * Decodes an OneofDescriptorProto message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - OneofDescriptorProto.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies an OneofDescriptorProto message. - * @function verify - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - OneofDescriptorProto.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) - if (!$util.isString(message.name)) - return "name: string expected"; - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.OneofOptions.verify(message.options); - if (error) - return "options." + error; - } - return null; - }; - - /** - * Creates an OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto - */ - OneofDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.OneofDescriptorProto) - return object; - var message = new $root.google.protobuf.OneofDescriptorProto(); - if (object.name != null) - message.name = String(object.name); - if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.OneofDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.OneofOptions.fromObject(object.options); - } - return message; - }; - - /** - * Creates a plain object from an OneofDescriptorProto message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {google.protobuf.OneofDescriptorProto} message OneofDescriptorProto - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - OneofDescriptorProto.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.defaults) { - object.name = ""; - object.options = null; - } - if (message.name != null && message.hasOwnProperty("name")) - object.name = message.name; - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.OneofOptions.toObject(message.options, options); - return object; - }; - - /** - * Converts this OneofDescriptorProto to JSON. - * @function toJSON - * @memberof google.protobuf.OneofDescriptorProto + * FieldDescriptorProto extendee. + * @member {string} extendee + * @memberof google.protobuf.FieldDescriptorProto * @instance - * @returns {Object.} JSON object */ - OneofDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; - - /** - * Gets the default type url for OneofDescriptorProto - * @function getTypeUrl - * @memberof google.protobuf.OneofDescriptorProto - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - OneofDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.OneofDescriptorProto"; - }; - - return OneofDescriptorProto; - })(); - - protobuf.EnumDescriptorProto = (function() { + FieldDescriptorProto.prototype.extendee = ""; /** - * Properties of an EnumDescriptorProto. - * @memberof google.protobuf - * @interface IEnumDescriptorProto - * @property {string|null} [name] EnumDescriptorProto name - * @property {Array.|null} [value] EnumDescriptorProto value - * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options + * FieldDescriptorProto defaultValue. + * @member {string} defaultValue + * @memberof google.protobuf.FieldDescriptorProto + * @instance */ + FieldDescriptorProto.prototype.defaultValue = ""; /** - * Constructs a new EnumDescriptorProto. - * @memberof google.protobuf - * @classdesc Represents an EnumDescriptorProto. - * @implements IEnumDescriptorProto - * @constructor - * @param {google.protobuf.IEnumDescriptorProto=} [properties] Properties to set + * FieldDescriptorProto oneofIndex. + * @member {number} oneofIndex + * @memberof google.protobuf.FieldDescriptorProto + * @instance */ - function EnumDescriptorProto(properties) { - this.value = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + FieldDescriptorProto.prototype.oneofIndex = 0; /** - * EnumDescriptorProto name. - * @member {string} name - * @memberof google.protobuf.EnumDescriptorProto + * FieldDescriptorProto jsonName. + * @member {string} jsonName + * @memberof google.protobuf.FieldDescriptorProto * @instance */ - EnumDescriptorProto.prototype.name = ""; + FieldDescriptorProto.prototype.jsonName = ""; /** - * EnumDescriptorProto value. - * @member {Array.} value - * @memberof google.protobuf.EnumDescriptorProto + * FieldDescriptorProto options. + * @member {google.protobuf.FieldOptions.$Properties|null|undefined} options + * @memberof google.protobuf.FieldDescriptorProto * @instance */ - EnumDescriptorProto.prototype.value = $util.emptyArray; + FieldDescriptorProto.prototype.options = null; /** - * EnumDescriptorProto options. - * @member {google.protobuf.IEnumOptions|null|undefined} options - * @memberof google.protobuf.EnumDescriptorProto + * FieldDescriptorProto proto3Optional. + * @member {boolean} proto3Optional + * @memberof google.protobuf.FieldDescriptorProto * @instance */ - EnumDescriptorProto.prototype.options = null; + FieldDescriptorProto.prototype.proto3Optional = false; /** - * Creates a new EnumDescriptorProto instance using the specified properties. + * Creates a new FieldDescriptorProto instance using the specified properties. * @function create - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static - * @param {google.protobuf.IEnumDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto instance + * @param {google.protobuf.FieldDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto instance + * @type {{ + * (properties: google.protobuf.FieldDescriptorProto.$Shape): google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape; + * (properties?: google.protobuf.FieldDescriptorProto.$Properties): google.protobuf.FieldDescriptorProto; + * }} */ - EnumDescriptorProto.create = function create(properties) { - return new EnumDescriptorProto(properties); + FieldDescriptorProto.create = function(properties) { + return new FieldDescriptorProto(properties); }; /** - * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. + * Encodes the specified FieldDescriptorProto message. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @function encode - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static - * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode + * @param {google.protobuf.FieldDescriptorProto.$Properties} message FieldDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumDescriptorProto.encode = function encode(message, writer) { + FieldDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.value != null && message.value.length) - for (var i = 0; i < message.value.length; ++i) - $root.google.protobuf.EnumValueDescriptorProto.encode(message.value[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.EnumOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.extendee != null && $Object.hasOwnProperty.call(message, "extendee")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.extendee); + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.number); + if (message.label != null && $Object.hasOwnProperty.call(message, "label")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.label); + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.type); + if (message.typeName != null && $Object.hasOwnProperty.call(message, "typeName")) + writer.uint32(/* id 6, wireType 2 =*/50).string(message.typeName); + if (message.defaultValue != null && $Object.hasOwnProperty.call(message, "defaultValue")) + writer.uint32(/* id 7, wireType 2 =*/58).string(message.defaultValue); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.FieldOptions.encode(message.options, writer.uint32(/* id 8, wireType 2 =*/66).fork(), _depth + 1).ldelim(); + if (message.oneofIndex != null && $Object.hasOwnProperty.call(message, "oneofIndex")) + writer.uint32(/* id 9, wireType 0 =*/72).int32(message.oneofIndex); + if (message.jsonName != null && $Object.hasOwnProperty.call(message, "jsonName")) + writer.uint32(/* id 10, wireType 2 =*/82).string(message.jsonName); + if (message.proto3Optional != null && $Object.hasOwnProperty.call(message, "proto3Optional")) + writer.uint32(/* id 17, wireType 0 =*/136).bool(message.proto3Optional); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. + * Encodes the specified FieldDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.FieldDescriptorProto.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static - * @param {google.protobuf.IEnumDescriptorProto} message EnumDescriptorProto message or plain object to encode + * @param {google.protobuf.FieldDescriptorProto.$Properties} message FieldDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FieldDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes an EnumDescriptorProto message from the specified reader or buffer. + * Decodes a FieldDescriptorProto message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto + * @returns {google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape} FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumDescriptorProto.decode = function decode(reader, length) { + FieldDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.EnumDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FieldDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; + } + case 3: { + if (wireType !== 0) + break; + message.number = reader.int32(); + continue; + } + case 4: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldDescriptorProto.Label[value] !== $undefined) + message.label = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 5: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldDescriptorProto.Type[value] !== $undefined) + message.type = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 6: { + if (wireType !== 2) + break; + message.typeName = reader.string(); + continue; } case 2: { - if (!(message.value && message.value.length)) - message.value = []; - message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32())); - break; + if (wireType !== 2) + break; + message.extendee = reader.string(); + continue; } - case 3: { - message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32()); - break; + case 7: { + if (wireType !== 2) + break; + message.defaultValue = reader.string(); + continue; + } + case 9: { + if (wireType !== 0) + break; + message.oneofIndex = reader.int32(); + continue; + } + case 10: { + if (wireType !== 2) + break; + message.jsonName = reader.string(); + continue; + } + case 8: { + if (wireType !== 2) + break; + message.options = $root.google.protobuf.FieldOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; + } + case 17: { + if (wireType !== 0) + break; + message.proto3Optional = reader.bool(); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes a FieldDescriptorProto message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto + * @returns {google.protobuf.FieldDescriptorProto & google.protobuf.FieldDescriptorProto.$Shape} FieldDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + FieldDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an EnumDescriptorProto message. + * Verifies a FieldDescriptorProto message. * @function verify - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EnumDescriptorProto.verify = function verify(message) { + FieldDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message.value != null && message.hasOwnProperty("value")) { - if (!Array.isArray(message.value)) - return "value: array expected"; - for (var i = 0; i < message.value.length; ++i) { - var error = $root.google.protobuf.EnumValueDescriptorProto.verify(message.value[i]); - if (error) - return "value." + error; + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + if (!$util.isInteger(message.number)) + return "number: integer expected"; + if (message.label != null && $Object.hasOwnProperty.call(message, "label")) + switch (message.label) { + default: + return "label: enum value expected"; + case 1: + case 3: + case 2: + break; } - } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.EnumOptions.verify(message.options); - if (error) - return "options." + error; - } + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + switch (message.type) { + default: + return "type: enum value expected"; + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + case 10: + case 11: + case 12: + case 13: + case 14: + case 15: + case 16: + case 17: + case 18: + break; + } + if (message.typeName != null && $Object.hasOwnProperty.call(message, "typeName")) + if (!$util.isString(message.typeName)) + return "typeName: string expected"; + if (message.extendee != null && $Object.hasOwnProperty.call(message, "extendee")) + if (!$util.isString(message.extendee)) + return "extendee: string expected"; + if (message.defaultValue != null && $Object.hasOwnProperty.call(message, "defaultValue")) + if (!$util.isString(message.defaultValue)) + return "defaultValue: string expected"; + if (message.oneofIndex != null && $Object.hasOwnProperty.call(message, "oneofIndex")) + if (!$util.isInteger(message.oneofIndex)) + return "oneofIndex: integer expected"; + if (message.jsonName != null && $Object.hasOwnProperty.call(message, "jsonName")) + if (!$util.isString(message.jsonName)) + return "jsonName: string expected"; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.FieldOptions.verify(message.options, _depth + 1); + if (error) + return "options." + error; + } + if (message.proto3Optional != null && $Object.hasOwnProperty.call(message, "proto3Optional")) + if (typeof message.proto3Optional !== "boolean") + return "proto3Optional: boolean expected"; return null; }; /** - * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates a FieldDescriptorProto message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static * @param {Object.} object Plain object - * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto + * @returns {google.protobuf.FieldDescriptorProto} FieldDescriptorProto */ - EnumDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.EnumDescriptorProto) + FieldDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FieldDescriptorProto) return object; - var message = new $root.google.protobuf.EnumDescriptorProto(); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FieldDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FieldDescriptorProto(); if (object.name != null) - message.name = String(object.name); - if (object.value) { - if (!Array.isArray(object.value)) - throw TypeError(".google.protobuf.EnumDescriptorProto.value: array expected"); - message.value = []; - for (var i = 0; i < object.value.length; ++i) { - if (typeof object.value[i] !== "object") - throw TypeError(".google.protobuf.EnumDescriptorProto.value: object expected"); - message.value[i] = $root.google.protobuf.EnumValueDescriptorProto.fromObject(object.value[i]); - } + message.name = $String(object.name); + if (object.number != null) + message.number = object.number | 0; + switch (object.label) { + case "LABEL_OPTIONAL": + case 1: + message.label = 1; + break; + case "LABEL_REPEATED": + case 3: + message.label = 3; + break; + case "LABEL_REQUIRED": + case 2: + message.label = 2; + break; + default: + } + switch (object.type) { + case "TYPE_DOUBLE": + case 1: + message.type = 1; + break; + case "TYPE_FLOAT": + case 2: + message.type = 2; + break; + case "TYPE_INT64": + case 3: + message.type = 3; + break; + case "TYPE_UINT64": + case 4: + message.type = 4; + break; + case "TYPE_INT32": + case 5: + message.type = 5; + break; + case "TYPE_FIXED64": + case 6: + message.type = 6; + break; + case "TYPE_FIXED32": + case 7: + message.type = 7; + break; + case "TYPE_BOOL": + case 8: + message.type = 8; + break; + case "TYPE_STRING": + case 9: + message.type = 9; + break; + case "TYPE_GROUP": + case 10: + message.type = 10; + break; + case "TYPE_MESSAGE": + case 11: + message.type = 11; + break; + case "TYPE_BYTES": + case 12: + message.type = 12; + break; + case "TYPE_UINT32": + case 13: + message.type = 13; + break; + case "TYPE_ENUM": + case 14: + message.type = 14; + break; + case "TYPE_SFIXED32": + case 15: + message.type = 15; + break; + case "TYPE_SFIXED64": + case 16: + message.type = 16; + break; + case "TYPE_SINT32": + case 17: + message.type = 17; + break; + case "TYPE_SINT64": + case 18: + message.type = 18; + break; + default: } + if (object.typeName != null) + message.typeName = $String(object.typeName); + if (object.extendee != null) + message.extendee = $String(object.extendee); + if (object.defaultValue != null) + message.defaultValue = $String(object.defaultValue); + if (object.oneofIndex != null) + message.oneofIndex = object.oneofIndex | 0; + if (object.jsonName != null) + message.jsonName = $String(object.jsonName); if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.EnumDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.EnumOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.FieldDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.FieldOptions.fromObject(object.options, _depth + 1); } + if (object.proto3Optional != null) + message.proto3Optional = $Boolean(object.proto3Optional); return message; }; /** - * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from a FieldDescriptorProto message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static - * @param {google.protobuf.EnumDescriptorProto} message EnumDescriptorProto + * @param {google.protobuf.FieldDescriptorProto} message FieldDescriptorProto * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - EnumDescriptorProto.toObject = function toObject(message, options) { + FieldDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (options.arrays || options.defaults) - object.value = []; if (options.defaults) { object.name = ""; + object.extendee = ""; + object.number = 0; + object.label = options.enums === $String ? "LABEL_OPTIONAL" : 1; + object.type = options.enums === $String ? "TYPE_DOUBLE" : 1; + object.typeName = ""; + object.defaultValue = ""; object.options = null; + object.oneofIndex = 0; + object.jsonName = ""; + object.proto3Optional = false; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; - if (message.value && message.value.length) { - object.value = []; - for (var j = 0; j < message.value.length; ++j) - object.value[j] = $root.google.protobuf.EnumValueDescriptorProto.toObject(message.value[j], options); - } - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.EnumOptions.toObject(message.options, options); + if (message.extendee != null && $Object.hasOwnProperty.call(message, "extendee")) + object.extendee = message.extendee; + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + object.number = message.number; + if (message.label != null && $Object.hasOwnProperty.call(message, "label")) + object.label = options.enums === $String ? $root.google.protobuf.FieldDescriptorProto.Label[message.label] === $undefined ? message.label : $root.google.protobuf.FieldDescriptorProto.Label[message.label] : message.label; + if (message.type != null && $Object.hasOwnProperty.call(message, "type")) + object.type = options.enums === $String ? $root.google.protobuf.FieldDescriptorProto.Type[message.type] === $undefined ? message.type : $root.google.protobuf.FieldDescriptorProto.Type[message.type] : message.type; + if (message.typeName != null && $Object.hasOwnProperty.call(message, "typeName")) + object.typeName = message.typeName; + if (message.defaultValue != null && $Object.hasOwnProperty.call(message, "defaultValue")) + object.defaultValue = message.defaultValue; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.FieldOptions.toObject(message.options, options, _depth + 1); + if (message.oneofIndex != null && $Object.hasOwnProperty.call(message, "oneofIndex")) + object.oneofIndex = message.oneofIndex; + if (message.jsonName != null && $Object.hasOwnProperty.call(message, "jsonName")) + object.jsonName = message.jsonName; + if (message.proto3Optional != null && $Object.hasOwnProperty.call(message, "proto3Optional")) + object.proto3Optional = message.proto3Optional; return object; }; /** - * Converts this EnumDescriptorProto to JSON. + * Converts this FieldDescriptorProto to JSON. * @function toJSON - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @instance * @returns {Object.} JSON object */ - EnumDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FieldDescriptorProto.prototype.toJSON = function() { + return FieldDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for EnumDescriptorProto + * Gets the type url for FieldDescriptorProto * @function getTypeUrl - * @memberof google.protobuf.EnumDescriptorProto + * @memberof google.protobuf.FieldDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - EnumDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.EnumDescriptorProto"; + FieldDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FieldDescriptorProto"; }; - return EnumDescriptorProto; + /** + * Type enum. + * @name google.protobuf.FieldDescriptorProto.Type + * @enum {number} + * @property {number} TYPE_DOUBLE=1 TYPE_DOUBLE value + * @property {number} TYPE_FLOAT=2 TYPE_FLOAT value + * @property {number} TYPE_INT64=3 TYPE_INT64 value + * @property {number} TYPE_UINT64=4 TYPE_UINT64 value + * @property {number} TYPE_INT32=5 TYPE_INT32 value + * @property {number} TYPE_FIXED64=6 TYPE_FIXED64 value + * @property {number} TYPE_FIXED32=7 TYPE_FIXED32 value + * @property {number} TYPE_BOOL=8 TYPE_BOOL value + * @property {number} TYPE_STRING=9 TYPE_STRING value + * @property {number} TYPE_GROUP=10 TYPE_GROUP value + * @property {number} TYPE_MESSAGE=11 TYPE_MESSAGE value + * @property {number} TYPE_BYTES=12 TYPE_BYTES value + * @property {number} TYPE_UINT32=13 TYPE_UINT32 value + * @property {number} TYPE_ENUM=14 TYPE_ENUM value + * @property {number} TYPE_SFIXED32=15 TYPE_SFIXED32 value + * @property {number} TYPE_SFIXED64=16 TYPE_SFIXED64 value + * @property {number} TYPE_SINT32=17 TYPE_SINT32 value + * @property {number} TYPE_SINT64=18 TYPE_SINT64 value + */ + FieldDescriptorProto.Type = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[1] = "TYPE_DOUBLE"] = 1; + values[valuesById[2] = "TYPE_FLOAT"] = 2; + values[valuesById[3] = "TYPE_INT64"] = 3; + values[valuesById[4] = "TYPE_UINT64"] = 4; + values[valuesById[5] = "TYPE_INT32"] = 5; + values[valuesById[6] = "TYPE_FIXED64"] = 6; + values[valuesById[7] = "TYPE_FIXED32"] = 7; + values[valuesById[8] = "TYPE_BOOL"] = 8; + values[valuesById[9] = "TYPE_STRING"] = 9; + values[valuesById[10] = "TYPE_GROUP"] = 10; + values[valuesById[11] = "TYPE_MESSAGE"] = 11; + values[valuesById[12] = "TYPE_BYTES"] = 12; + values[valuesById[13] = "TYPE_UINT32"] = 13; + values[valuesById[14] = "TYPE_ENUM"] = 14; + values[valuesById[15] = "TYPE_SFIXED32"] = 15; + values[valuesById[16] = "TYPE_SFIXED64"] = 16; + values[valuesById[17] = "TYPE_SINT32"] = 17; + values[valuesById[18] = "TYPE_SINT64"] = 18; + return values; + })(); + + /** + * Label enum. + * @name google.protobuf.FieldDescriptorProto.Label + * @enum {number} + * @property {number} LABEL_OPTIONAL=1 LABEL_OPTIONAL value + * @property {number} LABEL_REPEATED=3 LABEL_REPEATED value + * @property {number} LABEL_REQUIRED=2 LABEL_REQUIRED value + */ + FieldDescriptorProto.Label = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[1] = "LABEL_OPTIONAL"] = 1; + values[valuesById[3] = "LABEL_REPEATED"] = 3; + values[valuesById[2] = "LABEL_REQUIRED"] = 2; + return values; + })(); + + return FieldDescriptorProto; })(); - protobuf.EnumValueDescriptorProto = (function() { + protobuf.OneofDescriptorProto = (function() { /** - * Properties of an EnumValueDescriptorProto. + * Properties of a OneofDescriptorProto. + * @typedef {Object} google.protobuf.OneofDescriptorProto.$Properties + * @property {string|null} [name] OneofDescriptorProto name + * @property {google.protobuf.OneofOptions.$Properties|null} [options] OneofDescriptorProto options + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a OneofDescriptorProto. * @memberof google.protobuf - * @interface IEnumValueDescriptorProto - * @property {string|null} [name] EnumValueDescriptorProto name - * @property {number|null} [number] EnumValueDescriptorProto number - * @property {google.protobuf.IEnumValueOptions|null} [options] EnumValueDescriptorProto options + * @interface IOneofDescriptorProto + * @augments google.protobuf.OneofDescriptorProto.$Properties + * @deprecated Use google.protobuf.OneofDescriptorProto.$Properties instead. */ /** - * Constructs a new EnumValueDescriptorProto. + * Shape of a OneofDescriptorProto. + * @typedef {google.protobuf.OneofDescriptorProto.$Properties} google.protobuf.OneofDescriptorProto.$Shape + */ + + /** + * Constructs a new OneofDescriptorProto. * @memberof google.protobuf - * @classdesc Represents an EnumValueDescriptorProto. - * @implements IEnumValueDescriptorProto + * @classdesc Represents a OneofDescriptorProto. * @constructor - * @param {google.protobuf.IEnumValueDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.OneofDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function EnumValueDescriptorProto(properties) { + var OneofDescriptorProto = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * EnumValueDescriptorProto name. + * OneofDescriptorProto name. * @member {string} name - * @memberof google.protobuf.EnumValueDescriptorProto - * @instance - */ - EnumValueDescriptorProto.prototype.name = ""; - - /** - * EnumValueDescriptorProto number. - * @member {number} number - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @instance */ - EnumValueDescriptorProto.prototype.number = 0; + OneofDescriptorProto.prototype.name = ""; /** - * EnumValueDescriptorProto options. - * @member {google.protobuf.IEnumValueOptions|null|undefined} options - * @memberof google.protobuf.EnumValueDescriptorProto + * OneofDescriptorProto options. + * @member {google.protobuf.OneofOptions.$Properties|null|undefined} options + * @memberof google.protobuf.OneofDescriptorProto * @instance */ - EnumValueDescriptorProto.prototype.options = null; + OneofDescriptorProto.prototype.options = null; /** - * Creates a new EnumValueDescriptorProto instance using the specified properties. + * Creates a new OneofDescriptorProto instance using the specified properties. * @function create - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static - * @param {google.protobuf.IEnumValueDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto instance + * @param {google.protobuf.OneofDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto instance + * @type {{ + * (properties: google.protobuf.OneofDescriptorProto.$Shape): google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape; + * (properties?: google.protobuf.OneofDescriptorProto.$Properties): google.protobuf.OneofDescriptorProto; + * }} */ - EnumValueDescriptorProto.create = function create(properties) { - return new EnumValueDescriptorProto(properties); + OneofDescriptorProto.create = function(properties) { + return new OneofDescriptorProto(properties); }; /** - * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. + * Encodes the specified OneofDescriptorProto message. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @function encode - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static - * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode + * @param {google.protobuf.OneofDescriptorProto.$Properties} message OneofDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumValueDescriptorProto.encode = function encode(message, writer) { + OneofDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.number != null && Object.hasOwnProperty.call(message, "number")) - writer.uint32(/* id 2, wireType 0 =*/16).int32(message.number); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.EnumValueOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.OneofOptions.encode(message.options, writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. + * Encodes the specified OneofDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.OneofDescriptorProto.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static - * @param {google.protobuf.IEnumValueDescriptorProto} message EnumValueDescriptorProto message or plain object to encode + * @param {google.protobuf.OneofDescriptorProto.$Properties} message OneofDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumValueDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + OneofDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. + * Decodes a OneofDescriptorProto message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto + * @returns {google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape} OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumValueDescriptorProto.decode = function decode(reader, length) { + OneofDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.EnumValueDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.OneofDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; } case 2: { - message.number = reader.int32(); - break; - } - case 3: { - message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.options = $root.google.protobuf.OneofOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes a OneofDescriptorProto message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto + * @returns {google.protobuf.OneofDescriptorProto & google.protobuf.OneofDescriptorProto.$Shape} OneofDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumValueDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + OneofDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an EnumValueDescriptorProto message. + * Verifies a OneofDescriptorProto message. * @function verify - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EnumValueDescriptorProto.verify = function verify(message) { + OneofDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message.number != null && message.hasOwnProperty("number")) - if (!$util.isInteger(message.number)) - return "number: integer expected"; - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.EnumValueOptions.verify(message.options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.OneofOptions.verify(message.options, _depth + 1); if (error) return "options." + error; } @@ -12228,2459 +15532,3818 @@ $root.google = (function() { }; /** - * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates a OneofDescriptorProto message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static * @param {Object.} object Plain object - * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto + * @returns {google.protobuf.OneofDescriptorProto} OneofDescriptorProto */ - EnumValueDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.EnumValueDescriptorProto) + OneofDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.OneofDescriptorProto) return object; - var message = new $root.google.protobuf.EnumValueDescriptorProto(); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.OneofDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.OneofDescriptorProto(); if (object.name != null) - message.name = String(object.name); - if (object.number != null) - message.number = object.number | 0; + message.name = $String(object.name); if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.EnumValueOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.OneofDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.OneofOptions.fromObject(object.options, _depth + 1); } return message; }; /** - * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from a OneofDescriptorProto message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static - * @param {google.protobuf.EnumValueDescriptorProto} message EnumValueDescriptorProto + * @param {google.protobuf.OneofDescriptorProto} message OneofDescriptorProto * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - EnumValueDescriptorProto.toObject = function toObject(message, options) { + OneofDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.name = ""; - object.number = 0; object.options = null; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; - if (message.number != null && message.hasOwnProperty("number")) - object.number = message.number; - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.EnumValueOptions.toObject(message.options, options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.OneofOptions.toObject(message.options, options, _depth + 1); return object; }; /** - * Converts this EnumValueDescriptorProto to JSON. + * Converts this OneofDescriptorProto to JSON. * @function toJSON - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @instance * @returns {Object.} JSON object */ - EnumValueDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + OneofDescriptorProto.prototype.toJSON = function() { + return OneofDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for EnumValueDescriptorProto + * Gets the type url for OneofDescriptorProto * @function getTypeUrl - * @memberof google.protobuf.EnumValueDescriptorProto + * @memberof google.protobuf.OneofDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - EnumValueDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.EnumValueDescriptorProto"; + OneofDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.OneofDescriptorProto"; }; - return EnumValueDescriptorProto; + return OneofDescriptorProto; })(); - protobuf.ServiceDescriptorProto = (function() { + protobuf.EnumDescriptorProto = (function() { /** - * Properties of a ServiceDescriptorProto. + * Properties of an EnumDescriptorProto. + * @typedef {Object} google.protobuf.EnumDescriptorProto.$Properties + * @property {string|null} [name] EnumDescriptorProto name + * @property {Array.|null} [value] EnumDescriptorProto value + * @property {google.protobuf.EnumOptions.$Properties|null} [options] EnumDescriptorProto options + * @property {Array.|null} [reservedRange] EnumDescriptorProto reservedRange + * @property {Array.|null} [reservedName] EnumDescriptorProto reservedName + * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EnumDescriptorProto. * @memberof google.protobuf - * @interface IServiceDescriptorProto - * @property {string|null} [name] ServiceDescriptorProto name - * @property {Array.|null} [method] ServiceDescriptorProto method - * @property {google.protobuf.IServiceOptions|null} [options] ServiceDescriptorProto options + * @interface IEnumDescriptorProto + * @augments google.protobuf.EnumDescriptorProto.$Properties + * @deprecated Use google.protobuf.EnumDescriptorProto.$Properties instead. */ /** - * Constructs a new ServiceDescriptorProto. + * Shape of an EnumDescriptorProto. + * @typedef {google.protobuf.EnumDescriptorProto.$Properties} google.protobuf.EnumDescriptorProto.$Shape + */ + + /** + * Constructs a new EnumDescriptorProto. * @memberof google.protobuf - * @classdesc Represents a ServiceDescriptorProto. - * @implements IServiceDescriptorProto + * @classdesc Represents an EnumDescriptorProto. * @constructor - * @param {google.protobuf.IServiceDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.EnumDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function ServiceDescriptorProto(properties) { - this.method = []; + var EnumDescriptorProto = function (properties) { + this.value = []; + this.reservedRange = []; + this.reservedName = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * ServiceDescriptorProto name. + * EnumDescriptorProto name. * @member {string} name - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @instance */ - ServiceDescriptorProto.prototype.name = ""; + EnumDescriptorProto.prototype.name = ""; /** - * ServiceDescriptorProto method. - * @member {Array.} method - * @memberof google.protobuf.ServiceDescriptorProto + * EnumDescriptorProto value. + * @member {Array.} value + * @memberof google.protobuf.EnumDescriptorProto * @instance */ - ServiceDescriptorProto.prototype.method = $util.emptyArray; + EnumDescriptorProto.prototype.value = $util.emptyArray; /** - * ServiceDescriptorProto options. - * @member {google.protobuf.IServiceOptions|null|undefined} options - * @memberof google.protobuf.ServiceDescriptorProto + * EnumDescriptorProto options. + * @member {google.protobuf.EnumOptions.$Properties|null|undefined} options + * @memberof google.protobuf.EnumDescriptorProto * @instance */ - ServiceDescriptorProto.prototype.options = null; + EnumDescriptorProto.prototype.options = null; /** - * Creates a new ServiceDescriptorProto instance using the specified properties. + * EnumDescriptorProto reservedRange. + * @member {Array.} reservedRange + * @memberof google.protobuf.EnumDescriptorProto + * @instance + */ + EnumDescriptorProto.prototype.reservedRange = $util.emptyArray; + + /** + * EnumDescriptorProto reservedName. + * @member {Array.} reservedName + * @memberof google.protobuf.EnumDescriptorProto + * @instance + */ + EnumDescriptorProto.prototype.reservedName = $util.emptyArray; + + /** + * EnumDescriptorProto visibility. + * @member {google.protobuf.SymbolVisibility} visibility + * @memberof google.protobuf.EnumDescriptorProto + * @instance + */ + EnumDescriptorProto.prototype.visibility = 0; + + /** + * Creates a new EnumDescriptorProto instance using the specified properties. * @function create - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static - * @param {google.protobuf.IServiceDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto instance + * @param {google.protobuf.EnumDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto instance + * @type {{ + * (properties: google.protobuf.EnumDescriptorProto.$Shape): google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape; + * (properties?: google.protobuf.EnumDescriptorProto.$Properties): google.protobuf.EnumDescriptorProto; + * }} */ - ServiceDescriptorProto.create = function create(properties) { - return new ServiceDescriptorProto(properties); + EnumDescriptorProto.create = function(properties) { + return new EnumDescriptorProto(properties); }; /** - * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * Encodes the specified EnumDescriptorProto message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @function encode - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static - * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumDescriptorProto.$Properties} message EnumDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ServiceDescriptorProto.encode = function encode(message, writer) { + EnumDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.method != null && message.method.length) - for (var i = 0; i < message.method.length; ++i) - $root.google.protobuf.MethodDescriptorProto.encode(message.method[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.ServiceOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim(); + if (message.value != null && message.value.length) + for (var i = 0; i < message.value.length; ++i) + $root.google.protobuf.EnumValueDescriptorProto.encode(message.value[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.EnumOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.reservedRange != null && message.reservedRange.length) + for (var i = 0; i < message.reservedRange.length; ++i) + $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.encode(message.reservedRange[i], writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); + if (message.reservedName != null && message.reservedName.length) + for (var i = 0; i < message.reservedName.length; ++i) + writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]); + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * Encodes the specified EnumDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static - * @param {google.protobuf.IServiceDescriptorProto} message ServiceDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumDescriptorProto.$Properties} message EnumDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ServiceDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + EnumDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a ServiceDescriptorProto message from the specified reader or buffer. + * Decodes an EnumDescriptorProto message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto + * @returns {google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape} EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ServiceDescriptorProto.decode = function decode(reader, length) { + EnumDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.ServiceDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.EnumDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; } case 2: { - if (!(message.method && message.method.length)) - message.method = []; - message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32())); - break; + if (wireType !== 2) + break; + if (!(message.value && message.value.length)) + message.value = []; + message.value.push($root.google.protobuf.EnumValueDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 3: { - message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32()); - break; + if (wireType !== 2) + break; + message.options = $root.google.protobuf.EnumOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; + } + case 4: { + if (wireType !== 2) + break; + if (!(message.reservedRange && message.reservedRange.length)) + message.reservedRange = []; + message.reservedRange.push($root.google.protobuf.EnumDescriptorProto.EnumReservedRange.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + case 5: { + if (wireType !== 2) + break; + if (!(message.reservedName && message.reservedName.length)) + message.reservedName = []; + message.reservedName.push(reader.string()); + continue; + } + case 6: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.SymbolVisibility[value] !== $undefined) + message.visibility = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes an EnumDescriptorProto message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto + * @returns {google.protobuf.EnumDescriptorProto & google.protobuf.EnumDescriptorProto.$Shape} EnumDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ServiceDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + EnumDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a ServiceDescriptorProto message. + * Verifies an EnumDescriptorProto message. * @function verify - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ServiceDescriptorProto.verify = function verify(message) { + EnumDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message.method != null && message.hasOwnProperty("method")) { - if (!Array.isArray(message.method)) - return "method: array expected"; - for (var i = 0; i < message.method.length; ++i) { - var error = $root.google.protobuf.MethodDescriptorProto.verify(message.method[i]); + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) { + if (!$Array.isArray(message.value)) + return "value: array expected"; + for (var i = 0; i < message.value.length; ++i) { + var error = $root.google.protobuf.EnumValueDescriptorProto.verify(message.value[i], _depth + 1); if (error) - return "method." + error; + return "value." + error; } } - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.ServiceOptions.verify(message.options); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.EnumOptions.verify(message.options, _depth + 1); if (error) return "options." + error; } + if (message.reservedRange != null && $Object.hasOwnProperty.call(message, "reservedRange")) { + if (!$Array.isArray(message.reservedRange)) + return "reservedRange: array expected"; + for (var i = 0; i < message.reservedRange.length; ++i) { + var error = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.verify(message.reservedRange[i], _depth + 1); + if (error) + return "reservedRange." + error; + } + } + if (message.reservedName != null && $Object.hasOwnProperty.call(message, "reservedName")) { + if (!$Array.isArray(message.reservedName)) + return "reservedName: array expected"; + for (var i = 0; i < message.reservedName.length; ++i) + if (!$util.isString(message.reservedName[i])) + return "reservedName: string[] expected"; + } + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + switch (message.visibility) { + default: + return "visibility: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; /** - * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates an EnumDescriptorProto message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static * @param {Object.} object Plain object - * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto + * @returns {google.protobuf.EnumDescriptorProto} EnumDescriptorProto */ - ServiceDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.ServiceDescriptorProto) + EnumDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.EnumDescriptorProto) return object; - var message = new $root.google.protobuf.ServiceDescriptorProto(); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.EnumDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.EnumDescriptorProto(); if (object.name != null) - message.name = String(object.name); - if (object.method) { - if (!Array.isArray(object.method)) - throw TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected"); - message.method = []; - for (var i = 0; i < object.method.length; ++i) { - if (typeof object.method[i] !== "object") - throw TypeError(".google.protobuf.ServiceDescriptorProto.method: object expected"); - message.method[i] = $root.google.protobuf.MethodDescriptorProto.fromObject(object.method[i]); + message.name = $String(object.name); + if (object.value) { + if (!$Array.isArray(object.value)) + throw $TypeError(".google.protobuf.EnumDescriptorProto.value: array expected"); + message.value = $Array(object.value.length); + for (var i = 0; i < object.value.length; ++i) { + if (!$util.isObject(object.value[i])) + throw $TypeError(".google.protobuf.EnumDescriptorProto.value: object expected"); + message.value[i] = $root.google.protobuf.EnumValueDescriptorProto.fromObject(object.value[i], _depth + 1); } } if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.ServiceDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.ServiceOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.EnumDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.EnumOptions.fromObject(object.options, _depth + 1); + } + if (object.reservedRange) { + if (!$Array.isArray(object.reservedRange)) + throw $TypeError(".google.protobuf.EnumDescriptorProto.reservedRange: array expected"); + message.reservedRange = $Array(object.reservedRange.length); + for (var i = 0; i < object.reservedRange.length; ++i) { + if (!$util.isObject(object.reservedRange[i])) + throw $TypeError(".google.protobuf.EnumDescriptorProto.reservedRange: object expected"); + message.reservedRange[i] = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.fromObject(object.reservedRange[i], _depth + 1); + } + } + if (object.reservedName) { + if (!$Array.isArray(object.reservedName)) + throw $TypeError(".google.protobuf.EnumDescriptorProto.reservedName: array expected"); + message.reservedName = $Array(object.reservedName.length); + for (var i = 0; i < object.reservedName.length; ++i) + message.reservedName[i] = $String(object.reservedName[i]); + } + switch (object.visibility) { + case "VISIBILITY_UNSET": + case 0: + message.visibility = 0; + break; + case "VISIBILITY_LOCAL": + case 1: + message.visibility = 1; + break; + case "VISIBILITY_EXPORT": + case 2: + message.visibility = 2; + break; + default: } return message; }; /** - * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from an EnumDescriptorProto message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static - * @param {google.protobuf.ServiceDescriptorProto} message ServiceDescriptorProto + * @param {google.protobuf.EnumDescriptorProto} message EnumDescriptorProto * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ServiceDescriptorProto.toObject = function toObject(message, options) { + EnumDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (options.arrays || options.defaults) - object.method = []; + if (options.arrays || options.defaults) { + object.value = []; + object.reservedRange = []; + object.reservedName = []; + } if (options.defaults) { object.name = ""; object.options = null; + object.visibility = options.enums === $String ? "VISIBILITY_UNSET" : 0; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; - if (message.method && message.method.length) { - object.method = []; - for (var j = 0; j < message.method.length; ++j) - object.method[j] = $root.google.protobuf.MethodDescriptorProto.toObject(message.method[j], options); + if (message.value && message.value.length) { + object.value = $Array(message.value.length); + for (var j = 0; j < message.value.length; ++j) + object.value[j] = $root.google.protobuf.EnumValueDescriptorProto.toObject(message.value[j], options, _depth + 1); + } + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.EnumOptions.toObject(message.options, options, _depth + 1); + if (message.reservedRange && message.reservedRange.length) { + object.reservedRange = $Array(message.reservedRange.length); + for (var j = 0; j < message.reservedRange.length; ++j) + object.reservedRange[j] = $root.google.protobuf.EnumDescriptorProto.EnumReservedRange.toObject(message.reservedRange[j], options, _depth + 1); + } + if (message.reservedName && message.reservedName.length) { + object.reservedName = $Array(message.reservedName.length); + for (var j = 0; j < message.reservedName.length; ++j) + object.reservedName[j] = message.reservedName[j]; } - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.ServiceOptions.toObject(message.options, options); + if (message.visibility != null && $Object.hasOwnProperty.call(message, "visibility")) + object.visibility = options.enums === $String ? $root.google.protobuf.SymbolVisibility[message.visibility] === $undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility; return object; }; /** - * Converts this ServiceDescriptorProto to JSON. + * Converts this EnumDescriptorProto to JSON. * @function toJSON - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @instance * @returns {Object.} JSON object */ - ServiceDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + EnumDescriptorProto.prototype.toJSON = function() { + return EnumDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ServiceDescriptorProto + * Gets the type url for EnumDescriptorProto * @function getTypeUrl - * @memberof google.protobuf.ServiceDescriptorProto + * @memberof google.protobuf.EnumDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ServiceDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.ServiceDescriptorProto"; + EnumDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.EnumDescriptorProto"; }; - return ServiceDescriptorProto; + EnumDescriptorProto.EnumReservedRange = (function() { + + /** + * Properties of an EnumReservedRange. + * @typedef {Object} google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties + * @property {number|null} [start] EnumReservedRange start + * @property {number|null} [end] EnumReservedRange end + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EnumReservedRange. + * @memberof google.protobuf.EnumDescriptorProto + * @interface IEnumReservedRange + * @augments google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties + * @deprecated Use google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties instead. + */ + + /** + * Shape of an EnumReservedRange. + * @typedef {google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties} google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape + */ + + /** + * Constructs a new EnumReservedRange. + * @memberof google.protobuf.EnumDescriptorProto + * @classdesc Represents an EnumReservedRange. + * @constructor + * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var EnumReservedRange = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * EnumReservedRange start. + * @member {number} start + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @instance + */ + EnumReservedRange.prototype.start = 0; + + /** + * EnumReservedRange end. + * @member {number} end + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @instance + */ + EnumReservedRange.prototype.end = 0; + + /** + * Creates a new EnumReservedRange instance using the specified properties. + * @function create + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties=} [properties] Properties to set + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange instance + * @type {{ + * (properties: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape): google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape; + * (properties?: google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties): google.protobuf.EnumDescriptorProto.EnumReservedRange; + * }} + */ + EnumReservedRange.create = function(properties) { + return new EnumReservedRange(properties); + }; + + /** + * Encodes the specified EnumReservedRange message. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. + * @function encode + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties} message EnumReservedRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumReservedRange.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.start); + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.end); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified EnumReservedRange message, length delimited. Does not implicitly {@link google.protobuf.EnumDescriptorProto.EnumReservedRange.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange.$Properties} message EnumReservedRange message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumReservedRange.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes an EnumReservedRange message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape} EnumReservedRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumReservedRange.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.EnumDescriptorProto.EnumReservedRange(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + message.start = reader.int32(); + continue; + } + case 2: { + if (wireType !== 0) + break; + message.end = reader.int32(); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes an EnumReservedRange message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange & google.protobuf.EnumDescriptorProto.EnumReservedRange.$Shape} EnumReservedRange + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumReservedRange.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an EnumReservedRange message. + * @function verify + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EnumReservedRange.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) + if (!$util.isInteger(message.start)) + return "start: integer expected"; + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) + if (!$util.isInteger(message.end)) + return "end: integer expected"; + return null; + }; + + /** + * Creates an EnumReservedRange message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.EnumDescriptorProto.EnumReservedRange} EnumReservedRange + */ + EnumReservedRange.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.EnumDescriptorProto.EnumReservedRange) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.EnumDescriptorProto.EnumReservedRange: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.EnumDescriptorProto.EnumReservedRange(); + if (object.start != null) + message.start = object.start | 0; + if (object.end != null) + message.end = object.end | 0; + return message; + }; + + /** + * Creates a plain object from an EnumReservedRange message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {google.protobuf.EnumDescriptorProto.EnumReservedRange} message EnumReservedRange + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + EnumReservedRange.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.defaults) { + object.start = 0; + object.end = 0; + } + if (message.start != null && $Object.hasOwnProperty.call(message, "start")) + object.start = message.start; + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) + object.end = message.end; + return object; + }; + + /** + * Converts this EnumReservedRange to JSON. + * @function toJSON + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @instance + * @returns {Object.} JSON object + */ + EnumReservedRange.prototype.toJSON = function() { + return EnumReservedRange.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for EnumReservedRange + * @function getTypeUrl + * @memberof google.protobuf.EnumDescriptorProto.EnumReservedRange + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + EnumReservedRange.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.EnumDescriptorProto.EnumReservedRange"; + }; + + return EnumReservedRange; + })(); + + return EnumDescriptorProto; })(); - protobuf.MethodDescriptorProto = (function() { + protobuf.EnumValueDescriptorProto = (function() { /** - * Properties of a MethodDescriptorProto. + * Properties of an EnumValueDescriptorProto. + * @typedef {Object} google.protobuf.EnumValueDescriptorProto.$Properties + * @property {string|null} [name] EnumValueDescriptorProto name + * @property {number|null} [number] EnumValueDescriptorProto number + * @property {google.protobuf.EnumValueOptions.$Properties|null} [options] EnumValueDescriptorProto options + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EnumValueDescriptorProto. * @memberof google.protobuf - * @interface IMethodDescriptorProto - * @property {string|null} [name] MethodDescriptorProto name - * @property {string|null} [inputType] MethodDescriptorProto inputType - * @property {string|null} [outputType] MethodDescriptorProto outputType - * @property {google.protobuf.IMethodOptions|null} [options] MethodDescriptorProto options - * @property {boolean|null} [clientStreaming] MethodDescriptorProto clientStreaming - * @property {boolean|null} [serverStreaming] MethodDescriptorProto serverStreaming + * @interface IEnumValueDescriptorProto + * @augments google.protobuf.EnumValueDescriptorProto.$Properties + * @deprecated Use google.protobuf.EnumValueDescriptorProto.$Properties instead. */ /** - * Constructs a new MethodDescriptorProto. + * Shape of an EnumValueDescriptorProto. + * @typedef {google.protobuf.EnumValueDescriptorProto.$Properties} google.protobuf.EnumValueDescriptorProto.$Shape + */ + + /** + * Constructs a new EnumValueDescriptorProto. * @memberof google.protobuf - * @classdesc Represents a MethodDescriptorProto. - * @implements IMethodDescriptorProto + * @classdesc Represents an EnumValueDescriptorProto. * @constructor - * @param {google.protobuf.IMethodDescriptorProto=} [properties] Properties to set + * @param {google.protobuf.EnumValueDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function MethodDescriptorProto(properties) { + var EnumValueDescriptorProto = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * MethodDescriptorProto name. + * EnumValueDescriptorProto name. * @member {string} name - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @instance */ - MethodDescriptorProto.prototype.name = ""; + EnumValueDescriptorProto.prototype.name = ""; /** - * MethodDescriptorProto inputType. - * @member {string} inputType - * @memberof google.protobuf.MethodDescriptorProto + * EnumValueDescriptorProto number. + * @member {number} number + * @memberof google.protobuf.EnumValueDescriptorProto * @instance */ - MethodDescriptorProto.prototype.inputType = ""; + EnumValueDescriptorProto.prototype.number = 0; /** - * MethodDescriptorProto outputType. - * @member {string} outputType - * @memberof google.protobuf.MethodDescriptorProto + * EnumValueDescriptorProto options. + * @member {google.protobuf.EnumValueOptions.$Properties|null|undefined} options + * @memberof google.protobuf.EnumValueDescriptorProto * @instance */ - MethodDescriptorProto.prototype.outputType = ""; + EnumValueDescriptorProto.prototype.options = null; /** - * MethodDescriptorProto options. - * @member {google.protobuf.IMethodOptions|null|undefined} options - * @memberof google.protobuf.MethodDescriptorProto - * @instance - */ - MethodDescriptorProto.prototype.options = null; - - /** - * MethodDescriptorProto clientStreaming. - * @member {boolean} clientStreaming - * @memberof google.protobuf.MethodDescriptorProto - * @instance - */ - MethodDescriptorProto.prototype.clientStreaming = false; - - /** - * MethodDescriptorProto serverStreaming. - * @member {boolean} serverStreaming - * @memberof google.protobuf.MethodDescriptorProto - * @instance - */ - MethodDescriptorProto.prototype.serverStreaming = false; - - /** - * Creates a new MethodDescriptorProto instance using the specified properties. + * Creates a new EnumValueDescriptorProto instance using the specified properties. * @function create - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static - * @param {google.protobuf.IMethodDescriptorProto=} [properties] Properties to set - * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto instance + * @param {google.protobuf.EnumValueDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto instance + * @type {{ + * (properties: google.protobuf.EnumValueDescriptorProto.$Shape): google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape; + * (properties?: google.protobuf.EnumValueDescriptorProto.$Properties): google.protobuf.EnumValueDescriptorProto; + * }} */ - MethodDescriptorProto.create = function create(properties) { - return new MethodDescriptorProto(properties); + EnumValueDescriptorProto.create = function(properties) { + return new EnumValueDescriptorProto(properties); }; /** - * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. + * Encodes the specified EnumValueDescriptorProto message. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @function encode - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static - * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumValueDescriptorProto.$Properties} message EnumValueDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MethodDescriptorProto.encode = function encode(message, writer) { + EnumValueDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && Object.hasOwnProperty.call(message, "name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); - if (message.inputType != null && Object.hasOwnProperty.call(message, "inputType")) - writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputType); - if (message.outputType != null && Object.hasOwnProperty.call(message, "outputType")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputType); - if (message.options != null && Object.hasOwnProperty.call(message, "options")) - $root.google.protobuf.MethodOptions.encode(message.options, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); - if (message.clientStreaming != null && Object.hasOwnProperty.call(message, "clientStreaming")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.clientStreaming); - if (message.serverStreaming != null && Object.hasOwnProperty.call(message, "serverStreaming")) - writer.uint32(/* id 6, wireType 0 =*/48).bool(message.serverStreaming); + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.number); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.EnumValueOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. + * Encodes the specified EnumValueDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.EnumValueDescriptorProto.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static - * @param {google.protobuf.IMethodDescriptorProto} message MethodDescriptorProto message or plain object to encode + * @param {google.protobuf.EnumValueDescriptorProto.$Properties} message EnumValueDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MethodDescriptorProto.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + EnumValueDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a MethodDescriptorProto message from the specified reader or buffer. + * Decodes an EnumValueDescriptorProto message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto + * @returns {google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape} EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MethodDescriptorProto.decode = function decode(reader, length) { + EnumValueDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.MethodDescriptorProto(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.EnumValueDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; message.name = reader.string(); - break; + continue; } case 2: { - message.inputType = reader.string(); - break; + if (wireType !== 0) + break; + message.number = reader.int32(); + continue; } case 3: { - message.outputType = reader.string(); - break; - } - case 4: { - message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32()); - break; - } - case 5: { - message.clientStreaming = reader.bool(); - break; - } - case 6: { - message.serverStreaming = reader.bool(); - break; + if (wireType !== 2) + break; + message.options = $root.google.protobuf.EnumValueOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. + * Decodes an EnumValueDescriptorProto message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto + * @returns {google.protobuf.EnumValueDescriptorProto & google.protobuf.EnumValueDescriptorProto.$Shape} EnumValueDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MethodDescriptorProto.decodeDelimited = function decodeDelimited(reader) { + EnumValueDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a MethodDescriptorProto message. + * Verifies an EnumValueDescriptorProto message. * @function verify - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - MethodDescriptorProto.verify = function verify(message) { + EnumValueDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) if (!$util.isString(message.name)) return "name: string expected"; - if (message.inputType != null && message.hasOwnProperty("inputType")) - if (!$util.isString(message.inputType)) - return "inputType: string expected"; - if (message.outputType != null && message.hasOwnProperty("outputType")) - if (!$util.isString(message.outputType)) - return "outputType: string expected"; - if (message.options != null && message.hasOwnProperty("options")) { - var error = $root.google.protobuf.MethodOptions.verify(message.options); + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + if (!$util.isInteger(message.number)) + return "number: integer expected"; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.EnumValueOptions.verify(message.options, _depth + 1); if (error) return "options." + error; } - if (message.clientStreaming != null && message.hasOwnProperty("clientStreaming")) - if (typeof message.clientStreaming !== "boolean") - return "clientStreaming: boolean expected"; - if (message.serverStreaming != null && message.hasOwnProperty("serverStreaming")) - if (typeof message.serverStreaming !== "boolean") - return "serverStreaming: boolean expected"; return null; }; /** - * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. + * Creates an EnumValueDescriptorProto message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static * @param {Object.} object Plain object - * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto + * @returns {google.protobuf.EnumValueDescriptorProto} EnumValueDescriptorProto */ - MethodDescriptorProto.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.MethodDescriptorProto) + EnumValueDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.EnumValueDescriptorProto) return object; - var message = new $root.google.protobuf.MethodDescriptorProto(); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.EnumValueDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.EnumValueDescriptorProto(); if (object.name != null) - message.name = String(object.name); - if (object.inputType != null) - message.inputType = String(object.inputType); - if (object.outputType != null) - message.outputType = String(object.outputType); + message.name = $String(object.name); + if (object.number != null) + message.number = object.number | 0; if (object.options != null) { - if (typeof object.options !== "object") - throw TypeError(".google.protobuf.MethodDescriptorProto.options: object expected"); - message.options = $root.google.protobuf.MethodOptions.fromObject(object.options); + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.EnumValueDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.EnumValueOptions.fromObject(object.options, _depth + 1); } - if (object.clientStreaming != null) - message.clientStreaming = Boolean(object.clientStreaming); - if (object.serverStreaming != null) - message.serverStreaming = Boolean(object.serverStreaming); return message; }; /** - * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. + * Creates a plain object from an EnumValueDescriptorProto message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static - * @param {google.protobuf.MethodDescriptorProto} message MethodDescriptorProto + * @param {google.protobuf.EnumValueDescriptorProto} message EnumValueDescriptorProto * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - MethodDescriptorProto.toObject = function toObject(message, options) { + EnumValueDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { object.name = ""; - object.inputType = ""; - object.outputType = ""; + object.number = 0; object.options = null; - object.clientStreaming = false; - object.serverStreaming = false; } - if (message.name != null && message.hasOwnProperty("name")) + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) object.name = message.name; - if (message.inputType != null && message.hasOwnProperty("inputType")) - object.inputType = message.inputType; - if (message.outputType != null && message.hasOwnProperty("outputType")) - object.outputType = message.outputType; - if (message.options != null && message.hasOwnProperty("options")) - object.options = $root.google.protobuf.MethodOptions.toObject(message.options, options); - if (message.clientStreaming != null && message.hasOwnProperty("clientStreaming")) - object.clientStreaming = message.clientStreaming; - if (message.serverStreaming != null && message.hasOwnProperty("serverStreaming")) - object.serverStreaming = message.serverStreaming; + if (message.number != null && $Object.hasOwnProperty.call(message, "number")) + object.number = message.number; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.EnumValueOptions.toObject(message.options, options, _depth + 1); return object; }; /** - * Converts this MethodDescriptorProto to JSON. + * Converts this EnumValueDescriptorProto to JSON. * @function toJSON - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @instance * @returns {Object.} JSON object */ - MethodDescriptorProto.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + EnumValueDescriptorProto.prototype.toJSON = function() { + return EnumValueDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for MethodDescriptorProto + * Gets the type url for EnumValueDescriptorProto * @function getTypeUrl - * @memberof google.protobuf.MethodDescriptorProto + * @memberof google.protobuf.EnumValueDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - MethodDescriptorProto.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.MethodDescriptorProto"; + EnumValueDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.EnumValueDescriptorProto"; }; - return MethodDescriptorProto; + return EnumValueDescriptorProto; })(); - protobuf.FileOptions = (function() { + protobuf.ServiceDescriptorProto = (function() { /** - * Properties of a FileOptions. - * @memberof google.protobuf - * @interface IFileOptions - * @property {string|null} [javaPackage] FileOptions javaPackage - * @property {string|null} [javaOuterClassname] FileOptions javaOuterClassname - * @property {boolean|null} [javaMultipleFiles] FileOptions javaMultipleFiles - * @property {boolean|null} [javaGenerateEqualsAndHash] FileOptions javaGenerateEqualsAndHash - * @property {boolean|null} [javaStringCheckUtf8] FileOptions javaStringCheckUtf8 - * @property {google.protobuf.FileOptions.OptimizeMode|null} [optimizeFor] FileOptions optimizeFor - * @property {string|null} [goPackage] FileOptions goPackage - * @property {boolean|null} [ccGenericServices] FileOptions ccGenericServices - * @property {boolean|null} [javaGenericServices] FileOptions javaGenericServices - * @property {boolean|null} [pyGenericServices] FileOptions pyGenericServices - * @property {boolean|null} [deprecated] FileOptions deprecated - * @property {boolean|null} [ccEnableArenas] FileOptions ccEnableArenas - * @property {string|null} [objcClassPrefix] FileOptions objcClassPrefix - * @property {string|null} [csharpNamespace] FileOptions csharpNamespace - * @property {Array.|null} [uninterpretedOption] FileOptions uninterpretedOption + * Properties of a ServiceDescriptorProto. + * @typedef {Object} google.protobuf.ServiceDescriptorProto.$Properties + * @property {string|null} [name] ServiceDescriptorProto name + * @property {Array.|null} [method] ServiceDescriptorProto method + * @property {google.protobuf.ServiceOptions.$Properties|null} [options] ServiceDescriptorProto options + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ /** - * Constructs a new FileOptions. + * Properties of a ServiceDescriptorProto. * @memberof google.protobuf - * @classdesc Represents a FileOptions. - * @implements IFileOptions - * @constructor - * @param {google.protobuf.IFileOptions=} [properties] Properties to set - */ - function FileOptions(properties) { - this.uninterpretedOption = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } - - /** - * FileOptions javaPackage. - * @member {string} javaPackage - * @memberof google.protobuf.FileOptions - * @instance + * @interface IServiceDescriptorProto + * @augments google.protobuf.ServiceDescriptorProto.$Properties + * @deprecated Use google.protobuf.ServiceDescriptorProto.$Properties instead. */ - FileOptions.prototype.javaPackage = ""; /** - * FileOptions javaOuterClassname. - * @member {string} javaOuterClassname - * @memberof google.protobuf.FileOptions - * @instance + * Shape of a ServiceDescriptorProto. + * @typedef {google.protobuf.ServiceDescriptorProto.$Properties} google.protobuf.ServiceDescriptorProto.$Shape */ - FileOptions.prototype.javaOuterClassname = ""; /** - * FileOptions javaMultipleFiles. - * @member {boolean} javaMultipleFiles - * @memberof google.protobuf.FileOptions - * @instance + * Constructs a new ServiceDescriptorProto. + * @memberof google.protobuf + * @classdesc Represents a ServiceDescriptorProto. + * @constructor + * @param {google.protobuf.ServiceDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - FileOptions.prototype.javaMultipleFiles = false; + var ServiceDescriptorProto = function (properties) { + this.method = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; /** - * FileOptions javaGenerateEqualsAndHash. - * @member {boolean} javaGenerateEqualsAndHash - * @memberof google.protobuf.FileOptions + * ServiceDescriptorProto name. + * @member {string} name + * @memberof google.protobuf.ServiceDescriptorProto * @instance */ - FileOptions.prototype.javaGenerateEqualsAndHash = false; + ServiceDescriptorProto.prototype.name = ""; /** - * FileOptions javaStringCheckUtf8. - * @member {boolean} javaStringCheckUtf8 - * @memberof google.protobuf.FileOptions + * ServiceDescriptorProto method. + * @member {Array.} method + * @memberof google.protobuf.ServiceDescriptorProto * @instance */ - FileOptions.prototype.javaStringCheckUtf8 = false; + ServiceDescriptorProto.prototype.method = $util.emptyArray; /** - * FileOptions optimizeFor. - * @member {google.protobuf.FileOptions.OptimizeMode} optimizeFor - * @memberof google.protobuf.FileOptions + * ServiceDescriptorProto options. + * @member {google.protobuf.ServiceOptions.$Properties|null|undefined} options + * @memberof google.protobuf.ServiceDescriptorProto * @instance */ - FileOptions.prototype.optimizeFor = 1; + ServiceDescriptorProto.prototype.options = null; /** - * FileOptions goPackage. - * @member {string} goPackage - * @memberof google.protobuf.FileOptions - * @instance + * Creates a new ServiceDescriptorProto instance using the specified properties. + * @function create + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {google.protobuf.ServiceDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto instance + * @type {{ + * (properties: google.protobuf.ServiceDescriptorProto.$Shape): google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape; + * (properties?: google.protobuf.ServiceDescriptorProto.$Properties): google.protobuf.ServiceDescriptorProto; + * }} */ - FileOptions.prototype.goPackage = ""; + ServiceDescriptorProto.create = function(properties) { + return new ServiceDescriptorProto(properties); + }; /** - * FileOptions ccGenericServices. - * @member {boolean} ccGenericServices - * @memberof google.protobuf.FileOptions - * @instance + * Encodes the specified ServiceDescriptorProto message. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * @function encode + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {google.protobuf.ServiceDescriptorProto.$Properties} message ServiceDescriptorProto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - FileOptions.prototype.ccGenericServices = false; + ServiceDescriptorProto.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.method != null && message.method.length) + for (var i = 0; i < message.method.length; ++i) + $root.google.protobuf.MethodDescriptorProto.encode(message.method[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.ServiceOptions.encode(message.options, writer.uint32(/* id 3, wireType 2 =*/26).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; /** - * FileOptions javaGenericServices. - * @member {boolean} javaGenericServices - * @memberof google.protobuf.FileOptions - * @instance + * Encodes the specified ServiceDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.ServiceDescriptorProto.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {google.protobuf.ServiceDescriptorProto.$Properties} message ServiceDescriptorProto message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer */ - FileOptions.prototype.javaGenericServices = false; + ServiceDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; /** - * FileOptions pyGenericServices. - * @member {boolean} pyGenericServices - * @memberof google.protobuf.FileOptions + * Decodes a ServiceDescriptorProto message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape} ServiceDescriptorProto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ServiceDescriptorProto.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.ServiceDescriptorProto(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 2) + break; + message.name = reader.string(); + continue; + } + case 2: { + if (wireType !== 2) + break; + if (!(message.method && message.method.length)) + message.method = []; + message.method.push($root.google.protobuf.MethodDescriptorProto.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + case 3: { + if (wireType !== 2) + break; + message.options = $root.google.protobuf.ServiceOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a ServiceDescriptorProto message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.ServiceDescriptorProto & google.protobuf.ServiceDescriptorProto.$Shape} ServiceDescriptorProto + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ServiceDescriptorProto.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ServiceDescriptorProto message. + * @function verify + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ServiceDescriptorProto.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.method != null && $Object.hasOwnProperty.call(message, "method")) { + if (!$Array.isArray(message.method)) + return "method: array expected"; + for (var i = 0; i < message.method.length; ++i) { + var error = $root.google.protobuf.MethodDescriptorProto.verify(message.method[i], _depth + 1); + if (error) + return "method." + error; + } + } + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.ServiceOptions.verify(message.options, _depth + 1); + if (error) + return "options." + error; + } + return null; + }; + + /** + * Creates a ServiceDescriptorProto message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.ServiceDescriptorProto} ServiceDescriptorProto + */ + ServiceDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.ServiceDescriptorProto) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.ServiceDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.ServiceDescriptorProto(); + if (object.name != null) + message.name = $String(object.name); + if (object.method) { + if (!$Array.isArray(object.method)) + throw $TypeError(".google.protobuf.ServiceDescriptorProto.method: array expected"); + message.method = $Array(object.method.length); + for (var i = 0; i < object.method.length; ++i) { + if (!$util.isObject(object.method[i])) + throw $TypeError(".google.protobuf.ServiceDescriptorProto.method: object expected"); + message.method[i] = $root.google.protobuf.MethodDescriptorProto.fromObject(object.method[i], _depth + 1); + } + } + if (object.options != null) { + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.ServiceDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.ServiceOptions.fromObject(object.options, _depth + 1); + } + return message; + }; + + /** + * Creates a plain object from a ServiceDescriptorProto message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {google.protobuf.ServiceDescriptorProto} message ServiceDescriptorProto + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ServiceDescriptorProto.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.method = []; + if (options.defaults) { + object.name = ""; + object.options = null; + } + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + object.name = message.name; + if (message.method && message.method.length) { + object.method = $Array(message.method.length); + for (var j = 0; j < message.method.length; ++j) + object.method[j] = $root.google.protobuf.MethodDescriptorProto.toObject(message.method[j], options, _depth + 1); + } + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.ServiceOptions.toObject(message.options, options, _depth + 1); + return object; + }; + + /** + * Converts this ServiceDescriptorProto to JSON. + * @function toJSON + * @memberof google.protobuf.ServiceDescriptorProto * @instance + * @returns {Object.} JSON object */ - FileOptions.prototype.pyGenericServices = false; + ServiceDescriptorProto.prototype.toJSON = function() { + return ServiceDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); + }; /** - * FileOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.FileOptions + * Gets the type url for ServiceDescriptorProto + * @function getTypeUrl + * @memberof google.protobuf.ServiceDescriptorProto + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + ServiceDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.ServiceDescriptorProto"; + }; + + return ServiceDescriptorProto; + })(); + + protobuf.MethodDescriptorProto = (function() { + + /** + * Properties of a MethodDescriptorProto. + * @typedef {Object} google.protobuf.MethodDescriptorProto.$Properties + * @property {string|null} [name] MethodDescriptorProto name + * @property {string|null} [inputType] MethodDescriptorProto inputType + * @property {string|null} [outputType] MethodDescriptorProto outputType + * @property {google.protobuf.MethodOptions.$Properties|null} [options] MethodDescriptorProto options + * @property {boolean|null} [clientStreaming] MethodDescriptorProto clientStreaming + * @property {boolean|null} [serverStreaming] MethodDescriptorProto serverStreaming + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a MethodDescriptorProto. + * @memberof google.protobuf + * @interface IMethodDescriptorProto + * @augments google.protobuf.MethodDescriptorProto.$Properties + * @deprecated Use google.protobuf.MethodDescriptorProto.$Properties instead. + */ + + /** + * Shape of a MethodDescriptorProto. + * @typedef {google.protobuf.MethodDescriptorProto.$Properties} google.protobuf.MethodDescriptorProto.$Shape + */ + + /** + * Constructs a new MethodDescriptorProto. + * @memberof google.protobuf + * @classdesc Represents a MethodDescriptorProto. + * @constructor + * @param {google.protobuf.MethodDescriptorProto.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var MethodDescriptorProto = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * MethodDescriptorProto name. + * @member {string} name + * @memberof google.protobuf.MethodDescriptorProto * @instance */ - FileOptions.prototype.deprecated = false; + MethodDescriptorProto.prototype.name = ""; /** - * FileOptions ccEnableArenas. - * @member {boolean} ccEnableArenas - * @memberof google.protobuf.FileOptions + * MethodDescriptorProto inputType. + * @member {string} inputType + * @memberof google.protobuf.MethodDescriptorProto * @instance */ - FileOptions.prototype.ccEnableArenas = false; + MethodDescriptorProto.prototype.inputType = ""; /** - * FileOptions objcClassPrefix. - * @member {string} objcClassPrefix - * @memberof google.protobuf.FileOptions + * MethodDescriptorProto outputType. + * @member {string} outputType + * @memberof google.protobuf.MethodDescriptorProto * @instance */ - FileOptions.prototype.objcClassPrefix = ""; + MethodDescriptorProto.prototype.outputType = ""; /** - * FileOptions csharpNamespace. - * @member {string} csharpNamespace - * @memberof google.protobuf.FileOptions + * MethodDescriptorProto options. + * @member {google.protobuf.MethodOptions.$Properties|null|undefined} options + * @memberof google.protobuf.MethodDescriptorProto * @instance */ - FileOptions.prototype.csharpNamespace = ""; + MethodDescriptorProto.prototype.options = null; /** - * FileOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.FileOptions + * MethodDescriptorProto clientStreaming. + * @member {boolean} clientStreaming + * @memberof google.protobuf.MethodDescriptorProto * @instance */ - FileOptions.prototype.uninterpretedOption = $util.emptyArray; + MethodDescriptorProto.prototype.clientStreaming = false; /** - * Creates a new FileOptions instance using the specified properties. + * MethodDescriptorProto serverStreaming. + * @member {boolean} serverStreaming + * @memberof google.protobuf.MethodDescriptorProto + * @instance + */ + MethodDescriptorProto.prototype.serverStreaming = false; + + /** + * Creates a new MethodDescriptorProto instance using the specified properties. * @function create - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static - * @param {google.protobuf.IFileOptions=} [properties] Properties to set - * @returns {google.protobuf.FileOptions} FileOptions instance + * @param {google.protobuf.MethodDescriptorProto.$Properties=} [properties] Properties to set + * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto instance + * @type {{ + * (properties: google.protobuf.MethodDescriptorProto.$Shape): google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape; + * (properties?: google.protobuf.MethodDescriptorProto.$Properties): google.protobuf.MethodDescriptorProto; + * }} */ - FileOptions.create = function create(properties) { - return new FileOptions(properties); + MethodDescriptorProto.create = function(properties) { + return new MethodDescriptorProto(properties); }; /** - * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. + * Encodes the specified MethodDescriptorProto message. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @function encode - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static - * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode + * @param {google.protobuf.MethodDescriptorProto.$Properties} message MethodDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileOptions.encode = function encode(message, writer) { + MethodDescriptorProto.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.javaPackage != null && Object.hasOwnProperty.call(message, "javaPackage")) - writer.uint32(/* id 1, wireType 2 =*/10).string(message.javaPackage); - if (message.javaOuterClassname != null && Object.hasOwnProperty.call(message, "javaOuterClassname")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.javaOuterClassname); - if (message.optimizeFor != null && Object.hasOwnProperty.call(message, "optimizeFor")) - writer.uint32(/* id 9, wireType 0 =*/72).int32(message.optimizeFor); - if (message.javaMultipleFiles != null && Object.hasOwnProperty.call(message, "javaMultipleFiles")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.javaMultipleFiles); - if (message.goPackage != null && Object.hasOwnProperty.call(message, "goPackage")) - writer.uint32(/* id 11, wireType 2 =*/90).string(message.goPackage); - if (message.ccGenericServices != null && Object.hasOwnProperty.call(message, "ccGenericServices")) - writer.uint32(/* id 16, wireType 0 =*/128).bool(message.ccGenericServices); - if (message.javaGenericServices != null && Object.hasOwnProperty.call(message, "javaGenericServices")) - writer.uint32(/* id 17, wireType 0 =*/136).bool(message.javaGenericServices); - if (message.pyGenericServices != null && Object.hasOwnProperty.call(message, "pyGenericServices")) - writer.uint32(/* id 18, wireType 0 =*/144).bool(message.pyGenericServices); - if (message.javaGenerateEqualsAndHash != null && Object.hasOwnProperty.call(message, "javaGenerateEqualsAndHash")) - writer.uint32(/* id 20, wireType 0 =*/160).bool(message.javaGenerateEqualsAndHash); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) - writer.uint32(/* id 23, wireType 0 =*/184).bool(message.deprecated); - if (message.javaStringCheckUtf8 != null && Object.hasOwnProperty.call(message, "javaStringCheckUtf8")) - writer.uint32(/* id 27, wireType 0 =*/216).bool(message.javaStringCheckUtf8); - if (message.ccEnableArenas != null && Object.hasOwnProperty.call(message, "ccEnableArenas")) - writer.uint32(/* id 31, wireType 0 =*/248).bool(message.ccEnableArenas); - if (message.objcClassPrefix != null && Object.hasOwnProperty.call(message, "objcClassPrefix")) - writer.uint32(/* id 36, wireType 2 =*/290).string(message.objcClassPrefix); - if (message.csharpNamespace != null && Object.hasOwnProperty.call(message, "csharpNamespace")) - writer.uint32(/* id 37, wireType 2 =*/298).string(message.csharpNamespace); - if (message.uninterpretedOption != null && message.uninterpretedOption.length) - for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.name); + if (message.inputType != null && $Object.hasOwnProperty.call(message, "inputType")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.inputType); + if (message.outputType != null && $Object.hasOwnProperty.call(message, "outputType")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.outputType); + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + $root.google.protobuf.MethodOptions.encode(message.options, writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); + if (message.clientStreaming != null && $Object.hasOwnProperty.call(message, "clientStreaming")) + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.clientStreaming); + if (message.serverStreaming != null && $Object.hasOwnProperty.call(message, "serverStreaming")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.serverStreaming); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. + * Encodes the specified MethodDescriptorProto message, length delimited. Does not implicitly {@link google.protobuf.MethodDescriptorProto.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static - * @param {google.protobuf.IFileOptions} message FileOptions message or plain object to encode + * @param {google.protobuf.MethodDescriptorProto.$Properties} message MethodDescriptorProto message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FileOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + MethodDescriptorProto.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a FileOptions message from the specified reader or buffer. + * Decodes a MethodDescriptorProto message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FileOptions} FileOptions + * @returns {google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape} MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileOptions.decode = function decode(reader, length) { + MethodDescriptorProto.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FileOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.MethodDescriptorProto(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.javaPackage = reader.string(); - break; - } - case 8: { - message.javaOuterClassname = reader.string(); - break; - } - case 10: { - message.javaMultipleFiles = reader.bool(); - break; - } - case 20: { - message.javaGenerateEqualsAndHash = reader.bool(); - break; - } - case 27: { - message.javaStringCheckUtf8 = reader.bool(); - break; - } - case 9: { - message.optimizeFor = reader.int32(); - break; - } - case 11: { - message.goPackage = reader.string(); - break; - } - case 16: { - message.ccGenericServices = reader.bool(); - break; - } - case 17: { - message.javaGenericServices = reader.bool(); - break; - } - case 18: { - message.pyGenericServices = reader.bool(); - break; + if (wireType !== 2) + break; + message.name = reader.string(); + continue; } - case 23: { - message.deprecated = reader.bool(); - break; + case 2: { + if (wireType !== 2) + break; + message.inputType = reader.string(); + continue; } - case 31: { - message.ccEnableArenas = reader.bool(); - break; + case 3: { + if (wireType !== 2) + break; + message.outputType = reader.string(); + continue; } - case 36: { - message.objcClassPrefix = reader.string(); - break; + case 4: { + if (wireType !== 2) + break; + message.options = $root.google.protobuf.MethodOptions.decode(reader, reader.uint32(), $undefined, _depth + 1, message.options); + continue; } - case 37: { - message.csharpNamespace = reader.string(); - break; + case 5: { + if (wireType !== 0) + break; + message.clientStreaming = reader.bool(); + continue; } - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 6: { + if (wireType !== 0) + break; + message.serverStreaming = reader.bool(); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a FileOptions message from the specified reader or buffer, length delimited. + * Decodes a MethodDescriptorProto message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FileOptions} FileOptions + * @returns {google.protobuf.MethodDescriptorProto & google.protobuf.MethodDescriptorProto.$Shape} MethodDescriptorProto * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FileOptions.decodeDelimited = function decodeDelimited(reader) { + MethodDescriptorProto.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a FileOptions message. + * Verifies a MethodDescriptorProto message. * @function verify - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FileOptions.verify = function verify(message) { + MethodDescriptorProto.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.javaPackage != null && message.hasOwnProperty("javaPackage")) - if (!$util.isString(message.javaPackage)) - return "javaPackage: string expected"; - if (message.javaOuterClassname != null && message.hasOwnProperty("javaOuterClassname")) - if (!$util.isString(message.javaOuterClassname)) - return "javaOuterClassname: string expected"; - if (message.javaMultipleFiles != null && message.hasOwnProperty("javaMultipleFiles")) - if (typeof message.javaMultipleFiles !== "boolean") - return "javaMultipleFiles: boolean expected"; - if (message.javaGenerateEqualsAndHash != null && message.hasOwnProperty("javaGenerateEqualsAndHash")) - if (typeof message.javaGenerateEqualsAndHash !== "boolean") - return "javaGenerateEqualsAndHash: boolean expected"; - if (message.javaStringCheckUtf8 != null && message.hasOwnProperty("javaStringCheckUtf8")) - if (typeof message.javaStringCheckUtf8 !== "boolean") - return "javaStringCheckUtf8: boolean expected"; - if (message.optimizeFor != null && message.hasOwnProperty("optimizeFor")) - switch (message.optimizeFor) { - default: - return "optimizeFor: enum value expected"; - case 1: - case 2: - case 3: - break; - } - if (message.goPackage != null && message.hasOwnProperty("goPackage")) - if (!$util.isString(message.goPackage)) - return "goPackage: string expected"; - if (message.ccGenericServices != null && message.hasOwnProperty("ccGenericServices")) - if (typeof message.ccGenericServices !== "boolean") - return "ccGenericServices: boolean expected"; - if (message.javaGenericServices != null && message.hasOwnProperty("javaGenericServices")) - if (typeof message.javaGenericServices !== "boolean") - return "javaGenericServices: boolean expected"; - if (message.pyGenericServices != null && message.hasOwnProperty("pyGenericServices")) - if (typeof message.pyGenericServices !== "boolean") - return "pyGenericServices: boolean expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - if (typeof message.deprecated !== "boolean") - return "deprecated: boolean expected"; - if (message.ccEnableArenas != null && message.hasOwnProperty("ccEnableArenas")) - if (typeof message.ccEnableArenas !== "boolean") - return "ccEnableArenas: boolean expected"; - if (message.objcClassPrefix != null && message.hasOwnProperty("objcClassPrefix")) - if (!$util.isString(message.objcClassPrefix)) - return "objcClassPrefix: string expected"; - if (message.csharpNamespace != null && message.hasOwnProperty("csharpNamespace")) - if (!$util.isString(message.csharpNamespace)) - return "csharpNamespace: string expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) - return "uninterpretedOption: array expected"; - for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); - if (error) - return "uninterpretedOption." + error; - } + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + if (!$util.isString(message.name)) + return "name: string expected"; + if (message.inputType != null && $Object.hasOwnProperty.call(message, "inputType")) + if (!$util.isString(message.inputType)) + return "inputType: string expected"; + if (message.outputType != null && $Object.hasOwnProperty.call(message, "outputType")) + if (!$util.isString(message.outputType)) + return "outputType: string expected"; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) { + var error = $root.google.protobuf.MethodOptions.verify(message.options, _depth + 1); + if (error) + return "options." + error; } + if (message.clientStreaming != null && $Object.hasOwnProperty.call(message, "clientStreaming")) + if (typeof message.clientStreaming !== "boolean") + return "clientStreaming: boolean expected"; + if (message.serverStreaming != null && $Object.hasOwnProperty.call(message, "serverStreaming")) + if (typeof message.serverStreaming !== "boolean") + return "serverStreaming: boolean expected"; return null; }; /** - * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. + * Creates a MethodDescriptorProto message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static * @param {Object.} object Plain object - * @returns {google.protobuf.FileOptions} FileOptions + * @returns {google.protobuf.MethodDescriptorProto} MethodDescriptorProto */ - FileOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FileOptions) + MethodDescriptorProto.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.MethodDescriptorProto) return object; - var message = new $root.google.protobuf.FileOptions(); - if (object.javaPackage != null) - message.javaPackage = String(object.javaPackage); - if (object.javaOuterClassname != null) - message.javaOuterClassname = String(object.javaOuterClassname); - if (object.javaMultipleFiles != null) - message.javaMultipleFiles = Boolean(object.javaMultipleFiles); - if (object.javaGenerateEqualsAndHash != null) - message.javaGenerateEqualsAndHash = Boolean(object.javaGenerateEqualsAndHash); - if (object.javaStringCheckUtf8 != null) - message.javaStringCheckUtf8 = Boolean(object.javaStringCheckUtf8); - switch (object.optimizeFor) { - default: - if (typeof object.optimizeFor === "number") { - message.optimizeFor = object.optimizeFor; - break; - } - break; - case "SPEED": - case 1: - message.optimizeFor = 1; - break; - case "CODE_SIZE": - case 2: - message.optimizeFor = 2; - break; - case "LITE_RUNTIME": - case 3: - message.optimizeFor = 3; - break; - } - if (object.goPackage != null) - message.goPackage = String(object.goPackage); - if (object.ccGenericServices != null) - message.ccGenericServices = Boolean(object.ccGenericServices); - if (object.javaGenericServices != null) - message.javaGenericServices = Boolean(object.javaGenericServices); - if (object.pyGenericServices != null) - message.pyGenericServices = Boolean(object.pyGenericServices); - if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.ccEnableArenas != null) - message.ccEnableArenas = Boolean(object.ccEnableArenas); - if (object.objcClassPrefix != null) - message.objcClassPrefix = String(object.objcClassPrefix); - if (object.csharpNamespace != null) - message.csharpNamespace = String(object.csharpNamespace); - if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; - for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); - } + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.MethodDescriptorProto: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.MethodDescriptorProto(); + if (object.name != null) + message.name = $String(object.name); + if (object.inputType != null) + message.inputType = $String(object.inputType); + if (object.outputType != null) + message.outputType = $String(object.outputType); + if (object.options != null) { + if (!$util.isObject(object.options)) + throw $TypeError(".google.protobuf.MethodDescriptorProto.options: object expected"); + message.options = $root.google.protobuf.MethodOptions.fromObject(object.options, _depth + 1); } + if (object.clientStreaming != null) + message.clientStreaming = $Boolean(object.clientStreaming); + if (object.serverStreaming != null) + message.serverStreaming = $Boolean(object.serverStreaming); return message; }; /** - * Creates a plain object from a FileOptions message. Also converts values to other types if specified. + * Creates a plain object from a MethodDescriptorProto message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static - * @param {google.protobuf.FileOptions} message FileOptions + * @param {google.protobuf.MethodDescriptorProto} message MethodDescriptorProto * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FileOptions.toObject = function toObject(message, options) { + MethodDescriptorProto.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (options.arrays || options.defaults) - object.uninterpretedOption = []; if (options.defaults) { - object.javaPackage = ""; - object.javaOuterClassname = ""; - object.optimizeFor = options.enums === String ? "SPEED" : 1; - object.javaMultipleFiles = false; - object.goPackage = ""; - object.ccGenericServices = false; - object.javaGenericServices = false; - object.pyGenericServices = false; - object.javaGenerateEqualsAndHash = false; - object.deprecated = false; - object.javaStringCheckUtf8 = false; - object.ccEnableArenas = false; - object.objcClassPrefix = ""; - object.csharpNamespace = ""; - } - if (message.javaPackage != null && message.hasOwnProperty("javaPackage")) - object.javaPackage = message.javaPackage; - if (message.javaOuterClassname != null && message.hasOwnProperty("javaOuterClassname")) - object.javaOuterClassname = message.javaOuterClassname; - if (message.optimizeFor != null && message.hasOwnProperty("optimizeFor")) - object.optimizeFor = options.enums === String ? $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] === undefined ? message.optimizeFor : $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] : message.optimizeFor; - if (message.javaMultipleFiles != null && message.hasOwnProperty("javaMultipleFiles")) - object.javaMultipleFiles = message.javaMultipleFiles; - if (message.goPackage != null && message.hasOwnProperty("goPackage")) - object.goPackage = message.goPackage; - if (message.ccGenericServices != null && message.hasOwnProperty("ccGenericServices")) - object.ccGenericServices = message.ccGenericServices; - if (message.javaGenericServices != null && message.hasOwnProperty("javaGenericServices")) - object.javaGenericServices = message.javaGenericServices; - if (message.pyGenericServices != null && message.hasOwnProperty("pyGenericServices")) - object.pyGenericServices = message.pyGenericServices; - if (message.javaGenerateEqualsAndHash != null && message.hasOwnProperty("javaGenerateEqualsAndHash")) - object.javaGenerateEqualsAndHash = message.javaGenerateEqualsAndHash; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - object.deprecated = message.deprecated; - if (message.javaStringCheckUtf8 != null && message.hasOwnProperty("javaStringCheckUtf8")) - object.javaStringCheckUtf8 = message.javaStringCheckUtf8; - if (message.ccEnableArenas != null && message.hasOwnProperty("ccEnableArenas")) - object.ccEnableArenas = message.ccEnableArenas; - if (message.objcClassPrefix != null && message.hasOwnProperty("objcClassPrefix")) - object.objcClassPrefix = message.objcClassPrefix; - if (message.csharpNamespace != null && message.hasOwnProperty("csharpNamespace")) - object.csharpNamespace = message.csharpNamespace; - if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; - for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); + object.name = ""; + object.inputType = ""; + object.outputType = ""; + object.options = null; + object.clientStreaming = false; + object.serverStreaming = false; } + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) + object.name = message.name; + if (message.inputType != null && $Object.hasOwnProperty.call(message, "inputType")) + object.inputType = message.inputType; + if (message.outputType != null && $Object.hasOwnProperty.call(message, "outputType")) + object.outputType = message.outputType; + if (message.options != null && $Object.hasOwnProperty.call(message, "options")) + object.options = $root.google.protobuf.MethodOptions.toObject(message.options, options, _depth + 1); + if (message.clientStreaming != null && $Object.hasOwnProperty.call(message, "clientStreaming")) + object.clientStreaming = message.clientStreaming; + if (message.serverStreaming != null && $Object.hasOwnProperty.call(message, "serverStreaming")) + object.serverStreaming = message.serverStreaming; return object; }; /** - * Converts this FileOptions to JSON. + * Converts this MethodDescriptorProto to JSON. * @function toJSON - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @instance * @returns {Object.} JSON object */ - FileOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + MethodDescriptorProto.prototype.toJSON = function() { + return MethodDescriptorProto.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FileOptions + * Gets the type url for MethodDescriptorProto * @function getTypeUrl - * @memberof google.protobuf.FileOptions + * @memberof google.protobuf.MethodDescriptorProto * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FileOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FileOptions"; + MethodDescriptorProto.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.MethodDescriptorProto"; }; - /** - * OptimizeMode enum. - * @name google.protobuf.FileOptions.OptimizeMode - * @enum {number} - * @property {number} SPEED=1 SPEED value - * @property {number} CODE_SIZE=2 CODE_SIZE value - * @property {number} LITE_RUNTIME=3 LITE_RUNTIME value - */ - FileOptions.OptimizeMode = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[1] = "SPEED"] = 1; - values[valuesById[2] = "CODE_SIZE"] = 2; - values[valuesById[3] = "LITE_RUNTIME"] = 3; - return values; - })(); - - return FileOptions; + return MethodDescriptorProto; })(); - protobuf.MessageOptions = (function() { + protobuf.FileOptions = (function() { /** - * Properties of a MessageOptions. + * Properties of a FileOptions. + * @typedef {Object} google.protobuf.FileOptions.$Properties + * @property {string|null} [javaPackage] FileOptions javaPackage + * @property {string|null} [javaOuterClassname] FileOptions javaOuterClassname + * @property {boolean|null} [javaMultipleFiles] FileOptions javaMultipleFiles + * @property {boolean|null} [javaGenerateEqualsAndHash] FileOptions javaGenerateEqualsAndHash + * @property {boolean|null} [javaStringCheckUtf8] FileOptions javaStringCheckUtf8 + * @property {google.protobuf.FileOptions.OptimizeMode|null} [optimizeFor] FileOptions optimizeFor + * @property {string|null} [goPackage] FileOptions goPackage + * @property {boolean|null} [ccGenericServices] FileOptions ccGenericServices + * @property {boolean|null} [javaGenericServices] FileOptions javaGenericServices + * @property {boolean|null} [pyGenericServices] FileOptions pyGenericServices + * @property {boolean|null} [deprecated] FileOptions deprecated + * @property {boolean|null} [ccEnableArenas] FileOptions ccEnableArenas + * @property {string|null} [objcClassPrefix] FileOptions objcClassPrefix + * @property {string|null} [csharpNamespace] FileOptions csharpNamespace + * @property {string|null} [swiftPrefix] FileOptions swiftPrefix + * @property {string|null} [phpClassPrefix] FileOptions phpClassPrefix + * @property {string|null} [phpNamespace] FileOptions phpNamespace + * @property {string|null} [phpMetadataNamespace] FileOptions phpMetadataNamespace + * @property {string|null} [rubyPackage] FileOptions rubyPackage + * @property {google.protobuf.FeatureSet.$Properties|null} [features] FileOptions features + * @property {Array.|null} [uninterpretedOption] FileOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FileOptions. * @memberof google.protobuf - * @interface IMessageOptions - * @property {boolean|null} [messageSetWireFormat] MessageOptions messageSetWireFormat - * @property {boolean|null} [noStandardDescriptorAccessor] MessageOptions noStandardDescriptorAccessor - * @property {boolean|null} [deprecated] MessageOptions deprecated - * @property {boolean|null} [mapEntry] MessageOptions mapEntry - * @property {Array.|null} [uninterpretedOption] MessageOptions uninterpretedOption - * @property {boolean|null} [".arrow.flight.protocol.sql.experimental"] MessageOptions .arrow.flight.protocol.sql.experimental + * @interface IFileOptions + * @augments google.protobuf.FileOptions.$Properties + * @deprecated Use google.protobuf.FileOptions.$Properties instead. */ /** - * Constructs a new MessageOptions. + * Shape of a FileOptions. + * @typedef {google.protobuf.FileOptions.$Properties} google.protobuf.FileOptions.$Shape + */ + + /** + * Constructs a new FileOptions. * @memberof google.protobuf - * @classdesc Represents a MessageOptions. - * @implements IMessageOptions + * @classdesc Represents a FileOptions. * @constructor - * @param {google.protobuf.IMessageOptions=} [properties] Properties to set + * @param {google.protobuf.FileOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function MessageOptions(properties) { + var FileOptions = function (properties) { this.uninterpretedOption = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * MessageOptions messageSetWireFormat. - * @member {boolean} messageSetWireFormat - * @memberof google.protobuf.MessageOptions + * FileOptions javaPackage. + * @member {string} javaPackage + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype.messageSetWireFormat = false; + FileOptions.prototype.javaPackage = ""; /** - * MessageOptions noStandardDescriptorAccessor. - * @member {boolean} noStandardDescriptorAccessor - * @memberof google.protobuf.MessageOptions + * FileOptions javaOuterClassname. + * @member {string} javaOuterClassname + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype.noStandardDescriptorAccessor = false; + FileOptions.prototype.javaOuterClassname = ""; /** - * MessageOptions deprecated. + * FileOptions javaMultipleFiles. + * @member {boolean} javaMultipleFiles + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.javaMultipleFiles = false; + + /** + * FileOptions javaGenerateEqualsAndHash. + * @member {boolean} javaGenerateEqualsAndHash + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.javaGenerateEqualsAndHash = false; + + /** + * FileOptions javaStringCheckUtf8. + * @member {boolean} javaStringCheckUtf8 + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.javaStringCheckUtf8 = false; + + /** + * FileOptions optimizeFor. + * @member {google.protobuf.FileOptions.OptimizeMode} optimizeFor + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.optimizeFor = 1; + + /** + * FileOptions goPackage. + * @member {string} goPackage + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.goPackage = ""; + + /** + * FileOptions ccGenericServices. + * @member {boolean} ccGenericServices + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.ccGenericServices = false; + + /** + * FileOptions javaGenericServices. + * @member {boolean} javaGenericServices + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.javaGenericServices = false; + + /** + * FileOptions pyGenericServices. + * @member {boolean} pyGenericServices + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.pyGenericServices = false; + + /** + * FileOptions deprecated. * @member {boolean} deprecated - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype.deprecated = false; + FileOptions.prototype.deprecated = false; /** - * MessageOptions mapEntry. - * @member {boolean} mapEntry - * @memberof google.protobuf.MessageOptions + * FileOptions ccEnableArenas. + * @member {boolean} ccEnableArenas + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype.mapEntry = false; + FileOptions.prototype.ccEnableArenas = true; /** - * MessageOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.MessageOptions + * FileOptions objcClassPrefix. + * @member {string} objcClassPrefix + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype.uninterpretedOption = $util.emptyArray; + FileOptions.prototype.objcClassPrefix = ""; /** - * MessageOptions .arrow.flight.protocol.sql.experimental. - * @member {boolean} .arrow.flight.protocol.sql.experimental - * @memberof google.protobuf.MessageOptions + * FileOptions csharpNamespace. + * @member {string} csharpNamespace + * @memberof google.protobuf.FileOptions * @instance */ - MessageOptions.prototype[".arrow.flight.protocol.sql.experimental"] = false; + FileOptions.prototype.csharpNamespace = ""; /** - * Creates a new MessageOptions instance using the specified properties. + * FileOptions swiftPrefix. + * @member {string} swiftPrefix + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.swiftPrefix = ""; + + /** + * FileOptions phpClassPrefix. + * @member {string} phpClassPrefix + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.phpClassPrefix = ""; + + /** + * FileOptions phpNamespace. + * @member {string} phpNamespace + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.phpNamespace = ""; + + /** + * FileOptions phpMetadataNamespace. + * @member {string} phpMetadataNamespace + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.phpMetadataNamespace = ""; + + /** + * FileOptions rubyPackage. + * @member {string} rubyPackage + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.rubyPackage = ""; + + /** + * FileOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.features = null; + + /** + * FileOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.FileOptions + * @instance + */ + FileOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new FileOptions instance using the specified properties. * @function create - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static - * @param {google.protobuf.IMessageOptions=} [properties] Properties to set - * @returns {google.protobuf.MessageOptions} MessageOptions instance + * @param {google.protobuf.FileOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FileOptions} FileOptions instance + * @type {{ + * (properties: google.protobuf.FileOptions.$Shape): google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape; + * (properties?: google.protobuf.FileOptions.$Properties): google.protobuf.FileOptions; + * }} */ - MessageOptions.create = function create(properties) { - return new MessageOptions(properties); + FileOptions.create = function(properties) { + return new FileOptions(properties); }; /** - * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. + * Encodes the specified FileOptions message. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @function encode - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static - * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode + * @param {google.protobuf.FileOptions.$Properties} message FileOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MessageOptions.encode = function encode(message, writer) { + FileOptions.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.messageSetWireFormat != null && Object.hasOwnProperty.call(message, "messageSetWireFormat")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.messageSetWireFormat); - if (message.noStandardDescriptorAccessor != null && Object.hasOwnProperty.call(message, "noStandardDescriptorAccessor")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.noStandardDescriptorAccessor); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) - writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated); - if (message.mapEntry != null && Object.hasOwnProperty.call(message, "mapEntry")) - writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mapEntry); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.javaPackage != null && $Object.hasOwnProperty.call(message, "javaPackage")) + writer.uint32(/* id 1, wireType 2 =*/10).string(message.javaPackage); + if (message.javaOuterClassname != null && $Object.hasOwnProperty.call(message, "javaOuterClassname")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.javaOuterClassname); + if (message.optimizeFor != null && $Object.hasOwnProperty.call(message, "optimizeFor")) + writer.uint32(/* id 9, wireType 0 =*/72).int32(message.optimizeFor); + if (message.javaMultipleFiles != null && $Object.hasOwnProperty.call(message, "javaMultipleFiles")) + writer.uint32(/* id 10, wireType 0 =*/80).bool(message.javaMultipleFiles); + if (message.goPackage != null && $Object.hasOwnProperty.call(message, "goPackage")) + writer.uint32(/* id 11, wireType 2 =*/90).string(message.goPackage); + if (message.ccGenericServices != null && $Object.hasOwnProperty.call(message, "ccGenericServices")) + writer.uint32(/* id 16, wireType 0 =*/128).bool(message.ccGenericServices); + if (message.javaGenericServices != null && $Object.hasOwnProperty.call(message, "javaGenericServices")) + writer.uint32(/* id 17, wireType 0 =*/136).bool(message.javaGenericServices); + if (message.pyGenericServices != null && $Object.hasOwnProperty.call(message, "pyGenericServices")) + writer.uint32(/* id 18, wireType 0 =*/144).bool(message.pyGenericServices); + if (message.javaGenerateEqualsAndHash != null && $Object.hasOwnProperty.call(message, "javaGenerateEqualsAndHash")) + writer.uint32(/* id 20, wireType 0 =*/160).bool(message.javaGenerateEqualsAndHash); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + writer.uint32(/* id 23, wireType 0 =*/184).bool(message.deprecated); + if (message.javaStringCheckUtf8 != null && $Object.hasOwnProperty.call(message, "javaStringCheckUtf8")) + writer.uint32(/* id 27, wireType 0 =*/216).bool(message.javaStringCheckUtf8); + if (message.ccEnableArenas != null && $Object.hasOwnProperty.call(message, "ccEnableArenas")) + writer.uint32(/* id 31, wireType 0 =*/248).bool(message.ccEnableArenas); + if (message.objcClassPrefix != null && $Object.hasOwnProperty.call(message, "objcClassPrefix")) + writer.uint32(/* id 36, wireType 2 =*/290).string(message.objcClassPrefix); + if (message.csharpNamespace != null && $Object.hasOwnProperty.call(message, "csharpNamespace")) + writer.uint32(/* id 37, wireType 2 =*/298).string(message.csharpNamespace); + if (message.swiftPrefix != null && $Object.hasOwnProperty.call(message, "swiftPrefix")) + writer.uint32(/* id 39, wireType 2 =*/314).string(message.swiftPrefix); + if (message.phpClassPrefix != null && $Object.hasOwnProperty.call(message, "phpClassPrefix")) + writer.uint32(/* id 40, wireType 2 =*/322).string(message.phpClassPrefix); + if (message.phpNamespace != null && $Object.hasOwnProperty.call(message, "phpNamespace")) + writer.uint32(/* id 41, wireType 2 =*/330).string(message.phpNamespace); + if (message.phpMetadataNamespace != null && $Object.hasOwnProperty.call(message, "phpMetadataNamespace")) + writer.uint32(/* id 44, wireType 2 =*/354).string(message.phpMetadataNamespace); + if (message.rubyPackage != null && $Object.hasOwnProperty.call(message, "rubyPackage")) + writer.uint32(/* id 45, wireType 2 =*/362).string(message.rubyPackage); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork(), _depth + 1).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); - if (message[".arrow.flight.protocol.sql.experimental"] != null && Object.hasOwnProperty.call(message, ".arrow.flight.protocol.sql.experimental")) - writer.uint32(/* id 1000, wireType 0 =*/8000).bool(message[".arrow.flight.protocol.sql.experimental"]); + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. + * Encodes the specified FileOptions message, length delimited. Does not implicitly {@link google.protobuf.FileOptions.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static - * @param {google.protobuf.IMessageOptions} message MessageOptions message or plain object to encode + * @param {google.protobuf.FileOptions.$Properties} message FileOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - MessageOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FileOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a MessageOptions message from the specified reader or buffer. + * Decodes a FileOptions message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.MessageOptions} MessageOptions + * @returns {google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape} FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MessageOptions.decode = function decode(reader, length) { + FileOptions.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.MessageOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FileOptions(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.messageSetWireFormat = reader.bool(); - break; + if (wireType !== 2) + break; + message.javaPackage = reader.string(); + continue; } - case 2: { - message.noStandardDescriptorAccessor = reader.bool(); - break; + case 8: { + if (wireType !== 2) + break; + message.javaOuterClassname = reader.string(); + continue; } - case 3: { - message.deprecated = reader.bool(); - break; + case 10: { + if (wireType !== 0) + break; + message.javaMultipleFiles = reader.bool(); + continue; } - case 7: { - message.mapEntry = reader.bool(); - break; + case 20: { + if (wireType !== 0) + break; + message.javaGenerateEqualsAndHash = reader.bool(); + continue; } - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 27: { + if (wireType !== 0) + break; + message.javaStringCheckUtf8 = reader.bool(); + continue; } - case 1000: { - message[".arrow.flight.protocol.sql.experimental"] = reader.bool(); - break; + case 9: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FileOptions.OptimizeMode[value] !== $undefined) + message.optimizeFor = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - default: - reader.skipType(tag & 7); - break; + case 11: { + if (wireType !== 2) + break; + message.goPackage = reader.string(); + continue; + } + case 16: { + if (wireType !== 0) + break; + message.ccGenericServices = reader.bool(); + continue; + } + case 17: { + if (wireType !== 0) + break; + message.javaGenericServices = reader.bool(); + continue; + } + case 18: { + if (wireType !== 0) + break; + message.pyGenericServices = reader.bool(); + continue; + } + case 23: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 31: { + if (wireType !== 0) + break; + message.ccEnableArenas = reader.bool(); + continue; + } + case 36: { + if (wireType !== 2) + break; + message.objcClassPrefix = reader.string(); + continue; + } + case 37: { + if (wireType !== 2) + break; + message.csharpNamespace = reader.string(); + continue; + } + case 39: { + if (wireType !== 2) + break; + message.swiftPrefix = reader.string(); + continue; + } + case 40: { + if (wireType !== 2) + break; + message.phpClassPrefix = reader.string(); + continue; + } + case 41: { + if (wireType !== 2) + break; + message.phpNamespace = reader.string(); + continue; + } + case 44: { + if (wireType !== 2) + break; + message.phpMetadataNamespace = reader.string(); + continue; + } + case 45: { + if (wireType !== 2) + break; + message.rubyPackage = reader.string(); + continue; + } + case 50: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a MessageOptions message from the specified reader or buffer, length delimited. + * Decodes a FileOptions message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.MessageOptions} MessageOptions + * @returns {google.protobuf.FileOptions & google.protobuf.FileOptions.$Shape} FileOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - MessageOptions.decodeDelimited = function decodeDelimited(reader) { + FileOptions.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a MessageOptions message. + * Verifies a FileOptions message. * @function verify - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - MessageOptions.verify = function verify(message) { + FileOptions.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat")) - if (typeof message.messageSetWireFormat !== "boolean") - return "messageSetWireFormat: boolean expected"; - if (message.noStandardDescriptorAccessor != null && message.hasOwnProperty("noStandardDescriptorAccessor")) - if (typeof message.noStandardDescriptorAccessor !== "boolean") - return "noStandardDescriptorAccessor: boolean expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.javaPackage != null && $Object.hasOwnProperty.call(message, "javaPackage")) + if (!$util.isString(message.javaPackage)) + return "javaPackage: string expected"; + if (message.javaOuterClassname != null && $Object.hasOwnProperty.call(message, "javaOuterClassname")) + if (!$util.isString(message.javaOuterClassname)) + return "javaOuterClassname: string expected"; + if (message.javaMultipleFiles != null && $Object.hasOwnProperty.call(message, "javaMultipleFiles")) + if (typeof message.javaMultipleFiles !== "boolean") + return "javaMultipleFiles: boolean expected"; + if (message.javaGenerateEqualsAndHash != null && $Object.hasOwnProperty.call(message, "javaGenerateEqualsAndHash")) + if (typeof message.javaGenerateEqualsAndHash !== "boolean") + return "javaGenerateEqualsAndHash: boolean expected"; + if (message.javaStringCheckUtf8 != null && $Object.hasOwnProperty.call(message, "javaStringCheckUtf8")) + if (typeof message.javaStringCheckUtf8 !== "boolean") + return "javaStringCheckUtf8: boolean expected"; + if (message.optimizeFor != null && $Object.hasOwnProperty.call(message, "optimizeFor")) + switch (message.optimizeFor) { + default: + return "optimizeFor: enum value expected"; + case 1: + case 2: + case 3: + break; + } + if (message.goPackage != null && $Object.hasOwnProperty.call(message, "goPackage")) + if (!$util.isString(message.goPackage)) + return "goPackage: string expected"; + if (message.ccGenericServices != null && $Object.hasOwnProperty.call(message, "ccGenericServices")) + if (typeof message.ccGenericServices !== "boolean") + return "ccGenericServices: boolean expected"; + if (message.javaGenericServices != null && $Object.hasOwnProperty.call(message, "javaGenericServices")) + if (typeof message.javaGenericServices !== "boolean") + return "javaGenericServices: boolean expected"; + if (message.pyGenericServices != null && $Object.hasOwnProperty.call(message, "pyGenericServices")) + if (typeof message.pyGenericServices !== "boolean") + return "pyGenericServices: boolean expected"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; - if (message.mapEntry != null && message.hasOwnProperty("mapEntry")) - if (typeof message.mapEntry !== "boolean") - return "mapEntry: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) + if (message.ccEnableArenas != null && $Object.hasOwnProperty.call(message, "ccEnableArenas")) + if (typeof message.ccEnableArenas !== "boolean") + return "ccEnableArenas: boolean expected"; + if (message.objcClassPrefix != null && $Object.hasOwnProperty.call(message, "objcClassPrefix")) + if (!$util.isString(message.objcClassPrefix)) + return "objcClassPrefix: string expected"; + if (message.csharpNamespace != null && $Object.hasOwnProperty.call(message, "csharpNamespace")) + if (!$util.isString(message.csharpNamespace)) + return "csharpNamespace: string expected"; + if (message.swiftPrefix != null && $Object.hasOwnProperty.call(message, "swiftPrefix")) + if (!$util.isString(message.swiftPrefix)) + return "swiftPrefix: string expected"; + if (message.phpClassPrefix != null && $Object.hasOwnProperty.call(message, "phpClassPrefix")) + if (!$util.isString(message.phpClassPrefix)) + return "phpClassPrefix: string expected"; + if (message.phpNamespace != null && $Object.hasOwnProperty.call(message, "phpNamespace")) + if (!$util.isString(message.phpNamespace)) + return "phpNamespace: string expected"; + if (message.phpMetadataNamespace != null && $Object.hasOwnProperty.call(message, "phpMetadataNamespace")) + if (!$util.isString(message.phpMetadataNamespace)) + return "phpMetadataNamespace: string expected"; + if (message.rubyPackage != null && $Object.hasOwnProperty.call(message, "rubyPackage")) + if (!$util.isString(message.rubyPackage)) + return "rubyPackage: string expected"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); if (error) return "uninterpretedOption." + error; } } - if (message[".arrow.flight.protocol.sql.experimental"] != null && message.hasOwnProperty(".arrow.flight.protocol.sql.experimental")) - if (typeof message[".arrow.flight.protocol.sql.experimental"] !== "boolean") - return ".arrow.flight.protocol.sql.experimental: boolean expected"; return null; }; /** - * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. + * Creates a FileOptions message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static * @param {Object.} object Plain object - * @returns {google.protobuf.MessageOptions} MessageOptions + * @returns {google.protobuf.FileOptions} FileOptions */ - MessageOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.MessageOptions) + FileOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FileOptions) return object; - var message = new $root.google.protobuf.MessageOptions(); - if (object.messageSetWireFormat != null) - message.messageSetWireFormat = Boolean(object.messageSetWireFormat); - if (object.noStandardDescriptorAccessor != null) - message.noStandardDescriptorAccessor = Boolean(object.noStandardDescriptorAccessor); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FileOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FileOptions(); + if (object.javaPackage != null) + message.javaPackage = $String(object.javaPackage); + if (object.javaOuterClassname != null) + message.javaOuterClassname = $String(object.javaOuterClassname); + if (object.javaMultipleFiles != null) + message.javaMultipleFiles = $Boolean(object.javaMultipleFiles); + if (object.javaGenerateEqualsAndHash != null) + message.javaGenerateEqualsAndHash = $Boolean(object.javaGenerateEqualsAndHash); + if (object.javaStringCheckUtf8 != null) + message.javaStringCheckUtf8 = $Boolean(object.javaStringCheckUtf8); + switch (object.optimizeFor) { + case "SPEED": + case 1: + message.optimizeFor = 1; + break; + case "CODE_SIZE": + case 2: + message.optimizeFor = 2; + break; + case "LITE_RUNTIME": + case 3: + message.optimizeFor = 3; + break; + default: + } + if (object.goPackage != null) + message.goPackage = $String(object.goPackage); + if (object.ccGenericServices != null) + message.ccGenericServices = $Boolean(object.ccGenericServices); + if (object.javaGenericServices != null) + message.javaGenericServices = $Boolean(object.javaGenericServices); + if (object.pyGenericServices != null) + message.pyGenericServices = $Boolean(object.pyGenericServices); if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.mapEntry != null) - message.mapEntry = Boolean(object.mapEntry); + message.deprecated = $Boolean(object.deprecated); + if (object.ccEnableArenas != null) + message.ccEnableArenas = $Boolean(object.ccEnableArenas); + if (object.objcClassPrefix != null) + message.objcClassPrefix = $String(object.objcClassPrefix); + if (object.csharpNamespace != null) + message.csharpNamespace = $String(object.csharpNamespace); + if (object.swiftPrefix != null) + message.swiftPrefix = $String(object.swiftPrefix); + if (object.phpClassPrefix != null) + message.phpClassPrefix = $String(object.phpClassPrefix); + if (object.phpNamespace != null) + message.phpNamespace = $String(object.phpNamespace); + if (object.phpMetadataNamespace != null) + message.phpMetadataNamespace = $String(object.phpMetadataNamespace); + if (object.rubyPackage != null) + message.rubyPackage = $String(object.rubyPackage); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.FileOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.FileOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); } } - if (object[".arrow.flight.protocol.sql.experimental"] != null) - message[".arrow.flight.protocol.sql.experimental"] = Boolean(object[".arrow.flight.protocol.sql.experimental"]); return message; }; /** - * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. + * Creates a plain object from a FileOptions message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static - * @param {google.protobuf.MessageOptions} message MessageOptions + * @param {google.protobuf.FileOptions} message FileOptions * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - MessageOptions.toObject = function toObject(message, options) { + FileOptions.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.uninterpretedOption = []; if (options.defaults) { - object.messageSetWireFormat = false; - object.noStandardDescriptorAccessor = false; + object.javaPackage = ""; + object.javaOuterClassname = ""; + object.optimizeFor = options.enums === $String ? "SPEED" : 1; + object.javaMultipleFiles = false; + object.goPackage = ""; + object.ccGenericServices = false; + object.javaGenericServices = false; + object.pyGenericServices = false; + object.javaGenerateEqualsAndHash = false; object.deprecated = false; - object.mapEntry = false; - object[".arrow.flight.protocol.sql.experimental"] = false; + object.javaStringCheckUtf8 = false; + object.ccEnableArenas = true; + object.objcClassPrefix = ""; + object.csharpNamespace = ""; + object.swiftPrefix = ""; + object.phpClassPrefix = ""; + object.phpNamespace = ""; + object.phpMetadataNamespace = ""; + object.rubyPackage = ""; + object.features = null; } - if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat")) - object.messageSetWireFormat = message.messageSetWireFormat; - if (message.noStandardDescriptorAccessor != null && message.hasOwnProperty("noStandardDescriptorAccessor")) - object.noStandardDescriptorAccessor = message.noStandardDescriptorAccessor; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (message.javaPackage != null && $Object.hasOwnProperty.call(message, "javaPackage")) + object.javaPackage = message.javaPackage; + if (message.javaOuterClassname != null && $Object.hasOwnProperty.call(message, "javaOuterClassname")) + object.javaOuterClassname = message.javaOuterClassname; + if (message.optimizeFor != null && $Object.hasOwnProperty.call(message, "optimizeFor")) + object.optimizeFor = options.enums === $String ? $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] === $undefined ? message.optimizeFor : $root.google.protobuf.FileOptions.OptimizeMode[message.optimizeFor] : message.optimizeFor; + if (message.javaMultipleFiles != null && $Object.hasOwnProperty.call(message, "javaMultipleFiles")) + object.javaMultipleFiles = message.javaMultipleFiles; + if (message.goPackage != null && $Object.hasOwnProperty.call(message, "goPackage")) + object.goPackage = message.goPackage; + if (message.ccGenericServices != null && $Object.hasOwnProperty.call(message, "ccGenericServices")) + object.ccGenericServices = message.ccGenericServices; + if (message.javaGenericServices != null && $Object.hasOwnProperty.call(message, "javaGenericServices")) + object.javaGenericServices = message.javaGenericServices; + if (message.pyGenericServices != null && $Object.hasOwnProperty.call(message, "pyGenericServices")) + object.pyGenericServices = message.pyGenericServices; + if (message.javaGenerateEqualsAndHash != null && $Object.hasOwnProperty.call(message, "javaGenerateEqualsAndHash")) + object.javaGenerateEqualsAndHash = message.javaGenerateEqualsAndHash; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) object.deprecated = message.deprecated; - if (message.mapEntry != null && message.hasOwnProperty("mapEntry")) - object.mapEntry = message.mapEntry; + if (message.javaStringCheckUtf8 != null && $Object.hasOwnProperty.call(message, "javaStringCheckUtf8")) + object.javaStringCheckUtf8 = message.javaStringCheckUtf8; + if (message.ccEnableArenas != null && $Object.hasOwnProperty.call(message, "ccEnableArenas")) + object.ccEnableArenas = message.ccEnableArenas; + if (message.objcClassPrefix != null && $Object.hasOwnProperty.call(message, "objcClassPrefix")) + object.objcClassPrefix = message.objcClassPrefix; + if (message.csharpNamespace != null && $Object.hasOwnProperty.call(message, "csharpNamespace")) + object.csharpNamespace = message.csharpNamespace; + if (message.swiftPrefix != null && $Object.hasOwnProperty.call(message, "swiftPrefix")) + object.swiftPrefix = message.swiftPrefix; + if (message.phpClassPrefix != null && $Object.hasOwnProperty.call(message, "phpClassPrefix")) + object.phpClassPrefix = message.phpClassPrefix; + if (message.phpNamespace != null && $Object.hasOwnProperty.call(message, "phpNamespace")) + object.phpNamespace = message.phpNamespace; + if (message.phpMetadataNamespace != null && $Object.hasOwnProperty.call(message, "phpMetadataNamespace")) + object.phpMetadataNamespace = message.phpMetadataNamespace; + if (message.rubyPackage != null && $Object.hasOwnProperty.call(message, "rubyPackage")) + object.rubyPackage = message.rubyPackage; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; + object.uninterpretedOption = $Array(message.uninterpretedOption.length); for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); } - if (message[".arrow.flight.protocol.sql.experimental"] != null && message.hasOwnProperty(".arrow.flight.protocol.sql.experimental")) - object[".arrow.flight.protocol.sql.experimental"] = message[".arrow.flight.protocol.sql.experimental"]; return object; }; /** - * Converts this MessageOptions to JSON. + * Converts this FileOptions to JSON. * @function toJSON - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @instance * @returns {Object.} JSON object */ - MessageOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FileOptions.prototype.toJSON = function() { + return FileOptions.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for MessageOptions + * Gets the type url for FileOptions * @function getTypeUrl - * @memberof google.protobuf.MessageOptions + * @memberof google.protobuf.FileOptions * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - MessageOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.MessageOptions"; + FileOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FileOptions"; }; - return MessageOptions; + /** + * OptimizeMode enum. + * @name google.protobuf.FileOptions.OptimizeMode + * @enum {number} + * @property {number} SPEED=1 SPEED value + * @property {number} CODE_SIZE=2 CODE_SIZE value + * @property {number} LITE_RUNTIME=3 LITE_RUNTIME value + */ + FileOptions.OptimizeMode = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[1] = "SPEED"] = 1; + values[valuesById[2] = "CODE_SIZE"] = 2; + values[valuesById[3] = "LITE_RUNTIME"] = 3; + return values; + })(); + + return FileOptions; })(); - protobuf.FieldOptions = (function() { + protobuf.MessageOptions = (function() { /** - * Properties of a FieldOptions. + * Properties of a MessageOptions. + * @typedef {Object} google.protobuf.MessageOptions.$Properties + * @property {boolean|null} [messageSetWireFormat] MessageOptions messageSetWireFormat + * @property {boolean|null} [noStandardDescriptorAccessor] MessageOptions noStandardDescriptorAccessor + * @property {boolean|null} [deprecated] MessageOptions deprecated + * @property {boolean|null} [mapEntry] MessageOptions mapEntry + * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] MessageOptions deprecatedLegacyJsonFieldConflicts + * @property {google.protobuf.FeatureSet.$Properties|null} [features] MessageOptions features + * @property {Array.|null} [uninterpretedOption] MessageOptions uninterpretedOption + * @property {boolean|null} [".arrow.flight.protocol.sql.experimental"] MessageOptions .arrow.flight.protocol.sql.experimental + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a MessageOptions. * @memberof google.protobuf - * @interface IFieldOptions - * @property {google.protobuf.FieldOptions.CType|null} [ctype] FieldOptions ctype - * @property {boolean|null} [packed] FieldOptions packed - * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype - * @property {boolean|null} [lazy] FieldOptions lazy - * @property {boolean|null} [deprecated] FieldOptions deprecated - * @property {boolean|null} [weak] FieldOptions weak - * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption + * @interface IMessageOptions + * @augments google.protobuf.MessageOptions.$Properties + * @deprecated Use google.protobuf.MessageOptions.$Properties instead. */ /** - * Constructs a new FieldOptions. + * Shape of a MessageOptions. + * @typedef {google.protobuf.MessageOptions.$Properties} google.protobuf.MessageOptions.$Shape + */ + + /** + * Constructs a new MessageOptions. * @memberof google.protobuf - * @classdesc Represents a FieldOptions. - * @implements IFieldOptions + * @classdesc Represents a MessageOptions. * @constructor - * @param {google.protobuf.IFieldOptions=} [properties] Properties to set + * @param {google.protobuf.MessageOptions.$Properties=} [properties] Properties to set + * @property {boolean} ".arrow.flight.protocol.sql.experimental" MessageOptions .arrow.flight.protocol.sql.experimental + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function FieldOptions(properties) { + var MessageOptions = function (properties) { this.uninterpretedOption = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * FieldOptions ctype. - * @member {google.protobuf.FieldOptions.CType} ctype - * @memberof google.protobuf.FieldOptions + * MessageOptions messageSetWireFormat. + * @member {boolean} messageSetWireFormat + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.ctype = 0; + MessageOptions.prototype.messageSetWireFormat = false; /** - * FieldOptions packed. - * @member {boolean} packed - * @memberof google.protobuf.FieldOptions + * MessageOptions noStandardDescriptorAccessor. + * @member {boolean} noStandardDescriptorAccessor + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.packed = false; + MessageOptions.prototype.noStandardDescriptorAccessor = false; /** - * FieldOptions jstype. - * @member {google.protobuf.FieldOptions.JSType} jstype - * @memberof google.protobuf.FieldOptions + * MessageOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.jstype = 0; + MessageOptions.prototype.deprecated = false; /** - * FieldOptions lazy. - * @member {boolean} lazy - * @memberof google.protobuf.FieldOptions + * MessageOptions mapEntry. + * @member {boolean} mapEntry + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.lazy = false; + MessageOptions.prototype.mapEntry = false; /** - * FieldOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.FieldOptions + * MessageOptions deprecatedLegacyJsonFieldConflicts. + * @member {boolean} deprecatedLegacyJsonFieldConflicts + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.deprecated = false; + MessageOptions.prototype.deprecatedLegacyJsonFieldConflicts = false; /** - * FieldOptions weak. - * @member {boolean} weak - * @memberof google.protobuf.FieldOptions + * MessageOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.weak = false; + MessageOptions.prototype.features = null; /** - * FieldOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.FieldOptions + * MessageOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.MessageOptions * @instance */ - FieldOptions.prototype.uninterpretedOption = $util.emptyArray; + MessageOptions.prototype.uninterpretedOption = $util.emptyArray; + + MessageOptions.prototype[".arrow.flight.protocol.sql.experimental"] = false; /** - * Creates a new FieldOptions instance using the specified properties. + * Creates a new MessageOptions instance using the specified properties. * @function create - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static - * @param {google.protobuf.IFieldOptions=} [properties] Properties to set - * @returns {google.protobuf.FieldOptions} FieldOptions instance + * @param {google.protobuf.MessageOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.MessageOptions} MessageOptions instance + * @type {{ + * (properties: google.protobuf.MessageOptions.$Shape): google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape; + * (properties?: google.protobuf.MessageOptions.$Properties): google.protobuf.MessageOptions; + * }} */ - FieldOptions.create = function create(properties) { - return new FieldOptions(properties); + MessageOptions.create = function(properties) { + return new MessageOptions(properties); }; /** - * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. + * Encodes the specified MessageOptions message. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @function encode - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static - * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode + * @param {google.protobuf.MessageOptions.$Properties} message MessageOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FieldOptions.encode = function encode(message, writer) { + MessageOptions.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.ctype != null && Object.hasOwnProperty.call(message, "ctype")) - writer.uint32(/* id 1, wireType 0 =*/8).int32(message.ctype); - if (message.packed != null && Object.hasOwnProperty.call(message, "packed")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.packed); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.messageSetWireFormat != null && $Object.hasOwnProperty.call(message, "messageSetWireFormat")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.messageSetWireFormat); + if (message.noStandardDescriptorAccessor != null && $Object.hasOwnProperty.call(message, "noStandardDescriptorAccessor")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.noStandardDescriptorAccessor); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated); - if (message.lazy != null && Object.hasOwnProperty.call(message, "lazy")) - writer.uint32(/* id 5, wireType 0 =*/40).bool(message.lazy); - if (message.jstype != null && Object.hasOwnProperty.call(message, "jstype")) - writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); - if (message.weak != null && Object.hasOwnProperty.call(message, "weak")) - writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.mapEntry != null && $Object.hasOwnProperty.call(message, "mapEntry")) + writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mapEntry); + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + writer.uint32(/* id 11, wireType 0 =*/88).bool(message.deprecatedLegacyJsonFieldConflicts); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 12, wireType 2 =*/98).fork(), _depth + 1).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message[".arrow.flight.protocol.sql.experimental"] != null && $Object.hasOwnProperty.call(message, ".arrow.flight.protocol.sql.experimental")) + writer.uint32(/* id 1000, wireType 0 =*/8000).bool(message[".arrow.flight.protocol.sql.experimental"]); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. + * Encodes the specified MessageOptions message, length delimited. Does not implicitly {@link google.protobuf.MessageOptions.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static - * @param {google.protobuf.IFieldOptions} message FieldOptions message or plain object to encode + * @param {google.protobuf.MessageOptions.$Properties} message MessageOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - FieldOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + MessageOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a FieldOptions message from the specified reader or buffer. + * Decodes a MessageOptions message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.FieldOptions} FieldOptions + * @returns {google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape} MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FieldOptions.decode = function decode(reader, length) { + MessageOptions.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.MessageOptions(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { - message.ctype = reader.int32(); - break; + if (wireType !== 0) + break; + message.messageSetWireFormat = reader.bool(); + continue; } case 2: { - message.packed = reader.bool(); - break; - } - case 6: { - message.jstype = reader.int32(); - break; - } - case 5: { - message.lazy = reader.bool(); - break; + if (wireType !== 0) + break; + message.noStandardDescriptorAccessor = reader.bool(); + continue; } case 3: { + if (wireType !== 0) + break; message.deprecated = reader.bool(); - break; + continue; } - case 10: { - message.weak = reader.bool(); - break; + case 7: { + if (wireType !== 0) + break; + message.mapEntry = reader.bool(); + continue; + } + case 11: { + if (wireType !== 0) + break; + message.deprecatedLegacyJsonFieldConflicts = reader.bool(); + continue; + } + case 12: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; } case 999: { + if (wireType !== 2) + break; if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + case 1000: { + if (wireType !== 0) + break; + message[".arrow.flight.protocol.sql.experimental"] = reader.bool(); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a FieldOptions message from the specified reader or buffer, length delimited. + * Decodes a MessageOptions message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.FieldOptions} FieldOptions + * @returns {google.protobuf.MessageOptions & google.protobuf.MessageOptions.$Shape} MessageOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - FieldOptions.decodeDelimited = function decodeDelimited(reader) { + MessageOptions.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a FieldOptions message. + * Verifies a MessageOptions message. * @function verify - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - FieldOptions.verify = function verify(message) { + MessageOptions.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.ctype != null && message.hasOwnProperty("ctype")) - switch (message.ctype) { - default: - return "ctype: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.packed != null && message.hasOwnProperty("packed")) - if (typeof message.packed !== "boolean") - return "packed: boolean expected"; - if (message.jstype != null && message.hasOwnProperty("jstype")) - switch (message.jstype) { - default: - return "jstype: enum value expected"; - case 0: - case 1: - case 2: - break; - } - if (message.lazy != null && message.hasOwnProperty("lazy")) - if (typeof message.lazy !== "boolean") - return "lazy: boolean expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.messageSetWireFormat != null && $Object.hasOwnProperty.call(message, "messageSetWireFormat")) + if (typeof message.messageSetWireFormat !== "boolean") + return "messageSetWireFormat: boolean expected"; + if (message.noStandardDescriptorAccessor != null && $Object.hasOwnProperty.call(message, "noStandardDescriptorAccessor")) + if (typeof message.noStandardDescriptorAccessor !== "boolean") + return "noStandardDescriptorAccessor: boolean expected"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; - if (message.weak != null && message.hasOwnProperty("weak")) - if (typeof message.weak !== "boolean") - return "weak: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) + if (message.mapEntry != null && $Object.hasOwnProperty.call(message, "mapEntry")) + if (typeof message.mapEntry !== "boolean") + return "mapEntry: boolean expected"; + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean") + return "deprecatedLegacyJsonFieldConflicts: boolean expected"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); if (error) return "uninterpretedOption." + error; } } + if (message[".arrow.flight.protocol.sql.experimental"] != null && $Object.hasOwnProperty.call(message, ".arrow.flight.protocol.sql.experimental")) + if (typeof message[".arrow.flight.protocol.sql.experimental"] !== "boolean") + return ".arrow.flight.protocol.sql.experimental: boolean expected"; return null; }; /** - * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. + * Creates a MessageOptions message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static * @param {Object.} object Plain object - * @returns {google.protobuf.FieldOptions} FieldOptions + * @returns {google.protobuf.MessageOptions} MessageOptions */ - FieldOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.FieldOptions) + MessageOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.MessageOptions) return object; - var message = new $root.google.protobuf.FieldOptions(); - switch (object.ctype) { - default: - if (typeof object.ctype === "number") { - message.ctype = object.ctype; - break; - } - break; - case "STRING": - case 0: - message.ctype = 0; - break; - case "CORD": - case 1: - message.ctype = 1; - break; - case "STRING_PIECE": - case 2: - message.ctype = 2; - break; - } - if (object.packed != null) - message.packed = Boolean(object.packed); - switch (object.jstype) { - default: - if (typeof object.jstype === "number") { - message.jstype = object.jstype; - break; - } - break; - case "JS_NORMAL": - case 0: - message.jstype = 0; - break; - case "JS_STRING": - case 1: - message.jstype = 1; - break; - case "JS_NUMBER": - case 2: - message.jstype = 2; - break; - } - if (object.lazy != null) - message.lazy = Boolean(object.lazy); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.MessageOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.MessageOptions(); + if (object.messageSetWireFormat != null) + message.messageSetWireFormat = $Boolean(object.messageSetWireFormat); + if (object.noStandardDescriptorAccessor != null) + message.noStandardDescriptorAccessor = $Boolean(object.noStandardDescriptorAccessor); if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.weak != null) - message.weak = Boolean(object.weak); + message.deprecated = $Boolean(object.deprecated); + if (object.mapEntry != null) + message.mapEntry = $Boolean(object.mapEntry); + if (object.deprecatedLegacyJsonFieldConflicts != null) + message.deprecatedLegacyJsonFieldConflicts = $Boolean(object.deprecatedLegacyJsonFieldConflicts); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.MessageOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.MessageOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); } } + if (object[".arrow.flight.protocol.sql.experimental"] != null) + message[".arrow.flight.protocol.sql.experimental"] = $Boolean(object[".arrow.flight.protocol.sql.experimental"]); return message; }; /** - * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. + * Creates a plain object from a MessageOptions message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static - * @param {google.protobuf.FieldOptions} message FieldOptions + * @param {google.protobuf.MessageOptions} message MessageOptions * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - FieldOptions.toObject = function toObject(message, options) { + MessageOptions.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.uninterpretedOption = []; if (options.defaults) { - object.ctype = options.enums === String ? "STRING" : 0; - object.packed = false; + object.messageSetWireFormat = false; + object.noStandardDescriptorAccessor = false; object.deprecated = false; - object.lazy = false; - object.jstype = options.enums === String ? "JS_NORMAL" : 0; - object.weak = false; + object.mapEntry = false; + object.deprecatedLegacyJsonFieldConflicts = false; + object.features = null; + object[".arrow.flight.protocol.sql.experimental"] = false; } - if (message.ctype != null && message.hasOwnProperty("ctype")) - object.ctype = options.enums === String ? $root.google.protobuf.FieldOptions.CType[message.ctype] === undefined ? message.ctype : $root.google.protobuf.FieldOptions.CType[message.ctype] : message.ctype; - if (message.packed != null && message.hasOwnProperty("packed")) - object.packed = message.packed; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (message.messageSetWireFormat != null && $Object.hasOwnProperty.call(message, "messageSetWireFormat")) + object.messageSetWireFormat = message.messageSetWireFormat; + if (message.noStandardDescriptorAccessor != null && $Object.hasOwnProperty.call(message, "noStandardDescriptorAccessor")) + object.noStandardDescriptorAccessor = message.noStandardDescriptorAccessor; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) object.deprecated = message.deprecated; - if (message.lazy != null && message.hasOwnProperty("lazy")) - object.lazy = message.lazy; - if (message.jstype != null && message.hasOwnProperty("jstype")) - object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] === undefined ? message.jstype : $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; - if (message.weak != null && message.hasOwnProperty("weak")) - object.weak = message.weak; + if (message.mapEntry != null && $Object.hasOwnProperty.call(message, "mapEntry")) + object.mapEntry = message.mapEntry; + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; + object.uninterpretedOption = $Array(message.uninterpretedOption.length); for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); } + if (message[".arrow.flight.protocol.sql.experimental"] != null && $Object.hasOwnProperty.call(message, ".arrow.flight.protocol.sql.experimental")) + object[".arrow.flight.protocol.sql.experimental"] = message[".arrow.flight.protocol.sql.experimental"]; return object; }; /** - * Converts this FieldOptions to JSON. + * Converts this MessageOptions to JSON. * @function toJSON - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @instance * @returns {Object.} JSON object */ - FieldOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + MessageOptions.prototype.toJSON = function() { + return MessageOptions.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for FieldOptions + * Gets the type url for MessageOptions * @function getTypeUrl - * @memberof google.protobuf.FieldOptions + * @memberof google.protobuf.MessageOptions * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - FieldOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.FieldOptions"; + MessageOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.MessageOptions"; }; + return MessageOptions; + })(); + + protobuf.FieldOptions = (function() { + /** - * CType enum. - * @name google.protobuf.FieldOptions.CType - * @enum {number} - * @property {number} STRING=0 STRING value - * @property {number} CORD=1 CORD value - * @property {number} STRING_PIECE=2 STRING_PIECE value + * Properties of a FieldOptions. + * @typedef {Object} google.protobuf.FieldOptions.$Properties + * @property {google.protobuf.FieldOptions.CType|null} [ctype] FieldOptions ctype + * @property {boolean|null} [packed] FieldOptions packed + * @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype + * @property {boolean|null} [lazy] FieldOptions lazy + * @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy + * @property {boolean|null} [deprecated] FieldOptions deprecated + * @property {boolean|null} [weak] FieldOptions weak + * @property {boolean|null} [debugRedact] FieldOptions debugRedact + * @property {google.protobuf.FieldOptions.OptionRetention|null} [retention] FieldOptions retention + * @property {Array.|null} [targets] FieldOptions targets + * @property {Array.|null} [editionDefaults] FieldOptions editionDefaults + * @property {google.protobuf.FeatureSet.$Properties|null} [features] FieldOptions features + * @property {google.protobuf.FieldOptions.FeatureSupport.$Properties|null} [featureSupport] FieldOptions featureSupport + * @property {Array.|null} [uninterpretedOption] FieldOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - FieldOptions.CType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "STRING"] = 0; - values[valuesById[1] = "CORD"] = 1; - values[valuesById[2] = "STRING_PIECE"] = 2; - return values; - })(); /** - * JSType enum. - * @name google.protobuf.FieldOptions.JSType - * @enum {number} - * @property {number} JS_NORMAL=0 JS_NORMAL value - * @property {number} JS_STRING=1 JS_STRING value - * @property {number} JS_NUMBER=2 JS_NUMBER value - */ - FieldOptions.JSType = (function() { - var valuesById = {}, values = Object.create(valuesById); - values[valuesById[0] = "JS_NORMAL"] = 0; - values[valuesById[1] = "JS_STRING"] = 1; - values[valuesById[2] = "JS_NUMBER"] = 2; - return values; - })(); - - return FieldOptions; - })(); - - protobuf.OneofOptions = (function() { + * Properties of a FieldOptions. + * @memberof google.protobuf + * @interface IFieldOptions + * @augments google.protobuf.FieldOptions.$Properties + * @deprecated Use google.protobuf.FieldOptions.$Properties instead. + */ /** - * Properties of an OneofOptions. - * @memberof google.protobuf - * @interface IOneofOptions - * @property {Array.|null} [uninterpretedOption] OneofOptions uninterpretedOption + * Shape of a FieldOptions. + * @typedef {google.protobuf.FieldOptions.$Properties} google.protobuf.FieldOptions.$Shape */ /** - * Constructs a new OneofOptions. + * Constructs a new FieldOptions. * @memberof google.protobuf - * @classdesc Represents an OneofOptions. - * @implements IOneofOptions + * @classdesc Represents a FieldOptions. * @constructor - * @param {google.protobuf.IOneofOptions=} [properties] Properties to set + * @param {google.protobuf.FieldOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function OneofOptions(properties) { + var FieldOptions = function (properties) { + this.targets = []; + this.editionDefaults = []; this.uninterpretedOption = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } - - /** - * OneofOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.OneofOptions - * @instance - */ - OneofOptions.prototype.uninterpretedOption = $util.emptyArray; - - /** - * Creates a new OneofOptions instance using the specified properties. - * @function create - * @memberof google.protobuf.OneofOptions - * @static - * @param {google.protobuf.IOneofOptions=} [properties] Properties to set - * @returns {google.protobuf.OneofOptions} OneofOptions instance - */ - OneofOptions.create = function create(properties) { - return new OneofOptions(properties); }; /** - * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @function encode - * @memberof google.protobuf.OneofOptions - * @static - * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * FieldOptions ctype. + * @member {google.protobuf.FieldOptions.CType} ctype + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.uninterpretedOption != null && message.uninterpretedOption.length) - for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); - return writer; - }; + FieldOptions.prototype.ctype = 0; /** - * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.OneofOptions - * @static - * @param {google.protobuf.IOneofOptions} message OneofOptions message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer + * FieldOptions packed. + * @member {boolean} packed + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; + FieldOptions.prototype.packed = false; /** - * Decodes an OneofOptions message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.OneofOptions - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.OneofOptions} OneofOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * FieldOptions jstype. + * @member {google.protobuf.FieldOptions.JSType} jstype + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.OneofOptions(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; - } - default: - reader.skipType(tag & 7); - break; - } - } - return message; - }; + FieldOptions.prototype.jstype = 0; /** - * Decodes an OneofOptions message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.OneofOptions - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.OneofOptions} OneofOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * FieldOptions lazy. + * @member {boolean} lazy + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; + FieldOptions.prototype.lazy = false; /** - * Verifies an OneofOptions message. - * @function verify - * @memberof google.protobuf.OneofOptions - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * FieldOptions unverifiedLazy. + * @member {boolean} unverifiedLazy + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) - return "uninterpretedOption: array expected"; - for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); - if (error) - return "uninterpretedOption." + error; - } - } - return null; - }; + FieldOptions.prototype.unverifiedLazy = false; /** - * Creates an OneofOptions message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.OneofOptions - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.OneofOptions} OneofOptions + * FieldOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.OneofOptions) - return object; - var message = new $root.google.protobuf.OneofOptions(); - if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; - for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); - } - } - return message; - }; + FieldOptions.prototype.deprecated = false; /** - * Creates a plain object from an OneofOptions message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.OneofOptions - * @static - * @param {google.protobuf.OneofOptions} message OneofOptions - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object + * FieldOptions weak. + * @member {boolean} weak + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.uninterpretedOption = []; - if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; - for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); - } - return object; - }; + FieldOptions.prototype.weak = false; /** - * Converts this OneofOptions to JSON. - * @function toJSON - * @memberof google.protobuf.OneofOptions + * FieldOptions debugRedact. + * @member {boolean} debugRedact + * @memberof google.protobuf.FieldOptions * @instance - * @returns {Object.} JSON object */ - OneofOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + FieldOptions.prototype.debugRedact = false; /** - * Gets the default type url for OneofOptions - * @function getTypeUrl - * @memberof google.protobuf.OneofOptions - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * FieldOptions retention. + * @member {google.protobuf.FieldOptions.OptionRetention} retention + * @memberof google.protobuf.FieldOptions + * @instance */ - OneofOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.OneofOptions"; - }; - - return OneofOptions; - })(); - - protobuf.EnumOptions = (function() { + FieldOptions.prototype.retention = 0; /** - * Properties of an EnumOptions. - * @memberof google.protobuf - * @interface IEnumOptions - * @property {boolean|null} [allowAlias] EnumOptions allowAlias - * @property {boolean|null} [deprecated] EnumOptions deprecated - * @property {Array.|null} [uninterpretedOption] EnumOptions uninterpretedOption + * FieldOptions targets. + * @member {Array.} targets + * @memberof google.protobuf.FieldOptions + * @instance */ + FieldOptions.prototype.targets = $util.emptyArray; /** - * Constructs a new EnumOptions. - * @memberof google.protobuf - * @classdesc Represents an EnumOptions. - * @implements IEnumOptions - * @constructor - * @param {google.protobuf.IEnumOptions=} [properties] Properties to set + * FieldOptions editionDefaults. + * @member {Array.} editionDefaults + * @memberof google.protobuf.FieldOptions + * @instance */ - function EnumOptions(properties) { - this.uninterpretedOption = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + FieldOptions.prototype.editionDefaults = $util.emptyArray; /** - * EnumOptions allowAlias. - * @member {boolean} allowAlias - * @memberof google.protobuf.EnumOptions + * FieldOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.FieldOptions * @instance */ - EnumOptions.prototype.allowAlias = false; + FieldOptions.prototype.features = null; /** - * EnumOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.EnumOptions + * FieldOptions featureSupport. + * @member {google.protobuf.FieldOptions.FeatureSupport.$Properties|null|undefined} featureSupport + * @memberof google.protobuf.FieldOptions * @instance */ - EnumOptions.prototype.deprecated = false; + FieldOptions.prototype.featureSupport = null; /** - * EnumOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.EnumOptions + * FieldOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.FieldOptions * @instance */ - EnumOptions.prototype.uninterpretedOption = $util.emptyArray; + FieldOptions.prototype.uninterpretedOption = $util.emptyArray; /** - * Creates a new EnumOptions instance using the specified properties. + * Creates a new FieldOptions instance using the specified properties. * @function create - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static - * @param {google.protobuf.IEnumOptions=} [properties] Properties to set - * @returns {google.protobuf.EnumOptions} EnumOptions instance + * @param {google.protobuf.FieldOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FieldOptions} FieldOptions instance + * @type {{ + * (properties: google.protobuf.FieldOptions.$Shape): google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape; + * (properties?: google.protobuf.FieldOptions.$Properties): google.protobuf.FieldOptions; + * }} */ - EnumOptions.create = function create(properties) { - return new EnumOptions(properties); + FieldOptions.create = function(properties) { + return new FieldOptions(properties); }; /** - * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * Encodes the specified FieldOptions message. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @function encode - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static - * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode + * @param {google.protobuf.FieldOptions.$Properties} message FieldOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumOptions.encode = function encode(message, writer) { + FieldOptions.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.allowAlias != null && Object.hasOwnProperty.call(message, "allowAlias")) - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.allowAlias); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.ctype != null && $Object.hasOwnProperty.call(message, "ctype")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.ctype); + if (message.packed != null && $Object.hasOwnProperty.call(message, "packed")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.packed); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated); + if (message.lazy != null && $Object.hasOwnProperty.call(message, "lazy")) + writer.uint32(/* id 5, wireType 0 =*/40).bool(message.lazy); + if (message.jstype != null && $Object.hasOwnProperty.call(message, "jstype")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype); + if (message.weak != null && $Object.hasOwnProperty.call(message, "weak")) + writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak); + if (message.unverifiedLazy != null && $Object.hasOwnProperty.call(message, "unverifiedLazy")) + writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy); + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + writer.uint32(/* id 16, wireType 0 =*/128).bool(message.debugRedact); + if (message.retention != null && $Object.hasOwnProperty.call(message, "retention")) + writer.uint32(/* id 17, wireType 0 =*/136).int32(message.retention); + if (message.targets != null && message.targets.length) + for (var i = 0; i < message.targets.length; ++i) + writer.uint32(/* id 19, wireType 0 =*/152).int32(message.targets[i]); + if (message.editionDefaults != null && message.editionDefaults.length) + for (var i = 0; i < message.editionDefaults.length; ++i) + $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork(), _depth + 1).ldelim(); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork(), _depth + 1).ldelim(); + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) + $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork(), _depth + 1).ldelim(); if (message.uninterpretedOption != null && message.uninterpretedOption.length) for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * Encodes the specified FieldOptions message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static - * @param {google.protobuf.IEnumOptions} message EnumOptions message or plain object to encode + * @param {google.protobuf.FieldOptions.$Properties} message FieldOptions message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FieldOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes an EnumOptions message from the specified reader or buffer. + * Decodes a FieldOptions message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.EnumOptions} EnumOptions + * @returns {google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape} FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumOptions.decode = function decode(reader, length) { + FieldOptions.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.EnumOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FieldOptions(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldOptions.CType[value] !== $undefined) + message.ctype = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } case 2: { - message.allowAlias = reader.bool(); - break; + if (wireType !== 0) + break; + message.packed = reader.bool(); + continue; } - case 3: { - message.deprecated = reader.bool(); - break; + case 6: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldOptions.JSType[value] !== $undefined) + message.jstype = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 5: { + if (wireType !== 0) + break; + message.lazy = reader.bool(); + continue; + } + case 15: { + if (wireType !== 0) + break; + message.unverifiedLazy = reader.bool(); + continue; + } + case 3: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 10: { + if (wireType !== 0) + break; + message.weak = reader.bool(); + continue; + } + case 16: { + if (wireType !== 0) + break; + message.debugRedact = reader.bool(); + continue; + } + case 17: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldOptions.OptionRetention[value] !== $undefined) + message.retention = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 19: { + if (wireType === 2) { + var end2 = reader.uint32() + reader.pos; + if (end2 > reader.len) + throw $RangeError("index out of range"); + reader.len = end2; + while (reader.pos < end2) { + start = reader.pos; + value = reader.int32(); + if ($root.google.protobuf.FieldOptions.OptionTargetType[value] !== $undefined) { + if (!(message.targets && message.targets.length)) + message.targets = []; + message.targets.push(value); + } else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push($util.rawField(19, 0, reader.raw(start, reader.pos))); + } + } + if (reader.pos !== end2) + throw $RangeError("index out of range"); + reader.len = end; + continue; + } + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FieldOptions.OptionTargetType[value] !== $undefined) { + if (!(message.targets && message.targets.length)) + message.targets = []; + message.targets.push(value); + } else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 20: { + if (wireType !== 2) + break; + if (!(message.editionDefaults && message.editionDefaults.length)) + message.editionDefaults = []; + message.editionDefaults.push($root.google.protobuf.FieldOptions.EditionDefault.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + case 21: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 22: { + if (wireType !== 2) + break; + message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32(), $undefined, _depth + 1, message.featureSupport); + continue; } case 999: { + if (wireType !== 2) + break; if (!(message.uninterpretedOption && message.uninterpretedOption.length)) message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes an EnumOptions message from the specified reader or buffer, length delimited. + * Decodes a FieldOptions message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.EnumOptions} EnumOptions + * @returns {google.protobuf.FieldOptions & google.protobuf.FieldOptions.$Shape} FieldOptions * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumOptions.decodeDelimited = function decodeDelimited(reader) { + FieldOptions.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an EnumOptions message. + * Verifies a FieldOptions message. * @function verify - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - EnumOptions.verify = function verify(message) { + FieldOptions.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.allowAlias != null && message.hasOwnProperty("allowAlias")) - if (typeof message.allowAlias !== "boolean") - return "allowAlias: boolean expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.ctype != null && $Object.hasOwnProperty.call(message, "ctype")) + switch (message.ctype) { + default: + return "ctype: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.packed != null && $Object.hasOwnProperty.call(message, "packed")) + if (typeof message.packed !== "boolean") + return "packed: boolean expected"; + if (message.jstype != null && $Object.hasOwnProperty.call(message, "jstype")) + switch (message.jstype) { + default: + return "jstype: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.lazy != null && $Object.hasOwnProperty.call(message, "lazy")) + if (typeof message.lazy !== "boolean") + return "lazy: boolean expected"; + if (message.unverifiedLazy != null && $Object.hasOwnProperty.call(message, "unverifiedLazy")) + if (typeof message.unverifiedLazy !== "boolean") + return "unverifiedLazy: boolean expected"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) if (typeof message.deprecated !== "boolean") return "deprecated: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) + if (message.weak != null && $Object.hasOwnProperty.call(message, "weak")) + if (typeof message.weak !== "boolean") + return "weak: boolean expected"; + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + if (typeof message.debugRedact !== "boolean") + return "debugRedact: boolean expected"; + if (message.retention != null && $Object.hasOwnProperty.call(message, "retention")) + switch (message.retention) { + default: + return "retention: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.targets != null && $Object.hasOwnProperty.call(message, "targets")) { + if (!$Array.isArray(message.targets)) + return "targets: array expected"; + for (var i = 0; i < message.targets.length; ++i) + switch (message.targets[i]) { + default: + return "targets: enum value[] expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + case 5: + case 6: + case 7: + case 8: + case 9: + break; + } + } + if (message.editionDefaults != null && $Object.hasOwnProperty.call(message, "editionDefaults")) { + if (!$Array.isArray(message.editionDefaults)) + return "editionDefaults: array expected"; + for (var i = 0; i < message.editionDefaults.length; ++i) { + var error = $root.google.protobuf.FieldOptions.EditionDefault.verify(message.editionDefaults[i], _depth + 1); + if (error) + return "editionDefaults." + error; + } + } + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) { + var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport, _depth + 1); + if (error) + return "featureSupport." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) return "uninterpretedOption: array expected"; for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); if (error) return "uninterpretedOption." + error; } @@ -14689,1494 +19352,6238 @@ $root.google = (function() { }; /** - * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. + * Creates a FieldOptions message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static * @param {Object.} object Plain object - * @returns {google.protobuf.EnumOptions} EnumOptions + * @returns {google.protobuf.FieldOptions} FieldOptions */ - EnumOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.EnumOptions) + FieldOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FieldOptions) return object; - var message = new $root.google.protobuf.EnumOptions(); - if (object.allowAlias != null) - message.allowAlias = Boolean(object.allowAlias); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FieldOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FieldOptions(); + switch (object.ctype) { + case "STRING": + case 0: + message.ctype = 0; + break; + case "CORD": + case 1: + message.ctype = 1; + break; + case "STRING_PIECE": + case 2: + message.ctype = 2; + break; + default: + } + if (object.packed != null) + message.packed = $Boolean(object.packed); + switch (object.jstype) { + case "JS_NORMAL": + case 0: + message.jstype = 0; + break; + case "JS_STRING": + case 1: + message.jstype = 1; + break; + case "JS_NUMBER": + case 2: + message.jstype = 2; + break; + default: + } + if (object.lazy != null) + message.lazy = $Boolean(object.lazy); + if (object.unverifiedLazy != null) + message.unverifiedLazy = $Boolean(object.unverifiedLazy); if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); + message.deprecated = $Boolean(object.deprecated); + if (object.weak != null) + message.weak = $Boolean(object.weak); + if (object.debugRedact != null) + message.debugRedact = $Boolean(object.debugRedact); + switch (object.retention) { + case "RETENTION_UNKNOWN": + case 0: + message.retention = 0; + break; + case "RETENTION_RUNTIME": + case 1: + message.retention = 1; + break; + case "RETENTION_SOURCE": + case 2: + message.retention = 2; + break; + default: + } + if (object.targets) { + if (!$Array.isArray(object.targets)) + throw $TypeError(".google.protobuf.FieldOptions.targets: array expected"); + message.targets = []; + for (var i = 0; i < object.targets.length; ++i) + switch (object.targets[i]) { + case "TARGET_TYPE_UNKNOWN": + case 0: + message.targets[message.targets.length] = 0; + break; + case "TARGET_TYPE_FILE": + case 1: + message.targets[message.targets.length] = 1; + break; + case "TARGET_TYPE_EXTENSION_RANGE": + case 2: + message.targets[message.targets.length] = 2; + break; + case "TARGET_TYPE_MESSAGE": + case 3: + message.targets[message.targets.length] = 3; + break; + case "TARGET_TYPE_FIELD": + case 4: + message.targets[message.targets.length] = 4; + break; + case "TARGET_TYPE_ONEOF": + case 5: + message.targets[message.targets.length] = 5; + break; + case "TARGET_TYPE_ENUM": + case 6: + message.targets[message.targets.length] = 6; + break; + case "TARGET_TYPE_ENUM_ENTRY": + case 7: + message.targets[message.targets.length] = 7; + break; + case "TARGET_TYPE_SERVICE": + case 8: + message.targets[message.targets.length] = 8; + break; + case "TARGET_TYPE_METHOD": + case 9: + message.targets[message.targets.length] = 9; + break; + default: + } + } + if (object.editionDefaults) { + if (!$Array.isArray(object.editionDefaults)) + throw $TypeError(".google.protobuf.FieldOptions.editionDefaults: array expected"); + message.editionDefaults = $Array(object.editionDefaults.length); + for (var i = 0; i < object.editionDefaults.length; ++i) { + if (!$util.isObject(object.editionDefaults[i])) + throw $TypeError(".google.protobuf.FieldOptions.editionDefaults: object expected"); + message.editionDefaults[i] = $root.google.protobuf.FieldOptions.EditionDefault.fromObject(object.editionDefaults[i], _depth + 1); + } + } + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.FieldOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.featureSupport != null) { + if (!$util.isObject(object.featureSupport)) + throw $TypeError(".google.protobuf.FieldOptions.featureSupport: object expected"); + message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport, _depth + 1); + } if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.FieldOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); } } return message; }; /** - * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. + * Creates a plain object from a FieldOptions message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static - * @param {google.protobuf.EnumOptions} message EnumOptions + * @param {google.protobuf.FieldOptions} message FieldOptions * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - EnumOptions.toObject = function toObject(message, options) { + FieldOptions.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (options.arrays || options.defaults) + if (options.arrays || options.defaults) { + object.targets = []; + object.editionDefaults = []; object.uninterpretedOption = []; + } if (options.defaults) { - object.allowAlias = false; + object.ctype = options.enums === $String ? "STRING" : 0; + object.packed = false; object.deprecated = false; + object.lazy = false; + object.jstype = options.enums === $String ? "JS_NORMAL" : 0; + object.weak = false; + object.unverifiedLazy = false; + object.debugRedact = false; + object.retention = options.enums === $String ? "RETENTION_UNKNOWN" : 0; + object.features = null; + object.featureSupport = null; } - if (message.allowAlias != null && message.hasOwnProperty("allowAlias")) - object.allowAlias = message.allowAlias; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) + if (message.ctype != null && $Object.hasOwnProperty.call(message, "ctype")) + object.ctype = options.enums === $String ? $root.google.protobuf.FieldOptions.CType[message.ctype] === $undefined ? message.ctype : $root.google.protobuf.FieldOptions.CType[message.ctype] : message.ctype; + if (message.packed != null && $Object.hasOwnProperty.call(message, "packed")) + object.packed = message.packed; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) object.deprecated = message.deprecated; + if (message.lazy != null && $Object.hasOwnProperty.call(message, "lazy")) + object.lazy = message.lazy; + if (message.jstype != null && $Object.hasOwnProperty.call(message, "jstype")) + object.jstype = options.enums === $String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] === $undefined ? message.jstype : $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype; + if (message.weak != null && $Object.hasOwnProperty.call(message, "weak")) + object.weak = message.weak; + if (message.unverifiedLazy != null && $Object.hasOwnProperty.call(message, "unverifiedLazy")) + object.unverifiedLazy = message.unverifiedLazy; + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + object.debugRedact = message.debugRedact; + if (message.retention != null && $Object.hasOwnProperty.call(message, "retention")) + object.retention = options.enums === $String ? $root.google.protobuf.FieldOptions.OptionRetention[message.retention] === $undefined ? message.retention : $root.google.protobuf.FieldOptions.OptionRetention[message.retention] : message.retention; + if (message.targets && message.targets.length) { + object.targets = $Array(message.targets.length); + for (var j = 0; j < message.targets.length; ++j) + object.targets[j] = options.enums === $String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] === $undefined ? message.targets[j] : $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] : message.targets[j]; + } + if (message.editionDefaults && message.editionDefaults.length) { + object.editionDefaults = $Array(message.editionDefaults.length); + for (var j = 0; j < message.editionDefaults.length; ++j) + object.editionDefaults[j] = $root.google.protobuf.FieldOptions.EditionDefault.toObject(message.editionDefaults[j], options, _depth + 1); + } + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) + object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options, _depth + 1); if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; + object.uninterpretedOption = $Array(message.uninterpretedOption.length); for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); } return object; }; /** - * Converts this EnumOptions to JSON. + * Converts this FieldOptions to JSON. * @function toJSON - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @instance * @returns {Object.} JSON object */ - EnumOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FieldOptions.prototype.toJSON = function() { + return FieldOptions.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for EnumOptions + * Gets the type url for FieldOptions * @function getTypeUrl - * @memberof google.protobuf.EnumOptions + * @memberof google.protobuf.FieldOptions * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - EnumOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.EnumOptions"; + FieldOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FieldOptions"; }; - return EnumOptions; - })(); - - protobuf.EnumValueOptions = (function() { - /** - * Properties of an EnumValueOptions. - * @memberof google.protobuf - * @interface IEnumValueOptions - * @property {boolean|null} [deprecated] EnumValueOptions deprecated - * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption + * CType enum. + * @name google.protobuf.FieldOptions.CType + * @enum {number} + * @property {number} STRING=0 STRING value + * @property {number} CORD=1 CORD value + * @property {number} STRING_PIECE=2 STRING_PIECE value */ + FieldOptions.CType = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "STRING"] = 0; + values[valuesById[1] = "CORD"] = 1; + values[valuesById[2] = "STRING_PIECE"] = 2; + return values; + })(); /** - * Constructs a new EnumValueOptions. - * @memberof google.protobuf - * @classdesc Represents an EnumValueOptions. - * @implements IEnumValueOptions - * @constructor - * @param {google.protobuf.IEnumValueOptions=} [properties] Properties to set + * JSType enum. + * @name google.protobuf.FieldOptions.JSType + * @enum {number} + * @property {number} JS_NORMAL=0 JS_NORMAL value + * @property {number} JS_STRING=1 JS_STRING value + * @property {number} JS_NUMBER=2 JS_NUMBER value */ - function EnumValueOptions(properties) { - this.uninterpretedOption = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + FieldOptions.JSType = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "JS_NORMAL"] = 0; + values[valuesById[1] = "JS_STRING"] = 1; + values[valuesById[2] = "JS_NUMBER"] = 2; + return values; + })(); /** - * EnumValueOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.deprecated = false; + * OptionRetention enum. + * @name google.protobuf.FieldOptions.OptionRetention + * @enum {number} + * @property {number} RETENTION_UNKNOWN=0 RETENTION_UNKNOWN value + * @property {number} RETENTION_RUNTIME=1 RETENTION_RUNTIME value + * @property {number} RETENTION_SOURCE=2 RETENTION_SOURCE value + */ + FieldOptions.OptionRetention = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "RETENTION_UNKNOWN"] = 0; + values[valuesById[1] = "RETENTION_RUNTIME"] = 1; + values[valuesById[2] = "RETENTION_SOURCE"] = 2; + return values; + })(); /** - * EnumValueOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.EnumValueOptions - * @instance - */ - EnumValueOptions.prototype.uninterpretedOption = $util.emptyArray; + * OptionTargetType enum. + * @name google.protobuf.FieldOptions.OptionTargetType + * @enum {number} + * @property {number} TARGET_TYPE_UNKNOWN=0 TARGET_TYPE_UNKNOWN value + * @property {number} TARGET_TYPE_FILE=1 TARGET_TYPE_FILE value + * @property {number} TARGET_TYPE_EXTENSION_RANGE=2 TARGET_TYPE_EXTENSION_RANGE value + * @property {number} TARGET_TYPE_MESSAGE=3 TARGET_TYPE_MESSAGE value + * @property {number} TARGET_TYPE_FIELD=4 TARGET_TYPE_FIELD value + * @property {number} TARGET_TYPE_ONEOF=5 TARGET_TYPE_ONEOF value + * @property {number} TARGET_TYPE_ENUM=6 TARGET_TYPE_ENUM value + * @property {number} TARGET_TYPE_ENUM_ENTRY=7 TARGET_TYPE_ENUM_ENTRY value + * @property {number} TARGET_TYPE_SERVICE=8 TARGET_TYPE_SERVICE value + * @property {number} TARGET_TYPE_METHOD=9 TARGET_TYPE_METHOD value + */ + FieldOptions.OptionTargetType = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "TARGET_TYPE_UNKNOWN"] = 0; + values[valuesById[1] = "TARGET_TYPE_FILE"] = 1; + values[valuesById[2] = "TARGET_TYPE_EXTENSION_RANGE"] = 2; + values[valuesById[3] = "TARGET_TYPE_MESSAGE"] = 3; + values[valuesById[4] = "TARGET_TYPE_FIELD"] = 4; + values[valuesById[5] = "TARGET_TYPE_ONEOF"] = 5; + values[valuesById[6] = "TARGET_TYPE_ENUM"] = 6; + values[valuesById[7] = "TARGET_TYPE_ENUM_ENTRY"] = 7; + values[valuesById[8] = "TARGET_TYPE_SERVICE"] = 8; + values[valuesById[9] = "TARGET_TYPE_METHOD"] = 9; + return values; + })(); + + FieldOptions.EditionDefault = (function() { + + /** + * Properties of an EditionDefault. + * @typedef {Object} google.protobuf.FieldOptions.EditionDefault.$Properties + * @property {google.protobuf.Edition|null} [edition] EditionDefault edition + * @property {string|null} [value] EditionDefault value + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EditionDefault. + * @memberof google.protobuf.FieldOptions + * @interface IEditionDefault + * @augments google.protobuf.FieldOptions.EditionDefault.$Properties + * @deprecated Use google.protobuf.FieldOptions.EditionDefault.$Properties instead. + */ + + /** + * Shape of an EditionDefault. + * @typedef {google.protobuf.FieldOptions.EditionDefault.$Properties} google.protobuf.FieldOptions.EditionDefault.$Shape + */ + + /** + * Constructs a new EditionDefault. + * @memberof google.protobuf.FieldOptions + * @classdesc Represents an EditionDefault. + * @constructor + * @param {google.protobuf.FieldOptions.EditionDefault.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var EditionDefault = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * EditionDefault edition. + * @member {google.protobuf.Edition} edition + * @memberof google.protobuf.FieldOptions.EditionDefault + * @instance + */ + EditionDefault.prototype.edition = 0; + + /** + * EditionDefault value. + * @member {string} value + * @memberof google.protobuf.FieldOptions.EditionDefault + * @instance + */ + EditionDefault.prototype.value = ""; + + /** + * Creates a new EditionDefault instance using the specified properties. + * @function create + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {google.protobuf.FieldOptions.EditionDefault.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance + * @type {{ + * (properties: google.protobuf.FieldOptions.EditionDefault.$Shape): google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape; + * (properties?: google.protobuf.FieldOptions.EditionDefault.$Properties): google.protobuf.FieldOptions.EditionDefault; + * }} + */ + EditionDefault.create = function(properties) { + return new EditionDefault(properties); + }; + + /** + * Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. + * @function encode + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {google.protobuf.FieldOptions.EditionDefault.$Properties} message EditionDefault message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EditionDefault.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + writer.uint32(/* id 2, wireType 2 =*/18).string(message.value); + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {google.protobuf.FieldOptions.EditionDefault.$Properties} message EditionDefault message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EditionDefault.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes an EditionDefault message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape} EditionDefault + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EditionDefault.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FieldOptions.EditionDefault(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 3: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.edition = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 2: { + if (wireType !== 2) + break; + message.value = reader.string(); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes an EditionDefault message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.FieldOptions.EditionDefault & google.protobuf.FieldOptions.EditionDefault.$Shape} EditionDefault + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EditionDefault.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an EditionDefault message. + * @function verify + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EditionDefault.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + switch (message.edition) { + default: + return "edition: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + if (!$util.isString(message.value)) + return "value: string expected"; + return null; + }; + + /** + * Creates an EditionDefault message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault + */ + EditionDefault.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FieldOptions.EditionDefault: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FieldOptions.EditionDefault(); + switch (object.edition) { + case "EDITION_UNKNOWN": + case 0: + message.edition = 0; + break; + case "EDITION_LEGACY": + case 900: + message.edition = 900; + break; + case "EDITION_PROTO2": + case 998: + message.edition = 998; + break; + case "EDITION_PROTO3": + case 999: + message.edition = 999; + break; + case "EDITION_2023": + case 1000: + message.edition = 1000; + break; + case "EDITION_2024": + case 1001: + message.edition = 1001; + break; + case "EDITION_2026": + case 1002: + message.edition = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.edition = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.edition = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.edition = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.edition = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.edition = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.edition = 2147483647; + break; + default: + } + if (object.value != null) + message.value = $String(object.value); + return message; + }; + + /** + * Creates a plain object from an EditionDefault message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + EditionDefault.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.defaults) { + object.value = ""; + object.edition = options.enums === $String ? "EDITION_UNKNOWN" : 0; + } + if (message.value != null && $Object.hasOwnProperty.call(message, "value")) + object.value = message.value; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + object.edition = options.enums === $String ? $root.google.protobuf.Edition[message.edition] === $undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; + return object; + }; + + /** + * Converts this EditionDefault to JSON. + * @function toJSON + * @memberof google.protobuf.FieldOptions.EditionDefault + * @instance + * @returns {Object.} JSON object + */ + EditionDefault.prototype.toJSON = function() { + return EditionDefault.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for EditionDefault + * @function getTypeUrl + * @memberof google.protobuf.FieldOptions.EditionDefault + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + EditionDefault.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FieldOptions.EditionDefault"; + }; + + return EditionDefault; + })(); + + FieldOptions.FeatureSupport = (function() { + + /** + * Properties of a FeatureSupport. + * @typedef {Object} google.protobuf.FieldOptions.FeatureSupport.$Properties + * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced + * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated + * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning + * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FeatureSupport. + * @memberof google.protobuf.FieldOptions + * @interface IFeatureSupport + * @augments google.protobuf.FieldOptions.FeatureSupport.$Properties + * @deprecated Use google.protobuf.FieldOptions.FeatureSupport.$Properties instead. + */ + + /** + * Shape of a FeatureSupport. + * @typedef {google.protobuf.FieldOptions.FeatureSupport.$Properties} google.protobuf.FieldOptions.FeatureSupport.$Shape + */ + + /** + * Constructs a new FeatureSupport. + * @memberof google.protobuf.FieldOptions + * @classdesc Represents a FeatureSupport. + * @constructor + * @param {google.protobuf.FieldOptions.FeatureSupport.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var FeatureSupport = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * FeatureSupport editionIntroduced. + * @member {google.protobuf.Edition} editionIntroduced + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @instance + */ + FeatureSupport.prototype.editionIntroduced = 0; + + /** + * FeatureSupport editionDeprecated. + * @member {google.protobuf.Edition} editionDeprecated + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @instance + */ + FeatureSupport.prototype.editionDeprecated = 0; + + /** + * FeatureSupport deprecationWarning. + * @member {string} deprecationWarning + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @instance + */ + FeatureSupport.prototype.deprecationWarning = ""; + + /** + * FeatureSupport editionRemoved. + * @member {google.protobuf.Edition} editionRemoved + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @instance + */ + FeatureSupport.prototype.editionRemoved = 0; + + /** + * Creates a new FeatureSupport instance using the specified properties. + * @function create + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {google.protobuf.FieldOptions.FeatureSupport.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance + * @type {{ + * (properties: google.protobuf.FieldOptions.FeatureSupport.$Shape): google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape; + * (properties?: google.protobuf.FieldOptions.FeatureSupport.$Properties): google.protobuf.FieldOptions.FeatureSupport; + * }} + */ + FeatureSupport.create = function(properties) { + return new FeatureSupport(properties); + }; + + /** + * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * @function encode + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {google.protobuf.FieldOptions.FeatureSupport.$Properties} message FeatureSupport message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FeatureSupport.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.editionIntroduced != null && $Object.hasOwnProperty.call(message, "editionIntroduced")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced); + if (message.editionDeprecated != null && $Object.hasOwnProperty.call(message, "editionDeprecated")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated); + if (message.deprecationWarning != null && $Object.hasOwnProperty.call(message, "deprecationWarning")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning); + if (message.editionRemoved != null && $Object.hasOwnProperty.call(message, "editionRemoved")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {google.protobuf.FieldOptions.FeatureSupport.$Properties} message FeatureSupport message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + FeatureSupport.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a FeatureSupport message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape} FeatureSupport + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FeatureSupport.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FieldOptions.FeatureSupport(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.editionIntroduced = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 2: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.editionDeprecated = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 3: { + if (wireType !== 2) + break; + message.deprecationWarning = reader.string(); + continue; + } + case 4: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.editionRemoved = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a FeatureSupport message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.FieldOptions.FeatureSupport & google.protobuf.FieldOptions.FeatureSupport.$Shape} FeatureSupport + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + FeatureSupport.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a FeatureSupport message. + * @function verify + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + FeatureSupport.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.editionIntroduced != null && $Object.hasOwnProperty.call(message, "editionIntroduced")) + switch (message.editionIntroduced) { + default: + return "editionIntroduced: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + if (message.editionDeprecated != null && $Object.hasOwnProperty.call(message, "editionDeprecated")) + switch (message.editionDeprecated) { + default: + return "editionDeprecated: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + if (message.deprecationWarning != null && $Object.hasOwnProperty.call(message, "deprecationWarning")) + if (!$util.isString(message.deprecationWarning)) + return "deprecationWarning: string expected"; + if (message.editionRemoved != null && $Object.hasOwnProperty.call(message, "editionRemoved")) + switch (message.editionRemoved) { + default: + return "editionRemoved: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + return null; + }; + + /** + * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport + */ + FeatureSupport.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FieldOptions.FeatureSupport: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FieldOptions.FeatureSupport(); + switch (object.editionIntroduced) { + case "EDITION_UNKNOWN": + case 0: + message.editionIntroduced = 0; + break; + case "EDITION_LEGACY": + case 900: + message.editionIntroduced = 900; + break; + case "EDITION_PROTO2": + case 998: + message.editionIntroduced = 998; + break; + case "EDITION_PROTO3": + case 999: + message.editionIntroduced = 999; + break; + case "EDITION_2023": + case 1000: + message.editionIntroduced = 1000; + break; + case "EDITION_2024": + case 1001: + message.editionIntroduced = 1001; + break; + case "EDITION_2026": + case 1002: + message.editionIntroduced = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.editionIntroduced = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.editionIntroduced = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.editionIntroduced = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.editionIntroduced = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.editionIntroduced = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.editionIntroduced = 2147483647; + break; + default: + } + switch (object.editionDeprecated) { + case "EDITION_UNKNOWN": + case 0: + message.editionDeprecated = 0; + break; + case "EDITION_LEGACY": + case 900: + message.editionDeprecated = 900; + break; + case "EDITION_PROTO2": + case 998: + message.editionDeprecated = 998; + break; + case "EDITION_PROTO3": + case 999: + message.editionDeprecated = 999; + break; + case "EDITION_2023": + case 1000: + message.editionDeprecated = 1000; + break; + case "EDITION_2024": + case 1001: + message.editionDeprecated = 1001; + break; + case "EDITION_2026": + case 1002: + message.editionDeprecated = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.editionDeprecated = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.editionDeprecated = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.editionDeprecated = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.editionDeprecated = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.editionDeprecated = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.editionDeprecated = 2147483647; + break; + default: + } + if (object.deprecationWarning != null) + message.deprecationWarning = $String(object.deprecationWarning); + switch (object.editionRemoved) { + case "EDITION_UNKNOWN": + case 0: + message.editionRemoved = 0; + break; + case "EDITION_LEGACY": + case 900: + message.editionRemoved = 900; + break; + case "EDITION_PROTO2": + case 998: + message.editionRemoved = 998; + break; + case "EDITION_PROTO3": + case 999: + message.editionRemoved = 999; + break; + case "EDITION_2023": + case 1000: + message.editionRemoved = 1000; + break; + case "EDITION_2024": + case 1001: + message.editionRemoved = 1001; + break; + case "EDITION_2026": + case 1002: + message.editionRemoved = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.editionRemoved = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.editionRemoved = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.editionRemoved = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.editionRemoved = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.editionRemoved = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.editionRemoved = 2147483647; + break; + default: + } + return message; + }; + + /** + * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + FeatureSupport.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.defaults) { + object.editionIntroduced = options.enums === $String ? "EDITION_UNKNOWN" : 0; + object.editionDeprecated = options.enums === $String ? "EDITION_UNKNOWN" : 0; + object.deprecationWarning = ""; + object.editionRemoved = options.enums === $String ? "EDITION_UNKNOWN" : 0; + } + if (message.editionIntroduced != null && $Object.hasOwnProperty.call(message, "editionIntroduced")) + object.editionIntroduced = options.enums === $String ? $root.google.protobuf.Edition[message.editionIntroduced] === $undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced; + if (message.editionDeprecated != null && $Object.hasOwnProperty.call(message, "editionDeprecated")) + object.editionDeprecated = options.enums === $String ? $root.google.protobuf.Edition[message.editionDeprecated] === $undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated; + if (message.deprecationWarning != null && $Object.hasOwnProperty.call(message, "deprecationWarning")) + object.deprecationWarning = message.deprecationWarning; + if (message.editionRemoved != null && $Object.hasOwnProperty.call(message, "editionRemoved")) + object.editionRemoved = options.enums === $String ? $root.google.protobuf.Edition[message.editionRemoved] === $undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved; + return object; + }; + + /** + * Converts this FeatureSupport to JSON. + * @function toJSON + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @instance + * @returns {Object.} JSON object + */ + FeatureSupport.prototype.toJSON = function() { + return FeatureSupport.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for FeatureSupport + * @function getTypeUrl + * @memberof google.protobuf.FieldOptions.FeatureSupport + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + FeatureSupport.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FieldOptions.FeatureSupport"; + }; + + return FeatureSupport; + })(); + + return FieldOptions; + })(); + + protobuf.OneofOptions = (function() { + + /** + * Properties of a OneofOptions. + * @typedef {Object} google.protobuf.OneofOptions.$Properties + * @property {google.protobuf.FeatureSet.$Properties|null} [features] OneofOptions features + * @property {Array.|null} [uninterpretedOption] OneofOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a OneofOptions. + * @memberof google.protobuf + * @interface IOneofOptions + * @augments google.protobuf.OneofOptions.$Properties + * @deprecated Use google.protobuf.OneofOptions.$Properties instead. + */ + + /** + * Shape of a OneofOptions. + * @typedef {google.protobuf.OneofOptions.$Properties} google.protobuf.OneofOptions.$Shape + */ + + /** + * Constructs a new OneofOptions. + * @memberof google.protobuf + * @classdesc Represents a OneofOptions. + * @constructor + * @param {google.protobuf.OneofOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var OneofOptions = function (properties) { + this.uninterpretedOption = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * OneofOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.OneofOptions + * @instance + */ + OneofOptions.prototype.features = null; + + /** + * OneofOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.OneofOptions + * @instance + */ + OneofOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new OneofOptions instance using the specified properties. + * @function create + * @memberof google.protobuf.OneofOptions + * @static + * @param {google.protobuf.OneofOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.OneofOptions} OneofOptions instance + * @type {{ + * (properties: google.protobuf.OneofOptions.$Shape): google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape; + * (properties?: google.protobuf.OneofOptions.$Properties): google.protobuf.OneofOptions; + * }} + */ + OneofOptions.create = function(properties) { + return new OneofOptions(properties); + }; + + /** + * Encodes the specified OneofOptions message. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @function encode + * @memberof google.protobuf.OneofOptions + * @static + * @param {google.protobuf.OneofOptions.$Properties} message OneofOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + OneofOptions.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified OneofOptions message, length delimited. Does not implicitly {@link google.protobuf.OneofOptions.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.OneofOptions + * @static + * @param {google.protobuf.OneofOptions.$Properties} message OneofOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + OneofOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a OneofOptions message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.OneofOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape} OneofOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + OneofOptions.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.OneofOptions(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a OneofOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.OneofOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.OneofOptions & google.protobuf.OneofOptions.$Shape} OneofOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + OneofOptions.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a OneofOptions message. + * @function verify + * @memberof google.protobuf.OneofOptions + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + OneofOptions.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; + } + } + return null; + }; + + /** + * Creates a OneofOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.OneofOptions + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.OneofOptions} OneofOptions + */ + OneofOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.OneofOptions) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.OneofOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.OneofOptions(); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.OneofOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.OneofOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); + } + } + return message; + }; + + /** + * Creates a plain object from a OneofOptions message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.OneofOptions + * @static + * @param {google.protobuf.OneofOptions} message OneofOptions + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + OneofOptions.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.uninterpretedOption = []; + if (options.defaults) + object.features = null; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); + } + return object; + }; + + /** + * Converts this OneofOptions to JSON. + * @function toJSON + * @memberof google.protobuf.OneofOptions + * @instance + * @returns {Object.} JSON object + */ + OneofOptions.prototype.toJSON = function() { + return OneofOptions.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for OneofOptions + * @function getTypeUrl + * @memberof google.protobuf.OneofOptions + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + OneofOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.OneofOptions"; + }; + + return OneofOptions; + })(); + + protobuf.EnumOptions = (function() { + + /** + * Properties of an EnumOptions. + * @typedef {Object} google.protobuf.EnumOptions.$Properties + * @property {boolean|null} [allowAlias] EnumOptions allowAlias + * @property {boolean|null} [deprecated] EnumOptions deprecated + * @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] EnumOptions deprecatedLegacyJsonFieldConflicts + * @property {google.protobuf.FeatureSet.$Properties|null} [features] EnumOptions features + * @property {Array.|null} [uninterpretedOption] EnumOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EnumOptions. + * @memberof google.protobuf + * @interface IEnumOptions + * @augments google.protobuf.EnumOptions.$Properties + * @deprecated Use google.protobuf.EnumOptions.$Properties instead. + */ + + /** + * Shape of an EnumOptions. + * @typedef {google.protobuf.EnumOptions.$Properties} google.protobuf.EnumOptions.$Shape + */ + + /** + * Constructs a new EnumOptions. + * @memberof google.protobuf + * @classdesc Represents an EnumOptions. + * @constructor + * @param {google.protobuf.EnumOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var EnumOptions = function (properties) { + this.uninterpretedOption = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * EnumOptions allowAlias. + * @member {boolean} allowAlias + * @memberof google.protobuf.EnumOptions + * @instance + */ + EnumOptions.prototype.allowAlias = false; + + /** + * EnumOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.EnumOptions + * @instance + */ + EnumOptions.prototype.deprecated = false; + + /** + * EnumOptions deprecatedLegacyJsonFieldConflicts. + * @member {boolean} deprecatedLegacyJsonFieldConflicts + * @memberof google.protobuf.EnumOptions + * @instance + */ + EnumOptions.prototype.deprecatedLegacyJsonFieldConflicts = false; + + /** + * EnumOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.EnumOptions + * @instance + */ + EnumOptions.prototype.features = null; + + /** + * EnumOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.EnumOptions + * @instance + */ + EnumOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new EnumOptions instance using the specified properties. + * @function create + * @memberof google.protobuf.EnumOptions + * @static + * @param {google.protobuf.EnumOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.EnumOptions} EnumOptions instance + * @type {{ + * (properties: google.protobuf.EnumOptions.$Shape): google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape; + * (properties?: google.protobuf.EnumOptions.$Properties): google.protobuf.EnumOptions; + * }} + */ + EnumOptions.create = function(properties) { + return new EnumOptions(properties); + }; + + /** + * Encodes the specified EnumOptions message. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * @function encode + * @memberof google.protobuf.EnumOptions + * @static + * @param {google.protobuf.EnumOptions.$Properties} message EnumOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumOptions.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.allowAlias != null && $Object.hasOwnProperty.call(message, "allowAlias")) + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.allowAlias); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated); + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + writer.uint32(/* id 6, wireType 0 =*/48).bool(message.deprecatedLegacyJsonFieldConflicts); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 7, wireType 2 =*/58).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified EnumOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumOptions.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.EnumOptions + * @static + * @param {google.protobuf.EnumOptions.$Properties} message EnumOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes an EnumOptions message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.EnumOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape} EnumOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumOptions.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.EnumOptions(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 2: { + if (wireType !== 0) + break; + message.allowAlias = reader.bool(); + continue; + } + case 3: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 6: { + if (wireType !== 0) + break; + message.deprecatedLegacyJsonFieldConflicts = reader.bool(); + continue; + } + case 7: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes an EnumOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.EnumOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.EnumOptions & google.protobuf.EnumOptions.$Shape} EnumOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumOptions.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an EnumOptions message. + * @function verify + * @memberof google.protobuf.EnumOptions + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EnumOptions.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.allowAlias != null && $Object.hasOwnProperty.call(message, "allowAlias")) + if (typeof message.allowAlias !== "boolean") + return "allowAlias: boolean expected"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + if (typeof message.deprecated !== "boolean") + return "deprecated: boolean expected"; + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean") + return "deprecatedLegacyJsonFieldConflicts: boolean expected"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; + } + } + return null; + }; + + /** + * Creates an EnumOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.EnumOptions + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.EnumOptions} EnumOptions + */ + EnumOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.EnumOptions) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.EnumOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.EnumOptions(); + if (object.allowAlias != null) + message.allowAlias = $Boolean(object.allowAlias); + if (object.deprecated != null) + message.deprecated = $Boolean(object.deprecated); + if (object.deprecatedLegacyJsonFieldConflicts != null) + message.deprecatedLegacyJsonFieldConflicts = $Boolean(object.deprecatedLegacyJsonFieldConflicts); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.EnumOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.EnumOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); + } + } + return message; + }; + + /** + * Creates a plain object from an EnumOptions message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.EnumOptions + * @static + * @param {google.protobuf.EnumOptions} message EnumOptions + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + EnumOptions.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.uninterpretedOption = []; + if (options.defaults) { + object.allowAlias = false; + object.deprecated = false; + object.deprecatedLegacyJsonFieldConflicts = false; + object.features = null; + } + if (message.allowAlias != null && $Object.hasOwnProperty.call(message, "allowAlias")) + object.allowAlias = message.allowAlias; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + object.deprecated = message.deprecated; + if (message.deprecatedLegacyJsonFieldConflicts != null && $Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts")) + object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); + } + return object; + }; + + /** + * Converts this EnumOptions to JSON. + * @function toJSON + * @memberof google.protobuf.EnumOptions + * @instance + * @returns {Object.} JSON object + */ + EnumOptions.prototype.toJSON = function() { + return EnumOptions.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for EnumOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumOptions + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + EnumOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.EnumOptions"; + }; + + return EnumOptions; + })(); + + protobuf.EnumValueOptions = (function() { + + /** + * Properties of an EnumValueOptions. + * @typedef {Object} google.protobuf.EnumValueOptions.$Properties + * @property {boolean|null} [deprecated] EnumValueOptions deprecated + * @property {google.protobuf.FeatureSet.$Properties|null} [features] EnumValueOptions features + * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact + * @property {google.protobuf.FieldOptions.FeatureSupport.$Properties|null} [featureSupport] EnumValueOptions featureSupport + * @property {Array.|null} [uninterpretedOption] EnumValueOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an EnumValueOptions. + * @memberof google.protobuf + * @interface IEnumValueOptions + * @augments google.protobuf.EnumValueOptions.$Properties + * @deprecated Use google.protobuf.EnumValueOptions.$Properties instead. + */ + + /** + * Shape of an EnumValueOptions. + * @typedef {google.protobuf.EnumValueOptions.$Properties} google.protobuf.EnumValueOptions.$Shape + */ + + /** + * Constructs a new EnumValueOptions. + * @memberof google.protobuf + * @classdesc Represents an EnumValueOptions. + * @constructor + * @param {google.protobuf.EnumValueOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var EnumValueOptions = function (properties) { + this.uninterpretedOption = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * EnumValueOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.EnumValueOptions + * @instance + */ + EnumValueOptions.prototype.deprecated = false; + + /** + * EnumValueOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.EnumValueOptions + * @instance + */ + EnumValueOptions.prototype.features = null; + + /** + * EnumValueOptions debugRedact. + * @member {boolean} debugRedact + * @memberof google.protobuf.EnumValueOptions + * @instance + */ + EnumValueOptions.prototype.debugRedact = false; + + /** + * EnumValueOptions featureSupport. + * @member {google.protobuf.FieldOptions.FeatureSupport.$Properties|null|undefined} featureSupport + * @memberof google.protobuf.EnumValueOptions + * @instance + */ + EnumValueOptions.prototype.featureSupport = null; + + /** + * EnumValueOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.EnumValueOptions + * @instance + */ + EnumValueOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new EnumValueOptions instance using the specified properties. + * @function create + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {google.protobuf.EnumValueOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.EnumValueOptions} EnumValueOptions instance + * @type {{ + * (properties: google.protobuf.EnumValueOptions.$Shape): google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape; + * (properties?: google.protobuf.EnumValueOptions.$Properties): google.protobuf.EnumValueOptions; + * }} + */ + EnumValueOptions.create = function(properties) { + return new EnumValueOptions(properties); + }; + + /** + * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * @function encode + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {google.protobuf.EnumValueOptions.$Properties} message EnumValueOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumValueOptions.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deprecated); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact); + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) + $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {google.protobuf.EnumValueOptions.$Properties} message EnumValueOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + EnumValueOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes an EnumValueOptions message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape} EnumValueOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumValueOptions.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.EnumValueOptions(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 2: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 3: { + if (wireType !== 0) + break; + message.debugRedact = reader.bool(); + continue; + } + case 4: { + if (wireType !== 2) + break; + message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32(), $undefined, _depth + 1, message.featureSupport); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.EnumValueOptions & google.protobuf.EnumValueOptions.$Shape} EnumValueOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + EnumValueOptions.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an EnumValueOptions message. + * @function verify + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + EnumValueOptions.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + if (typeof message.deprecated !== "boolean") + return "deprecated: boolean expected"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + if (typeof message.debugRedact !== "boolean") + return "debugRedact: boolean expected"; + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) { + var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport, _depth + 1); + if (error) + return "featureSupport." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; + } + } + return null; + }; + + /** + * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.EnumValueOptions} EnumValueOptions + */ + EnumValueOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.EnumValueOptions) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.EnumValueOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.EnumValueOptions(); + if (object.deprecated != null) + message.deprecated = $Boolean(object.deprecated); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.EnumValueOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.debugRedact != null) + message.debugRedact = $Boolean(object.debugRedact); + if (object.featureSupport != null) { + if (!$util.isObject(object.featureSupport)) + throw $TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected"); + message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport, _depth + 1); + } + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); + } + } + return message; + }; + + /** + * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {google.protobuf.EnumValueOptions} message EnumValueOptions + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + EnumValueOptions.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.uninterpretedOption = []; + if (options.defaults) { + object.deprecated = false; + object.features = null; + object.debugRedact = false; + object.featureSupport = null; + } + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + object.deprecated = message.deprecated; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.debugRedact != null && $Object.hasOwnProperty.call(message, "debugRedact")) + object.debugRedact = message.debugRedact; + if (message.featureSupport != null && $Object.hasOwnProperty.call(message, "featureSupport")) + object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); + } + return object; + }; + + /** + * Converts this EnumValueOptions to JSON. + * @function toJSON + * @memberof google.protobuf.EnumValueOptions + * @instance + * @returns {Object.} JSON object + */ + EnumValueOptions.prototype.toJSON = function() { + return EnumValueOptions.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for EnumValueOptions + * @function getTypeUrl + * @memberof google.protobuf.EnumValueOptions + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + EnumValueOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.EnumValueOptions"; + }; + + return EnumValueOptions; + })(); + + protobuf.ServiceOptions = (function() { + + /** + * Properties of a ServiceOptions. + * @typedef {Object} google.protobuf.ServiceOptions.$Properties + * @property {google.protobuf.FeatureSet.$Properties|null} [features] ServiceOptions features + * @property {boolean|null} [deprecated] ServiceOptions deprecated + * @property {Array.|null} [uninterpretedOption] ServiceOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a ServiceOptions. + * @memberof google.protobuf + * @interface IServiceOptions + * @augments google.protobuf.ServiceOptions.$Properties + * @deprecated Use google.protobuf.ServiceOptions.$Properties instead. + */ + + /** + * Shape of a ServiceOptions. + * @typedef {google.protobuf.ServiceOptions.$Properties} google.protobuf.ServiceOptions.$Shape + */ + + /** + * Constructs a new ServiceOptions. + * @memberof google.protobuf + * @classdesc Represents a ServiceOptions. + * @constructor + * @param {google.protobuf.ServiceOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var ServiceOptions = function (properties) { + this.uninterpretedOption = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * ServiceOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.ServiceOptions + * @instance + */ + ServiceOptions.prototype.features = null; + + /** + * ServiceOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.ServiceOptions + * @instance + */ + ServiceOptions.prototype.deprecated = false; + + /** + * ServiceOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.ServiceOptions + * @instance + */ + ServiceOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new ServiceOptions instance using the specified properties. + * @function create + * @memberof google.protobuf.ServiceOptions + * @static + * @param {google.protobuf.ServiceOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.ServiceOptions} ServiceOptions instance + * @type {{ + * (properties: google.protobuf.ServiceOptions.$Shape): google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape; + * (properties?: google.protobuf.ServiceOptions.$Properties): google.protobuf.ServiceOptions; + * }} + */ + ServiceOptions.create = function(properties) { + return new ServiceOptions(properties); + }; + + /** + * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * @function encode + * @memberof google.protobuf.ServiceOptions + * @static + * @param {google.protobuf.ServiceOptions.$Properties} message ServiceOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ServiceOptions.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 34, wireType 2 =*/274).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.ServiceOptions + * @static + * @param {google.protobuf.ServiceOptions.$Properties} message ServiceOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ServiceOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a ServiceOptions message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.ServiceOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape} ServiceOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ServiceOptions.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.ServiceOptions(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 34: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 33: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.ServiceOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.ServiceOptions & google.protobuf.ServiceOptions.$Shape} ServiceOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ServiceOptions.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a ServiceOptions message. + * @function verify + * @memberof google.protobuf.ServiceOptions + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ServiceOptions.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + if (typeof message.deprecated !== "boolean") + return "deprecated: boolean expected"; + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; + } + } + return null; + }; + + /** + * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.ServiceOptions + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.ServiceOptions} ServiceOptions + */ + ServiceOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.ServiceOptions) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.ServiceOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.ServiceOptions(); + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.ServiceOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.deprecated != null) + message.deprecated = $Boolean(object.deprecated); + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); + } + } + return message; + }; + + /** + * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.ServiceOptions + * @static + * @param {google.protobuf.ServiceOptions} message ServiceOptions + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ServiceOptions.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.uninterpretedOption = []; + if (options.defaults) { + object.deprecated = false; + object.features = null; + } + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + object.deprecated = message.deprecated; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); + } + return object; + }; + + /** + * Converts this ServiceOptions to JSON. + * @function toJSON + * @memberof google.protobuf.ServiceOptions + * @instance + * @returns {Object.} JSON object + */ + ServiceOptions.prototype.toJSON = function() { + return ServiceOptions.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for ServiceOptions + * @function getTypeUrl + * @memberof google.protobuf.ServiceOptions + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + ServiceOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.ServiceOptions"; + }; + + return ServiceOptions; + })(); + + protobuf.MethodOptions = (function() { + + /** + * Properties of a MethodOptions. + * @typedef {Object} google.protobuf.MethodOptions.$Properties + * @property {boolean|null} [deprecated] MethodOptions deprecated + * @property {google.protobuf.MethodOptions.IdempotencyLevel|null} [idempotencyLevel] MethodOptions idempotencyLevel + * @property {google.protobuf.FeatureSet.$Properties|null} [features] MethodOptions features + * @property {Array.|null} [uninterpretedOption] MethodOptions uninterpretedOption + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a MethodOptions. + * @memberof google.protobuf + * @interface IMethodOptions + * @augments google.protobuf.MethodOptions.$Properties + * @deprecated Use google.protobuf.MethodOptions.$Properties instead. + */ + + /** + * Shape of a MethodOptions. + * @typedef {google.protobuf.MethodOptions.$Properties} google.protobuf.MethodOptions.$Shape + */ + + /** + * Constructs a new MethodOptions. + * @memberof google.protobuf + * @classdesc Represents a MethodOptions. + * @constructor + * @param {google.protobuf.MethodOptions.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var MethodOptions = function (properties) { + this.uninterpretedOption = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * MethodOptions deprecated. + * @member {boolean} deprecated + * @memberof google.protobuf.MethodOptions + * @instance + */ + MethodOptions.prototype.deprecated = false; + + /** + * MethodOptions idempotencyLevel. + * @member {google.protobuf.MethodOptions.IdempotencyLevel} idempotencyLevel + * @memberof google.protobuf.MethodOptions + * @instance + */ + MethodOptions.prototype.idempotencyLevel = 0; + + /** + * MethodOptions features. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} features + * @memberof google.protobuf.MethodOptions + * @instance + */ + MethodOptions.prototype.features = null; + + /** + * MethodOptions uninterpretedOption. + * @member {Array.} uninterpretedOption + * @memberof google.protobuf.MethodOptions + * @instance + */ + MethodOptions.prototype.uninterpretedOption = $util.emptyArray; + + /** + * Creates a new MethodOptions instance using the specified properties. + * @function create + * @memberof google.protobuf.MethodOptions + * @static + * @param {google.protobuf.MethodOptions.$Properties=} [properties] Properties to set + * @returns {google.protobuf.MethodOptions} MethodOptions instance + * @type {{ + * (properties: google.protobuf.MethodOptions.$Shape): google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape; + * (properties?: google.protobuf.MethodOptions.$Properties): google.protobuf.MethodOptions; + * }} + */ + MethodOptions.create = function(properties) { + return new MethodOptions(properties); + }; + + /** + * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @function encode + * @memberof google.protobuf.MethodOptions + * @static + * @param {google.protobuf.MethodOptions.$Properties} message MethodOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MethodOptions.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated); + if (message.idempotencyLevel != null && $Object.hasOwnProperty.call(message, "idempotencyLevel")) + writer.uint32(/* id 34, wireType 0 =*/272).int32(message.idempotencyLevel); + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 35, wireType 2 =*/282).fork(), _depth + 1).ldelim(); + if (message.uninterpretedOption != null && message.uninterpretedOption.length) + for (var i = 0; i < message.uninterpretedOption.length; ++i) + $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.MethodOptions + * @static + * @param {google.protobuf.MethodOptions.$Properties} message MethodOptions message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + MethodOptions.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a MethodOptions message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.MethodOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape} MethodOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MethodOptions.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.MethodOptions(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 33: { + if (wireType !== 0) + break; + message.deprecated = reader.bool(); + continue; + } + case 34: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.MethodOptions.IdempotencyLevel[value] !== $undefined) + message.idempotencyLevel = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 35: { + if (wireType !== 2) + break; + message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.features); + continue; + } + case 999: { + if (wireType !== 2) + break; + if (!(message.uninterpretedOption && message.uninterpretedOption.length)) + message.uninterpretedOption = []; + message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a MethodOptions message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.MethodOptions + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.MethodOptions & google.protobuf.MethodOptions.$Shape} MethodOptions + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + MethodOptions.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a MethodOptions message. + * @function verify + * @memberof google.protobuf.MethodOptions + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + MethodOptions.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + if (typeof message.deprecated !== "boolean") + return "deprecated: boolean expected"; + if (message.idempotencyLevel != null && $Object.hasOwnProperty.call(message, "idempotencyLevel")) + switch (message.idempotencyLevel) { + default: + return "idempotencyLevel: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) { + var error = $root.google.protobuf.FeatureSet.verify(message.features, _depth + 1); + if (error) + return "features." + error; + } + if (message.uninterpretedOption != null && $Object.hasOwnProperty.call(message, "uninterpretedOption")) { + if (!$Array.isArray(message.uninterpretedOption)) + return "uninterpretedOption: array expected"; + for (var i = 0; i < message.uninterpretedOption.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i], _depth + 1); + if (error) + return "uninterpretedOption." + error; + } + } + return null; + }; + + /** + * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.MethodOptions + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.MethodOptions} MethodOptions + */ + MethodOptions.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.MethodOptions) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.MethodOptions: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.MethodOptions(); + if (object.deprecated != null) + message.deprecated = $Boolean(object.deprecated); + switch (object.idempotencyLevel) { + case "IDEMPOTENCY_UNKNOWN": + case 0: + message.idempotencyLevel = 0; + break; + case "NO_SIDE_EFFECTS": + case 1: + message.idempotencyLevel = 1; + break; + case "IDEMPOTENT": + case 2: + message.idempotencyLevel = 2; + break; + default: + } + if (object.features != null) { + if (!$util.isObject(object.features)) + throw $TypeError(".google.protobuf.MethodOptions.features: object expected"); + message.features = $root.google.protobuf.FeatureSet.fromObject(object.features, _depth + 1); + } + if (object.uninterpretedOption) { + if (!$Array.isArray(object.uninterpretedOption)) + throw $TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected"); + message.uninterpretedOption = $Array(object.uninterpretedOption.length); + for (var i = 0; i < object.uninterpretedOption.length; ++i) { + if (!$util.isObject(object.uninterpretedOption[i])) + throw $TypeError(".google.protobuf.MethodOptions.uninterpretedOption: object expected"); + message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i], _depth + 1); + } + } + return message; + }; + + /** + * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.MethodOptions + * @static + * @param {google.protobuf.MethodOptions} message MethodOptions + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + MethodOptions.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.uninterpretedOption = []; + if (options.defaults) { + object.deprecated = false; + object.idempotencyLevel = options.enums === $String ? "IDEMPOTENCY_UNKNOWN" : 0; + object.features = null; + } + if (message.deprecated != null && $Object.hasOwnProperty.call(message, "deprecated")) + object.deprecated = message.deprecated; + if (message.idempotencyLevel != null && $Object.hasOwnProperty.call(message, "idempotencyLevel")) + object.idempotencyLevel = options.enums === $String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] === $undefined ? message.idempotencyLevel : $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel; + if (message.features != null && $Object.hasOwnProperty.call(message, "features")) + object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options, _depth + 1); + if (message.uninterpretedOption && message.uninterpretedOption.length) { + object.uninterpretedOption = $Array(message.uninterpretedOption.length); + for (var j = 0; j < message.uninterpretedOption.length; ++j) + object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options, _depth + 1); + } + return object; + }; + + /** + * Converts this MethodOptions to JSON. + * @function toJSON + * @memberof google.protobuf.MethodOptions + * @instance + * @returns {Object.} JSON object + */ + MethodOptions.prototype.toJSON = function() { + return MethodOptions.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for MethodOptions + * @function getTypeUrl + * @memberof google.protobuf.MethodOptions + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + MethodOptions.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.MethodOptions"; + }; + + /** + * IdempotencyLevel enum. + * @name google.protobuf.MethodOptions.IdempotencyLevel + * @enum {number} + * @property {number} IDEMPOTENCY_UNKNOWN=0 IDEMPOTENCY_UNKNOWN value + * @property {number} NO_SIDE_EFFECTS=1 NO_SIDE_EFFECTS value + * @property {number} IDEMPOTENT=2 IDEMPOTENT value + */ + MethodOptions.IdempotencyLevel = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "IDEMPOTENCY_UNKNOWN"] = 0; + values[valuesById[1] = "NO_SIDE_EFFECTS"] = 1; + values[valuesById[2] = "IDEMPOTENT"] = 2; + return values; + })(); + + return MethodOptions; + })(); + + protobuf.UninterpretedOption = (function() { + + /** + * Properties of an UninterpretedOption. + * @typedef {Object} google.protobuf.UninterpretedOption.$Properties + * @property {Array.|null} [name] UninterpretedOption name + * @property {string|null} [identifierValue] UninterpretedOption identifierValue + * @property {number|Long|null} [positiveIntValue] UninterpretedOption positiveIntValue + * @property {number|Long|null} [negativeIntValue] UninterpretedOption negativeIntValue + * @property {number|null} [doubleValue] UninterpretedOption doubleValue + * @property {Uint8Array|null} [stringValue] UninterpretedOption stringValue + * @property {string|null} [aggregateValue] UninterpretedOption aggregateValue + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an UninterpretedOption. + * @memberof google.protobuf + * @interface IUninterpretedOption + * @augments google.protobuf.UninterpretedOption.$Properties + * @deprecated Use google.protobuf.UninterpretedOption.$Properties instead. + */ + + /** + * Shape of an UninterpretedOption. + * @typedef {google.protobuf.UninterpretedOption.$Properties} google.protobuf.UninterpretedOption.$Shape + */ + + /** + * Constructs a new UninterpretedOption. + * @memberof google.protobuf + * @classdesc Represents an UninterpretedOption. + * @constructor + * @param {google.protobuf.UninterpretedOption.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var UninterpretedOption = function (properties) { + this.name = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; /** - * Creates a new EnumValueOptions instance using the specified properties. + * UninterpretedOption name. + * @member {Array.} name + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.name = $util.emptyArray; + + /** + * UninterpretedOption identifierValue. + * @member {string} identifierValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.identifierValue = ""; + + /** + * UninterpretedOption positiveIntValue. + * @member {number|Long} positiveIntValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.positiveIntValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0; + + /** + * UninterpretedOption negativeIntValue. + * @member {number|Long} negativeIntValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.negativeIntValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + + /** + * UninterpretedOption doubleValue. + * @member {number} doubleValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.doubleValue = 0; + + /** + * UninterpretedOption stringValue. + * @member {Uint8Array} stringValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.stringValue = $util.newBuffer([]); + + /** + * UninterpretedOption aggregateValue. + * @member {string} aggregateValue + * @memberof google.protobuf.UninterpretedOption + * @instance + */ + UninterpretedOption.prototype.aggregateValue = ""; + + /** + * Creates a new UninterpretedOption instance using the specified properties. * @function create - * @memberof google.protobuf.EnumValueOptions + * @memberof google.protobuf.UninterpretedOption * @static - * @param {google.protobuf.IEnumValueOptions=} [properties] Properties to set - * @returns {google.protobuf.EnumValueOptions} EnumValueOptions instance + * @param {google.protobuf.UninterpretedOption.$Properties=} [properties] Properties to set + * @returns {google.protobuf.UninterpretedOption} UninterpretedOption instance + * @type {{ + * (properties: google.protobuf.UninterpretedOption.$Shape): google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape; + * (properties?: google.protobuf.UninterpretedOption.$Properties): google.protobuf.UninterpretedOption; + * }} */ - EnumValueOptions.create = function create(properties) { - return new EnumValueOptions(properties); + UninterpretedOption.create = function(properties) { + return new UninterpretedOption(properties); }; /** - * Encodes the specified EnumValueOptions message. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @function encode - * @memberof google.protobuf.EnumValueOptions + * @memberof google.protobuf.UninterpretedOption * @static - * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode + * @param {google.protobuf.UninterpretedOption.$Properties} message UninterpretedOption message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumValueOptions.encode = function encode(message, writer) { + UninterpretedOption.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) - writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deprecated); - if (message.uninterpretedOption != null && message.uninterpretedOption.length) - for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.name != null && message.name.length) + for (var i = 0; i < message.name.length; ++i) + $root.google.protobuf.UninterpretedOption.NamePart.encode(message.name[i], writer.uint32(/* id 2, wireType 2 =*/18).fork(), _depth + 1).ldelim(); + if (message.identifierValue != null && $Object.hasOwnProperty.call(message, "identifierValue")) + writer.uint32(/* id 3, wireType 2 =*/26).string(message.identifierValue); + if (message.positiveIntValue != null && $Object.hasOwnProperty.call(message, "positiveIntValue")) + writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.positiveIntValue); + if (message.negativeIntValue != null && $Object.hasOwnProperty.call(message, "negativeIntValue")) + writer.uint32(/* id 5, wireType 0 =*/40).int64(message.negativeIntValue); + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) + writer.uint32(/* id 6, wireType 1 =*/49).double(message.doubleValue); + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) + writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.stringValue); + if (message.aggregateValue != null && $Object.hasOwnProperty.call(message, "aggregateValue")) + writer.uint32(/* id 8, wireType 2 =*/66).string(message.aggregateValue); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified EnumValueOptions message, length delimited. Does not implicitly {@link google.protobuf.EnumValueOptions.verify|verify} messages. + * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.EnumValueOptions + * @memberof google.protobuf.UninterpretedOption * @static - * @param {google.protobuf.IEnumValueOptions} message EnumValueOptions message or plain object to encode + * @param {google.protobuf.UninterpretedOption.$Properties} message UninterpretedOption message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - EnumValueOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + UninterpretedOption.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes an EnumValueOptions message from the specified reader or buffer. + * Decodes an UninterpretedOption message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.EnumValueOptions + * @memberof google.protobuf.UninterpretedOption * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.EnumValueOptions} EnumValueOptions + * @returns {google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape} UninterpretedOption * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - EnumValueOptions.decode = function decode(reader, length) { + UninterpretedOption.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.EnumValueOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.UninterpretedOption(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.deprecated = reader.bool(); - break; + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 2: { + if (wireType !== 2) + break; + if (!(message.name && message.name.length)) + message.name = []; + message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 3: { + if (wireType !== 2) + break; + message.identifierValue = reader.string(); + continue; } - default: - reader.skipType(tag & 7); - break; + case 4: { + if (wireType !== 0) + break; + message.positiveIntValue = reader.uint64(); + continue; + } + case 5: { + if (wireType !== 0) + break; + message.negativeIntValue = reader.int64(); + continue; + } + case 6: { + if (wireType !== 1) + break; + message.doubleValue = reader.double(); + continue; + } + case 7: { + if (wireType !== 2) + break; + message.stringValue = reader.bytes(); + continue; + } + case 8: { + if (wireType !== 2) + break; + message.aggregateValue = reader.string(); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.UninterpretedOption & google.protobuf.UninterpretedOption.$Shape} UninterpretedOption + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + UninterpretedOption.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies an UninterpretedOption message. + * @function verify + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + UninterpretedOption.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.name != null && $Object.hasOwnProperty.call(message, "name")) { + if (!$Array.isArray(message.name)) + return "name: array expected"; + for (var i = 0; i < message.name.length; ++i) { + var error = $root.google.protobuf.UninterpretedOption.NamePart.verify(message.name[i], _depth + 1); + if (error) + return "name." + error; + } + } + if (message.identifierValue != null && $Object.hasOwnProperty.call(message, "identifierValue")) + if (!$util.isString(message.identifierValue)) + return "identifierValue: string expected"; + if (message.positiveIntValue != null && $Object.hasOwnProperty.call(message, "positiveIntValue")) + if (!$util.isInteger(message.positiveIntValue) && !(message.positiveIntValue && $util.isInteger(message.positiveIntValue.low) && $util.isInteger(message.positiveIntValue.high))) + return "positiveIntValue: integer|Long expected"; + if (message.negativeIntValue != null && $Object.hasOwnProperty.call(message, "negativeIntValue")) + if (!$util.isInteger(message.negativeIntValue) && !(message.negativeIntValue && $util.isInteger(message.negativeIntValue.low) && $util.isInteger(message.negativeIntValue.high))) + return "negativeIntValue: integer|Long expected"; + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) + if (typeof message.doubleValue !== "number") + return "doubleValue: number expected"; + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) + if (!(message.stringValue && typeof message.stringValue.length === "number" || $util.isString(message.stringValue))) + return "stringValue: buffer expected"; + if (message.aggregateValue != null && $Object.hasOwnProperty.call(message, "aggregateValue")) + if (!$util.isString(message.aggregateValue)) + return "aggregateValue: string expected"; + return null; + }; + + /** + * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.UninterpretedOption} UninterpretedOption + */ + UninterpretedOption.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.UninterpretedOption) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.UninterpretedOption: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.UninterpretedOption(); + if (object.name) { + if (!$Array.isArray(object.name)) + throw $TypeError(".google.protobuf.UninterpretedOption.name: array expected"); + message.name = $Array(object.name.length); + for (var i = 0; i < object.name.length; ++i) { + if (!$util.isObject(object.name[i])) + throw $TypeError(".google.protobuf.UninterpretedOption.name: object expected"); + message.name[i] = $root.google.protobuf.UninterpretedOption.NamePart.fromObject(object.name[i], _depth + 1); } } + if (object.identifierValue != null) + message.identifierValue = $String(object.identifierValue); + if (object.positiveIntValue != null) + if ($util.Long) + message.positiveIntValue = $util.Long.fromValue(object.positiveIntValue, true); + else if (typeof object.positiveIntValue === "string") + message.positiveIntValue = $parseInt(object.positiveIntValue, 10); + else if (typeof object.positiveIntValue === "number") + message.positiveIntValue = object.positiveIntValue; + else if (typeof object.positiveIntValue === "object") + message.positiveIntValue = new $util.LongBits(object.positiveIntValue.low >>> 0, object.positiveIntValue.high >>> 0).toNumber(true); + if (object.negativeIntValue != null) + if ($util.Long) + message.negativeIntValue = $util.Long.fromValue(object.negativeIntValue, false); + else if (typeof object.negativeIntValue === "string") + message.negativeIntValue = $parseInt(object.negativeIntValue, 10); + else if (typeof object.negativeIntValue === "number") + message.negativeIntValue = object.negativeIntValue; + else if (typeof object.negativeIntValue === "object") + message.negativeIntValue = new $util.LongBits(object.negativeIntValue.low >>> 0, object.negativeIntValue.high >>> 0).toNumber(); + if (object.doubleValue != null) + message.doubleValue = $Number(object.doubleValue); + if (object.stringValue != null) + if (typeof object.stringValue === "string") + $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0); + else if (object.stringValue.length >= 0) + message.stringValue = object.stringValue; + if (object.aggregateValue != null) + message.aggregateValue = $String(object.aggregateValue); return message; }; /** - * Decodes an EnumValueOptions message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.EnumValueOptions - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.EnumValueOptions} EnumValueOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing + * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.UninterpretedOption + * @static + * @param {google.protobuf.UninterpretedOption} message UninterpretedOption + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + UninterpretedOption.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.arrays || options.defaults) + object.name = []; + if (options.defaults) { + object.identifierValue = ""; + if ($util.Long) { + var long = new $util.Long(0, 0, true); + object.positiveIntValue = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; + } else + object.positiveIntValue = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; + if ($util.Long) { + var long = new $util.Long(0, 0, false); + object.negativeIntValue = options.longs === $String ? long.toString() : options.longs === $Number ? long.toNumber() : typeof $BigInt !== "undefined" && options.longs === $BigInt ? long.toBigInt() : long; + } else + object.negativeIntValue = options.longs === $String ? "0" : typeof $BigInt !== "undefined" && options.longs === $BigInt ? $BigInt("0") : 0; + object.doubleValue = 0; + if (options.bytes === $String) + object.stringValue = ""; + else { + object.stringValue = []; + if (options.bytes !== $Array) + object.stringValue = $util.newBuffer(object.stringValue); + } + object.aggregateValue = ""; + } + if (message.name && message.name.length) { + object.name = $Array(message.name.length); + for (var j = 0; j < message.name.length; ++j) + object.name[j] = $root.google.protobuf.UninterpretedOption.NamePart.toObject(message.name[j], options, _depth + 1); + } + if (message.identifierValue != null && $Object.hasOwnProperty.call(message, "identifierValue")) + object.identifierValue = message.identifierValue; + if (message.positiveIntValue != null && $Object.hasOwnProperty.call(message, "positiveIntValue")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.positiveIntValue = typeof message.positiveIntValue === "number" ? $BigInt(message.positiveIntValue) : $util.Long.fromBits(message.positiveIntValue.low >>> 0, message.positiveIntValue.high >>> 0, true).toBigInt(); + else if (typeof message.positiveIntValue === "number") + object.positiveIntValue = options.longs === $String ? $String(message.positiveIntValue) : message.positiveIntValue; + else + object.positiveIntValue = options.longs === $String ? $util.Long.prototype.toString.call(message.positiveIntValue) : options.longs === $Number ? new $util.LongBits(message.positiveIntValue.low >>> 0, message.positiveIntValue.high >>> 0).toNumber(true) : message.positiveIntValue; + if (message.negativeIntValue != null && $Object.hasOwnProperty.call(message, "negativeIntValue")) + if (typeof $BigInt !== "undefined" && options.longs === $BigInt) + object.negativeIntValue = typeof message.negativeIntValue === "number" ? $BigInt(message.negativeIntValue) : $util.Long.fromBits(message.negativeIntValue.low >>> 0, message.negativeIntValue.high >>> 0, false).toBigInt(); + else if (typeof message.negativeIntValue === "number") + object.negativeIntValue = options.longs === $String ? $String(message.negativeIntValue) : message.negativeIntValue; + else + object.negativeIntValue = options.longs === $String ? $util.Long.prototype.toString.call(message.negativeIntValue) : options.longs === $Number ? new $util.LongBits(message.negativeIntValue.low >>> 0, message.negativeIntValue.high >>> 0).toNumber() : message.negativeIntValue; + if (message.doubleValue != null && $Object.hasOwnProperty.call(message, "doubleValue")) + object.doubleValue = options.json && !$isFinite(message.doubleValue) ? $String(message.doubleValue) : message.doubleValue; + if (message.stringValue != null && $Object.hasOwnProperty.call(message, "stringValue")) + object.stringValue = options.bytes === $String ? $util.base64.encode(message.stringValue, 0, message.stringValue.length) : options.bytes === $Array ? $Array.prototype.slice.call(message.stringValue) : message.stringValue; + if (message.aggregateValue != null && $Object.hasOwnProperty.call(message, "aggregateValue")) + object.aggregateValue = message.aggregateValue; + return object; + }; + + /** + * Converts this UninterpretedOption to JSON. + * @function toJSON + * @memberof google.protobuf.UninterpretedOption + * @instance + * @returns {Object.} JSON object */ - EnumValueOptions.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); + UninterpretedOption.prototype.toJSON = function() { + return UninterpretedOption.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Verifies an EnumValueOptions message. - * @function verify - * @memberof google.protobuf.EnumValueOptions + * Gets the type url for UninterpretedOption + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - EnumValueOptions.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - if (typeof message.deprecated !== "boolean") - return "deprecated: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) - return "uninterpretedOption: array expected"; - for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); - if (error) - return "uninterpretedOption." + error; - } - } - return null; + UninterpretedOption.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.UninterpretedOption"; }; + UninterpretedOption.NamePart = (function() { + + /** + * Properties of a NamePart. + * @typedef {Object} google.protobuf.UninterpretedOption.NamePart.$Properties + * @property {string} namePart NamePart namePart + * @property {boolean} isExtension NamePart isExtension + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a NamePart. + * @memberof google.protobuf.UninterpretedOption + * @interface INamePart + * @augments google.protobuf.UninterpretedOption.NamePart.$Properties + * @deprecated Use google.protobuf.UninterpretedOption.NamePart.$Properties instead. + */ + + /** + * Shape of a NamePart. + * @typedef {google.protobuf.UninterpretedOption.NamePart.$Properties} google.protobuf.UninterpretedOption.NamePart.$Shape + */ + + /** + * Constructs a new NamePart. + * @memberof google.protobuf.UninterpretedOption + * @classdesc Represents a NamePart. + * @constructor + * @param {google.protobuf.UninterpretedOption.NamePart.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var NamePart = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * NamePart namePart. + * @member {string} namePart + * @memberof google.protobuf.UninterpretedOption.NamePart + * @instance + */ + NamePart.prototype.namePart = ""; + + /** + * NamePart isExtension. + * @member {boolean} isExtension + * @memberof google.protobuf.UninterpretedOption.NamePart + * @instance + */ + NamePart.prototype.isExtension = false; + + /** + * Creates a new NamePart instance using the specified properties. + * @function create + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {google.protobuf.UninterpretedOption.NamePart.$Properties=} [properties] Properties to set + * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart instance + * @type {{ + * (properties: google.protobuf.UninterpretedOption.NamePart.$Shape): google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape; + * (properties?: google.protobuf.UninterpretedOption.NamePart.$Properties): google.protobuf.UninterpretedOption.NamePart; + * }} + */ + NamePart.create = function(properties) { + return new NamePart(properties); + }; + + /** + * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @function encode + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {google.protobuf.UninterpretedOption.NamePart.$Properties} message NamePart message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NamePart.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + writer.uint32(/* id 1, wireType 2 =*/10).string(message.namePart); + writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isExtension); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {google.protobuf.UninterpretedOption.NamePart.$Properties} message NamePart message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + NamePart.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a NamePart message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape} NamePart + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NamePart.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.UninterpretedOption.NamePart(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 2) + break; + message.namePart = reader.string(); + continue; + } + case 2: { + if (wireType !== 0) + break; + message.isExtension = reader.bool(); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + if (!$Object.hasOwnProperty.call(message, "namePart")) + throw $util.ProtocolError("missing required 'namePart'", { instance: message }); + if (!$Object.hasOwnProperty.call(message, "isExtension")) + throw $util.ProtocolError("missing required 'isExtension'", { instance: message }); + return message; + }; + + /** + * Decodes a NamePart message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.UninterpretedOption.NamePart & google.protobuf.UninterpretedOption.NamePart.$Shape} NamePart + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + NamePart.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a NamePart message. + * @function verify + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + NamePart.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (!$util.isString(message.namePart)) + return "namePart: string expected"; + if (typeof message.isExtension !== "boolean") + return "isExtension: boolean expected"; + return null; + }; + + /** + * Creates a NamePart message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart + */ + NamePart.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.UninterpretedOption.NamePart) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.UninterpretedOption.NamePart: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.UninterpretedOption.NamePart(); + if (object.namePart != null) + message.namePart = $String(object.namePart); + if (object.isExtension != null) + message.isExtension = $Boolean(object.isExtension); + return message; + }; + + /** + * Creates a plain object from a NamePart message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {google.protobuf.UninterpretedOption.NamePart} message NamePart + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + NamePart.toObject = function (message, options, _depth) { + if (!options) + options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var object = {}; + if (options.defaults) { + object.namePart = ""; + object.isExtension = false; + } + if (message.namePart != null && $Object.hasOwnProperty.call(message, "namePart")) + object.namePart = message.namePart; + if (message.isExtension != null && $Object.hasOwnProperty.call(message, "isExtension")) + object.isExtension = message.isExtension; + return object; + }; + + /** + * Converts this NamePart to JSON. + * @function toJSON + * @memberof google.protobuf.UninterpretedOption.NamePart + * @instance + * @returns {Object.} JSON object + */ + NamePart.prototype.toJSON = function() { + return NamePart.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for NamePart + * @function getTypeUrl + * @memberof google.protobuf.UninterpretedOption.NamePart + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + NamePart.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.UninterpretedOption.NamePart"; + }; + + return NamePart; + })(); + + return UninterpretedOption; + })(); + + protobuf.FeatureSet = (function() { + /** - * Creates an EnumValueOptions message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.EnumValueOptions - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.EnumValueOptions} EnumValueOptions + * Properties of a FeatureSet. + * @typedef {Object} google.protobuf.FeatureSet.$Properties + * @property {google.protobuf.FeatureSet.FieldPresence|null} [fieldPresence] FeatureSet fieldPresence + * @property {google.protobuf.FeatureSet.EnumType|null} [enumType] FeatureSet enumType + * @property {google.protobuf.FeatureSet.RepeatedFieldEncoding|null} [repeatedFieldEncoding] FeatureSet repeatedFieldEncoding + * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation + * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding + * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat + * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle + * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility + * @property {google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits|null} [enforceProtoLimits] FeatureSet enforceProtoLimits + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a FeatureSet. + * @memberof google.protobuf + * @interface IFeatureSet + * @augments google.protobuf.FeatureSet.$Properties + * @deprecated Use google.protobuf.FeatureSet.$Properties instead. */ - EnumValueOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.EnumValueOptions) - return object; - var message = new $root.google.protobuf.EnumValueOptions(); - if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; - for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); - } - } - return message; - }; /** - * Creates a plain object from an EnumValueOptions message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.EnumValueOptions - * @static - * @param {google.protobuf.EnumValueOptions} message EnumValueOptions - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object + * Shape of a FeatureSet. + * @typedef {google.protobuf.FeatureSet.$Properties} google.protobuf.FeatureSet.$Shape */ - EnumValueOptions.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.uninterpretedOption = []; - if (options.defaults) - object.deprecated = false; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - object.deprecated = message.deprecated; - if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; - for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); - } - return object; + + /** + * Constructs a new FeatureSet. + * @memberof google.protobuf + * @classdesc Represents a FeatureSet. + * @constructor + * @param {google.protobuf.FeatureSet.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var FeatureSet = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; }; /** - * Converts this EnumValueOptions to JSON. - * @function toJSON - * @memberof google.protobuf.EnumValueOptions + * FeatureSet fieldPresence. + * @member {google.protobuf.FeatureSet.FieldPresence} fieldPresence + * @memberof google.protobuf.FeatureSet * @instance - * @returns {Object.} JSON object */ - EnumValueOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + FeatureSet.prototype.fieldPresence = 0; /** - * Gets the default type url for EnumValueOptions - * @function getTypeUrl - * @memberof google.protobuf.EnumValueOptions - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * FeatureSet enumType. + * @member {google.protobuf.FeatureSet.EnumType} enumType + * @memberof google.protobuf.FeatureSet + * @instance */ - EnumValueOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.EnumValueOptions"; - }; + FeatureSet.prototype.enumType = 0; - return EnumValueOptions; - })(); + /** + * FeatureSet repeatedFieldEncoding. + * @member {google.protobuf.FeatureSet.RepeatedFieldEncoding} repeatedFieldEncoding + * @memberof google.protobuf.FeatureSet + * @instance + */ + FeatureSet.prototype.repeatedFieldEncoding = 0; - protobuf.ServiceOptions = (function() { + /** + * FeatureSet utf8Validation. + * @member {google.protobuf.FeatureSet.Utf8Validation} utf8Validation + * @memberof google.protobuf.FeatureSet + * @instance + */ + FeatureSet.prototype.utf8Validation = 0; /** - * Properties of a ServiceOptions. - * @memberof google.protobuf - * @interface IServiceOptions - * @property {boolean|null} [deprecated] ServiceOptions deprecated - * @property {Array.|null} [uninterpretedOption] ServiceOptions uninterpretedOption + * FeatureSet messageEncoding. + * @member {google.protobuf.FeatureSet.MessageEncoding} messageEncoding + * @memberof google.protobuf.FeatureSet + * @instance */ + FeatureSet.prototype.messageEncoding = 0; /** - * Constructs a new ServiceOptions. - * @memberof google.protobuf - * @classdesc Represents a ServiceOptions. - * @implements IServiceOptions - * @constructor - * @param {google.protobuf.IServiceOptions=} [properties] Properties to set + * FeatureSet jsonFormat. + * @member {google.protobuf.FeatureSet.JsonFormat} jsonFormat + * @memberof google.protobuf.FeatureSet + * @instance */ - function ServiceOptions(properties) { - this.uninterpretedOption = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + FeatureSet.prototype.jsonFormat = 0; /** - * ServiceOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.ServiceOptions + * FeatureSet enforceNamingStyle. + * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle + * @memberof google.protobuf.FeatureSet * @instance */ - ServiceOptions.prototype.deprecated = false; + FeatureSet.prototype.enforceNamingStyle = 0; /** - * ServiceOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.ServiceOptions + * FeatureSet defaultSymbolVisibility. + * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility + * @memberof google.protobuf.FeatureSet * @instance */ - ServiceOptions.prototype.uninterpretedOption = $util.emptyArray; + FeatureSet.prototype.defaultSymbolVisibility = 0; /** - * Creates a new ServiceOptions instance using the specified properties. + * FeatureSet enforceProtoLimits. + * @member {google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits} enforceProtoLimits + * @memberof google.protobuf.FeatureSet + * @instance + */ + FeatureSet.prototype.enforceProtoLimits = 0; + + /** + * Creates a new FeatureSet instance using the specified properties. * @function create - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static - * @param {google.protobuf.IServiceOptions=} [properties] Properties to set - * @returns {google.protobuf.ServiceOptions} ServiceOptions instance - */ - ServiceOptions.create = function create(properties) { - return new ServiceOptions(properties); + * @param {google.protobuf.FeatureSet.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FeatureSet} FeatureSet instance + * @type {{ + * (properties: google.protobuf.FeatureSet.$Shape): google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape; + * (properties?: google.protobuf.FeatureSet.$Properties): google.protobuf.FeatureSet; + * }} + */ + FeatureSet.create = function(properties) { + return new FeatureSet(properties); }; /** - * Encodes the specified ServiceOptions message. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @function encode - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static - * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode + * @param {google.protobuf.FeatureSet.$Properties} message FeatureSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ServiceOptions.encode = function encode(message, writer) { + FeatureSet.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) - writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated); - if (message.uninterpretedOption != null && message.uninterpretedOption.length) - for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.fieldPresence != null && $Object.hasOwnProperty.call(message, "fieldPresence")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.fieldPresence); + if (message.enumType != null && $Object.hasOwnProperty.call(message, "enumType")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.enumType); + if (message.repeatedFieldEncoding != null && $Object.hasOwnProperty.call(message, "repeatedFieldEncoding")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.repeatedFieldEncoding); + if (message.utf8Validation != null && $Object.hasOwnProperty.call(message, "utf8Validation")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.utf8Validation); + if (message.messageEncoding != null && $Object.hasOwnProperty.call(message, "messageEncoding")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding); + if (message.jsonFormat != null && $Object.hasOwnProperty.call(message, "jsonFormat")) + writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat); + if (message.enforceNamingStyle != null && $Object.hasOwnProperty.call(message, "enforceNamingStyle")) + writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle); + if (message.defaultSymbolVisibility != null && $Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) + writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility); + if (message.enforceProtoLimits != null && $Object.hasOwnProperty.call(message, "enforceProtoLimits")) + writer.uint32(/* id 9, wireType 0 =*/72).int32(message.enforceProtoLimits); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified ServiceOptions message, length delimited. Does not implicitly {@link google.protobuf.ServiceOptions.verify|verify} messages. + * Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static - * @param {google.protobuf.IServiceOptions} message ServiceOptions message or plain object to encode + * @param {google.protobuf.FeatureSet.$Properties} message FeatureSet message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - ServiceOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FeatureSet.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a ServiceOptions message from the specified reader or buffer. + * Decodes a FeatureSet message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.ServiceOptions} ServiceOptions + * @returns {google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape} FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ServiceOptions.decode = function decode(reader, length) { + FeatureSet.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.ServiceOptions(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FeatureSet(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 33: { - message.deprecated = reader.bool(); - break; + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.FieldPresence[value] !== $undefined) + message.fieldPresence = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + case 2: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.EnumType[value] !== $undefined) + message.enumType = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - default: - reader.skipType(tag & 7); - break; + case 3: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.RepeatedFieldEncoding[value] !== $undefined) + message.repeatedFieldEncoding = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 4: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.Utf8Validation[value] !== $undefined) + message.utf8Validation = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 5: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.MessageEncoding[value] !== $undefined) + message.messageEncoding = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 6: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.JsonFormat[value] !== $undefined) + message.jsonFormat = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 7: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.EnforceNamingStyle[value] !== $undefined) + message.enforceNamingStyle = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 8: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[value] !== $undefined) + message.defaultSymbolVisibility = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + case 9: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits[value] !== $undefined) + message.enforceProtoLimits = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a ServiceOptions message from the specified reader or buffer, length delimited. + * Decodes a FeatureSet message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.ServiceOptions} ServiceOptions + * @returns {google.protobuf.FeatureSet & google.protobuf.FeatureSet.$Shape} FeatureSet * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - ServiceOptions.decodeDelimited = function decodeDelimited(reader) { + FeatureSet.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a ServiceOptions message. + * Verifies a FeatureSet message. * @function verify - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - ServiceOptions.verify = function verify(message) { + FeatureSet.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - if (typeof message.deprecated !== "boolean") - return "deprecated: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) - return "uninterpretedOption: array expected"; - for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); - if (error) - return "uninterpretedOption." + error; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.fieldPresence != null && $Object.hasOwnProperty.call(message, "fieldPresence")) + switch (message.fieldPresence) { + default: + return "fieldPresence: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.enumType != null && $Object.hasOwnProperty.call(message, "enumType")) + switch (message.enumType) { + default: + return "enumType: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.repeatedFieldEncoding != null && $Object.hasOwnProperty.call(message, "repeatedFieldEncoding")) + switch (message.repeatedFieldEncoding) { + default: + return "repeatedFieldEncoding: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.utf8Validation != null && $Object.hasOwnProperty.call(message, "utf8Validation")) + switch (message.utf8Validation) { + default: + return "utf8Validation: enum value expected"; + case 0: + case 2: + case 3: + break; + } + if (message.messageEncoding != null && $Object.hasOwnProperty.call(message, "messageEncoding")) + switch (message.messageEncoding) { + default: + return "messageEncoding: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.jsonFormat != null && $Object.hasOwnProperty.call(message, "jsonFormat")) + switch (message.jsonFormat) { + default: + return "jsonFormat: enum value expected"; + case 0: + case 1: + case 2: + break; + } + if (message.enforceNamingStyle != null && $Object.hasOwnProperty.call(message, "enforceNamingStyle")) + switch (message.enforceNamingStyle) { + default: + return "enforceNamingStyle: enum value expected"; + case 0: + case 1: + case 2: + case 3: + break; + } + if (message.defaultSymbolVisibility != null && $Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) + switch (message.defaultSymbolVisibility) { + default: + return "defaultSymbolVisibility: enum value expected"; + case 0: + case 1: + case 2: + case 3: + case 4: + break; + } + if (message.enforceProtoLimits != null && $Object.hasOwnProperty.call(message, "enforceProtoLimits")) + switch (message.enforceProtoLimits) { + default: + return "enforceProtoLimits: enum value expected"; + case 0: + case 1: + case 2: + break; } + return null; + }; + + /** + * Creates a FeatureSet message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.FeatureSet + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.FeatureSet} FeatureSet + */ + FeatureSet.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FeatureSet) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FeatureSet: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FeatureSet(); + switch (object.fieldPresence) { + case "FIELD_PRESENCE_UNKNOWN": + case 0: + message.fieldPresence = 0; + break; + case "EXPLICIT": + case 1: + message.fieldPresence = 1; + break; + case "IMPLICIT": + case 2: + message.fieldPresence = 2; + break; + case "LEGACY_REQUIRED": + case 3: + message.fieldPresence = 3; + break; + default: + } + switch (object.enumType) { + case "ENUM_TYPE_UNKNOWN": + case 0: + message.enumType = 0; + break; + case "OPEN": + case 1: + message.enumType = 1; + break; + case "CLOSED": + case 2: + message.enumType = 2; + break; + default: + } + switch (object.repeatedFieldEncoding) { + case "REPEATED_FIELD_ENCODING_UNKNOWN": + case 0: + message.repeatedFieldEncoding = 0; + break; + case "PACKED": + case 1: + message.repeatedFieldEncoding = 1; + break; + case "EXPANDED": + case 2: + message.repeatedFieldEncoding = 2; + break; + default: + } + switch (object.utf8Validation) { + case "UTF8_VALIDATION_UNKNOWN": + case 0: + message.utf8Validation = 0; + break; + case "VERIFY": + case 2: + message.utf8Validation = 2; + break; + case "NONE": + case 3: + message.utf8Validation = 3; + break; + default: + } + switch (object.messageEncoding) { + case "MESSAGE_ENCODING_UNKNOWN": + case 0: + message.messageEncoding = 0; + break; + case "LENGTH_PREFIXED": + case 1: + message.messageEncoding = 1; + break; + case "DELIMITED": + case 2: + message.messageEncoding = 2; + break; + default: + } + switch (object.jsonFormat) { + case "JSON_FORMAT_UNKNOWN": + case 0: + message.jsonFormat = 0; + break; + case "ALLOW": + case 1: + message.jsonFormat = 1; + break; + case "LEGACY_BEST_EFFORT": + case 2: + message.jsonFormat = 2; + break; + default: } - return null; - }; - - /** - * Creates a ServiceOptions message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.ServiceOptions - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.ServiceOptions} ServiceOptions - */ - ServiceOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.ServiceOptions) - return object; - var message = new $root.google.protobuf.ServiceOptions(); - if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; - for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.ServiceOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); - } + switch (object.enforceNamingStyle) { + case "ENFORCE_NAMING_STYLE_UNKNOWN": + case 0: + message.enforceNamingStyle = 0; + break; + case "STYLE2024": + case 1: + message.enforceNamingStyle = 1; + break; + case "STYLE_LEGACY": + case 2: + message.enforceNamingStyle = 2; + break; + case "STYLE2026": + case 3: + message.enforceNamingStyle = 3; + break; + default: + } + switch (object.defaultSymbolVisibility) { + case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN": + case 0: + message.defaultSymbolVisibility = 0; + break; + case "EXPORT_ALL": + case 1: + message.defaultSymbolVisibility = 1; + break; + case "EXPORT_TOP_LEVEL": + case 2: + message.defaultSymbolVisibility = 2; + break; + case "LOCAL_ALL": + case 3: + message.defaultSymbolVisibility = 3; + break; + case "STRICT": + case 4: + message.defaultSymbolVisibility = 4; + break; + default: + } + switch (object.enforceProtoLimits) { + case "PROTO_LIMITS_UNKNOWN": + case 0: + message.enforceProtoLimits = 0; + break; + case "LEGACY_NO_EXPLICIT_LIMITS": + case 1: + message.enforceProtoLimits = 1; + break; + case "PROTO_LIMITS2026": + case 2: + message.enforceProtoLimits = 2; + break; + default: } return message; }; /** - * Creates a plain object from a ServiceOptions message. Also converts values to other types if specified. + * Creates a plain object from a FeatureSet message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static - * @param {google.protobuf.ServiceOptions} message ServiceOptions + * @param {google.protobuf.FeatureSet} message FeatureSet * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - ServiceOptions.toObject = function toObject(message, options) { + FeatureSet.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; - if (options.arrays || options.defaults) - object.uninterpretedOption = []; - if (options.defaults) - object.deprecated = false; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - object.deprecated = message.deprecated; - if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; - for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); + if (options.defaults) { + object.fieldPresence = options.enums === $String ? "FIELD_PRESENCE_UNKNOWN" : 0; + object.enumType = options.enums === $String ? "ENUM_TYPE_UNKNOWN" : 0; + object.repeatedFieldEncoding = options.enums === $String ? "REPEATED_FIELD_ENCODING_UNKNOWN" : 0; + object.utf8Validation = options.enums === $String ? "UTF8_VALIDATION_UNKNOWN" : 0; + object.messageEncoding = options.enums === $String ? "MESSAGE_ENCODING_UNKNOWN" : 0; + object.jsonFormat = options.enums === $String ? "JSON_FORMAT_UNKNOWN" : 0; + object.enforceNamingStyle = options.enums === $String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0; + object.defaultSymbolVisibility = options.enums === $String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0; + object.enforceProtoLimits = options.enums === $String ? "PROTO_LIMITS_UNKNOWN" : 0; } + if (message.fieldPresence != null && $Object.hasOwnProperty.call(message, "fieldPresence")) + object.fieldPresence = options.enums === $String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === $undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence; + if (message.enumType != null && $Object.hasOwnProperty.call(message, "enumType")) + object.enumType = options.enums === $String ? $root.google.protobuf.FeatureSet.EnumType[message.enumType] === $undefined ? message.enumType : $root.google.protobuf.FeatureSet.EnumType[message.enumType] : message.enumType; + if (message.repeatedFieldEncoding != null && $Object.hasOwnProperty.call(message, "repeatedFieldEncoding")) + object.repeatedFieldEncoding = options.enums === $String ? $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] === $undefined ? message.repeatedFieldEncoding : $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] : message.repeatedFieldEncoding; + if (message.utf8Validation != null && $Object.hasOwnProperty.call(message, "utf8Validation")) + object.utf8Validation = options.enums === $String ? $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] === $undefined ? message.utf8Validation : $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] : message.utf8Validation; + if (message.messageEncoding != null && $Object.hasOwnProperty.call(message, "messageEncoding")) + object.messageEncoding = options.enums === $String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === $undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding; + if (message.jsonFormat != null && $Object.hasOwnProperty.call(message, "jsonFormat")) + object.jsonFormat = options.enums === $String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === $undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat; + if (message.enforceNamingStyle != null && $Object.hasOwnProperty.call(message, "enforceNamingStyle")) + object.enforceNamingStyle = options.enums === $String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === $undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle; + if (message.defaultSymbolVisibility != null && $Object.hasOwnProperty.call(message, "defaultSymbolVisibility")) + object.defaultSymbolVisibility = options.enums === $String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === $undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility; + if (message.enforceProtoLimits != null && $Object.hasOwnProperty.call(message, "enforceProtoLimits")) + object.enforceProtoLimits = options.enums === $String ? $root.google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits[message.enforceProtoLimits] === $undefined ? message.enforceProtoLimits : $root.google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits[message.enforceProtoLimits] : message.enforceProtoLimits; return object; }; /** - * Converts this ServiceOptions to JSON. + * Converts this FeatureSet to JSON. * @function toJSON - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @instance * @returns {Object.} JSON object */ - ServiceOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FeatureSet.prototype.toJSON = function() { + return FeatureSet.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for ServiceOptions + * Gets the type url for FeatureSet * @function getTypeUrl - * @memberof google.protobuf.ServiceOptions + * @memberof google.protobuf.FeatureSet * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - ServiceOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.ServiceOptions"; + FeatureSet.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FeatureSet"; }; - return ServiceOptions; - })(); + /** + * FieldPresence enum. + * @name google.protobuf.FeatureSet.FieldPresence + * @enum {number} + * @property {number} FIELD_PRESENCE_UNKNOWN=0 FIELD_PRESENCE_UNKNOWN value + * @property {number} EXPLICIT=1 EXPLICIT value + * @property {number} IMPLICIT=2 IMPLICIT value + * @property {number} LEGACY_REQUIRED=3 LEGACY_REQUIRED value + */ + FeatureSet.FieldPresence = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "FIELD_PRESENCE_UNKNOWN"] = 0; + values[valuesById[1] = "EXPLICIT"] = 1; + values[valuesById[2] = "IMPLICIT"] = 2; + values[valuesById[3] = "LEGACY_REQUIRED"] = 3; + return values; + })(); - protobuf.MethodOptions = (function() { + /** + * EnumType enum. + * @name google.protobuf.FeatureSet.EnumType + * @enum {number} + * @property {number} ENUM_TYPE_UNKNOWN=0 ENUM_TYPE_UNKNOWN value + * @property {number} OPEN=1 OPEN value + * @property {number} CLOSED=2 CLOSED value + */ + FeatureSet.EnumType = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "ENUM_TYPE_UNKNOWN"] = 0; + values[valuesById[1] = "OPEN"] = 1; + values[valuesById[2] = "CLOSED"] = 2; + return values; + })(); /** - * Properties of a MethodOptions. - * @memberof google.protobuf - * @interface IMethodOptions - * @property {boolean|null} [deprecated] MethodOptions deprecated - * @property {Array.|null} [uninterpretedOption] MethodOptions uninterpretedOption - */ + * RepeatedFieldEncoding enum. + * @name google.protobuf.FeatureSet.RepeatedFieldEncoding + * @enum {number} + * @property {number} REPEATED_FIELD_ENCODING_UNKNOWN=0 REPEATED_FIELD_ENCODING_UNKNOWN value + * @property {number} PACKED=1 PACKED value + * @property {number} EXPANDED=2 EXPANDED value + */ + FeatureSet.RepeatedFieldEncoding = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "REPEATED_FIELD_ENCODING_UNKNOWN"] = 0; + values[valuesById[1] = "PACKED"] = 1; + values[valuesById[2] = "EXPANDED"] = 2; + return values; + })(); /** - * Constructs a new MethodOptions. - * @memberof google.protobuf - * @classdesc Represents a MethodOptions. - * @implements IMethodOptions - * @constructor - * @param {google.protobuf.IMethodOptions=} [properties] Properties to set - */ - function MethodOptions(properties) { - this.uninterpretedOption = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + * Utf8Validation enum. + * @name google.protobuf.FeatureSet.Utf8Validation + * @enum {number} + * @property {number} UTF8_VALIDATION_UNKNOWN=0 UTF8_VALIDATION_UNKNOWN value + * @property {number} VERIFY=2 VERIFY value + * @property {number} NONE=3 NONE value + */ + FeatureSet.Utf8Validation = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "UTF8_VALIDATION_UNKNOWN"] = 0; + values[valuesById[2] = "VERIFY"] = 2; + values[valuesById[3] = "NONE"] = 3; + return values; + })(); /** - * MethodOptions deprecated. - * @member {boolean} deprecated - * @memberof google.protobuf.MethodOptions - * @instance - */ - MethodOptions.prototype.deprecated = false; + * MessageEncoding enum. + * @name google.protobuf.FeatureSet.MessageEncoding + * @enum {number} + * @property {number} MESSAGE_ENCODING_UNKNOWN=0 MESSAGE_ENCODING_UNKNOWN value + * @property {number} LENGTH_PREFIXED=1 LENGTH_PREFIXED value + * @property {number} DELIMITED=2 DELIMITED value + */ + FeatureSet.MessageEncoding = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "MESSAGE_ENCODING_UNKNOWN"] = 0; + values[valuesById[1] = "LENGTH_PREFIXED"] = 1; + values[valuesById[2] = "DELIMITED"] = 2; + return values; + })(); /** - * MethodOptions uninterpretedOption. - * @member {Array.} uninterpretedOption - * @memberof google.protobuf.MethodOptions - * @instance - */ - MethodOptions.prototype.uninterpretedOption = $util.emptyArray; + * JsonFormat enum. + * @name google.protobuf.FeatureSet.JsonFormat + * @enum {number} + * @property {number} JSON_FORMAT_UNKNOWN=0 JSON_FORMAT_UNKNOWN value + * @property {number} ALLOW=1 ALLOW value + * @property {number} LEGACY_BEST_EFFORT=2 LEGACY_BEST_EFFORT value + */ + FeatureSet.JsonFormat = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "JSON_FORMAT_UNKNOWN"] = 0; + values[valuesById[1] = "ALLOW"] = 1; + values[valuesById[2] = "LEGACY_BEST_EFFORT"] = 2; + return values; + })(); + + /** + * EnforceNamingStyle enum. + * @name google.protobuf.FeatureSet.EnforceNamingStyle + * @enum {number} + * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value + * @property {number} STYLE2024=1 STYLE2024 value + * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value + * @property {number} STYLE2026=3 STYLE2026 value + */ + FeatureSet.EnforceNamingStyle = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0; + values[valuesById[1] = "STYLE2024"] = 1; + values[valuesById[2] = "STYLE_LEGACY"] = 2; + values[valuesById[3] = "STYLE2026"] = 3; + return values; + })(); + + FeatureSet.VisibilityFeature = (function() { + + /** + * Properties of a VisibilityFeature. + * @typedef {Object} google.protobuf.FeatureSet.VisibilityFeature.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a VisibilityFeature. + * @memberof google.protobuf.FeatureSet + * @interface IVisibilityFeature + * @augments google.protobuf.FeatureSet.VisibilityFeature.$Properties + * @deprecated Use google.protobuf.FeatureSet.VisibilityFeature.$Properties instead. + */ + + /** + * Shape of a VisibilityFeature. + * @typedef {google.protobuf.FeatureSet.VisibilityFeature.$Properties} google.protobuf.FeatureSet.VisibilityFeature.$Shape + */ + + /** + * Constructs a new VisibilityFeature. + * @memberof google.protobuf.FeatureSet + * @classdesc Represents a VisibilityFeature. + * @constructor + * @param {google.protobuf.FeatureSet.VisibilityFeature.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var VisibilityFeature = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; + + /** + * Creates a new VisibilityFeature instance using the specified properties. + * @function create + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {google.protobuf.FeatureSet.VisibilityFeature.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance + * @type {{ + * (properties: google.protobuf.FeatureSet.VisibilityFeature.$Shape): google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape; + * (properties?: google.protobuf.FeatureSet.VisibilityFeature.$Properties): google.protobuf.FeatureSet.VisibilityFeature; + * }} + */ + VisibilityFeature.create = function(properties) { + return new VisibilityFeature(properties); + }; + + /** + * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. + * @function encode + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {google.protobuf.FeatureSet.VisibilityFeature.$Properties} message VisibilityFeature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VisibilityFeature.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; + + /** + * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {google.protobuf.FeatureSet.VisibilityFeature.$Properties} message VisibilityFeature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + VisibilityFeature.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; + + /** + * Decodes a VisibilityFeature message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape} VisibilityFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VisibilityFeature.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FeatureSet.VisibilityFeature(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; + + /** + * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.FeatureSet.VisibilityFeature & google.protobuf.FeatureSet.VisibilityFeature.$Shape} VisibilityFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + VisibilityFeature.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a VisibilityFeature message. + * @function verify + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + VisibilityFeature.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + return null; + }; + + /** + * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature + */ + VisibilityFeature.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FeatureSet.VisibilityFeature: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + return new $root.google.protobuf.FeatureSet.VisibilityFeature(); + }; + + /** + * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + VisibilityFeature.toObject = function () { + return {}; + }; + + /** + * Converts this VisibilityFeature to JSON. + * @function toJSON + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @instance + * @returns {Object.} JSON object + */ + VisibilityFeature.prototype.toJSON = function() { + return VisibilityFeature.toObject(this, $protobuf.util.toJSONOptions); + }; + + /** + * Gets the type url for VisibilityFeature + * @function getTypeUrl + * @memberof google.protobuf.FeatureSet.VisibilityFeature + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + VisibilityFeature.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FeatureSet.VisibilityFeature"; + }; + + /** + * DefaultSymbolVisibility enum. + * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility + * @enum {number} + * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value + * @property {number} EXPORT_ALL=1 EXPORT_ALL value + * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value + * @property {number} LOCAL_ALL=3 LOCAL_ALL value + * @property {number} STRICT=4 STRICT value + */ + VisibilityFeature.DefaultSymbolVisibility = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0; + values[valuesById[1] = "EXPORT_ALL"] = 1; + values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2; + values[valuesById[3] = "LOCAL_ALL"] = 3; + values[valuesById[4] = "STRICT"] = 4; + return values; + })(); + + return VisibilityFeature; + })(); + + FeatureSet.ProtoLimitsFeature = (function() { + + /** + * Properties of a ProtoLimitsFeature. + * @typedef {Object} google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a ProtoLimitsFeature. + * @memberof google.protobuf.FeatureSet + * @interface IProtoLimitsFeature + * @augments google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties + * @deprecated Use google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties instead. + */ + + /** + * Shape of a ProtoLimitsFeature. + * @typedef {google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties} google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape + */ + + /** + * Constructs a new ProtoLimitsFeature. + * @memberof google.protobuf.FeatureSet + * @classdesc Represents a ProtoLimitsFeature. + * @constructor + * @param {google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + var ProtoLimitsFeature = function (properties) { + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; - /** - * Creates a new MethodOptions instance using the specified properties. - * @function create - * @memberof google.protobuf.MethodOptions - * @static - * @param {google.protobuf.IMethodOptions=} [properties] Properties to set - * @returns {google.protobuf.MethodOptions} MethodOptions instance - */ - MethodOptions.create = function create(properties) { - return new MethodOptions(properties); - }; + /** + * Creates a new ProtoLimitsFeature instance using the specified properties. + * @function create + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature} ProtoLimitsFeature instance + * @type {{ + * (properties: google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape): google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape; + * (properties?: google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties): google.protobuf.FeatureSet.ProtoLimitsFeature; + * }} + */ + ProtoLimitsFeature.create = function(properties) { + return new ProtoLimitsFeature(properties); + }; - /** - * Encodes the specified MethodOptions message. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @function encode - * @memberof google.protobuf.MethodOptions - * @static - * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MethodOptions.encode = function encode(message, writer) { - if (!writer) - writer = $Writer.create(); - if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated")) - writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated); - if (message.uninterpretedOption != null && message.uninterpretedOption.length) - for (var i = 0; i < message.uninterpretedOption.length; ++i) - $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim(); - return writer; - }; + /** + * Encodes the specified ProtoLimitsFeature message. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. + * @function encode + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties} message ProtoLimitsFeature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ProtoLimitsFeature.encode = function (message, writer, _depth) { + if (!writer) + writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); + return writer; + }; - /** - * Encodes the specified MethodOptions message, length delimited. Does not implicitly {@link google.protobuf.MethodOptions.verify|verify} messages. - * @function encodeDelimited - * @memberof google.protobuf.MethodOptions - * @static - * @param {google.protobuf.IMethodOptions} message MethodOptions message or plain object to encode - * @param {$protobuf.Writer} [writer] Writer to encode to - * @returns {$protobuf.Writer} Writer - */ - MethodOptions.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); - }; + /** + * Encodes the specified ProtoLimitsFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.ProtoLimitsFeature.verify|verify} messages. + * @function encodeDelimited + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {google.protobuf.FeatureSet.ProtoLimitsFeature.$Properties} message ProtoLimitsFeature message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + ProtoLimitsFeature.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); + }; - /** - * Decodes a MethodOptions message from the specified reader or buffer. - * @function decode - * @memberof google.protobuf.MethodOptions - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.MethodOptions} MethodOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MethodOptions.decode = function decode(reader, length) { - if (!(reader instanceof $Reader)) - reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.MethodOptions(); - while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 33: { - message.deprecated = reader.bool(); + /** + * Decodes a ProtoLimitsFeature message from the specified reader or buffer. + * @function decode + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape} ProtoLimitsFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ProtoLimitsFeature.decode = function (reader, length, _end, _depth, _target) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FeatureSet.ProtoLimitsFeature(); + while (reader.pos < end) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; break; } - case 999: { - if (!(message.uninterpretedOption && message.uninterpretedOption.length)) - message.uninterpretedOption = []; - message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32())); - break; + reader.skipType(tag & 7, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } - default: - reader.skipType(tag & 7); - break; } - } - return message; - }; - - /** - * Decodes a MethodOptions message from the specified reader or buffer, length delimited. - * @function decodeDelimited - * @memberof google.protobuf.MethodOptions - * @static - * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.MethodOptions} MethodOptions - * @throws {Error} If the payload is not a reader or valid buffer - * @throws {$protobuf.util.ProtocolError} If required fields are missing - */ - MethodOptions.decodeDelimited = function decodeDelimited(reader) { - if (!(reader instanceof $Reader)) - reader = new $Reader(reader); - return this.decode(reader, reader.uint32()); - }; - - /** - * Verifies a MethodOptions message. - * @function verify - * @memberof google.protobuf.MethodOptions - * @static - * @param {Object.} message Plain object to verify - * @returns {string|null} `null` if valid, otherwise the reason why it is not - */ - MethodOptions.verify = function verify(message) { - if (typeof message !== "object" || message === null) - return "object expected"; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - if (typeof message.deprecated !== "boolean") - return "deprecated: boolean expected"; - if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) { - if (!Array.isArray(message.uninterpretedOption)) - return "uninterpretedOption: array expected"; - for (var i = 0; i < message.uninterpretedOption.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.verify(message.uninterpretedOption[i]); - if (error) - return "uninterpretedOption." + error; + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } - } - return null; - }; + if (_end !== $undefined) + throw $Error("missing end group"); + return message; + }; - /** - * Creates a MethodOptions message from a plain object. Also converts values to their respective internal types. - * @function fromObject - * @memberof google.protobuf.MethodOptions - * @static - * @param {Object.} object Plain object - * @returns {google.protobuf.MethodOptions} MethodOptions - */ - MethodOptions.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.MethodOptions) - return object; - var message = new $root.google.protobuf.MethodOptions(); - if (object.deprecated != null) - message.deprecated = Boolean(object.deprecated); - if (object.uninterpretedOption) { - if (!Array.isArray(object.uninterpretedOption)) - throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected"); - message.uninterpretedOption = []; - for (var i = 0; i < object.uninterpretedOption.length; ++i) { - if (typeof object.uninterpretedOption[i] !== "object") - throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: object expected"); - message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]); - } - } - return message; - }; + /** + * Decodes a ProtoLimitsFeature message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature & google.protobuf.FeatureSet.ProtoLimitsFeature.$Shape} ProtoLimitsFeature + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + ProtoLimitsFeature.decodeDelimited = function(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; - /** - * Creates a plain object from a MethodOptions message. Also converts values to other types if specified. - * @function toObject - * @memberof google.protobuf.MethodOptions - * @static - * @param {google.protobuf.MethodOptions} message MethodOptions - * @param {$protobuf.IConversionOptions} [options] Conversion options - * @returns {Object.} Plain object - */ - MethodOptions.toObject = function toObject(message, options) { - if (!options) - options = {}; - var object = {}; - if (options.arrays || options.defaults) - object.uninterpretedOption = []; - if (options.defaults) - object.deprecated = false; - if (message.deprecated != null && message.hasOwnProperty("deprecated")) - object.deprecated = message.deprecated; - if (message.uninterpretedOption && message.uninterpretedOption.length) { - object.uninterpretedOption = []; - for (var j = 0; j < message.uninterpretedOption.length; ++j) - object.uninterpretedOption[j] = $root.google.protobuf.UninterpretedOption.toObject(message.uninterpretedOption[j], options); - } - return object; - }; + /** + * Verifies a ProtoLimitsFeature message. + * @function verify + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + ProtoLimitsFeature.verify = function (message, _depth) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + return null; + }; - /** - * Converts this MethodOptions to JSON. - * @function toJSON - * @memberof google.protobuf.MethodOptions - * @instance - * @returns {Object.} JSON object - */ - MethodOptions.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); - }; + /** + * Creates a ProtoLimitsFeature message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {Object.} object Plain object + * @returns {google.protobuf.FeatureSet.ProtoLimitsFeature} ProtoLimitsFeature + */ + ProtoLimitsFeature.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FeatureSet.ProtoLimitsFeature) + return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FeatureSet.ProtoLimitsFeature: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + return new $root.google.protobuf.FeatureSet.ProtoLimitsFeature(); + }; - /** - * Gets the default type url for MethodOptions - * @function getTypeUrl - * @memberof google.protobuf.MethodOptions - * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url - */ - MethodOptions.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.MethodOptions"; - }; + /** + * Creates a plain object from a ProtoLimitsFeature message. Also converts values to other types if specified. + * @function toObject + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {google.protobuf.FeatureSet.ProtoLimitsFeature} message ProtoLimitsFeature + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + ProtoLimitsFeature.toObject = function () { + return {}; + }; - return MethodOptions; - })(); + /** + * Converts this ProtoLimitsFeature to JSON. + * @function toJSON + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @instance + * @returns {Object.} JSON object + */ + ProtoLimitsFeature.prototype.toJSON = function() { + return ProtoLimitsFeature.toObject(this, $protobuf.util.toJSONOptions); + }; - protobuf.UninterpretedOption = (function() { + /** + * Gets the type url for ProtoLimitsFeature + * @function getTypeUrl + * @memberof google.protobuf.FeatureSet.ProtoLimitsFeature + * @static + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url + */ + ProtoLimitsFeature.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FeatureSet.ProtoLimitsFeature"; + }; - /** - * Properties of an UninterpretedOption. - * @memberof google.protobuf - * @interface IUninterpretedOption - * @property {Array.|null} [name] UninterpretedOption name - * @property {string|null} [identifierValue] UninterpretedOption identifierValue - * @property {number|Long|null} [positiveIntValue] UninterpretedOption positiveIntValue - * @property {number|Long|null} [negativeIntValue] UninterpretedOption negativeIntValue - * @property {number|null} [doubleValue] UninterpretedOption doubleValue - * @property {Uint8Array|null} [stringValue] UninterpretedOption stringValue - * @property {string|null} [aggregateValue] UninterpretedOption aggregateValue - */ + /** + * EnforceProtoLimits enum. + * @name google.protobuf.FeatureSet.ProtoLimitsFeature.EnforceProtoLimits + * @enum {number} + * @property {number} PROTO_LIMITS_UNKNOWN=0 PROTO_LIMITS_UNKNOWN value + * @property {number} LEGACY_NO_EXPLICIT_LIMITS=1 LEGACY_NO_EXPLICIT_LIMITS value + * @property {number} PROTO_LIMITS2026=2 PROTO_LIMITS2026 value + */ + ProtoLimitsFeature.EnforceProtoLimits = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "PROTO_LIMITS_UNKNOWN"] = 0; + values[valuesById[1] = "LEGACY_NO_EXPLICIT_LIMITS"] = 1; + values[valuesById[2] = "PROTO_LIMITS2026"] = 2; + return values; + })(); + + return ProtoLimitsFeature; + })(); - /** - * Constructs a new UninterpretedOption. - * @memberof google.protobuf - * @classdesc Represents an UninterpretedOption. - * @implements IUninterpretedOption - * @constructor - * @param {google.protobuf.IUninterpretedOption=} [properties] Properties to set - */ - function UninterpretedOption(properties) { - this.name = []; - if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) - this[keys[i]] = properties[keys[i]]; - } + return FeatureSet; + })(); + + protobuf.FeatureSetDefaults = (function() { /** - * UninterpretedOption name. - * @member {Array.} name - * @memberof google.protobuf.UninterpretedOption - * @instance + * Properties of a FeatureSetDefaults. + * @typedef {Object} google.protobuf.FeatureSetDefaults.$Properties + * @property {Array.|null} [defaults] FeatureSetDefaults defaults + * @property {google.protobuf.Edition|null} [minimumEdition] FeatureSetDefaults minimumEdition + * @property {google.protobuf.Edition|null} [maximumEdition] FeatureSetDefaults maximumEdition + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - UninterpretedOption.prototype.name = $util.emptyArray; /** - * UninterpretedOption identifierValue. - * @member {string} identifierValue - * @memberof google.protobuf.UninterpretedOption - * @instance + * Properties of a FeatureSetDefaults. + * @memberof google.protobuf + * @interface IFeatureSetDefaults + * @augments google.protobuf.FeatureSetDefaults.$Properties + * @deprecated Use google.protobuf.FeatureSetDefaults.$Properties instead. */ - UninterpretedOption.prototype.identifierValue = ""; /** - * UninterpretedOption positiveIntValue. - * @member {number|Long} positiveIntValue - * @memberof google.protobuf.UninterpretedOption - * @instance + * Shape of a FeatureSetDefaults. + * @typedef {google.protobuf.FeatureSetDefaults.$Properties} google.protobuf.FeatureSetDefaults.$Shape */ - UninterpretedOption.prototype.positiveIntValue = $util.Long ? $util.Long.fromBits(0,0,true) : 0; /** - * UninterpretedOption negativeIntValue. - * @member {number|Long} negativeIntValue - * @memberof google.protobuf.UninterpretedOption - * @instance + * Constructs a new FeatureSetDefaults. + * @memberof google.protobuf + * @classdesc Represents a FeatureSetDefaults. + * @constructor + * @param {google.protobuf.FeatureSetDefaults.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - UninterpretedOption.prototype.negativeIntValue = $util.Long ? $util.Long.fromBits(0,0,false) : 0; + var FeatureSetDefaults = function (properties) { + this.defaults = []; + if (properties) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") + this[keys[i]] = properties[keys[i]]; + }; /** - * UninterpretedOption doubleValue. - * @member {number} doubleValue - * @memberof google.protobuf.UninterpretedOption + * FeatureSetDefaults defaults. + * @member {Array.} defaults + * @memberof google.protobuf.FeatureSetDefaults * @instance */ - UninterpretedOption.prototype.doubleValue = 0; + FeatureSetDefaults.prototype.defaults = $util.emptyArray; /** - * UninterpretedOption stringValue. - * @member {Uint8Array} stringValue - * @memberof google.protobuf.UninterpretedOption + * FeatureSetDefaults minimumEdition. + * @member {google.protobuf.Edition} minimumEdition + * @memberof google.protobuf.FeatureSetDefaults * @instance */ - UninterpretedOption.prototype.stringValue = $util.newBuffer([]); + FeatureSetDefaults.prototype.minimumEdition = 0; /** - * UninterpretedOption aggregateValue. - * @member {string} aggregateValue - * @memberof google.protobuf.UninterpretedOption + * FeatureSetDefaults maximumEdition. + * @member {google.protobuf.Edition} maximumEdition + * @memberof google.protobuf.FeatureSetDefaults * @instance */ - UninterpretedOption.prototype.aggregateValue = ""; + FeatureSetDefaults.prototype.maximumEdition = 0; /** - * Creates a new UninterpretedOption instance using the specified properties. + * Creates a new FeatureSetDefaults instance using the specified properties. * @function create - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static - * @param {google.protobuf.IUninterpretedOption=} [properties] Properties to set - * @returns {google.protobuf.UninterpretedOption} UninterpretedOption instance - */ - UninterpretedOption.create = function create(properties) { - return new UninterpretedOption(properties); + * @param {google.protobuf.FeatureSetDefaults.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults instance + * @type {{ + * (properties: google.protobuf.FeatureSetDefaults.$Shape): google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape; + * (properties?: google.protobuf.FeatureSetDefaults.$Properties): google.protobuf.FeatureSetDefaults; + * }} + */ + FeatureSetDefaults.create = function(properties) { + return new FeatureSetDefaults(properties); }; /** - * Encodes the specified UninterpretedOption message. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @function encode - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static - * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode + * @param {google.protobuf.FeatureSetDefaults.$Properties} message FeatureSetDefaults message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UninterpretedOption.encode = function encode(message, writer) { + FeatureSetDefaults.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.name != null && message.name.length) - for (var i = 0; i < message.name.length; ++i) - $root.google.protobuf.UninterpretedOption.NamePart.encode(message.name[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim(); - if (message.identifierValue != null && Object.hasOwnProperty.call(message, "identifierValue")) - writer.uint32(/* id 3, wireType 2 =*/26).string(message.identifierValue); - if (message.positiveIntValue != null && Object.hasOwnProperty.call(message, "positiveIntValue")) - writer.uint32(/* id 4, wireType 0 =*/32).uint64(message.positiveIntValue); - if (message.negativeIntValue != null && Object.hasOwnProperty.call(message, "negativeIntValue")) - writer.uint32(/* id 5, wireType 0 =*/40).int64(message.negativeIntValue); - if (message.doubleValue != null && Object.hasOwnProperty.call(message, "doubleValue")) - writer.uint32(/* id 6, wireType 1 =*/49).double(message.doubleValue); - if (message.stringValue != null && Object.hasOwnProperty.call(message, "stringValue")) - writer.uint32(/* id 7, wireType 2 =*/58).bytes(message.stringValue); - if (message.aggregateValue != null && Object.hasOwnProperty.call(message, "aggregateValue")) - writer.uint32(/* id 8, wireType 2 =*/66).string(message.aggregateValue); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.defaults != null && message.defaults.length) + for (var i = 0; i < message.defaults.length; ++i) + $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.encode(message.defaults[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.minimumEdition != null && $Object.hasOwnProperty.call(message, "minimumEdition")) + writer.uint32(/* id 4, wireType 0 =*/32).int32(message.minimumEdition); + if (message.maximumEdition != null && $Object.hasOwnProperty.call(message, "maximumEdition")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.maximumEdition); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified UninterpretedOption message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.verify|verify} messages. + * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static - * @param {google.protobuf.IUninterpretedOption} message UninterpretedOption message or plain object to encode + * @param {google.protobuf.FeatureSetDefaults.$Properties} message FeatureSetDefaults message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - UninterpretedOption.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FeatureSetDefaults.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes an UninterpretedOption message from the specified reader or buffer. + * Decodes a FeatureSetDefaults message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.UninterpretedOption} UninterpretedOption + * @returns {google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape} FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UninterpretedOption.decode = function decode(reader, length) { + FeatureSetDefaults.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.UninterpretedOption(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FeatureSetDefaults(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 2: { - if (!(message.name && message.name.length)) - message.name = []; - message.name.push($root.google.protobuf.UninterpretedOption.NamePart.decode(reader, reader.uint32())); - break; - } - case 3: { - message.identifierValue = reader.string(); - break; + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 1: { + if (wireType !== 2) + break; + if (!(message.defaults && message.defaults.length)) + message.defaults = []; + message.defaults.push($root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } case 4: { - message.positiveIntValue = reader.uint64(); - break; + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.minimumEdition = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } case 5: { - message.negativeIntValue = reader.int64(); - break; - } - case 6: { - message.doubleValue = reader.double(); - break; - } - case 7: { - message.stringValue = reader.bytes(); - break; - } - case 8: { - message.aggregateValue = reader.string(); - break; + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.maximumEdition = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes an UninterpretedOption message from the specified reader or buffer, length delimited. + * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.UninterpretedOption} UninterpretedOption + * @returns {google.protobuf.FeatureSetDefaults & google.protobuf.FeatureSetDefaults.$Shape} FeatureSetDefaults * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - UninterpretedOption.decodeDelimited = function decodeDelimited(reader) { + FeatureSetDefaults.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies an UninterpretedOption message. + * Verifies a FeatureSetDefaults message. * @function verify - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - UninterpretedOption.verify = function verify(message) { + FeatureSetDefaults.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.name != null && message.hasOwnProperty("name")) { - if (!Array.isArray(message.name)) - return "name: array expected"; - for (var i = 0; i < message.name.length; ++i) { - var error = $root.google.protobuf.UninterpretedOption.NamePart.verify(message.name[i]); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.defaults != null && $Object.hasOwnProperty.call(message, "defaults")) { + if (!$Array.isArray(message.defaults)) + return "defaults: array expected"; + for (var i = 0; i < message.defaults.length; ++i) { + var error = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify(message.defaults[i], _depth + 1); if (error) - return "name." + error; + return "defaults." + error; } } - if (message.identifierValue != null && message.hasOwnProperty("identifierValue")) - if (!$util.isString(message.identifierValue)) - return "identifierValue: string expected"; - if (message.positiveIntValue != null && message.hasOwnProperty("positiveIntValue")) - if (!$util.isInteger(message.positiveIntValue) && !(message.positiveIntValue && $util.isInteger(message.positiveIntValue.low) && $util.isInteger(message.positiveIntValue.high))) - return "positiveIntValue: integer|Long expected"; - if (message.negativeIntValue != null && message.hasOwnProperty("negativeIntValue")) - if (!$util.isInteger(message.negativeIntValue) && !(message.negativeIntValue && $util.isInteger(message.negativeIntValue.low) && $util.isInteger(message.negativeIntValue.high))) - return "negativeIntValue: integer|Long expected"; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - if (typeof message.doubleValue !== "number") - return "doubleValue: number expected"; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - if (!(message.stringValue && typeof message.stringValue.length === "number" || $util.isString(message.stringValue))) - return "stringValue: buffer expected"; - if (message.aggregateValue != null && message.hasOwnProperty("aggregateValue")) - if (!$util.isString(message.aggregateValue)) - return "aggregateValue: string expected"; + if (message.minimumEdition != null && $Object.hasOwnProperty.call(message, "minimumEdition")) + switch (message.minimumEdition) { + default: + return "minimumEdition: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + if (message.maximumEdition != null && $Object.hasOwnProperty.call(message, "maximumEdition")) + switch (message.maximumEdition) { + default: + return "maximumEdition: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } return null; }; /** - * Creates an UninterpretedOption message from a plain object. Also converts values to their respective internal types. + * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static * @param {Object.} object Plain object - * @returns {google.protobuf.UninterpretedOption} UninterpretedOption + * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults */ - UninterpretedOption.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.UninterpretedOption) + FeatureSetDefaults.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FeatureSetDefaults) return object; - var message = new $root.google.protobuf.UninterpretedOption(); - if (object.name) { - if (!Array.isArray(object.name)) - throw TypeError(".google.protobuf.UninterpretedOption.name: array expected"); - message.name = []; - for (var i = 0; i < object.name.length; ++i) { - if (typeof object.name[i] !== "object") - throw TypeError(".google.protobuf.UninterpretedOption.name: object expected"); - message.name[i] = $root.google.protobuf.UninterpretedOption.NamePart.fromObject(object.name[i]); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FeatureSetDefaults: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FeatureSetDefaults(); + if (object.defaults) { + if (!$Array.isArray(object.defaults)) + throw $TypeError(".google.protobuf.FeatureSetDefaults.defaults: array expected"); + message.defaults = $Array(object.defaults.length); + for (var i = 0; i < object.defaults.length; ++i) { + if (!$util.isObject(object.defaults[i])) + throw $TypeError(".google.protobuf.FeatureSetDefaults.defaults: object expected"); + message.defaults[i] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fromObject(object.defaults[i], _depth + 1); } } - if (object.identifierValue != null) - message.identifierValue = String(object.identifierValue); - if (object.positiveIntValue != null) - if ($util.Long) - (message.positiveIntValue = $util.Long.fromValue(object.positiveIntValue)).unsigned = true; - else if (typeof object.positiveIntValue === "string") - message.positiveIntValue = parseInt(object.positiveIntValue, 10); - else if (typeof object.positiveIntValue === "number") - message.positiveIntValue = object.positiveIntValue; - else if (typeof object.positiveIntValue === "object") - message.positiveIntValue = new $util.LongBits(object.positiveIntValue.low >>> 0, object.positiveIntValue.high >>> 0).toNumber(true); - if (object.negativeIntValue != null) - if ($util.Long) - (message.negativeIntValue = $util.Long.fromValue(object.negativeIntValue)).unsigned = false; - else if (typeof object.negativeIntValue === "string") - message.negativeIntValue = parseInt(object.negativeIntValue, 10); - else if (typeof object.negativeIntValue === "number") - message.negativeIntValue = object.negativeIntValue; - else if (typeof object.negativeIntValue === "object") - message.negativeIntValue = new $util.LongBits(object.negativeIntValue.low >>> 0, object.negativeIntValue.high >>> 0).toNumber(); - if (object.doubleValue != null) - message.doubleValue = Number(object.doubleValue); - if (object.stringValue != null) - if (typeof object.stringValue === "string") - $util.base64.decode(object.stringValue, message.stringValue = $util.newBuffer($util.base64.length(object.stringValue)), 0); - else if (object.stringValue.length >= 0) - message.stringValue = object.stringValue; - if (object.aggregateValue != null) - message.aggregateValue = String(object.aggregateValue); + switch (object.minimumEdition) { + case "EDITION_UNKNOWN": + case 0: + message.minimumEdition = 0; + break; + case "EDITION_LEGACY": + case 900: + message.minimumEdition = 900; + break; + case "EDITION_PROTO2": + case 998: + message.minimumEdition = 998; + break; + case "EDITION_PROTO3": + case 999: + message.minimumEdition = 999; + break; + case "EDITION_2023": + case 1000: + message.minimumEdition = 1000; + break; + case "EDITION_2024": + case 1001: + message.minimumEdition = 1001; + break; + case "EDITION_2026": + case 1002: + message.minimumEdition = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.minimumEdition = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.minimumEdition = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.minimumEdition = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.minimumEdition = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.minimumEdition = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.minimumEdition = 2147483647; + break; + default: + } + switch (object.maximumEdition) { + case "EDITION_UNKNOWN": + case 0: + message.maximumEdition = 0; + break; + case "EDITION_LEGACY": + case 900: + message.maximumEdition = 900; + break; + case "EDITION_PROTO2": + case 998: + message.maximumEdition = 998; + break; + case "EDITION_PROTO3": + case 999: + message.maximumEdition = 999; + break; + case "EDITION_2023": + case 1000: + message.maximumEdition = 1000; + break; + case "EDITION_2024": + case 1001: + message.maximumEdition = 1001; + break; + case "EDITION_2026": + case 1002: + message.maximumEdition = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.maximumEdition = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.maximumEdition = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.maximumEdition = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.maximumEdition = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.maximumEdition = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.maximumEdition = 2147483647; + break; + default: + } return message; }; /** - * Creates a plain object from an UninterpretedOption message. Also converts values to other types if specified. + * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static - * @param {google.protobuf.UninterpretedOption} message UninterpretedOption + * @param {google.protobuf.FeatureSetDefaults} message FeatureSetDefaults * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - UninterpretedOption.toObject = function toObject(message, options) { + FeatureSetDefaults.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) - object.name = []; + object.defaults = []; if (options.defaults) { - object.identifierValue = ""; - if ($util.Long) { - var long = new $util.Long(0, 0, true); - object.positiveIntValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.positiveIntValue = options.longs === String ? "0" : 0; - if ($util.Long) { - var long = new $util.Long(0, 0, false); - object.negativeIntValue = options.longs === String ? long.toString() : options.longs === Number ? long.toNumber() : long; - } else - object.negativeIntValue = options.longs === String ? "0" : 0; - object.doubleValue = 0; - if (options.bytes === String) - object.stringValue = ""; - else { - object.stringValue = []; - if (options.bytes !== Array) - object.stringValue = $util.newBuffer(object.stringValue); - } - object.aggregateValue = ""; + object.minimumEdition = options.enums === $String ? "EDITION_UNKNOWN" : 0; + object.maximumEdition = options.enums === $String ? "EDITION_UNKNOWN" : 0; } - if (message.name && message.name.length) { - object.name = []; - for (var j = 0; j < message.name.length; ++j) - object.name[j] = $root.google.protobuf.UninterpretedOption.NamePart.toObject(message.name[j], options); + if (message.defaults && message.defaults.length) { + object.defaults = $Array(message.defaults.length); + for (var j = 0; j < message.defaults.length; ++j) + object.defaults[j] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject(message.defaults[j], options, _depth + 1); } - if (message.identifierValue != null && message.hasOwnProperty("identifierValue")) - object.identifierValue = message.identifierValue; - if (message.positiveIntValue != null && message.hasOwnProperty("positiveIntValue")) - if (typeof message.positiveIntValue === "number") - object.positiveIntValue = options.longs === String ? String(message.positiveIntValue) : message.positiveIntValue; - else - object.positiveIntValue = options.longs === String ? $util.Long.prototype.toString.call(message.positiveIntValue) : options.longs === Number ? new $util.LongBits(message.positiveIntValue.low >>> 0, message.positiveIntValue.high >>> 0).toNumber(true) : message.positiveIntValue; - if (message.negativeIntValue != null && message.hasOwnProperty("negativeIntValue")) - if (typeof message.negativeIntValue === "number") - object.negativeIntValue = options.longs === String ? String(message.negativeIntValue) : message.negativeIntValue; - else - object.negativeIntValue = options.longs === String ? $util.Long.prototype.toString.call(message.negativeIntValue) : options.longs === Number ? new $util.LongBits(message.negativeIntValue.low >>> 0, message.negativeIntValue.high >>> 0).toNumber() : message.negativeIntValue; - if (message.doubleValue != null && message.hasOwnProperty("doubleValue")) - object.doubleValue = options.json && !isFinite(message.doubleValue) ? String(message.doubleValue) : message.doubleValue; - if (message.stringValue != null && message.hasOwnProperty("stringValue")) - object.stringValue = options.bytes === String ? $util.base64.encode(message.stringValue, 0, message.stringValue.length) : options.bytes === Array ? Array.prototype.slice.call(message.stringValue) : message.stringValue; - if (message.aggregateValue != null && message.hasOwnProperty("aggregateValue")) - object.aggregateValue = message.aggregateValue; + if (message.minimumEdition != null && $Object.hasOwnProperty.call(message, "minimumEdition")) + object.minimumEdition = options.enums === $String ? $root.google.protobuf.Edition[message.minimumEdition] === $undefined ? message.minimumEdition : $root.google.protobuf.Edition[message.minimumEdition] : message.minimumEdition; + if (message.maximumEdition != null && $Object.hasOwnProperty.call(message, "maximumEdition")) + object.maximumEdition = options.enums === $String ? $root.google.protobuf.Edition[message.maximumEdition] === $undefined ? message.maximumEdition : $root.google.protobuf.Edition[message.maximumEdition] : message.maximumEdition; return object; }; /** - * Converts this UninterpretedOption to JSON. + * Converts this FeatureSetDefaults to JSON. * @function toJSON - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @instance * @returns {Object.} JSON object */ - UninterpretedOption.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FeatureSetDefaults.prototype.toJSON = function() { + return FeatureSetDefaults.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for UninterpretedOption + * Gets the type url for FeatureSetDefaults * @function getTypeUrl - * @memberof google.protobuf.UninterpretedOption + * @memberof google.protobuf.FeatureSetDefaults * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - UninterpretedOption.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.UninterpretedOption"; + FeatureSetDefaults.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FeatureSetDefaults"; }; - UninterpretedOption.NamePart = (function() { + FeatureSetDefaults.FeatureSetEditionDefault = (function() { /** - * Properties of a NamePart. - * @memberof google.protobuf.UninterpretedOption - * @interface INamePart - * @property {string} namePart NamePart namePart - * @property {boolean} isExtension NamePart isExtension + * Properties of a FeatureSetEditionDefault. + * @typedef {Object} google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties + * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition + * @property {google.protobuf.FeatureSet.$Properties|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures + * @property {google.protobuf.FeatureSet.$Properties|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ /** - * Constructs a new NamePart. - * @memberof google.protobuf.UninterpretedOption - * @classdesc Represents a NamePart. - * @implements INamePart + * Properties of a FeatureSetEditionDefault. + * @memberof google.protobuf.FeatureSetDefaults + * @interface IFeatureSetEditionDefault + * @augments google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties + * @deprecated Use google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties instead. + */ + + /** + * Shape of a FeatureSetEditionDefault. + * @typedef {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties} google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape + */ + + /** + * Constructs a new FeatureSetEditionDefault. + * @memberof google.protobuf.FeatureSetDefaults + * @classdesc Represents a FeatureSetEditionDefault. * @constructor - * @param {google.protobuf.UninterpretedOption.INamePart=} [properties] Properties to set + * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function NamePart(properties) { + var FeatureSetEditionDefault = function (properties) { if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** - * NamePart namePart. - * @member {string} namePart - * @memberof google.protobuf.UninterpretedOption.NamePart + * FeatureSetEditionDefault edition. + * @member {google.protobuf.Edition} edition + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault + * @instance + */ + FeatureSetEditionDefault.prototype.edition = 0; + + /** + * FeatureSetEditionDefault overridableFeatures. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} overridableFeatures + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - NamePart.prototype.namePart = ""; + FeatureSetEditionDefault.prototype.overridableFeatures = null; /** - * NamePart isExtension. - * @member {boolean} isExtension - * @memberof google.protobuf.UninterpretedOption.NamePart + * FeatureSetEditionDefault fixedFeatures. + * @member {google.protobuf.FeatureSet.$Properties|null|undefined} fixedFeatures + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance */ - NamePart.prototype.isExtension = false; + FeatureSetEditionDefault.prototype.fixedFeatures = null; /** - * Creates a new NamePart instance using the specified properties. + * Creates a new FeatureSetEditionDefault instance using the specified properties. * @function create - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static - * @param {google.protobuf.UninterpretedOption.INamePart=} [properties] Properties to set - * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart instance + * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties=} [properties] Properties to set + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault instance + * @type {{ + * (properties: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape; + * (properties?: google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties): google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault; + * }} */ - NamePart.create = function create(properties) { - return new NamePart(properties); + FeatureSetEditionDefault.create = function(properties) { + return new FeatureSetEditionDefault(properties); }; /** - * Encodes the specified NamePart message. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @function encode - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static - * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode + * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties} message FeatureSetEditionDefault message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamePart.encode = function encode(message, writer) { + FeatureSetEditionDefault.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - writer.uint32(/* id 1, wireType 2 =*/10).string(message.namePart); - writer.uint32(/* id 2, wireType 0 =*/16).bool(message.isExtension); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition); + if (message.overridableFeatures != null && $Object.hasOwnProperty.call(message, "overridableFeatures")) + $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork(), _depth + 1).ldelim(); + if (message.fixedFeatures != null && $Object.hasOwnProperty.call(message, "fixedFeatures")) + $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; /** - * Encodes the specified NamePart message, length delimited. Does not implicitly {@link google.protobuf.UninterpretedOption.NamePart.verify|verify} messages. + * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages. * @function encodeDelimited - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static - * @param {google.protobuf.UninterpretedOption.INamePart} message NamePart message or plain object to encode + * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Properties} message FeatureSetEditionDefault message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - NamePart.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + FeatureSetEditionDefault.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** - * Decodes a NamePart message from the specified reader or buffer. + * Decodes a FeatureSetEditionDefault message from the specified reader or buffer. * @function decode - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape} FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamePart.decode = function decode(reader, length) { + FeatureSetEditionDefault.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.UninterpretedOption.NamePart(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { - case 1: { - message.namePart = reader.string(); - break; + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { + case 3: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.Edition[value] !== $undefined) + message.edition = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; } - case 2: { - message.isExtension = reader.bool(); - break; + case 4: { + if (wireType !== 2) + break; + message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.overridableFeatures); + continue; } - default: - reader.skipType(tag & 7); - break; + case 5: { + if (wireType !== 2) + break; + message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32(), $undefined, _depth + 1, message.fixedFeatures); + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } - if (!message.hasOwnProperty("namePart")) - throw $util.ProtocolError("missing required 'namePart'", { instance: message }); - if (!message.hasOwnProperty("isExtension")) - throw $util.ProtocolError("missing required 'isExtension'", { instance: message }); + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; /** - * Decodes a NamePart message from the specified reader or buffer, length delimited. + * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited. * @function decodeDelimited - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault & google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.$Shape} FeatureSetEditionDefault * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - NamePart.decodeDelimited = function decodeDelimited(reader) { + FeatureSetEditionDefault.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); }; /** - * Verifies a NamePart message. + * Verifies a FeatureSetEditionDefault message. * @function verify - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - NamePart.verify = function verify(message) { + FeatureSetEditionDefault.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (!$util.isString(message.namePart)) - return "namePart: string expected"; - if (typeof message.isExtension !== "boolean") - return "isExtension: boolean expected"; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + switch (message.edition) { + default: + return "edition: enum value expected"; + case 0: + case 900: + case 998: + case 999: + case 1000: + case 1001: + case 1002: + case 1: + case 2: + case 99997: + case 99998: + case 99999: + case 2147483647: + break; + } + if (message.overridableFeatures != null && $Object.hasOwnProperty.call(message, "overridableFeatures")) { + var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures, _depth + 1); + if (error) + return "overridableFeatures." + error; + } + if (message.fixedFeatures != null && $Object.hasOwnProperty.call(message, "fixedFeatures")) { + var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures, _depth + 1); + if (error) + return "fixedFeatures." + error; + } return null; }; /** - * Creates a NamePart message from a plain object. Also converts values to their respective internal types. + * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types. * @function fromObject - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static * @param {Object.} object Plain object - * @returns {google.protobuf.UninterpretedOption.NamePart} NamePart + * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault */ - NamePart.fromObject = function fromObject(object) { - if (object instanceof $root.google.protobuf.UninterpretedOption.NamePart) + FeatureSetEditionDefault.fromObject = function (object, _depth) { + if (object instanceof $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault) return object; - var message = new $root.google.protobuf.UninterpretedOption.NamePart(); - if (object.namePart != null) - message.namePart = String(object.namePart); - if (object.isExtension != null) - message.isExtension = Boolean(object.isExtension); + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + var message = new $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault(); + switch (object.edition) { + case "EDITION_UNKNOWN": + case 0: + message.edition = 0; + break; + case "EDITION_LEGACY": + case 900: + message.edition = 900; + break; + case "EDITION_PROTO2": + case 998: + message.edition = 998; + break; + case "EDITION_PROTO3": + case 999: + message.edition = 999; + break; + case "EDITION_2023": + case 1000: + message.edition = 1000; + break; + case "EDITION_2024": + case 1001: + message.edition = 1001; + break; + case "EDITION_2026": + case 1002: + message.edition = 1002; + break; + case "EDITION_1_TEST_ONLY": + case 1: + message.edition = 1; + break; + case "EDITION_2_TEST_ONLY": + case 2: + message.edition = 2; + break; + case "EDITION_99997_TEST_ONLY": + case 99997: + message.edition = 99997; + break; + case "EDITION_99998_TEST_ONLY": + case 99998: + message.edition = 99998; + break; + case "EDITION_99999_TEST_ONLY": + case 99999: + message.edition = 99999; + break; + case "EDITION_MAX": + case 2147483647: + message.edition = 2147483647; + break; + default: + } + if (object.overridableFeatures != null) { + if (!$util.isObject(object.overridableFeatures)) + throw $TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected"); + message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures, _depth + 1); + } + if (object.fixedFeatures != null) { + if (!$util.isObject(object.fixedFeatures)) + throw $TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected"); + message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures, _depth + 1); + } return message; }; /** - * Creates a plain object from a NamePart message. Also converts values to other types if specified. + * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified. * @function toObject - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static - * @param {google.protobuf.UninterpretedOption.NamePart} message NamePart + * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} message FeatureSetEditionDefault * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - NamePart.toObject = function toObject(message, options) { + FeatureSetEditionDefault.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.defaults) { - object.namePart = ""; - object.isExtension = false; + object.edition = options.enums === $String ? "EDITION_UNKNOWN" : 0; + object.overridableFeatures = null; + object.fixedFeatures = null; } - if (message.namePart != null && message.hasOwnProperty("namePart")) - object.namePart = message.namePart; - if (message.isExtension != null && message.hasOwnProperty("isExtension")) - object.isExtension = message.isExtension; + if (message.edition != null && $Object.hasOwnProperty.call(message, "edition")) + object.edition = options.enums === $String ? $root.google.protobuf.Edition[message.edition] === $undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition; + if (message.overridableFeatures != null && $Object.hasOwnProperty.call(message, "overridableFeatures")) + object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options, _depth + 1); + if (message.fixedFeatures != null && $Object.hasOwnProperty.call(message, "fixedFeatures")) + object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options, _depth + 1); return object; }; /** - * Converts this NamePart to JSON. + * Converts this FeatureSetEditionDefault to JSON. * @function toJSON - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @instance * @returns {Object.} JSON object */ - NamePart.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + FeatureSetEditionDefault.prototype.toJSON = function() { + return FeatureSetEditionDefault.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for NamePart + * Gets the type url for FeatureSetEditionDefault * @function getTypeUrl - * @memberof google.protobuf.UninterpretedOption.NamePart + * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - NamePart.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.UninterpretedOption.NamePart"; + FeatureSetEditionDefault.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"; }; - return NamePart; + return FeatureSetEditionDefault; })(); - return UninterpretedOption; + return FeatureSetDefaults; })(); protobuf.SourceCodeInfo = (function() { + /** + * Properties of a SourceCodeInfo. + * @typedef {Object} google.protobuf.SourceCodeInfo.$Properties + * @property {Array.|null} [location] SourceCodeInfo location + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a SourceCodeInfo. * @memberof google.protobuf * @interface ISourceCodeInfo - * @property {Array.|null} [location] SourceCodeInfo location + * @augments google.protobuf.SourceCodeInfo.$Properties + * @deprecated Use google.protobuf.SourceCodeInfo.$Properties instead. + */ + + /** + * Shape of a SourceCodeInfo. + * @typedef {google.protobuf.SourceCodeInfo.$Properties} google.protobuf.SourceCodeInfo.$Shape */ /** * Constructs a new SourceCodeInfo. * @memberof google.protobuf * @classdesc Represents a SourceCodeInfo. - * @implements ISourceCodeInfo * @constructor - * @param {google.protobuf.ISourceCodeInfo=} [properties] Properties to set + * @param {google.protobuf.SourceCodeInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function SourceCodeInfo(properties) { + var SourceCodeInfo = function (properties) { this.location = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * SourceCodeInfo location. - * @member {Array.} location + * @member {Array.} location * @memberof google.protobuf.SourceCodeInfo * @instance */ @@ -16187,10 +25594,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.SourceCodeInfo * @static - * @param {google.protobuf.ISourceCodeInfo=} [properties] Properties to set + * @param {google.protobuf.SourceCodeInfo.$Properties=} [properties] Properties to set * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo instance + * @type {{ + * (properties: google.protobuf.SourceCodeInfo.$Shape): google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape; + * (properties?: google.protobuf.SourceCodeInfo.$Properties): google.protobuf.SourceCodeInfo; + * }} */ - SourceCodeInfo.create = function create(properties) { + SourceCodeInfo.create = function(properties) { return new SourceCodeInfo(properties); }; @@ -16199,16 +25610,23 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.SourceCodeInfo * @static - * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.$Properties} message SourceCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SourceCodeInfo.encode = function encode(message, writer) { + SourceCodeInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); if (message.location != null && message.location.length) for (var i = 0; i < message.location.length; ++i) - $root.google.protobuf.SourceCodeInfo.Location.encode(message.location[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + $root.google.protobuf.SourceCodeInfo.Location.encode(message.location[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -16217,12 +25635,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.SourceCodeInfo * @static - * @param {google.protobuf.ISourceCodeInfo} message SourceCodeInfo message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.$Properties} message SourceCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - SourceCodeInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + SourceCodeInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -16232,28 +25650,59 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo + * @returns {google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape} SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SourceCodeInfo.decode = function decode(reader, length) { + SourceCodeInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.SourceCodeInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.SourceCodeInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (!(message.location && message.location.length)) message.location = []; - message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32())); - break; + message.location.push($root.google.protobuf.SourceCodeInfo.Location.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -16263,11 +25712,11 @@ $root.google = (function() { * @memberof google.protobuf.SourceCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo + * @returns {google.protobuf.SourceCodeInfo & google.protobuf.SourceCodeInfo.$Shape} SourceCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - SourceCodeInfo.decodeDelimited = function decodeDelimited(reader) { + SourceCodeInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -16281,14 +25730,18 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - SourceCodeInfo.verify = function verify(message) { + SourceCodeInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.location != null && message.hasOwnProperty("location")) { - if (!Array.isArray(message.location)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.location != null && $Object.hasOwnProperty.call(message, "location")) { + if (!$Array.isArray(message.location)) return "location: array expected"; for (var i = 0; i < message.location.length; ++i) { - var error = $root.google.protobuf.SourceCodeInfo.Location.verify(message.location[i]); + var error = $root.google.protobuf.SourceCodeInfo.Location.verify(message.location[i], _depth + 1); if (error) return "location." + error; } @@ -16304,18 +25757,24 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.SourceCodeInfo} SourceCodeInfo */ - SourceCodeInfo.fromObject = function fromObject(object) { + SourceCodeInfo.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.SourceCodeInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.SourceCodeInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.SourceCodeInfo(); if (object.location) { - if (!Array.isArray(object.location)) - throw TypeError(".google.protobuf.SourceCodeInfo.location: array expected"); - message.location = []; + if (!$Array.isArray(object.location)) + throw $TypeError(".google.protobuf.SourceCodeInfo.location: array expected"); + message.location = $Array(object.location.length); for (var i = 0; i < object.location.length; ++i) { - if (typeof object.location[i] !== "object") - throw TypeError(".google.protobuf.SourceCodeInfo.location: object expected"); - message.location[i] = $root.google.protobuf.SourceCodeInfo.Location.fromObject(object.location[i]); + if (!$util.isObject(object.location[i])) + throw $TypeError(".google.protobuf.SourceCodeInfo.location: object expected"); + message.location[i] = $root.google.protobuf.SourceCodeInfo.Location.fromObject(object.location[i], _depth + 1); } } return message; @@ -16330,16 +25789,20 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - SourceCodeInfo.toObject = function toObject(message, options) { + SourceCodeInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.location = []; if (message.location && message.location.length) { - object.location = []; + object.location = $Array(message.location.length); for (var j = 0; j < message.location.length; ++j) - object.location[j] = $root.google.protobuf.SourceCodeInfo.Location.toObject(message.location[j], options); + object.location[j] = $root.google.protobuf.SourceCodeInfo.Location.toObject(message.location[j], options, _depth + 1); } return object; }; @@ -16351,55 +25814,67 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - SourceCodeInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + SourceCodeInfo.prototype.toJSON = function() { + return SourceCodeInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for SourceCodeInfo + * Gets the type url for SourceCodeInfo * @function getTypeUrl * @memberof google.protobuf.SourceCodeInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - SourceCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.SourceCodeInfo"; + SourceCodeInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.SourceCodeInfo"; }; SourceCodeInfo.Location = (function() { /** * Properties of a Location. - * @memberof google.protobuf.SourceCodeInfo - * @interface ILocation + * @typedef {Object} google.protobuf.SourceCodeInfo.Location.$Properties * @property {Array.|null} [path] Location path * @property {Array.|null} [span] Location span * @property {string|null} [leadingComments] Location leadingComments * @property {string|null} [trailingComments] Location trailingComments * @property {Array.|null} [leadingDetachedComments] Location leadingDetachedComments + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of a Location. + * @memberof google.protobuf.SourceCodeInfo + * @interface ILocation + * @augments google.protobuf.SourceCodeInfo.Location.$Properties + * @deprecated Use google.protobuf.SourceCodeInfo.Location.$Properties instead. + */ + + /** + * Shape of a Location. + * @typedef {google.protobuf.SourceCodeInfo.Location.$Properties} google.protobuf.SourceCodeInfo.Location.$Shape */ /** * Constructs a new Location. * @memberof google.protobuf.SourceCodeInfo * @classdesc Represents a Location. - * @implements ILocation * @constructor - * @param {google.protobuf.SourceCodeInfo.ILocation=} [properties] Properties to set + * @param {google.protobuf.SourceCodeInfo.Location.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Location(properties) { + var Location = function (properties) { this.path = []; this.span = []; this.leadingDetachedComments = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Location path. @@ -16446,10 +25921,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.SourceCodeInfo.Location * @static - * @param {google.protobuf.SourceCodeInfo.ILocation=} [properties] Properties to set + * @param {google.protobuf.SourceCodeInfo.Location.$Properties=} [properties] Properties to set * @returns {google.protobuf.SourceCodeInfo.Location} Location instance + * @type {{ + * (properties: google.protobuf.SourceCodeInfo.Location.$Shape): google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape; + * (properties?: google.protobuf.SourceCodeInfo.Location.$Properties): google.protobuf.SourceCodeInfo.Location; + * }} */ - Location.create = function create(properties) { + Location.create = function(properties) { return new Location(properties); }; @@ -16458,32 +25937,31 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.SourceCodeInfo.Location * @static - * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.Location.$Properties} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Location.encode = function encode(message, writer) { + Location.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.path != null && message.path.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (var i = 0; i < message.path.length; ++i) - writer.int32(message.path[i]); - writer.ldelim(); - } - if (message.span != null && message.span.length) { - writer.uint32(/* id 2, wireType 2 =*/18).fork(); - for (var i = 0; i < message.span.length; ++i) - writer.int32(message.span[i]); - writer.ldelim(); - } - if (message.leadingComments != null && Object.hasOwnProperty.call(message, "leadingComments")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.path != null && message.path.length) + writer.uint32(/* id 1, wireType 2 =*/10).int32s(message.path); + if (message.span != null && message.span.length) + writer.uint32(/* id 2, wireType 2 =*/18).int32s(message.span); + if (message.leadingComments != null && $Object.hasOwnProperty.call(message, "leadingComments")) writer.uint32(/* id 3, wireType 2 =*/26).string(message.leadingComments); - if (message.trailingComments != null && Object.hasOwnProperty.call(message, "trailingComments")) + if (message.trailingComments != null && $Object.hasOwnProperty.call(message, "trailingComments")) writer.uint32(/* id 4, wireType 2 =*/34).string(message.trailingComments); if (message.leadingDetachedComments != null && message.leadingDetachedComments.length) for (var i = 0; i < message.leadingDetachedComments.length; ++i) writer.uint32(/* id 6, wireType 2 =*/50).string(message.leadingDetachedComments[i]); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -16492,12 +25970,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.SourceCodeInfo.Location * @static - * @param {google.protobuf.SourceCodeInfo.ILocation} message Location message or plain object to encode + * @param {google.protobuf.SourceCodeInfo.Location.$Properties} message Location message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Location.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Location.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -16507,58 +25985,99 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.SourceCodeInfo.Location} Location + * @returns {google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Location.decode = function decode(reader, length) { + Location.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.SourceCodeInfo.Location(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.SourceCodeInfo.Location(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType === 2) { + if (!(message.path && message.path.length)) + message.path = []; + reader.int32s(message.path); + continue; + } + if (wireType !== 0) + break; if (!(message.path && message.path.length)) message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; + message.path.push(reader.int32()); + continue; } case 2: { + if (wireType === 2) { + if (!(message.span && message.span.length)) + message.span = []; + reader.int32s(message.span); + continue; + } + if (wireType !== 0) + break; if (!(message.span && message.span.length)) message.span = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.span.push(reader.int32()); - } else - message.span.push(reader.int32()); - break; + message.span.push(reader.int32()); + continue; } case 3: { + if (wireType !== 2) + break; message.leadingComments = reader.string(); - break; + continue; } case 4: { + if (wireType !== 2) + break; message.trailingComments = reader.string(); - break; + continue; } case 6: { + if (wireType !== 2) + break; if (!(message.leadingDetachedComments && message.leadingDetachedComments.length)) message.leadingDetachedComments = []; message.leadingDetachedComments.push(reader.string()); - break; + continue; } - default: - reader.skipType(tag & 7); - break; + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -16568,11 +26087,11 @@ $root.google = (function() { * @memberof google.protobuf.SourceCodeInfo.Location * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.SourceCodeInfo.Location} Location + * @returns {google.protobuf.SourceCodeInfo.Location & google.protobuf.SourceCodeInfo.Location.$Shape} Location * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Location.decodeDelimited = function decodeDelimited(reader) { + Location.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -16586,31 +26105,35 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Location.verify = function verify(message) { + Location.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.path != null && message.hasOwnProperty("path")) { - if (!Array.isArray(message.path)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.path != null && $Object.hasOwnProperty.call(message, "path")) { + if (!$Array.isArray(message.path)) return "path: array expected"; for (var i = 0; i < message.path.length; ++i) if (!$util.isInteger(message.path[i])) return "path: integer[] expected"; } - if (message.span != null && message.hasOwnProperty("span")) { - if (!Array.isArray(message.span)) + if (message.span != null && $Object.hasOwnProperty.call(message, "span")) { + if (!$Array.isArray(message.span)) return "span: array expected"; for (var i = 0; i < message.span.length; ++i) if (!$util.isInteger(message.span[i])) return "span: integer[] expected"; } - if (message.leadingComments != null && message.hasOwnProperty("leadingComments")) + if (message.leadingComments != null && $Object.hasOwnProperty.call(message, "leadingComments")) if (!$util.isString(message.leadingComments)) return "leadingComments: string expected"; - if (message.trailingComments != null && message.hasOwnProperty("trailingComments")) + if (message.trailingComments != null && $Object.hasOwnProperty.call(message, "trailingComments")) if (!$util.isString(message.trailingComments)) return "trailingComments: string expected"; - if (message.leadingDetachedComments != null && message.hasOwnProperty("leadingDetachedComments")) { - if (!Array.isArray(message.leadingDetachedComments)) + if (message.leadingDetachedComments != null && $Object.hasOwnProperty.call(message, "leadingDetachedComments")) { + if (!$Array.isArray(message.leadingDetachedComments)) return "leadingDetachedComments: array expected"; for (var i = 0; i < message.leadingDetachedComments.length; ++i) if (!$util.isString(message.leadingDetachedComments[i])) @@ -16627,34 +26150,40 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.SourceCodeInfo.Location} Location */ - Location.fromObject = function fromObject(object) { + Location.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.SourceCodeInfo.Location) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.SourceCodeInfo.Location: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.SourceCodeInfo.Location(); if (object.path) { - if (!Array.isArray(object.path)) - throw TypeError(".google.protobuf.SourceCodeInfo.Location.path: array expected"); - message.path = []; + if (!$Array.isArray(object.path)) + throw $TypeError(".google.protobuf.SourceCodeInfo.Location.path: array expected"); + message.path = $Array(object.path.length); for (var i = 0; i < object.path.length; ++i) message.path[i] = object.path[i] | 0; } if (object.span) { - if (!Array.isArray(object.span)) - throw TypeError(".google.protobuf.SourceCodeInfo.Location.span: array expected"); - message.span = []; + if (!$Array.isArray(object.span)) + throw $TypeError(".google.protobuf.SourceCodeInfo.Location.span: array expected"); + message.span = $Array(object.span.length); for (var i = 0; i < object.span.length; ++i) message.span[i] = object.span[i] | 0; } if (object.leadingComments != null) - message.leadingComments = String(object.leadingComments); + message.leadingComments = $String(object.leadingComments); if (object.trailingComments != null) - message.trailingComments = String(object.trailingComments); + message.trailingComments = $String(object.trailingComments); if (object.leadingDetachedComments) { - if (!Array.isArray(object.leadingDetachedComments)) - throw TypeError(".google.protobuf.SourceCodeInfo.Location.leadingDetachedComments: array expected"); - message.leadingDetachedComments = []; + if (!$Array.isArray(object.leadingDetachedComments)) + throw $TypeError(".google.protobuf.SourceCodeInfo.Location.leadingDetachedComments: array expected"); + message.leadingDetachedComments = $Array(object.leadingDetachedComments.length); for (var i = 0; i < object.leadingDetachedComments.length; ++i) - message.leadingDetachedComments[i] = String(object.leadingDetachedComments[i]); + message.leadingDetachedComments[i] = $String(object.leadingDetachedComments[i]); } return message; }; @@ -16668,9 +26197,13 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Location.toObject = function toObject(message, options) { + Location.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) { object.path = []; @@ -16682,21 +26215,21 @@ $root.google = (function() { object.trailingComments = ""; } if (message.path && message.path.length) { - object.path = []; + object.path = $Array(message.path.length); for (var j = 0; j < message.path.length; ++j) object.path[j] = message.path[j]; } if (message.span && message.span.length) { - object.span = []; + object.span = $Array(message.span.length); for (var j = 0; j < message.span.length; ++j) object.span[j] = message.span[j]; } - if (message.leadingComments != null && message.hasOwnProperty("leadingComments")) + if (message.leadingComments != null && $Object.hasOwnProperty.call(message, "leadingComments")) object.leadingComments = message.leadingComments; - if (message.trailingComments != null && message.hasOwnProperty("trailingComments")) + if (message.trailingComments != null && $Object.hasOwnProperty.call(message, "trailingComments")) object.trailingComments = message.trailingComments; if (message.leadingDetachedComments && message.leadingDetachedComments.length) { - object.leadingDetachedComments = []; + object.leadingDetachedComments = $Array(message.leadingDetachedComments.length); for (var j = 0; j < message.leadingDetachedComments.length; ++j) object.leadingDetachedComments[j] = message.leadingDetachedComments[j]; } @@ -16710,23 +26243,22 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - Location.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Location.prototype.toJSON = function() { + return Location.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Location + * Gets the type url for Location * @function getTypeUrl * @memberof google.protobuf.SourceCodeInfo.Location * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Location.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.SourceCodeInfo.Location"; + Location.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.SourceCodeInfo.Location"; }; return Location; @@ -16737,32 +26269,45 @@ $root.google = (function() { protobuf.GeneratedCodeInfo = (function() { + /** + * Properties of a GeneratedCodeInfo. + * @typedef {Object} google.protobuf.GeneratedCodeInfo.$Properties + * @property {Array.|null} [annotation] GeneratedCodeInfo annotation + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + /** * Properties of a GeneratedCodeInfo. * @memberof google.protobuf * @interface IGeneratedCodeInfo - * @property {Array.|null} [annotation] GeneratedCodeInfo annotation + * @augments google.protobuf.GeneratedCodeInfo.$Properties + * @deprecated Use google.protobuf.GeneratedCodeInfo.$Properties instead. + */ + + /** + * Shape of a GeneratedCodeInfo. + * @typedef {google.protobuf.GeneratedCodeInfo.$Properties} google.protobuf.GeneratedCodeInfo.$Shape */ /** * Constructs a new GeneratedCodeInfo. * @memberof google.protobuf * @classdesc Represents a GeneratedCodeInfo. - * @implements IGeneratedCodeInfo * @constructor - * @param {google.protobuf.IGeneratedCodeInfo=} [properties] Properties to set + * @param {google.protobuf.GeneratedCodeInfo.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function GeneratedCodeInfo(properties) { + var GeneratedCodeInfo = function (properties) { this.annotation = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * GeneratedCodeInfo annotation. - * @member {Array.} annotation + * @member {Array.} annotation * @memberof google.protobuf.GeneratedCodeInfo * @instance */ @@ -16773,10 +26318,14 @@ $root.google = (function() { * @function create * @memberof google.protobuf.GeneratedCodeInfo * @static - * @param {google.protobuf.IGeneratedCodeInfo=} [properties] Properties to set + * @param {google.protobuf.GeneratedCodeInfo.$Properties=} [properties] Properties to set * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo instance + * @type {{ + * (properties: google.protobuf.GeneratedCodeInfo.$Shape): google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape; + * (properties?: google.protobuf.GeneratedCodeInfo.$Properties): google.protobuf.GeneratedCodeInfo; + * }} */ - GeneratedCodeInfo.create = function create(properties) { + GeneratedCodeInfo.create = function(properties) { return new GeneratedCodeInfo(properties); }; @@ -16785,16 +26334,23 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.GeneratedCodeInfo * @static - * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.$Properties} message GeneratedCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GeneratedCodeInfo.encode = function encode(message, writer) { + GeneratedCodeInfo.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); if (message.annotation != null && message.annotation.length) for (var i = 0; i < message.annotation.length; ++i) - $root.google.protobuf.GeneratedCodeInfo.Annotation.encode(message.annotation[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim(); + $root.google.protobuf.GeneratedCodeInfo.Annotation.encode(message.annotation[i], writer.uint32(/* id 1, wireType 2 =*/10).fork(), _depth + 1).ldelim(); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -16803,12 +26359,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.GeneratedCodeInfo * @static - * @param {google.protobuf.IGeneratedCodeInfo} message GeneratedCodeInfo message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.$Properties} message GeneratedCodeInfo message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - GeneratedCodeInfo.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + GeneratedCodeInfo.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -16818,28 +26374,59 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo + * @returns {google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape} GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GeneratedCodeInfo.decode = function decode(reader, length) { + GeneratedCodeInfo.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.GeneratedCodeInfo(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.GeneratedCodeInfo(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType !== 2) + break; if (!(message.annotation && message.annotation.length)) message.annotation = []; - message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32())); - break; + message.annotation.push($root.google.protobuf.GeneratedCodeInfo.Annotation.decode(reader, reader.uint32(), $undefined, _depth + 1)); + continue; } - default: - reader.skipType(tag & 7); - break; } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -16849,11 +26436,11 @@ $root.google = (function() { * @memberof google.protobuf.GeneratedCodeInfo * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo + * @returns {google.protobuf.GeneratedCodeInfo & google.protobuf.GeneratedCodeInfo.$Shape} GeneratedCodeInfo * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - GeneratedCodeInfo.decodeDelimited = function decodeDelimited(reader) { + GeneratedCodeInfo.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -16867,14 +26454,18 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - GeneratedCodeInfo.verify = function verify(message) { + GeneratedCodeInfo.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.annotation != null && message.hasOwnProperty("annotation")) { - if (!Array.isArray(message.annotation)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.annotation != null && $Object.hasOwnProperty.call(message, "annotation")) { + if (!$Array.isArray(message.annotation)) return "annotation: array expected"; for (var i = 0; i < message.annotation.length; ++i) { - var error = $root.google.protobuf.GeneratedCodeInfo.Annotation.verify(message.annotation[i]); + var error = $root.google.protobuf.GeneratedCodeInfo.Annotation.verify(message.annotation[i], _depth + 1); if (error) return "annotation." + error; } @@ -16890,18 +26481,24 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.GeneratedCodeInfo} GeneratedCodeInfo */ - GeneratedCodeInfo.fromObject = function fromObject(object) { + GeneratedCodeInfo.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.GeneratedCodeInfo) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.GeneratedCodeInfo: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.GeneratedCodeInfo(); if (object.annotation) { - if (!Array.isArray(object.annotation)) - throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected"); - message.annotation = []; + if (!$Array.isArray(object.annotation)) + throw $TypeError(".google.protobuf.GeneratedCodeInfo.annotation: array expected"); + message.annotation = $Array(object.annotation.length); for (var i = 0; i < object.annotation.length; ++i) { - if (typeof object.annotation[i] !== "object") - throw TypeError(".google.protobuf.GeneratedCodeInfo.annotation: object expected"); - message.annotation[i] = $root.google.protobuf.GeneratedCodeInfo.Annotation.fromObject(object.annotation[i]); + if (!$util.isObject(object.annotation[i])) + throw $TypeError(".google.protobuf.GeneratedCodeInfo.annotation: object expected"); + message.annotation[i] = $root.google.protobuf.GeneratedCodeInfo.Annotation.fromObject(object.annotation[i], _depth + 1); } } return message; @@ -16916,16 +26513,20 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - GeneratedCodeInfo.toObject = function toObject(message, options) { + GeneratedCodeInfo.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.annotation = []; if (message.annotation && message.annotation.length) { - object.annotation = []; + object.annotation = $Array(message.annotation.length); for (var j = 0; j < message.annotation.length; ++j) - object.annotation[j] = $root.google.protobuf.GeneratedCodeInfo.Annotation.toObject(message.annotation[j], options); + object.annotation[j] = $root.google.protobuf.GeneratedCodeInfo.Annotation.toObject(message.annotation[j], options, _depth + 1); } return object; }; @@ -16937,52 +26538,65 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - GeneratedCodeInfo.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + GeneratedCodeInfo.prototype.toJSON = function() { + return GeneratedCodeInfo.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for GeneratedCodeInfo + * Gets the type url for GeneratedCodeInfo * @function getTypeUrl * @memberof google.protobuf.GeneratedCodeInfo * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - GeneratedCodeInfo.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo"; + GeneratedCodeInfo.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.GeneratedCodeInfo"; }; GeneratedCodeInfo.Annotation = (function() { /** * Properties of an Annotation. - * @memberof google.protobuf.GeneratedCodeInfo - * @interface IAnnotation + * @typedef {Object} google.protobuf.GeneratedCodeInfo.Annotation.$Properties * @property {Array.|null} [path] Annotation path * @property {string|null} [sourceFile] Annotation sourceFile * @property {number|null} [begin] Annotation begin * @property {number|null} [end] Annotation end + * @property {google.protobuf.GeneratedCodeInfo.Annotation.Semantic|null} [semantic] Annotation semantic + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled + */ + + /** + * Properties of an Annotation. + * @memberof google.protobuf.GeneratedCodeInfo + * @interface IAnnotation + * @augments google.protobuf.GeneratedCodeInfo.Annotation.$Properties + * @deprecated Use google.protobuf.GeneratedCodeInfo.Annotation.$Properties instead. + */ + + /** + * Shape of an Annotation. + * @typedef {google.protobuf.GeneratedCodeInfo.Annotation.$Properties} google.protobuf.GeneratedCodeInfo.Annotation.$Shape */ /** * Constructs a new Annotation. * @memberof google.protobuf.GeneratedCodeInfo * @classdesc Represents an Annotation. - * @implements IAnnotation * @constructor - * @param {google.protobuf.GeneratedCodeInfo.IAnnotation=} [properties] Properties to set + * @param {google.protobuf.GeneratedCodeInfo.Annotation.$Properties=} [properties] Properties to set + * @property {Array.} [$unknowns] Unknown fields preserved while decoding when enabled */ - function Annotation(properties) { + var Annotation = function (properties) { this.path = []; if (properties) - for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) - if (properties[keys[i]] != null) + for (var keys = $Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null && keys[i] !== "__proto__") this[keys[i]] = properties[keys[i]]; - } + }; /** * Annotation path. @@ -17016,15 +26630,27 @@ $root.google = (function() { */ Annotation.prototype.end = 0; + /** + * Annotation semantic. + * @member {google.protobuf.GeneratedCodeInfo.Annotation.Semantic} semantic + * @memberof google.protobuf.GeneratedCodeInfo.Annotation + * @instance + */ + Annotation.prototype.semantic = 0; + /** * Creates a new Annotation instance using the specified properties. * @function create * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static - * @param {google.protobuf.GeneratedCodeInfo.IAnnotation=} [properties] Properties to set + * @param {google.protobuf.GeneratedCodeInfo.Annotation.$Properties=} [properties] Properties to set * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation instance + * @type {{ + * (properties: google.protobuf.GeneratedCodeInfo.Annotation.$Shape): google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape; + * (properties?: google.protobuf.GeneratedCodeInfo.Annotation.$Properties): google.protobuf.GeneratedCodeInfo.Annotation; + * }} */ - Annotation.create = function create(properties) { + Annotation.create = function(properties) { return new Annotation(properties); }; @@ -17033,25 +26659,30 @@ $root.google = (function() { * @function encode * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static - * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.Annotation.$Properties} message Annotation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Annotation.encode = function encode(message, writer) { + Annotation.encode = function (message, writer, _depth) { if (!writer) writer = $Writer.create(); - if (message.path != null && message.path.length) { - writer.uint32(/* id 1, wireType 2 =*/10).fork(); - for (var i = 0; i < message.path.length; ++i) - writer.int32(message.path[i]); - writer.ldelim(); - } - if (message.sourceFile != null && Object.hasOwnProperty.call(message, "sourceFile")) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); + if (message.path != null && message.path.length) + writer.uint32(/* id 1, wireType 2 =*/10).int32s(message.path); + if (message.sourceFile != null && $Object.hasOwnProperty.call(message, "sourceFile")) writer.uint32(/* id 2, wireType 2 =*/18).string(message.sourceFile); - if (message.begin != null && Object.hasOwnProperty.call(message, "begin")) + if (message.begin != null && $Object.hasOwnProperty.call(message, "begin")) writer.uint32(/* id 3, wireType 0 =*/24).int32(message.begin); - if (message.end != null && Object.hasOwnProperty.call(message, "end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) writer.uint32(/* id 4, wireType 0 =*/32).int32(message.end); + if (message.semantic != null && $Object.hasOwnProperty.call(message, "semantic")) + writer.uint32(/* id 5, wireType 0 =*/40).int32(message.semantic); + if (message.$unknowns != null && $Object.hasOwnProperty.call(message, "$unknowns")) + for (var i = 0; i < message.$unknowns.length; ++i) + writer.raw(message.$unknowns[i]); return writer; }; @@ -17060,12 +26691,12 @@ $root.google = (function() { * @function encodeDelimited * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static - * @param {google.protobuf.GeneratedCodeInfo.IAnnotation} message Annotation message or plain object to encode + * @param {google.protobuf.GeneratedCodeInfo.Annotation.$Properties} message Annotation message or plain object to encode * @param {$protobuf.Writer} [writer] Writer to encode to * @returns {$protobuf.Writer} Writer */ - Annotation.encodeDelimited = function encodeDelimited(message, writer) { - return this.encode(message, writer).ldelim(); + Annotation.encodeDelimited = function(message, writer) { + return this.encode(message, (writer || $Writer.create()).fork()).ldelim(); }; /** @@ -17075,45 +26706,95 @@ $root.google = (function() { * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from * @param {number} [length] Message length if known beforehand - * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation + * @returns {google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape} Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Annotation.decode = function decode(reader, length) { + Annotation.decode = function (reader, length, _end, _depth, _target) { if (!(reader instanceof $Reader)) reader = $Reader.create(reader); - var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.GeneratedCodeInfo.Annotation(); + if (_depth === $undefined) + _depth = 0; + if (_depth > $Reader.recursionLimit) + throw $Error("max depth exceeded"); + var end, message, value; + if (length === $undefined) + end = reader.len; + else { + end = reader.pos + length; + if (end > reader.len) + throw $RangeError("index out of range"); + length = reader.len; + reader.len = end; + } + message = _target || new $root.google.protobuf.GeneratedCodeInfo.Annotation(); while (reader.pos < end) { - var tag = reader.uint32(); - switch (tag >>> 3) { + var start = reader.pos; + var tag = reader.tag(); + if (tag === _end) { + _end = $undefined; + break; + } + var wireType = tag & 7; + switch (tag >>>= 3) { case 1: { + if (wireType === 2) { + if (!(message.path && message.path.length)) + message.path = []; + reader.int32s(message.path); + continue; + } + if (wireType !== 0) + break; if (!(message.path && message.path.length)) message.path = []; - if ((tag & 7) === 2) { - var end2 = reader.uint32() + reader.pos; - while (reader.pos < end2) - message.path.push(reader.int32()); - } else - message.path.push(reader.int32()); - break; + message.path.push(reader.int32()); + continue; } case 2: { + if (wireType !== 2) + break; message.sourceFile = reader.string(); - break; + continue; } case 3: { + if (wireType !== 0) + break; message.begin = reader.int32(); - break; + continue; } case 4: { + if (wireType !== 0) + break; message.end = reader.int32(); - break; + continue; } - default: - reader.skipType(tag & 7); - break; + case 5: { + if (wireType !== 0) + break; + value = reader.int32(); + if ($root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[value] !== $undefined) + message.semantic = value; + else if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); + } + continue; + } + } + reader.skipType(wireType, _depth, tag); + if (!reader.discardUnknown) { + $util.makeProp(message, "$unknowns", false); + (message.$unknowns || (message.$unknowns = [])).push(reader.raw(start, reader.pos)); } } + if (length !== $undefined) { + if (reader.pos !== end) + throw $RangeError("index out of range"); + reader.len = length; + } + if (_end !== $undefined) + throw $Error("missing end group"); return message; }; @@ -17123,11 +26804,11 @@ $root.google = (function() { * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from - * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation + * @returns {google.protobuf.GeneratedCodeInfo.Annotation & google.protobuf.GeneratedCodeInfo.Annotation.$Shape} Annotation * @throws {Error} If the payload is not a reader or valid buffer * @throws {$protobuf.util.ProtocolError} If required fields are missing */ - Annotation.decodeDelimited = function decodeDelimited(reader) { + Annotation.decodeDelimited = function(reader) { if (!(reader instanceof $Reader)) reader = new $Reader(reader); return this.decode(reader, reader.uint32()); @@ -17141,25 +26822,38 @@ $root.google = (function() { * @param {Object.} message Plain object to verify * @returns {string|null} `null` if valid, otherwise the reason why it is not */ - Annotation.verify = function verify(message) { + Annotation.verify = function (message, _depth) { if (typeof message !== "object" || message === null) return "object expected"; - if (message.path != null && message.hasOwnProperty("path")) { - if (!Array.isArray(message.path)) + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + return "max depth exceeded"; + if (message.path != null && $Object.hasOwnProperty.call(message, "path")) { + if (!$Array.isArray(message.path)) return "path: array expected"; for (var i = 0; i < message.path.length; ++i) if (!$util.isInteger(message.path[i])) return "path: integer[] expected"; } - if (message.sourceFile != null && message.hasOwnProperty("sourceFile")) + if (message.sourceFile != null && $Object.hasOwnProperty.call(message, "sourceFile")) if (!$util.isString(message.sourceFile)) return "sourceFile: string expected"; - if (message.begin != null && message.hasOwnProperty("begin")) + if (message.begin != null && $Object.hasOwnProperty.call(message, "begin")) if (!$util.isInteger(message.begin)) return "begin: integer expected"; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) if (!$util.isInteger(message.end)) return "end: integer expected"; + if (message.semantic != null && $Object.hasOwnProperty.call(message, "semantic")) + switch (message.semantic) { + default: + return "semantic: enum value expected"; + case 0: + case 1: + case 2: + break; + } return null; }; @@ -17171,23 +26865,44 @@ $root.google = (function() { * @param {Object.} object Plain object * @returns {google.protobuf.GeneratedCodeInfo.Annotation} Annotation */ - Annotation.fromObject = function fromObject(object) { + Annotation.fromObject = function (object, _depth) { if (object instanceof $root.google.protobuf.GeneratedCodeInfo.Annotation) return object; + if (!$util.isObject(object)) + throw $TypeError(".google.protobuf.GeneratedCodeInfo.Annotation: object expected"); + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var message = new $root.google.protobuf.GeneratedCodeInfo.Annotation(); if (object.path) { - if (!Array.isArray(object.path)) - throw TypeError(".google.protobuf.GeneratedCodeInfo.Annotation.path: array expected"); - message.path = []; + if (!$Array.isArray(object.path)) + throw $TypeError(".google.protobuf.GeneratedCodeInfo.Annotation.path: array expected"); + message.path = $Array(object.path.length); for (var i = 0; i < object.path.length; ++i) message.path[i] = object.path[i] | 0; } if (object.sourceFile != null) - message.sourceFile = String(object.sourceFile); + message.sourceFile = $String(object.sourceFile); if (object.begin != null) message.begin = object.begin | 0; if (object.end != null) message.end = object.end | 0; + switch (object.semantic) { + case "NONE": + case 0: + message.semantic = 0; + break; + case "SET": + case 1: + message.semantic = 1; + break; + case "ALIAS": + case 2: + message.semantic = 2; + break; + default: + } return message; }; @@ -17200,9 +26915,13 @@ $root.google = (function() { * @param {$protobuf.IConversionOptions} [options] Conversion options * @returns {Object.} Plain object */ - Annotation.toObject = function toObject(message, options) { + Annotation.toObject = function (message, options, _depth) { if (!options) options = {}; + if (_depth === $undefined) + _depth = 0; + if (_depth > $util.recursionLimit) + throw $Error("max depth exceeded"); var object = {}; if (options.arrays || options.defaults) object.path = []; @@ -17210,18 +26929,21 @@ $root.google = (function() { object.sourceFile = ""; object.begin = 0; object.end = 0; + object.semantic = options.enums === $String ? "NONE" : 0; } if (message.path && message.path.length) { - object.path = []; + object.path = $Array(message.path.length); for (var j = 0; j < message.path.length; ++j) object.path[j] = message.path[j]; } - if (message.sourceFile != null && message.hasOwnProperty("sourceFile")) + if (message.sourceFile != null && $Object.hasOwnProperty.call(message, "sourceFile")) object.sourceFile = message.sourceFile; - if (message.begin != null && message.hasOwnProperty("begin")) + if (message.begin != null && $Object.hasOwnProperty.call(message, "begin")) object.begin = message.begin; - if (message.end != null && message.hasOwnProperty("end")) + if (message.end != null && $Object.hasOwnProperty.call(message, "end")) object.end = message.end; + if (message.semantic != null && $Object.hasOwnProperty.call(message, "semantic")) + object.semantic = options.enums === $String ? $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] === $undefined ? message.semantic : $root.google.protobuf.GeneratedCodeInfo.Annotation.Semantic[message.semantic] : message.semantic; return object; }; @@ -17232,31 +26954,62 @@ $root.google = (function() { * @instance * @returns {Object.} JSON object */ - Annotation.prototype.toJSON = function toJSON() { - return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + Annotation.prototype.toJSON = function() { + return Annotation.toObject(this, $protobuf.util.toJSONOptions); }; /** - * Gets the default type url for Annotation + * Gets the type url for Annotation * @function getTypeUrl * @memberof google.protobuf.GeneratedCodeInfo.Annotation * @static - * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com") - * @returns {string} The default type url + * @param {string} [prefix] Custom type url prefix, defaults to `"type.googleapis.com"` + * @returns {string} The type url */ - Annotation.getTypeUrl = function getTypeUrl(typeUrlPrefix) { - if (typeUrlPrefix === undefined) { - typeUrlPrefix = "type.googleapis.com"; - } - return typeUrlPrefix + "/google.protobuf.GeneratedCodeInfo.Annotation"; + Annotation.getTypeUrl = function(prefix) { + if (prefix === $undefined) + prefix = "type.googleapis.com"; + return prefix + "/google.protobuf.GeneratedCodeInfo.Annotation"; }; + /** + * Semantic enum. + * @name google.protobuf.GeneratedCodeInfo.Annotation.Semantic + * @enum {number} + * @property {number} NONE=0 NONE value + * @property {number} SET=1 SET value + * @property {number} ALIAS=2 ALIAS value + */ + Annotation.Semantic = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "NONE"] = 0; + values[valuesById[1] = "SET"] = 1; + values[valuesById[2] = "ALIAS"] = 2; + return values; + })(); + return Annotation; })(); return GeneratedCodeInfo; })(); + /** + * SymbolVisibility enum. + * @name google.protobuf.SymbolVisibility + * @enum {number} + * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value + * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value + * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value + */ + protobuf.SymbolVisibility = (function() { + var valuesById = $Object.create(null), values = $Object.create(valuesById); + values[valuesById[0] = "VISIBILITY_UNSET"] = 0; + values[valuesById[1] = "VISIBILITY_LOCAL"] = 1; + values[valuesById[2] = "VISIBILITY_EXPORT"] = 2; + return values; + })(); + return protobuf; })(); diff --git a/src/index.ts b/src/index.ts index ff252d9..f7018b4 100644 --- a/src/index.ts +++ b/src/index.ts @@ -1 +1,2 @@ -export { Client, ClientOptions, QueryResult } from "./client"; +export { Client, QueryResult } from "./client"; +export type { ClientOptions } from "./client"; diff --git a/tsconfig.json b/tsconfig.json index eadcb41..665a4f7 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -74,7 +74,7 @@ // "declarationDir": "./", /* Specify the output directory for generated declaration files. */ /* Interop Constraints */ - // "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ + "isolatedModules": true, /* Ensure that each file can be safely transpiled without relying on other imports. */ // "verbatimModuleSyntax": true, /* Do not transform or elide any imports or exports not marked as type-only, ensuring they are written in the output file's format based on the 'module' setting. */ // "isolatedDeclarations": true, /* Require sufficient annotation on exports so other tools can trivially generate declaration files. */ // "allowSyntheticDefaultImports": true, /* Allow 'import x from y' when a module doesn't have a default export. */ diff --git a/tsup.config.js b/tsup.config.js index d7bc63f..fccd045 100644 --- a/tsup.config.js +++ b/tsup.config.js @@ -3,7 +3,12 @@ import { defineConfig } from "tsup"; export default defineConfig({ entry: ["src/index.ts"], format: ["cjs", "esm"], - dts: true, + dts: { + compilerOptions: { + // tsup's dts bundler injects `baseUrl`, which TypeScript 6 reports as deprecated. + ignoreDeprecations: "6.0", + }, + }, splitting: false, sourcemap: true, clean: true,