@nebius/js-sdk 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.md +338 -0
- package/dist/cjs/__tests__/generator_basic.cases.d.ts +2 -0
- package/dist/cjs/__tests__/generator_basic.cases.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_basic.cases.js +596 -0
- package/dist/cjs/__tests__/generator_basic.cases.js.map +1 -0
- package/dist/cjs/__tests__/generator_cross.cases.d.ts +2 -0
- package/dist/cjs/__tests__/generator_cross.cases.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_cross.cases.js +448 -0
- package/dist/cjs/__tests__/generator_cross.cases.js.map +1 -0
- package/dist/cjs/__tests__/generator_extensions.cases.d.ts +2 -0
- package/dist/cjs/__tests__/generator_extensions.cases.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_extensions.cases.js +347 -0
- package/dist/cjs/__tests__/generator_extensions.cases.js.map +1 -0
- package/dist/cjs/__tests__/generator_registry.cases.d.ts +7 -0
- package/dist/cjs/__tests__/generator_registry.cases.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_registry.cases.js +35 -0
- package/dist/cjs/__tests__/generator_registry.cases.js.map +1 -0
- package/dist/cjs/__tests__/generator_sanitization.cases.d.ts +2 -0
- package/dist/cjs/__tests__/generator_sanitization.cases.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_sanitization.cases.js +62 -0
- package/dist/cjs/__tests__/generator_sanitization.cases.js.map +1 -0
- package/dist/cjs/__tests__/generator_shared.helpers.d.ts +21 -0
- package/dist/cjs/__tests__/generator_shared.helpers.d.ts.map +1 -0
- package/dist/cjs/__tests__/generator_shared.helpers.js +396 -0
- package/dist/cjs/__tests__/generator_shared.helpers.js.map +1 -0
- package/dist/cjs/api/buf/validate/index.d.ts +2681 -0
- package/dist/cjs/api/buf/validate/index.d.ts.map +1 -0
- package/dist/cjs/api/buf/validate/index.js +9586 -0
- package/dist/cjs/api/buf/validate/index.js.map +1 -0
- package/dist/cjs/api/google/protobuf/index.d.ts +1779 -0
- package/dist/cjs/api/google/protobuf/index.d.ts.map +1 -0
- package/dist/cjs/api/google/protobuf/index.js +7326 -0
- package/dist/cjs/api/google/protobuf/index.js.map +1 -0
- package/dist/cjs/api/google/rpc/index.d.ts +247 -0
- package/dist/cjs/api/google/rpc/index.d.ts.map +1 -0
- package/dist/cjs/api/google/rpc/index.js +366 -0
- package/dist/cjs/api/google/rpc/index.js.map +1 -0
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts +210 -0
- package/dist/cjs/api/nebius/applications/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js +1421 -0
- package/dist/cjs/api/nebius/applications/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/audit/v2/index.d.ts +457 -0
- package/dist/cjs/api/nebius/audit/v2/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/audit/v2/index.js +2695 -0
- package/dist/cjs/api/nebius/audit/v2/index.js.map +1 -0
- package/dist/cjs/api/nebius/billing/v1alpha1/index.d.ts +262 -0
- package/dist/cjs/api/nebius/billing/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/billing/v1alpha1/index.js +1319 -0
- package/dist/cjs/api/nebius/billing/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.d.ts +327 -0
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.js +2050 -0
- package/dist/cjs/api/nebius/common/error/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/common/v1/index.d.ts +717 -0
- package/dist/cjs/api/nebius/common/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/common/v1/index.js +3971 -0
- package/dist/cjs/api/nebius/common/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/common/v1alpha1/index.d.ts +314 -0
- package/dist/cjs/api/nebius/common/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/common/v1alpha1/index.js +1154 -0
- package/dist/cjs/api/nebius/common/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/compute/v1/index.d.ts +2279 -0
- package/dist/cjs/api/nebius/compute/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/compute/v1/index.js +12616 -0
- package/dist/cjs/api/nebius/compute/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/compute/v1alpha1/index.d.ts +1430 -0
- package/dist/cjs/api/nebius/compute/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/compute/v1alpha1/index.js +8107 -0
- package/dist/cjs/api/nebius/compute/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/iam/v1/index.d.ts +4055 -0
- package/dist/cjs/api/nebius/iam/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/iam/v1/index.js +23617 -0
- package/dist/cjs/api/nebius/iam/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/iam/v2/index.d.ts +674 -0
- package/dist/cjs/api/nebius/iam/v2/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/iam/v2/index.js +3640 -0
- package/dist/cjs/api/nebius/iam/v2/index.js.map +1 -0
- package/dist/cjs/api/nebius/index.d.ts +257 -0
- package/dist/cjs/api/nebius/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/index.js +1667 -0
- package/dist/cjs/api/nebius/index.js.map +1 -0
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.d.ts +416 -0
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.js +1752 -0
- package/dist/cjs/api/nebius/logging/v1/agentmanager/index.js.map +1 -0
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.d.ts +281 -0
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.js +1207 -0
- package/dist/cjs/api/nebius/maintenance/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts +1191 -0
- package/dist/cjs/api/nebius/mk8s/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/mk8s/v1/index.js +6964 -0
- package/dist/cjs/api/nebius/mk8s/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.d.ts +1132 -0
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.js +7189 -0
- package/dist/cjs/api/nebius/mk8s/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts +349 -0
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js +1604 -0
- package/dist/cjs/api/nebius/msp/mlflow/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts +46 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.js +360 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/config/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.d.ts +875 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.js +3926 -0
- package/dist/cjs/api/nebius/msp/postgresql/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.d.ts +670 -0
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.js +2975 -0
- package/dist/cjs/api/nebius/msp/serverless/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/index.d.ts +145 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/index.js +946 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.d.ts +90 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.js +1288 -0
- package/dist/cjs/api/nebius/msp/v1alpha1/resource/index.js.map +1 -0
- package/dist/cjs/api/nebius/mysterybox/v1/index.d.ts +826 -0
- package/dist/cjs/api/nebius/mysterybox/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/mysterybox/v1/index.js +3691 -0
- package/dist/cjs/api/nebius/mysterybox/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/quotas/v1/index.d.ts +299 -0
- package/dist/cjs/api/nebius/quotas/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/quotas/v1/index.js +1178 -0
- package/dist/cjs/api/nebius/quotas/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/registry/v1/index.d.ts +366 -0
- package/dist/cjs/api/nebius/registry/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/registry/v1/index.js +2146 -0
- package/dist/cjs/api/nebius/registry/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/storage/v1/index.d.ts +928 -0
- package/dist/cjs/api/nebius/storage/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/storage/v1/index.js +7811 -0
- package/dist/cjs/api/nebius/storage/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/storage/v1alpha1/index.d.ts +579 -0
- package/dist/cjs/api/nebius/storage/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/storage/v1alpha1/index.js +3554 -0
- package/dist/cjs/api/nebius/storage/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/nebius/vpc/v1/index.d.ts +2458 -0
- package/dist/cjs/api/nebius/vpc/v1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/vpc/v1/index.js +13277 -0
- package/dist/cjs/api/nebius/vpc/v1/index.js.map +1 -0
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.d.ts +1493 -0
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.d.ts.map +1 -0
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.js +8338 -0
- package/dist/cjs/api/nebius/vpc/v1alpha1/index.js.map +1 -0
- package/dist/cjs/api/protobuf.d.ts +3 -0
- package/dist/cjs/api/protobuf.d.ts.map +1 -0
- package/dist/cjs/api/protobuf.js +9 -0
- package/dist/cjs/api/protobuf.js.map +1 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +3 -0
- package/dist/cjs/runtime/authorization/interceptor.d.ts +5 -0
- package/dist/cjs/runtime/authorization/interceptor.d.ts.map +1 -0
- package/dist/cjs/runtime/authorization/interceptor.js +120 -0
- package/dist/cjs/runtime/authorization/interceptor.js.map +1 -0
- package/dist/cjs/runtime/authorization/provider.d.ts +16 -0
- package/dist/cjs/runtime/authorization/provider.d.ts.map +1 -0
- package/dist/cjs/runtime/authorization/provider.js +3 -0
- package/dist/cjs/runtime/authorization/provider.js.map +1 -0
- package/dist/cjs/runtime/authorization/token.d.ts +23 -0
- package/dist/cjs/runtime/authorization/token.d.ts.map +1 -0
- package/dist/cjs/runtime/authorization/token.js +54 -0
- package/dist/cjs/runtime/authorization/token.js.map +1 -0
- package/dist/cjs/runtime/cli_config.d.ts +41 -0
- package/dist/cjs/runtime/cli_config.d.ts.map +1 -0
- package/dist/cjs/runtime/cli_config.js +331 -0
- package/dist/cjs/runtime/cli_config.js.map +1 -0
- package/dist/cjs/runtime/cli_config_interfaces.d.ts +21 -0
- package/dist/cjs/runtime/cli_config_interfaces.d.ts.map +1 -0
- package/dist/cjs/runtime/cli_config_interfaces.js +3 -0
- package/dist/cjs/runtime/cli_config_interfaces.js.map +1 -0
- package/dist/cjs/runtime/constants.d.ts +8 -0
- package/dist/cjs/runtime/constants.d.ts.map +1 -0
- package/dist/cjs/runtime/constants.js +12 -0
- package/dist/cjs/runtime/constants.js.map +1 -0
- package/dist/cjs/runtime/error.d.ts +18 -0
- package/dist/cjs/runtime/error.d.ts.map +1 -0
- package/dist/cjs/runtime/error.js +242 -0
- package/dist/cjs/runtime/error.js.map +1 -0
- package/dist/cjs/runtime/fieldmask.d.ts +68 -0
- package/dist/cjs/runtime/fieldmask.d.ts.map +1 -0
- package/dist/cjs/runtime/fieldmask.js +516 -0
- package/dist/cjs/runtime/fieldmask.js.map +1 -0
- package/dist/cjs/runtime/fieldmask_parser.d.ts +3 -0
- package/dist/cjs/runtime/fieldmask_parser.d.ts.map +1 -0
- package/dist/cjs/runtime/fieldmask_parser.js +173 -0
- package/dist/cjs/runtime/fieldmask_parser.js.map +1 -0
- package/dist/cjs/runtime/operation.d.ts +59 -0
- package/dist/cjs/runtime/operation.d.ts.map +1 -0
- package/dist/cjs/runtime/operation.js +122 -0
- package/dist/cjs/runtime/operation.js.map +1 -0
- package/dist/cjs/runtime/protos/any.d.ts +11 -0
- package/dist/cjs/runtime/protos/any.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/any.js +43 -0
- package/dist/cjs/runtime/protos/any.js.map +1 -0
- package/dist/cjs/runtime/protos/base64.d.ts +3 -0
- package/dist/cjs/runtime/protos/base64.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/base64.js +26 -0
- package/dist/cjs/runtime/protos/base64.js.map +1 -0
- package/dist/cjs/runtime/protos/core.d.ts +23 -0
- package/dist/cjs/runtime/protos/core.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/core.js +28 -0
- package/dist/cjs/runtime/protos/core.js.map +1 -0
- package/dist/cjs/runtime/protos/enum.d.ts +31 -0
- package/dist/cjs/runtime/protos/enum.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/enum.js +91 -0
- package/dist/cjs/runtime/protos/enum.js.map +1 -0
- package/dist/cjs/runtime/protos/fieldmask.d.ts +6 -0
- package/dist/cjs/runtime/protos/fieldmask.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/fieldmask.js +37 -0
- package/dist/cjs/runtime/protos/fieldmask.js.map +1 -0
- package/dist/cjs/runtime/protos/index.d.ts +8 -0
- package/dist/cjs/runtime/protos/index.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/index.js +20 -0
- package/dist/cjs/runtime/protos/index.js.map +1 -0
- package/dist/cjs/runtime/protos/long.d.ts +2 -0
- package/dist/cjs/runtime/protos/long.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/long.js +3 -0
- package/dist/cjs/runtime/protos/long.js.map +1 -0
- package/dist/cjs/runtime/protos/registry.d.ts +83 -0
- package/dist/cjs/runtime/protos/registry.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/registry.js +48 -0
- package/dist/cjs/runtime/protos/registry.js.map +1 -0
- package/dist/cjs/runtime/protos/values.d.ts +6 -0
- package/dist/cjs/runtime/protos/values.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/values.js +162 -0
- package/dist/cjs/runtime/protos/values.js.map +1 -0
- package/dist/cjs/runtime/protos/wkt.d.ts +92 -0
- package/dist/cjs/runtime/protos/wkt.d.ts.map +1 -0
- package/dist/cjs/runtime/protos/wkt.js +276 -0
- package/dist/cjs/runtime/protos/wkt.js.map +1 -0
- package/dist/cjs/runtime/request.d.ts +49 -0
- package/dist/cjs/runtime/request.d.ts.map +1 -0
- package/dist/cjs/runtime/request.js +635 -0
- package/dist/cjs/runtime/request.js.map +1 -0
- package/dist/cjs/runtime/resetmask.d.ts +7 -0
- package/dist/cjs/runtime/resetmask.d.ts.map +1 -0
- package/dist/cjs/runtime/resetmask.js +142 -0
- package/dist/cjs/runtime/resetmask.js.map +1 -0
- package/dist/cjs/runtime/resolver.d.ts +73 -0
- package/dist/cjs/runtime/resolver.d.ts.map +1 -0
- package/dist/cjs/runtime/resolver.js +235 -0
- package/dist/cjs/runtime/resolver.js.map +1 -0
- package/dist/cjs/runtime/service_account/cached.d.ts +13 -0
- package/dist/cjs/runtime/service_account/cached.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/cached.js +33 -0
- package/dist/cjs/runtime/service_account/cached.js.map +1 -0
- package/dist/cjs/runtime/service_account/credentials_file.d.ts +16 -0
- package/dist/cjs/runtime/service_account/credentials_file.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/credentials_file.js +57 -0
- package/dist/cjs/runtime/service_account/credentials_file.js.map +1 -0
- package/dist/cjs/runtime/service_account/federated_credentials.d.ts +31 -0
- package/dist/cjs/runtime/service_account/federated_credentials.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/federated_credentials.js +95 -0
- package/dist/cjs/runtime/service_account/federated_credentials.js.map +1 -0
- package/dist/cjs/runtime/service_account/pk_file.d.ts +18 -0
- package/dist/cjs/runtime/service_account/pk_file.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/pk_file.js +43 -0
- package/dist/cjs/runtime/service_account/pk_file.js.map +1 -0
- package/dist/cjs/runtime/service_account/service_account.d.ts +22 -0
- package/dist/cjs/runtime/service_account/service_account.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/service_account.js +70 -0
- package/dist/cjs/runtime/service_account/service_account.js.map +1 -0
- package/dist/cjs/runtime/service_account/static.d.ts +13 -0
- package/dist/cjs/runtime/service_account/static.d.ts.map +1 -0
- package/dist/cjs/runtime/service_account/static.js +29 -0
- package/dist/cjs/runtime/service_account/static.js.map +1 -0
- package/dist/cjs/runtime/tls/system_certs.d.ts +15 -0
- package/dist/cjs/runtime/tls/system_certs.d.ts.map +1 -0
- package/dist/cjs/runtime/tls/system_certs.js +99 -0
- package/dist/cjs/runtime/tls/system_certs.js.map +1 -0
- package/dist/cjs/runtime/token/exchangeable.d.ts +26 -0
- package/dist/cjs/runtime/token/exchangeable.d.ts.map +1 -0
- package/dist/cjs/runtime/token/exchangeable.js +151 -0
- package/dist/cjs/runtime/token/exchangeable.js.map +1 -0
- package/dist/cjs/runtime/token/federated_credentials.d.ts +27 -0
- package/dist/cjs/runtime/token/federated_credentials.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federated_credentials.js +76 -0
- package/dist/cjs/runtime/token/federated_credentials.js.map +1 -0
- package/dist/cjs/runtime/token/federation_account.d.ts +27 -0
- package/dist/cjs/runtime/token/federation_account.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_account.js +47 -0
- package/dist/cjs/runtime/token/federation_account.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/auth.d.ts +42 -0
- package/dist/cjs/runtime/token/federation_bearer/auth.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/auth.js +197 -0
- package/dist/cjs/runtime/token/federation_bearer/auth.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/constants.d.ts +3 -0
- package/dist/cjs/runtime/token/federation_bearer/constants.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/constants.js +6 -0
- package/dist/cjs/runtime/token/federation_bearer/constants.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/index.d.ts +19 -0
- package/dist/cjs/runtime/token/federation_bearer/index.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/index.js +120 -0
- package/dist/cjs/runtime/token/federation_bearer/index.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.d.ts +2 -0
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.js +14 -0
- package/dist/cjs/runtime/token/federation_bearer/is_wsl.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/pkce.d.ts +8 -0
- package/dist/cjs/runtime/token/federation_bearer/pkce.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/pkce.js +30 -0
- package/dist/cjs/runtime/token/federation_bearer/pkce.js.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/server.d.ts +20 -0
- package/dist/cjs/runtime/token/federation_bearer/server.d.ts.map +1 -0
- package/dist/cjs/runtime/token/federation_bearer/server.js +132 -0
- package/dist/cjs/runtime/token/federation_bearer/server.js.map +1 -0
- package/dist/cjs/runtime/token/file.d.ts +11 -0
- package/dist/cjs/runtime/token/file.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file.js +55 -0
- package/dist/cjs/runtime/token/file.js.map +1 -0
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.d.ts +63 -0
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.js +452 -0
- package/dist/cjs/runtime/token/file_cache/async_renewable_bearer.js.map +1 -0
- package/dist/cjs/runtime/token/file_cache/file_bearer.d.ts +16 -0
- package/dist/cjs/runtime/token/file_cache/file_bearer.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file_cache/file_bearer.js +65 -0
- package/dist/cjs/runtime/token/file_cache/file_bearer.js.map +1 -0
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.d.ts +15 -0
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.js +135 -0
- package/dist/cjs/runtime/token/file_cache/renewable_bearer.js.map +1 -0
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.d.ts +22 -0
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.js +89 -0
- package/dist/cjs/runtime/token/file_cache/throttled_token_cache.js.map +1 -0
- package/dist/cjs/runtime/token/file_cache/token_cache.d.ts +24 -0
- package/dist/cjs/runtime/token/file_cache/token_cache.d.ts.map +1 -0
- package/dist/cjs/runtime/token/file_cache/token_cache.js +316 -0
- package/dist/cjs/runtime/token/file_cache/token_cache.js.map +1 -0
- package/dist/cjs/runtime/token/renewable.d.ts +59 -0
- package/dist/cjs/runtime/token/renewable.d.ts.map +1 -0
- package/dist/cjs/runtime/token/renewable.js +393 -0
- package/dist/cjs/runtime/token/renewable.js.map +1 -0
- package/dist/cjs/runtime/token/service_account.d.ts +28 -0
- package/dist/cjs/runtime/token/service_account.d.ts.map +1 -0
- package/dist/cjs/runtime/token/service_account.js +95 -0
- package/dist/cjs/runtime/token/service_account.js.map +1 -0
- package/dist/cjs/runtime/token/static.d.ts +17 -0
- package/dist/cjs/runtime/token/static.d.ts.map +1 -0
- package/dist/cjs/runtime/token/static.js +69 -0
- package/dist/cjs/runtime/token/static.js.map +1 -0
- package/dist/cjs/runtime/token.d.ts +52 -0
- package/dist/cjs/runtime/token.d.ts.map +1 -0
- package/dist/cjs/runtime/token.js +135 -0
- package/dist/cjs/runtime/token.js.map +1 -0
- package/dist/cjs/runtime/token_sanitizer.d.ts +31 -0
- package/dist/cjs/runtime/token_sanitizer.d.ts.map +1 -0
- package/dist/cjs/runtime/token_sanitizer.js +94 -0
- package/dist/cjs/runtime/token_sanitizer.js.map +1 -0
- package/dist/cjs/runtime/util/cancelable.d.ts +25 -0
- package/dist/cjs/runtime/util/cancelable.d.ts.map +1 -0
- package/dist/cjs/runtime/util/cancelable.js +130 -0
- package/dist/cjs/runtime/util/cancelable.js.map +1 -0
- package/dist/cjs/runtime/util/logging.d.ts +146 -0
- package/dist/cjs/runtime/util/logging.d.ts.map +1 -0
- package/dist/cjs/runtime/util/logging.js +865 -0
- package/dist/cjs/runtime/util/logging.js.map +1 -0
- package/dist/cjs/runtime/util/path.d.ts +2 -0
- package/dist/cjs/runtime/util/path.d.ts.map +1 -0
- package/dist/cjs/runtime/util/path.js +22 -0
- package/dist/cjs/runtime/util/path.js.map +1 -0
- package/dist/cjs/sdk.d.ts +98 -0
- package/dist/cjs/sdk.d.ts.map +1 -0
- package/dist/cjs/sdk.js +543 -0
- package/dist/cjs/sdk.js.map +1 -0
- package/dist/cjs/test/setup.d.ts +1 -0
- package/dist/cjs/test/setup.d.ts.map +1 -0
- package/dist/cjs/test/setup.js +24 -0
- package/dist/cjs/test/setup.js.map +1 -0
- package/dist/cjs/version.d.ts +2 -0
- package/dist/cjs/version.d.ts.map +1 -0
- package/dist/cjs/version.js +6 -0
- package/dist/cjs/version.js.map +1 -0
- package/dist/esm/__tests__/generator_basic.cases.d.ts +2 -0
- package/dist/esm/__tests__/generator_basic.cases.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_basic.cases.js +4 -0
- package/dist/esm/__tests__/generator_cross.cases.d.ts +2 -0
- package/dist/esm/__tests__/generator_cross.cases.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_cross.cases.js +4 -0
- package/dist/esm/__tests__/generator_extensions.cases.d.ts +2 -0
- package/dist/esm/__tests__/generator_extensions.cases.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_extensions.cases.js +4 -0
- package/dist/esm/__tests__/generator_registry.cases.d.ts +7 -0
- package/dist/esm/__tests__/generator_registry.cases.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_registry.cases.js +4 -0
- package/dist/esm/__tests__/generator_sanitization.cases.d.ts +2 -0
- package/dist/esm/__tests__/generator_sanitization.cases.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_sanitization.cases.js +4 -0
- package/dist/esm/__tests__/generator_shared.helpers.d.ts +21 -0
- package/dist/esm/__tests__/generator_shared.helpers.d.ts.map +1 -0
- package/dist/esm/__tests__/generator_shared.helpers.js +4 -0
- package/dist/esm/api/buf/validate/index.d.ts +2681 -0
- package/dist/esm/api/buf/validate/index.d.ts.map +1 -0
- package/dist/esm/api/buf/validate/index.js +4 -0
- package/dist/esm/api/google/protobuf/index.d.ts +1779 -0
- package/dist/esm/api/google/protobuf/index.d.ts.map +1 -0
- package/dist/esm/api/google/protobuf/index.js +4 -0
- package/dist/esm/api/google/rpc/index.d.ts +247 -0
- package/dist/esm/api/google/rpc/index.d.ts.map +1 -0
- package/dist/esm/api/google/rpc/index.js +4 -0
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts +210 -0
- package/dist/esm/api/nebius/applications/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/applications/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/audit/v2/index.d.ts +457 -0
- package/dist/esm/api/nebius/audit/v2/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/audit/v2/index.js +4 -0
- package/dist/esm/api/nebius/billing/v1alpha1/index.d.ts +262 -0
- package/dist/esm/api/nebius/billing/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/billing/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/common/error/v1alpha1/index.d.ts +327 -0
- package/dist/esm/api/nebius/common/error/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/common/error/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/common/v1/index.d.ts +717 -0
- package/dist/esm/api/nebius/common/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/common/v1/index.js +4 -0
- package/dist/esm/api/nebius/common/v1alpha1/index.d.ts +314 -0
- package/dist/esm/api/nebius/common/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/common/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/compute/v1/index.d.ts +2279 -0
- package/dist/esm/api/nebius/compute/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/compute/v1/index.js +4 -0
- package/dist/esm/api/nebius/compute/v1alpha1/index.d.ts +1430 -0
- package/dist/esm/api/nebius/compute/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/compute/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/iam/v1/index.d.ts +4055 -0
- package/dist/esm/api/nebius/iam/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/iam/v1/index.js +4 -0
- package/dist/esm/api/nebius/iam/v2/index.d.ts +674 -0
- package/dist/esm/api/nebius/iam/v2/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/iam/v2/index.js +4 -0
- package/dist/esm/api/nebius/index.d.ts +257 -0
- package/dist/esm/api/nebius/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/index.js +4 -0
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.d.ts +416 -0
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/logging/v1/agentmanager/index.js +4 -0
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.d.ts +281 -0
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/maintenance/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts +1191 -0
- package/dist/esm/api/nebius/mk8s/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/mk8s/v1/index.js +4 -0
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.d.ts +1132 -0
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/mk8s/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts +349 -0
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/mlflow/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts +46 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/config/index.js +4 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.d.ts +875 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/postgresql/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.d.ts +670 -0
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/serverless/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/msp/v1alpha1/index.d.ts +145 -0
- package/dist/esm/api/nebius/msp/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.d.ts +90 -0
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/msp/v1alpha1/resource/index.js +4 -0
- package/dist/esm/api/nebius/mysterybox/v1/index.d.ts +826 -0
- package/dist/esm/api/nebius/mysterybox/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/mysterybox/v1/index.js +4 -0
- package/dist/esm/api/nebius/quotas/v1/index.d.ts +299 -0
- package/dist/esm/api/nebius/quotas/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/quotas/v1/index.js +4 -0
- package/dist/esm/api/nebius/registry/v1/index.d.ts +366 -0
- package/dist/esm/api/nebius/registry/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/registry/v1/index.js +4 -0
- package/dist/esm/api/nebius/storage/v1/index.d.ts +928 -0
- package/dist/esm/api/nebius/storage/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/storage/v1/index.js +4 -0
- package/dist/esm/api/nebius/storage/v1alpha1/index.d.ts +579 -0
- package/dist/esm/api/nebius/storage/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/storage/v1alpha1/index.js +4 -0
- package/dist/esm/api/nebius/vpc/v1/index.d.ts +2458 -0
- package/dist/esm/api/nebius/vpc/v1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/vpc/v1/index.js +4 -0
- package/dist/esm/api/nebius/vpc/v1alpha1/index.d.ts +1493 -0
- package/dist/esm/api/nebius/vpc/v1alpha1/index.d.ts.map +1 -0
- package/dist/esm/api/nebius/vpc/v1alpha1/index.js +4 -0
- package/dist/esm/api/protobuf.d.ts +3 -0
- package/dist/esm/api/protobuf.d.ts.map +1 -0
- package/dist/esm/api/protobuf.js +4 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/package.json +3 -0
- package/dist/esm/runtime/authorization/interceptor.d.ts +5 -0
- package/dist/esm/runtime/authorization/interceptor.d.ts.map +1 -0
- package/dist/esm/runtime/authorization/interceptor.js +4 -0
- package/dist/esm/runtime/authorization/provider.d.ts +16 -0
- package/dist/esm/runtime/authorization/provider.d.ts.map +1 -0
- package/dist/esm/runtime/authorization/provider.js +4 -0
- package/dist/esm/runtime/authorization/token.d.ts +23 -0
- package/dist/esm/runtime/authorization/token.d.ts.map +1 -0
- package/dist/esm/runtime/authorization/token.js +4 -0
- package/dist/esm/runtime/cli_config.d.ts +41 -0
- package/dist/esm/runtime/cli_config.d.ts.map +1 -0
- package/dist/esm/runtime/cli_config.js +4 -0
- package/dist/esm/runtime/cli_config_interfaces.d.ts +21 -0
- package/dist/esm/runtime/cli_config_interfaces.d.ts.map +1 -0
- package/dist/esm/runtime/cli_config_interfaces.js +4 -0
- package/dist/esm/runtime/constants.d.ts +8 -0
- package/dist/esm/runtime/constants.d.ts.map +1 -0
- package/dist/esm/runtime/constants.js +4 -0
- package/dist/esm/runtime/error.d.ts +18 -0
- package/dist/esm/runtime/error.d.ts.map +1 -0
- package/dist/esm/runtime/error.js +4 -0
- package/dist/esm/runtime/fieldmask.d.ts +68 -0
- package/dist/esm/runtime/fieldmask.d.ts.map +1 -0
- package/dist/esm/runtime/fieldmask.js +4 -0
- package/dist/esm/runtime/fieldmask_parser.d.ts +3 -0
- package/dist/esm/runtime/fieldmask_parser.d.ts.map +1 -0
- package/dist/esm/runtime/fieldmask_parser.js +4 -0
- package/dist/esm/runtime/operation.d.ts +59 -0
- package/dist/esm/runtime/operation.d.ts.map +1 -0
- package/dist/esm/runtime/operation.js +4 -0
- package/dist/esm/runtime/protos/any.d.ts +11 -0
- package/dist/esm/runtime/protos/any.d.ts.map +1 -0
- package/dist/esm/runtime/protos/any.js +4 -0
- package/dist/esm/runtime/protos/base64.d.ts +3 -0
- package/dist/esm/runtime/protos/base64.d.ts.map +1 -0
- package/dist/esm/runtime/protos/base64.js +4 -0
- package/dist/esm/runtime/protos/core.d.ts +23 -0
- package/dist/esm/runtime/protos/core.d.ts.map +1 -0
- package/dist/esm/runtime/protos/core.js +4 -0
- package/dist/esm/runtime/protos/enum.d.ts +31 -0
- package/dist/esm/runtime/protos/enum.d.ts.map +1 -0
- package/dist/esm/runtime/protos/enum.js +4 -0
- package/dist/esm/runtime/protos/fieldmask.d.ts +6 -0
- package/dist/esm/runtime/protos/fieldmask.d.ts.map +1 -0
- package/dist/esm/runtime/protos/fieldmask.js +4 -0
- package/dist/esm/runtime/protos/index.d.ts +8 -0
- package/dist/esm/runtime/protos/index.d.ts.map +1 -0
- package/dist/esm/runtime/protos/index.js +4 -0
- package/dist/esm/runtime/protos/long.d.ts +2 -0
- package/dist/esm/runtime/protos/long.d.ts.map +1 -0
- package/dist/esm/runtime/protos/long.js +4 -0
- package/dist/esm/runtime/protos/registry.d.ts +83 -0
- package/dist/esm/runtime/protos/registry.d.ts.map +1 -0
- package/dist/esm/runtime/protos/registry.js +4 -0
- package/dist/esm/runtime/protos/values.d.ts +6 -0
- package/dist/esm/runtime/protos/values.d.ts.map +1 -0
- package/dist/esm/runtime/protos/values.js +4 -0
- package/dist/esm/runtime/protos/wkt.d.ts +92 -0
- package/dist/esm/runtime/protos/wkt.d.ts.map +1 -0
- package/dist/esm/runtime/protos/wkt.js +4 -0
- package/dist/esm/runtime/request.d.ts +49 -0
- package/dist/esm/runtime/request.d.ts.map +1 -0
- package/dist/esm/runtime/request.js +4 -0
- package/dist/esm/runtime/resetmask.d.ts +7 -0
- package/dist/esm/runtime/resetmask.d.ts.map +1 -0
- package/dist/esm/runtime/resetmask.js +4 -0
- package/dist/esm/runtime/resolver.d.ts +73 -0
- package/dist/esm/runtime/resolver.d.ts.map +1 -0
- package/dist/esm/runtime/resolver.js +4 -0
- package/dist/esm/runtime/service_account/cached.d.ts +13 -0
- package/dist/esm/runtime/service_account/cached.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/cached.js +4 -0
- package/dist/esm/runtime/service_account/credentials_file.d.ts +16 -0
- package/dist/esm/runtime/service_account/credentials_file.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/credentials_file.js +4 -0
- package/dist/esm/runtime/service_account/federated_credentials.d.ts +31 -0
- package/dist/esm/runtime/service_account/federated_credentials.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/federated_credentials.js +4 -0
- package/dist/esm/runtime/service_account/pk_file.d.ts +18 -0
- package/dist/esm/runtime/service_account/pk_file.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/pk_file.js +4 -0
- package/dist/esm/runtime/service_account/service_account.d.ts +22 -0
- package/dist/esm/runtime/service_account/service_account.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/service_account.js +4 -0
- package/dist/esm/runtime/service_account/static.d.ts +13 -0
- package/dist/esm/runtime/service_account/static.d.ts.map +1 -0
- package/dist/esm/runtime/service_account/static.js +4 -0
- package/dist/esm/runtime/tls/system_certs.d.ts +15 -0
- package/dist/esm/runtime/tls/system_certs.d.ts.map +1 -0
- package/dist/esm/runtime/tls/system_certs.js +4 -0
- package/dist/esm/runtime/token/exchangeable.d.ts +26 -0
- package/dist/esm/runtime/token/exchangeable.d.ts.map +1 -0
- package/dist/esm/runtime/token/exchangeable.js +4 -0
- package/dist/esm/runtime/token/federated_credentials.d.ts +27 -0
- package/dist/esm/runtime/token/federated_credentials.d.ts.map +1 -0
- package/dist/esm/runtime/token/federated_credentials.js +4 -0
- package/dist/esm/runtime/token/federation_account.d.ts +27 -0
- package/dist/esm/runtime/token/federation_account.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_account.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/auth.d.ts +42 -0
- package/dist/esm/runtime/token/federation_bearer/auth.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/auth.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/constants.d.ts +3 -0
- package/dist/esm/runtime/token/federation_bearer/constants.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/constants.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/index.d.ts +19 -0
- package/dist/esm/runtime/token/federation_bearer/index.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/index.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/is_wsl.d.ts +2 -0
- package/dist/esm/runtime/token/federation_bearer/is_wsl.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/is_wsl.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/pkce.d.ts +8 -0
- package/dist/esm/runtime/token/federation_bearer/pkce.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/pkce.js +4 -0
- package/dist/esm/runtime/token/federation_bearer/server.d.ts +20 -0
- package/dist/esm/runtime/token/federation_bearer/server.d.ts.map +1 -0
- package/dist/esm/runtime/token/federation_bearer/server.js +4 -0
- package/dist/esm/runtime/token/file.d.ts +11 -0
- package/dist/esm/runtime/token/file.d.ts.map +1 -0
- package/dist/esm/runtime/token/file.js +4 -0
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.d.ts +63 -0
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.d.ts.map +1 -0
- package/dist/esm/runtime/token/file_cache/async_renewable_bearer.js +4 -0
- package/dist/esm/runtime/token/file_cache/file_bearer.d.ts +16 -0
- package/dist/esm/runtime/token/file_cache/file_bearer.d.ts.map +1 -0
- package/dist/esm/runtime/token/file_cache/file_bearer.js +4 -0
- package/dist/esm/runtime/token/file_cache/renewable_bearer.d.ts +15 -0
- package/dist/esm/runtime/token/file_cache/renewable_bearer.d.ts.map +1 -0
- package/dist/esm/runtime/token/file_cache/renewable_bearer.js +4 -0
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.d.ts +22 -0
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.d.ts.map +1 -0
- package/dist/esm/runtime/token/file_cache/throttled_token_cache.js +4 -0
- package/dist/esm/runtime/token/file_cache/token_cache.d.ts +24 -0
- package/dist/esm/runtime/token/file_cache/token_cache.d.ts.map +1 -0
- package/dist/esm/runtime/token/file_cache/token_cache.js +4 -0
- package/dist/esm/runtime/token/renewable.d.ts +59 -0
- package/dist/esm/runtime/token/renewable.d.ts.map +1 -0
- package/dist/esm/runtime/token/renewable.js +4 -0
- package/dist/esm/runtime/token/service_account.d.ts +28 -0
- package/dist/esm/runtime/token/service_account.d.ts.map +1 -0
- package/dist/esm/runtime/token/service_account.js +4 -0
- package/dist/esm/runtime/token/static.d.ts +17 -0
- package/dist/esm/runtime/token/static.d.ts.map +1 -0
- package/dist/esm/runtime/token/static.js +4 -0
- package/dist/esm/runtime/token.d.ts +52 -0
- package/dist/esm/runtime/token.d.ts.map +1 -0
- package/dist/esm/runtime/token.js +4 -0
- package/dist/esm/runtime/token_sanitizer.d.ts +31 -0
- package/dist/esm/runtime/token_sanitizer.d.ts.map +1 -0
- package/dist/esm/runtime/token_sanitizer.js +4 -0
- package/dist/esm/runtime/util/cancelable.d.ts +25 -0
- package/dist/esm/runtime/util/cancelable.d.ts.map +1 -0
- package/dist/esm/runtime/util/cancelable.js +4 -0
- package/dist/esm/runtime/util/logging.d.ts +146 -0
- package/dist/esm/runtime/util/logging.d.ts.map +1 -0
- package/dist/esm/runtime/util/logging.js +4 -0
- package/dist/esm/runtime/util/path.d.ts +2 -0
- package/dist/esm/runtime/util/path.d.ts.map +1 -0
- package/dist/esm/runtime/util/path.js +4 -0
- package/dist/esm/sdk.d.ts +98 -0
- package/dist/esm/sdk.d.ts.map +1 -0
- package/dist/esm/sdk.js +4 -0
- package/dist/esm/test/setup.d.ts +1 -0
- package/dist/esm/test/setup.d.ts.map +1 -0
- package/dist/esm/test/setup.js +4 -0
- package/dist/esm/version.d.ts +2 -0
- package/dist/esm/version.d.ts.map +1 -0
- package/dist/esm/version.js +4 -0
- package/package.json +121 -0
|
@@ -0,0 +1,1779 @@
|
|
|
1
|
+
import { Long, unknownFieldsSymbol } from "../../../runtime/protos/index";
|
|
2
|
+
import type { MessageFns, EnumInstance, EnumClass } from "../../../runtime/protos/index";
|
|
3
|
+
import { customJson } from "../../../runtime/util/logging";
|
|
4
|
+
/**
|
|
5
|
+
* The full set of known editions.
|
|
6
|
+
*
|
|
7
|
+
*/
|
|
8
|
+
export type Edition = EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
9
|
+
interface EditionValueMembers {
|
|
10
|
+
/**
|
|
11
|
+
* A placeholder for an unknown edition value.
|
|
12
|
+
*
|
|
13
|
+
*/
|
|
14
|
+
readonly EDITION_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
15
|
+
/**
|
|
16
|
+
* A placeholder edition for specifying default behaviors *before* a feature
|
|
17
|
+
* was first introduced. This is effectively an "infinite past".
|
|
18
|
+
*
|
|
19
|
+
*/
|
|
20
|
+
readonly EDITION_LEGACY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
21
|
+
/**
|
|
22
|
+
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
23
|
+
* distinct editions. These can't be used to specify the edition of proto
|
|
24
|
+
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
25
|
+
* backwards compatibility.
|
|
26
|
+
*
|
|
27
|
+
*/
|
|
28
|
+
readonly EDITION_PROTO2: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
29
|
+
readonly EDITION_PROTO3: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
30
|
+
/**
|
|
31
|
+
* Editions that have been released. The specific values are arbitrary and
|
|
32
|
+
* should not be depended on, but they will always be time-ordered for easy
|
|
33
|
+
* comparison.
|
|
34
|
+
*
|
|
35
|
+
*/
|
|
36
|
+
readonly EDITION_2023: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
37
|
+
readonly EDITION_2024: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
38
|
+
/**
|
|
39
|
+
* Placeholder editions for testing feature resolution. These should not be
|
|
40
|
+
* used or relied on outside of tests.
|
|
41
|
+
*
|
|
42
|
+
*/
|
|
43
|
+
readonly EDITION_1_TEST_ONLY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
44
|
+
readonly EDITION_2_TEST_ONLY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
45
|
+
readonly EDITION_99997_TEST_ONLY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
46
|
+
readonly EDITION_99998_TEST_ONLY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
47
|
+
readonly EDITION_99999_TEST_ONLY: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
48
|
+
/**
|
|
49
|
+
* Placeholder for specifying unbounded edition support. This should only
|
|
50
|
+
* ever be used by plugins that can expect to never require any changes to
|
|
51
|
+
* support a new edition.
|
|
52
|
+
*
|
|
53
|
+
*/
|
|
54
|
+
readonly EDITION_MAX: EnumInstance<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX">;
|
|
55
|
+
}
|
|
56
|
+
export type EditionClass = EnumClass<"UNRECOGNIZED" | "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX"> & EditionValueMembers;
|
|
57
|
+
export declare const Edition: EditionClass;
|
|
58
|
+
/**
|
|
59
|
+
* Describes the 'visibility' of a symbol with respect to the proto import
|
|
60
|
+
* system. Symbols can only be imported when the visibility rules do not prevent
|
|
61
|
+
* it (ex: local symbols cannot be imported). Visibility modifiers can only set
|
|
62
|
+
* on `message` and `enum` as they are the only types available to be referenced
|
|
63
|
+
* from other files.
|
|
64
|
+
*
|
|
65
|
+
*/
|
|
66
|
+
export type SymbolVisibility = EnumInstance<"UNRECOGNIZED" | "VISIBILITY_UNSET" | "VISIBILITY_LOCAL" | "VISIBILITY_EXPORT">;
|
|
67
|
+
interface SymbolVisibilityValueMembers {
|
|
68
|
+
readonly VISIBILITY_UNSET: EnumInstance<"UNRECOGNIZED" | "VISIBILITY_UNSET" | "VISIBILITY_LOCAL" | "VISIBILITY_EXPORT">;
|
|
69
|
+
readonly VISIBILITY_LOCAL: EnumInstance<"UNRECOGNIZED" | "VISIBILITY_UNSET" | "VISIBILITY_LOCAL" | "VISIBILITY_EXPORT">;
|
|
70
|
+
readonly VISIBILITY_EXPORT: EnumInstance<"UNRECOGNIZED" | "VISIBILITY_UNSET" | "VISIBILITY_LOCAL" | "VISIBILITY_EXPORT">;
|
|
71
|
+
}
|
|
72
|
+
export type SymbolVisibilityClass = EnumClass<"UNRECOGNIZED" | "VISIBILITY_UNSET" | "VISIBILITY_LOCAL" | "VISIBILITY_EXPORT"> & SymbolVisibilityValueMembers;
|
|
73
|
+
export declare const SymbolVisibility: SymbolVisibilityClass;
|
|
74
|
+
/**
|
|
75
|
+
* The verification state of the extension range.
|
|
76
|
+
*
|
|
77
|
+
*/
|
|
78
|
+
export type ExtensionRangeOptions_VerificationState = EnumInstance<"UNRECOGNIZED" | "DECLARATION" | "UNVERIFIED">;
|
|
79
|
+
interface ExtensionRangeOptions_VerificationStateValueMembers {
|
|
80
|
+
/**
|
|
81
|
+
* All the extensions of the range must be declared.
|
|
82
|
+
*
|
|
83
|
+
*/
|
|
84
|
+
readonly DECLARATION: EnumInstance<"UNRECOGNIZED" | "DECLARATION" | "UNVERIFIED">;
|
|
85
|
+
readonly UNVERIFIED: EnumInstance<"UNRECOGNIZED" | "DECLARATION" | "UNVERIFIED">;
|
|
86
|
+
}
|
|
87
|
+
export type ExtensionRangeOptions_VerificationStateClass = EnumClass<"UNRECOGNIZED" | "DECLARATION" | "UNVERIFIED"> & ExtensionRangeOptions_VerificationStateValueMembers;
|
|
88
|
+
export declare const ExtensionRangeOptions_VerificationState: ExtensionRangeOptions_VerificationStateClass;
|
|
89
|
+
export type FieldDescriptorProto_Type = EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
90
|
+
interface FieldDescriptorProto_TypeValueMembers {
|
|
91
|
+
/**
|
|
92
|
+
* 0 is reserved for errors.
|
|
93
|
+
* Order is weird for historical reasons.
|
|
94
|
+
*
|
|
95
|
+
*/
|
|
96
|
+
readonly TYPE_DOUBLE: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
97
|
+
readonly TYPE_FLOAT: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
98
|
+
/**
|
|
99
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
|
|
100
|
+
* negative values are likely.
|
|
101
|
+
*
|
|
102
|
+
*/
|
|
103
|
+
readonly TYPE_INT64: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
104
|
+
readonly TYPE_UINT64: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
105
|
+
/**
|
|
106
|
+
* Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
|
|
107
|
+
* negative values are likely.
|
|
108
|
+
*
|
|
109
|
+
*/
|
|
110
|
+
readonly TYPE_INT32: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
111
|
+
readonly TYPE_FIXED64: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
112
|
+
readonly TYPE_FIXED32: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
113
|
+
readonly TYPE_BOOL: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
114
|
+
readonly TYPE_STRING: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
115
|
+
/**
|
|
116
|
+
* Tag-delimited aggregate.
|
|
117
|
+
* Group type is deprecated and not supported after google.protobuf. However, Proto3
|
|
118
|
+
* implementations should still be able to parse the group wire format and
|
|
119
|
+
* treat group fields as unknown fields. In Editions, the group wire format
|
|
120
|
+
* can be enabled via the `message_encoding` feature.
|
|
121
|
+
*
|
|
122
|
+
*/
|
|
123
|
+
readonly TYPE_GROUP: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
124
|
+
/**
|
|
125
|
+
* Length-delimited aggregate.
|
|
126
|
+
*
|
|
127
|
+
*/
|
|
128
|
+
readonly TYPE_MESSAGE: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
129
|
+
/**
|
|
130
|
+
* New in version 2.
|
|
131
|
+
*
|
|
132
|
+
*/
|
|
133
|
+
readonly TYPE_BYTES: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
134
|
+
readonly TYPE_UINT32: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
135
|
+
readonly TYPE_ENUM: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
136
|
+
readonly TYPE_SFIXED32: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
137
|
+
readonly TYPE_SFIXED64: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
138
|
+
/**
|
|
139
|
+
* Uses ZigZag encoding.
|
|
140
|
+
*
|
|
141
|
+
*/
|
|
142
|
+
readonly TYPE_SINT32: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
143
|
+
/**
|
|
144
|
+
* Uses ZigZag encoding.
|
|
145
|
+
*
|
|
146
|
+
*/
|
|
147
|
+
readonly TYPE_SINT64: EnumInstance<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64">;
|
|
148
|
+
}
|
|
149
|
+
export type FieldDescriptorProto_TypeClass = EnumClass<"UNRECOGNIZED" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64"> & FieldDescriptorProto_TypeValueMembers;
|
|
150
|
+
export declare const FieldDescriptorProto_Type: FieldDescriptorProto_TypeClass;
|
|
151
|
+
export type FieldDescriptorProto_Label = EnumInstance<"UNRECOGNIZED" | "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED">;
|
|
152
|
+
interface FieldDescriptorProto_LabelValueMembers {
|
|
153
|
+
/**
|
|
154
|
+
* 0 is reserved for errors
|
|
155
|
+
*
|
|
156
|
+
*/
|
|
157
|
+
readonly LABEL_OPTIONAL: EnumInstance<"UNRECOGNIZED" | "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED">;
|
|
158
|
+
readonly LABEL_REPEATED: EnumInstance<"UNRECOGNIZED" | "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED">;
|
|
159
|
+
/**
|
|
160
|
+
* The required label is only allowed in google.protobuf. In proto3 and Editions
|
|
161
|
+
* it's explicitly prohibited. In Editions, the `field_presence` feature
|
|
162
|
+
* can be used to get this behavior.
|
|
163
|
+
*
|
|
164
|
+
*/
|
|
165
|
+
readonly LABEL_REQUIRED: EnumInstance<"UNRECOGNIZED" | "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED">;
|
|
166
|
+
}
|
|
167
|
+
export type FieldDescriptorProto_LabelClass = EnumClass<"UNRECOGNIZED" | "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED"> & FieldDescriptorProto_LabelValueMembers;
|
|
168
|
+
export declare const FieldDescriptorProto_Label: FieldDescriptorProto_LabelClass;
|
|
169
|
+
/**
|
|
170
|
+
* Generated classes can be optimized for speed or code size.
|
|
171
|
+
*
|
|
172
|
+
*/
|
|
173
|
+
export type FileOptions_OptimizeMode = EnumInstance<"UNRECOGNIZED" | "SPEED" | "CODE_SIZE" | "LITE_RUNTIME">;
|
|
174
|
+
interface FileOptions_OptimizeModeValueMembers {
|
|
175
|
+
/**
|
|
176
|
+
* Generate complete code for parsing, serialization,
|
|
177
|
+
*
|
|
178
|
+
*/
|
|
179
|
+
readonly SPEED: EnumInstance<"UNRECOGNIZED" | "SPEED" | "CODE_SIZE" | "LITE_RUNTIME">;
|
|
180
|
+
/**
|
|
181
|
+
* etc.
|
|
182
|
+
*
|
|
183
|
+
*
|
|
184
|
+
* Use ReflectionOps to implement these methods.
|
|
185
|
+
*
|
|
186
|
+
*/
|
|
187
|
+
readonly CODE_SIZE: EnumInstance<"UNRECOGNIZED" | "SPEED" | "CODE_SIZE" | "LITE_RUNTIME">;
|
|
188
|
+
/**
|
|
189
|
+
* Generate code using MessageLite and the lite runtime.
|
|
190
|
+
*
|
|
191
|
+
*/
|
|
192
|
+
readonly LITE_RUNTIME: EnumInstance<"UNRECOGNIZED" | "SPEED" | "CODE_SIZE" | "LITE_RUNTIME">;
|
|
193
|
+
}
|
|
194
|
+
export type FileOptions_OptimizeModeClass = EnumClass<"UNRECOGNIZED" | "SPEED" | "CODE_SIZE" | "LITE_RUNTIME"> & FileOptions_OptimizeModeValueMembers;
|
|
195
|
+
export declare const FileOptions_OptimizeMode: FileOptions_OptimizeModeClass;
|
|
196
|
+
export type FieldOptions_CType = EnumInstance<"UNRECOGNIZED" | "STRING" | "CORD" | "STRING_PIECE">;
|
|
197
|
+
interface FieldOptions_CTypeValueMembers {
|
|
198
|
+
/**
|
|
199
|
+
* Default mode.
|
|
200
|
+
*
|
|
201
|
+
*/
|
|
202
|
+
readonly STRING: EnumInstance<"UNRECOGNIZED" | "STRING" | "CORD" | "STRING_PIECE">;
|
|
203
|
+
/**
|
|
204
|
+
* The option [ctype=CORD] may be applied to a non-repeated field of type
|
|
205
|
+
* "bytes". It indicates that in C++, the data should be stored in a Cord
|
|
206
|
+
* instead of a string. For very large strings, this may reduce memory
|
|
207
|
+
* fragmentation. It may also allow better performance when parsing from a
|
|
208
|
+
* Cord, or when parsing with aliasing enabled, as the parsed Cord may then
|
|
209
|
+
* alias the original buffer.
|
|
210
|
+
*
|
|
211
|
+
*/
|
|
212
|
+
readonly CORD: EnumInstance<"UNRECOGNIZED" | "STRING" | "CORD" | "STRING_PIECE">;
|
|
213
|
+
readonly STRING_PIECE: EnumInstance<"UNRECOGNIZED" | "STRING" | "CORD" | "STRING_PIECE">;
|
|
214
|
+
}
|
|
215
|
+
export type FieldOptions_CTypeClass = EnumClass<"UNRECOGNIZED" | "STRING" | "CORD" | "STRING_PIECE"> & FieldOptions_CTypeValueMembers;
|
|
216
|
+
export declare const FieldOptions_CType: FieldOptions_CTypeClass;
|
|
217
|
+
export type FieldOptions_JSType = EnumInstance<"UNRECOGNIZED" | "JS_NORMAL" | "JS_STRING" | "JS_NUMBER">;
|
|
218
|
+
interface FieldOptions_JSTypeValueMembers {
|
|
219
|
+
/**
|
|
220
|
+
* Use the default type.
|
|
221
|
+
*
|
|
222
|
+
*/
|
|
223
|
+
readonly JS_NORMAL: EnumInstance<"UNRECOGNIZED" | "JS_NORMAL" | "JS_STRING" | "JS_NUMBER">;
|
|
224
|
+
/**
|
|
225
|
+
* Use JavaScript strings.
|
|
226
|
+
*
|
|
227
|
+
*/
|
|
228
|
+
readonly JS_STRING: EnumInstance<"UNRECOGNIZED" | "JS_NORMAL" | "JS_STRING" | "JS_NUMBER">;
|
|
229
|
+
/**
|
|
230
|
+
* Use JavaScript numbers.
|
|
231
|
+
*
|
|
232
|
+
*/
|
|
233
|
+
readonly JS_NUMBER: EnumInstance<"UNRECOGNIZED" | "JS_NORMAL" | "JS_STRING" | "JS_NUMBER">;
|
|
234
|
+
}
|
|
235
|
+
export type FieldOptions_JSTypeClass = EnumClass<"UNRECOGNIZED" | "JS_NORMAL" | "JS_STRING" | "JS_NUMBER"> & FieldOptions_JSTypeValueMembers;
|
|
236
|
+
export declare const FieldOptions_JSType: FieldOptions_JSTypeClass;
|
|
237
|
+
/**
|
|
238
|
+
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
239
|
+
*
|
|
240
|
+
*/
|
|
241
|
+
export type FieldOptions_OptionRetention = EnumInstance<"UNRECOGNIZED" | "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE">;
|
|
242
|
+
interface FieldOptions_OptionRetentionValueMembers {
|
|
243
|
+
readonly RETENTION_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE">;
|
|
244
|
+
readonly RETENTION_RUNTIME: EnumInstance<"UNRECOGNIZED" | "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE">;
|
|
245
|
+
readonly RETENTION_SOURCE: EnumInstance<"UNRECOGNIZED" | "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE">;
|
|
246
|
+
}
|
|
247
|
+
export type FieldOptions_OptionRetentionClass = EnumClass<"UNRECOGNIZED" | "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE"> & FieldOptions_OptionRetentionValueMembers;
|
|
248
|
+
export declare const FieldOptions_OptionRetention: FieldOptions_OptionRetentionClass;
|
|
249
|
+
/**
|
|
250
|
+
* This indicates the types of entities that the field may apply to when used
|
|
251
|
+
* as an option. If it is unset, then the field may be freely used as an
|
|
252
|
+
* option on any kind of entity.
|
|
253
|
+
*
|
|
254
|
+
*/
|
|
255
|
+
export type FieldOptions_OptionTargetType = EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
256
|
+
interface FieldOptions_OptionTargetTypeValueMembers {
|
|
257
|
+
readonly TARGET_TYPE_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
258
|
+
readonly TARGET_TYPE_FILE: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
259
|
+
readonly TARGET_TYPE_EXTENSION_RANGE: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
260
|
+
readonly TARGET_TYPE_MESSAGE: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
261
|
+
readonly TARGET_TYPE_FIELD: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
262
|
+
readonly TARGET_TYPE_ONEOF: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
263
|
+
readonly TARGET_TYPE_ENUM: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
264
|
+
readonly TARGET_TYPE_ENUM_ENTRY: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
265
|
+
readonly TARGET_TYPE_SERVICE: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
266
|
+
readonly TARGET_TYPE_METHOD: EnumInstance<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD">;
|
|
267
|
+
}
|
|
268
|
+
export type FieldOptions_OptionTargetTypeClass = EnumClass<"UNRECOGNIZED" | "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD"> & FieldOptions_OptionTargetTypeValueMembers;
|
|
269
|
+
export declare const FieldOptions_OptionTargetType: FieldOptions_OptionTargetTypeClass;
|
|
270
|
+
/**
|
|
271
|
+
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
272
|
+
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
273
|
+
* methods, and PUT verb for idempotent methods instead of the default POST.
|
|
274
|
+
*
|
|
275
|
+
*/
|
|
276
|
+
export type MethodOptions_IdempotencyLevel = EnumInstance<"UNRECOGNIZED" | "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT">;
|
|
277
|
+
interface MethodOptions_IdempotencyLevelValueMembers {
|
|
278
|
+
readonly IDEMPOTENCY_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT">;
|
|
279
|
+
/**
|
|
280
|
+
* implies idempotent
|
|
281
|
+
*
|
|
282
|
+
*/
|
|
283
|
+
readonly NO_SIDE_EFFECTS: EnumInstance<"UNRECOGNIZED" | "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT">;
|
|
284
|
+
/**
|
|
285
|
+
* idempotent, but may have side effects
|
|
286
|
+
*
|
|
287
|
+
*/
|
|
288
|
+
readonly IDEMPOTENT: EnumInstance<"UNRECOGNIZED" | "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT">;
|
|
289
|
+
}
|
|
290
|
+
export type MethodOptions_IdempotencyLevelClass = EnumClass<"UNRECOGNIZED" | "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT"> & MethodOptions_IdempotencyLevelValueMembers;
|
|
291
|
+
export declare const MethodOptions_IdempotencyLevel: MethodOptions_IdempotencyLevelClass;
|
|
292
|
+
export type FeatureSet_FieldPresence = EnumInstance<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED">;
|
|
293
|
+
interface FeatureSet_FieldPresenceValueMembers {
|
|
294
|
+
readonly FIELD_PRESENCE_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED">;
|
|
295
|
+
readonly EXPLICIT: EnumInstance<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED">;
|
|
296
|
+
readonly IMPLICIT: EnumInstance<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED">;
|
|
297
|
+
readonly LEGACY_REQUIRED: EnumInstance<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED">;
|
|
298
|
+
}
|
|
299
|
+
export type FeatureSet_FieldPresenceClass = EnumClass<"UNRECOGNIZED" | "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED"> & FeatureSet_FieldPresenceValueMembers;
|
|
300
|
+
export declare const FeatureSet_FieldPresence: FeatureSet_FieldPresenceClass;
|
|
301
|
+
export type FeatureSet_EnumType = EnumInstance<"UNRECOGNIZED" | "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED">;
|
|
302
|
+
interface FeatureSet_EnumTypeValueMembers {
|
|
303
|
+
readonly ENUM_TYPE_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED">;
|
|
304
|
+
readonly OPEN: EnumInstance<"UNRECOGNIZED" | "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED">;
|
|
305
|
+
readonly CLOSED: EnumInstance<"UNRECOGNIZED" | "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED">;
|
|
306
|
+
}
|
|
307
|
+
export type FeatureSet_EnumTypeClass = EnumClass<"UNRECOGNIZED" | "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED"> & FeatureSet_EnumTypeValueMembers;
|
|
308
|
+
export declare const FeatureSet_EnumType: FeatureSet_EnumTypeClass;
|
|
309
|
+
export type FeatureSet_RepeatedFieldEncoding = EnumInstance<"UNRECOGNIZED" | "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED">;
|
|
310
|
+
interface FeatureSet_RepeatedFieldEncodingValueMembers {
|
|
311
|
+
readonly REPEATED_FIELD_ENCODING_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED">;
|
|
312
|
+
readonly PACKED: EnumInstance<"UNRECOGNIZED" | "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED">;
|
|
313
|
+
readonly EXPANDED: EnumInstance<"UNRECOGNIZED" | "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED">;
|
|
314
|
+
}
|
|
315
|
+
export type FeatureSet_RepeatedFieldEncodingClass = EnumClass<"UNRECOGNIZED" | "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED"> & FeatureSet_RepeatedFieldEncodingValueMembers;
|
|
316
|
+
export declare const FeatureSet_RepeatedFieldEncoding: FeatureSet_RepeatedFieldEncodingClass;
|
|
317
|
+
export type FeatureSet_Utf8Validation = EnumInstance<"UNRECOGNIZED" | "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE">;
|
|
318
|
+
interface FeatureSet_Utf8ValidationValueMembers {
|
|
319
|
+
readonly UTF8_VALIDATION_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE">;
|
|
320
|
+
readonly VERIFY: EnumInstance<"UNRECOGNIZED" | "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE">;
|
|
321
|
+
readonly NONE: EnumInstance<"UNRECOGNIZED" | "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE">;
|
|
322
|
+
}
|
|
323
|
+
export type FeatureSet_Utf8ValidationClass = EnumClass<"UNRECOGNIZED" | "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE"> & FeatureSet_Utf8ValidationValueMembers;
|
|
324
|
+
export declare const FeatureSet_Utf8Validation: FeatureSet_Utf8ValidationClass;
|
|
325
|
+
export type FeatureSet_MessageEncoding = EnumInstance<"UNRECOGNIZED" | "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED">;
|
|
326
|
+
interface FeatureSet_MessageEncodingValueMembers {
|
|
327
|
+
readonly MESSAGE_ENCODING_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED">;
|
|
328
|
+
readonly LENGTH_PREFIXED: EnumInstance<"UNRECOGNIZED" | "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED">;
|
|
329
|
+
readonly DELIMITED: EnumInstance<"UNRECOGNIZED" | "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED">;
|
|
330
|
+
}
|
|
331
|
+
export type FeatureSet_MessageEncodingClass = EnumClass<"UNRECOGNIZED" | "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED"> & FeatureSet_MessageEncodingValueMembers;
|
|
332
|
+
export declare const FeatureSet_MessageEncoding: FeatureSet_MessageEncodingClass;
|
|
333
|
+
export type FeatureSet_JsonFormat = EnumInstance<"UNRECOGNIZED" | "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT">;
|
|
334
|
+
interface FeatureSet_JsonFormatValueMembers {
|
|
335
|
+
readonly JSON_FORMAT_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT">;
|
|
336
|
+
readonly ALLOW: EnumInstance<"UNRECOGNIZED" | "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT">;
|
|
337
|
+
readonly LEGACY_BEST_EFFORT: EnumInstance<"UNRECOGNIZED" | "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT">;
|
|
338
|
+
}
|
|
339
|
+
export type FeatureSet_JsonFormatClass = EnumClass<"UNRECOGNIZED" | "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT"> & FeatureSet_JsonFormatValueMembers;
|
|
340
|
+
export declare const FeatureSet_JsonFormat: FeatureSet_JsonFormatClass;
|
|
341
|
+
export type FeatureSet_EnforceNamingStyle = EnumInstance<"UNRECOGNIZED" | "ENFORCE_NAMING_STYLE_UNKNOWN" | "STYLE2024" | "STYLE_LEGACY">;
|
|
342
|
+
interface FeatureSet_EnforceNamingStyleValueMembers {
|
|
343
|
+
readonly ENFORCE_NAMING_STYLE_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "ENFORCE_NAMING_STYLE_UNKNOWN" | "STYLE2024" | "STYLE_LEGACY">;
|
|
344
|
+
readonly STYLE2024: EnumInstance<"UNRECOGNIZED" | "ENFORCE_NAMING_STYLE_UNKNOWN" | "STYLE2024" | "STYLE_LEGACY">;
|
|
345
|
+
readonly STYLE_LEGACY: EnumInstance<"UNRECOGNIZED" | "ENFORCE_NAMING_STYLE_UNKNOWN" | "STYLE2024" | "STYLE_LEGACY">;
|
|
346
|
+
}
|
|
347
|
+
export type FeatureSet_EnforceNamingStyleClass = EnumClass<"UNRECOGNIZED" | "ENFORCE_NAMING_STYLE_UNKNOWN" | "STYLE2024" | "STYLE_LEGACY"> & FeatureSet_EnforceNamingStyleValueMembers;
|
|
348
|
+
export declare const FeatureSet_EnforceNamingStyle: FeatureSet_EnforceNamingStyleClass;
|
|
349
|
+
export type FeatureSet_VisibilityFeature_DefaultSymbolVisibility = EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
350
|
+
interface FeatureSet_VisibilityFeature_DefaultSymbolVisibilityValueMembers {
|
|
351
|
+
readonly DEFAULT_SYMBOL_VISIBILITY_UNKNOWN: EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
352
|
+
/**
|
|
353
|
+
* Default pre-EDITION_2024, all UNSET visibility are export.
|
|
354
|
+
*
|
|
355
|
+
*/
|
|
356
|
+
readonly EXPORT_ALL: EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
357
|
+
/**
|
|
358
|
+
* All top-level symbols default to export, nested default to local.
|
|
359
|
+
*
|
|
360
|
+
*/
|
|
361
|
+
readonly EXPORT_TOP_LEVEL: EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
362
|
+
/**
|
|
363
|
+
* All symbols default to local.
|
|
364
|
+
*
|
|
365
|
+
*/
|
|
366
|
+
readonly LOCAL_ALL: EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
367
|
+
/**
|
|
368
|
+
* All symbols local by default. Nested types cannot be exported.
|
|
369
|
+
* With special case caveat for message { enum {} reserved 1 to max; }
|
|
370
|
+
* This is the recommended setting for new protos.
|
|
371
|
+
*
|
|
372
|
+
*/
|
|
373
|
+
readonly STRICT: EnumInstance<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT">;
|
|
374
|
+
}
|
|
375
|
+
export type FeatureSet_VisibilityFeature_DefaultSymbolVisibilityClass = EnumClass<"UNRECOGNIZED" | "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" | "EXPORT_ALL" | "EXPORT_TOP_LEVEL" | "LOCAL_ALL" | "STRICT"> & FeatureSet_VisibilityFeature_DefaultSymbolVisibilityValueMembers;
|
|
376
|
+
export declare const FeatureSet_VisibilityFeature_DefaultSymbolVisibility: FeatureSet_VisibilityFeature_DefaultSymbolVisibilityClass;
|
|
377
|
+
/**
|
|
378
|
+
* Represents the identified object's effect on the element in the original
|
|
379
|
+
* .proto file.
|
|
380
|
+
*
|
|
381
|
+
*/
|
|
382
|
+
export type GeneratedCodeInfo_Annotation_Semantic = EnumInstance<"UNRECOGNIZED" | "NONE" | "SET" | "ALIAS">;
|
|
383
|
+
interface GeneratedCodeInfo_Annotation_SemanticValueMembers {
|
|
384
|
+
/**
|
|
385
|
+
* There is no effect or the effect is indescribable.
|
|
386
|
+
*
|
|
387
|
+
*/
|
|
388
|
+
readonly NONE: EnumInstance<"UNRECOGNIZED" | "NONE" | "SET" | "ALIAS">;
|
|
389
|
+
/**
|
|
390
|
+
* The element is set or otherwise mutated.
|
|
391
|
+
*
|
|
392
|
+
*/
|
|
393
|
+
readonly SET: EnumInstance<"UNRECOGNIZED" | "NONE" | "SET" | "ALIAS">;
|
|
394
|
+
/**
|
|
395
|
+
* An alias to the element is returned.
|
|
396
|
+
*
|
|
397
|
+
*/
|
|
398
|
+
readonly ALIAS: EnumInstance<"UNRECOGNIZED" | "NONE" | "SET" | "ALIAS">;
|
|
399
|
+
}
|
|
400
|
+
export type GeneratedCodeInfo_Annotation_SemanticClass = EnumClass<"UNRECOGNIZED" | "NONE" | "SET" | "ALIAS"> & GeneratedCodeInfo_Annotation_SemanticValueMembers;
|
|
401
|
+
export declare const GeneratedCodeInfo_Annotation_Semantic: GeneratedCodeInfo_Annotation_SemanticClass;
|
|
402
|
+
/**
|
|
403
|
+
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
404
|
+
* files it parses.
|
|
405
|
+
*
|
|
406
|
+
*/
|
|
407
|
+
export interface FileDescriptorSet {
|
|
408
|
+
$type: "google.protobuf.FileDescriptorSet";
|
|
409
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
410
|
+
[customJson]?: () => unknown;
|
|
411
|
+
file: FileDescriptorProto[];
|
|
412
|
+
}
|
|
413
|
+
export declare const FileDescriptorSet: MessageFns<FileDescriptorSet, "google.protobuf.FileDescriptorSet">;
|
|
414
|
+
/**
|
|
415
|
+
* Describes a complete .proto file.
|
|
416
|
+
*
|
|
417
|
+
*/
|
|
418
|
+
export interface FileDescriptorProto {
|
|
419
|
+
$type: "google.protobuf.FileDescriptorProto";
|
|
420
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
421
|
+
[customJson]?: () => unknown;
|
|
422
|
+
/**
|
|
423
|
+
* file name, relative to root of source tree
|
|
424
|
+
*
|
|
425
|
+
*/
|
|
426
|
+
name?: string | undefined;
|
|
427
|
+
/**
|
|
428
|
+
* e.g. "foo", "foo.bar", etc.
|
|
429
|
+
*
|
|
430
|
+
*/
|
|
431
|
+
package?: string | undefined;
|
|
432
|
+
/**
|
|
433
|
+
* Names of files imported by this file.
|
|
434
|
+
*
|
|
435
|
+
*/
|
|
436
|
+
dependency: string[];
|
|
437
|
+
/**
|
|
438
|
+
* Indexes of the public imported files in the dependency list above.
|
|
439
|
+
*
|
|
440
|
+
*/
|
|
441
|
+
publicDependency: number[];
|
|
442
|
+
/**
|
|
443
|
+
* Indexes of the weak imported files in the dependency list.
|
|
444
|
+
* For Google-internal migration only. Do not use.
|
|
445
|
+
*
|
|
446
|
+
*/
|
|
447
|
+
weakDependency: number[];
|
|
448
|
+
/**
|
|
449
|
+
* Names of files imported by this file purely for the purpose of providing
|
|
450
|
+
* option extensions. These are excluded from the dependency list above.
|
|
451
|
+
*
|
|
452
|
+
*/
|
|
453
|
+
optionDependency: string[];
|
|
454
|
+
/**
|
|
455
|
+
* All top-level definitions in this file.
|
|
456
|
+
*
|
|
457
|
+
*/
|
|
458
|
+
messageType: DescriptorProto[];
|
|
459
|
+
enumType: EnumDescriptorProto[];
|
|
460
|
+
service: ServiceDescriptorProto[];
|
|
461
|
+
extension: FieldDescriptorProto[];
|
|
462
|
+
options?: FileOptions | undefined;
|
|
463
|
+
/**
|
|
464
|
+
* This field contains optional information about the original source code.
|
|
465
|
+
* You may safely remove this entire field without harming runtime
|
|
466
|
+
* functionality of the descriptors -- the information is needed only by
|
|
467
|
+
* development tools.
|
|
468
|
+
*
|
|
469
|
+
*/
|
|
470
|
+
sourceCodeInfo?: SourceCodeInfo | undefined;
|
|
471
|
+
/**
|
|
472
|
+
* The syntax of the proto file.
|
|
473
|
+
* The supported values are "proto2", "proto3", and "editions".
|
|
474
|
+
*
|
|
475
|
+
* If `edition` is present, this value must be "editions".
|
|
476
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
477
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
478
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
479
|
+
*
|
|
480
|
+
*/
|
|
481
|
+
syntax?: string | undefined;
|
|
482
|
+
/**
|
|
483
|
+
* The edition of the proto file.
|
|
484
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
485
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
486
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
487
|
+
*
|
|
488
|
+
*/
|
|
489
|
+
edition?: Edition | undefined;
|
|
490
|
+
}
|
|
491
|
+
export declare const FileDescriptorProto: MessageFns<FileDescriptorProto, "google.protobuf.FileDescriptorProto">;
|
|
492
|
+
/**
|
|
493
|
+
* Describes a message type.
|
|
494
|
+
*
|
|
495
|
+
*/
|
|
496
|
+
export interface DescriptorProto {
|
|
497
|
+
$type: "google.protobuf.DescriptorProto";
|
|
498
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
499
|
+
[customJson]?: () => unknown;
|
|
500
|
+
name?: string | undefined;
|
|
501
|
+
field: FieldDescriptorProto[];
|
|
502
|
+
extension: FieldDescriptorProto[];
|
|
503
|
+
nestedType: DescriptorProto[];
|
|
504
|
+
enumType: EnumDescriptorProto[];
|
|
505
|
+
extensionRange: DescriptorProto_ExtensionRange[];
|
|
506
|
+
oneofDecl: OneofDescriptorProto[];
|
|
507
|
+
options?: MessageOptions | undefined;
|
|
508
|
+
reservedRange: DescriptorProto_ReservedRange[];
|
|
509
|
+
/**
|
|
510
|
+
* Reserved field names, which may not be used by fields in the same message.
|
|
511
|
+
* A given name may only be reserved once.
|
|
512
|
+
*
|
|
513
|
+
*/
|
|
514
|
+
reservedName: string[];
|
|
515
|
+
/**
|
|
516
|
+
* Support for `export` and `local` keywords on enums.
|
|
517
|
+
*
|
|
518
|
+
*/
|
|
519
|
+
visibility?: SymbolVisibility | undefined;
|
|
520
|
+
}
|
|
521
|
+
export declare const DescriptorProto: MessageFns<DescriptorProto, "google.protobuf.DescriptorProto">;
|
|
522
|
+
export interface DescriptorProto_ExtensionRange {
|
|
523
|
+
$type: "google.protobuf.DescriptorProto.ExtensionRange";
|
|
524
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
525
|
+
[customJson]?: () => unknown;
|
|
526
|
+
/**
|
|
527
|
+
* Inclusive.
|
|
528
|
+
*
|
|
529
|
+
*/
|
|
530
|
+
start?: number | undefined;
|
|
531
|
+
/**
|
|
532
|
+
* Exclusive.
|
|
533
|
+
*
|
|
534
|
+
*/
|
|
535
|
+
end?: number | undefined;
|
|
536
|
+
options?: ExtensionRangeOptions | undefined;
|
|
537
|
+
}
|
|
538
|
+
export declare const DescriptorProto_ExtensionRange: MessageFns<DescriptorProto_ExtensionRange, "google.protobuf.DescriptorProto.ExtensionRange">;
|
|
539
|
+
/**
|
|
540
|
+
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
541
|
+
* fields or extension ranges in the same message. Reserved ranges may
|
|
542
|
+
* not overlap.
|
|
543
|
+
*
|
|
544
|
+
*/
|
|
545
|
+
export interface DescriptorProto_ReservedRange {
|
|
546
|
+
$type: "google.protobuf.DescriptorProto.ReservedRange";
|
|
547
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
548
|
+
[customJson]?: () => unknown;
|
|
549
|
+
/**
|
|
550
|
+
* Inclusive.
|
|
551
|
+
*
|
|
552
|
+
*/
|
|
553
|
+
start?: number | undefined;
|
|
554
|
+
/**
|
|
555
|
+
* Exclusive.
|
|
556
|
+
*
|
|
557
|
+
*/
|
|
558
|
+
end?: number | undefined;
|
|
559
|
+
}
|
|
560
|
+
export declare const DescriptorProto_ReservedRange: MessageFns<DescriptorProto_ReservedRange, "google.protobuf.DescriptorProto.ReservedRange">;
|
|
561
|
+
export interface ExtensionRangeOptions {
|
|
562
|
+
$type: "google.protobuf.ExtensionRangeOptions";
|
|
563
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
564
|
+
[customJson]?: () => unknown;
|
|
565
|
+
/**
|
|
566
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
567
|
+
*
|
|
568
|
+
*/
|
|
569
|
+
uninterpretedOption: UninterpretedOption[];
|
|
570
|
+
/**
|
|
571
|
+
* For external users: DO NOT USE. We are in the process of open sourcing
|
|
572
|
+
* extension declaration and executing internal cleanups before it can be
|
|
573
|
+
* used externally.
|
|
574
|
+
*
|
|
575
|
+
*/
|
|
576
|
+
declaration: ExtensionRangeOptions_Declaration[];
|
|
577
|
+
/**
|
|
578
|
+
* Any features defined in the specific edition.
|
|
579
|
+
*
|
|
580
|
+
*/
|
|
581
|
+
features?: FeatureSet | undefined;
|
|
582
|
+
/**
|
|
583
|
+
* The verification state of the range.
|
|
584
|
+
* TODO: flip the default to DECLARATION once all empty ranges
|
|
585
|
+
* are marked as UNVERIFIED.
|
|
586
|
+
*
|
|
587
|
+
*/
|
|
588
|
+
verification?: ExtensionRangeOptions_VerificationState | undefined;
|
|
589
|
+
}
|
|
590
|
+
export declare const ExtensionRangeOptions: MessageFns<ExtensionRangeOptions, "google.protobuf.ExtensionRangeOptions">;
|
|
591
|
+
export interface ExtensionRangeOptions_Declaration {
|
|
592
|
+
$type: "google.protobuf.ExtensionRangeOptions.Declaration";
|
|
593
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
594
|
+
[customJson]?: () => unknown;
|
|
595
|
+
/**
|
|
596
|
+
* The extension number declared within the extension range.
|
|
597
|
+
*
|
|
598
|
+
*/
|
|
599
|
+
number?: number | undefined;
|
|
600
|
+
/**
|
|
601
|
+
* The fully-qualified name of the extension field. There must be a leading
|
|
602
|
+
* dot in front of the full name.
|
|
603
|
+
*
|
|
604
|
+
*/
|
|
605
|
+
fullName?: string | undefined;
|
|
606
|
+
/**
|
|
607
|
+
* The fully-qualified type name of the extension field. Unlike
|
|
608
|
+
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
609
|
+
* and enums.
|
|
610
|
+
*
|
|
611
|
+
*/
|
|
612
|
+
type?: string | undefined;
|
|
613
|
+
/**
|
|
614
|
+
* If true, indicates that the number is reserved in the extension range,
|
|
615
|
+
* and any extension field with the number will fail to compile. Set this
|
|
616
|
+
* when a declared extension field is deleted.
|
|
617
|
+
*
|
|
618
|
+
*/
|
|
619
|
+
reserved?: boolean | undefined;
|
|
620
|
+
/**
|
|
621
|
+
* If true, indicates that the extension must be defined as repeated.
|
|
622
|
+
* Otherwise the extension must be defined as optional.
|
|
623
|
+
*
|
|
624
|
+
*/
|
|
625
|
+
repeated?: boolean | undefined;
|
|
626
|
+
}
|
|
627
|
+
export declare const ExtensionRangeOptions_Declaration: MessageFns<ExtensionRangeOptions_Declaration, "google.protobuf.ExtensionRangeOptions.Declaration">;
|
|
628
|
+
/**
|
|
629
|
+
* Describes a field within a message.
|
|
630
|
+
*
|
|
631
|
+
*/
|
|
632
|
+
export interface FieldDescriptorProto {
|
|
633
|
+
$type: "google.protobuf.FieldDescriptorProto";
|
|
634
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
635
|
+
[customJson]?: () => unknown;
|
|
636
|
+
name?: string | undefined;
|
|
637
|
+
number?: number | undefined;
|
|
638
|
+
label?: FieldDescriptorProto_Label | undefined;
|
|
639
|
+
/**
|
|
640
|
+
* If type_name is set, this need not be set. If both this and type_name
|
|
641
|
+
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
642
|
+
*
|
|
643
|
+
*/
|
|
644
|
+
type?: FieldDescriptorProto_Type | undefined;
|
|
645
|
+
/**
|
|
646
|
+
* For message and enum types, this is the name of the type. If the name
|
|
647
|
+
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
648
|
+
* rules are used to find the type (i.e. first the nested types within this
|
|
649
|
+
* message are searched, then within the parent, on up to the root
|
|
650
|
+
* namespace).
|
|
651
|
+
*
|
|
652
|
+
*/
|
|
653
|
+
typeName?: string | undefined;
|
|
654
|
+
/**
|
|
655
|
+
* For extensions, this is the name of the type being extended. It is
|
|
656
|
+
* resolved in the same manner as type_name.
|
|
657
|
+
*
|
|
658
|
+
*/
|
|
659
|
+
extendee?: string | undefined;
|
|
660
|
+
/**
|
|
661
|
+
* For numeric types, contains the original text representation of the value.
|
|
662
|
+
* For booleans, "true" or "false".
|
|
663
|
+
* For strings, contains the default text contents (not escaped in any way).
|
|
664
|
+
* For bytes, contains the C escaped value. All bytes >= 128 are escaped.
|
|
665
|
+
*
|
|
666
|
+
*/
|
|
667
|
+
defaultValue?: string | undefined;
|
|
668
|
+
/**
|
|
669
|
+
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
670
|
+
* list. This field is a member of that oneof.
|
|
671
|
+
*
|
|
672
|
+
*/
|
|
673
|
+
oneofIndex?: number | undefined;
|
|
674
|
+
/**
|
|
675
|
+
* JSON name of this field. The value is set by protocol compiler. If the
|
|
676
|
+
* user has set a "json_name" option on this field, that option's value
|
|
677
|
+
* will be used. Otherwise, it's deduced from the field's name by converting
|
|
678
|
+
* it to camelCase.
|
|
679
|
+
*
|
|
680
|
+
*/
|
|
681
|
+
jsonName?: string | undefined;
|
|
682
|
+
options?: FieldOptions | undefined;
|
|
683
|
+
/**
|
|
684
|
+
* If true, this is a proto3 "optional". When a proto3 field is optional, it
|
|
685
|
+
* tracks presence regardless of field type.
|
|
686
|
+
*
|
|
687
|
+
* When proto3_optional is true, this field must belong to a oneof to signal
|
|
688
|
+
* to old proto3 clients that presence is tracked for this field. This oneof
|
|
689
|
+
* is known as a "synthetic" oneof, and this field must be its sole member
|
|
690
|
+
* (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
|
|
691
|
+
* exist in the descriptor only, and do not generate any API. Synthetic oneofs
|
|
692
|
+
* must be ordered after all "real" oneofs.
|
|
693
|
+
*
|
|
694
|
+
* For message fields, proto3_optional doesn't create any semantic change,
|
|
695
|
+
* since non-repeated message fields always track presence. However it still
|
|
696
|
+
* indicates the semantic detail of whether the user wrote "optional" or not.
|
|
697
|
+
* This can be useful for round-tripping the .proto file. For consistency we
|
|
698
|
+
* give message fields a synthetic oneof also, even though it is not required
|
|
699
|
+
* to track presence. This is especially important because the parser can't
|
|
700
|
+
* tell if a field is a message or an enum, so it must always create a
|
|
701
|
+
* synthetic oneof.
|
|
702
|
+
*
|
|
703
|
+
* Proto2 optional fields do not set this flag, because they already indicate
|
|
704
|
+
* optional with `LABEL_OPTIONAL`.
|
|
705
|
+
*
|
|
706
|
+
*/
|
|
707
|
+
proto3Optional?: boolean | undefined;
|
|
708
|
+
}
|
|
709
|
+
export declare const FieldDescriptorProto: MessageFns<FieldDescriptorProto, "google.protobuf.FieldDescriptorProto">;
|
|
710
|
+
/**
|
|
711
|
+
* Describes a oneof.
|
|
712
|
+
*
|
|
713
|
+
*/
|
|
714
|
+
export interface OneofDescriptorProto {
|
|
715
|
+
$type: "google.protobuf.OneofDescriptorProto";
|
|
716
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
717
|
+
[customJson]?: () => unknown;
|
|
718
|
+
name?: string | undefined;
|
|
719
|
+
options?: OneofOptions | undefined;
|
|
720
|
+
}
|
|
721
|
+
export declare const OneofDescriptorProto: MessageFns<OneofDescriptorProto, "google.protobuf.OneofDescriptorProto">;
|
|
722
|
+
/**
|
|
723
|
+
* Describes an enum type.
|
|
724
|
+
*
|
|
725
|
+
*/
|
|
726
|
+
export interface EnumDescriptorProto {
|
|
727
|
+
$type: "google.protobuf.EnumDescriptorProto";
|
|
728
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
729
|
+
[customJson]?: () => unknown;
|
|
730
|
+
name?: string | undefined;
|
|
731
|
+
value: EnumValueDescriptorProto[];
|
|
732
|
+
options?: EnumOptions | undefined;
|
|
733
|
+
/**
|
|
734
|
+
* Range of reserved numeric values. Reserved numeric values may not be used
|
|
735
|
+
* by enum values in the same enum declaration. Reserved ranges may not
|
|
736
|
+
* overlap.
|
|
737
|
+
*
|
|
738
|
+
*/
|
|
739
|
+
reservedRange: EnumDescriptorProto_EnumReservedRange[];
|
|
740
|
+
/**
|
|
741
|
+
* Reserved enum value names, which may not be reused. A given name may only
|
|
742
|
+
* be reserved once.
|
|
743
|
+
*
|
|
744
|
+
*/
|
|
745
|
+
reservedName: string[];
|
|
746
|
+
/**
|
|
747
|
+
* Support for `export` and `local` keywords on enums.
|
|
748
|
+
*
|
|
749
|
+
*/
|
|
750
|
+
visibility?: SymbolVisibility | undefined;
|
|
751
|
+
}
|
|
752
|
+
export declare const EnumDescriptorProto: MessageFns<EnumDescriptorProto, "google.protobuf.EnumDescriptorProto">;
|
|
753
|
+
/**
|
|
754
|
+
* Range of reserved numeric values. Reserved values may not be used by
|
|
755
|
+
* entries in the same enum. Reserved ranges may not overlap.
|
|
756
|
+
*
|
|
757
|
+
* Note that this is distinct from DescriptorProto.ReservedRange in that it
|
|
758
|
+
* is inclusive such that it can appropriately represent the entire int32
|
|
759
|
+
* domain.
|
|
760
|
+
*
|
|
761
|
+
*/
|
|
762
|
+
export interface EnumDescriptorProto_EnumReservedRange {
|
|
763
|
+
$type: "google.protobuf.EnumDescriptorProto.EnumReservedRange";
|
|
764
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
765
|
+
[customJson]?: () => unknown;
|
|
766
|
+
/**
|
|
767
|
+
* Inclusive.
|
|
768
|
+
*
|
|
769
|
+
*/
|
|
770
|
+
start?: number | undefined;
|
|
771
|
+
/**
|
|
772
|
+
* Inclusive.
|
|
773
|
+
*
|
|
774
|
+
*/
|
|
775
|
+
end?: number | undefined;
|
|
776
|
+
}
|
|
777
|
+
export declare const EnumDescriptorProto_EnumReservedRange: MessageFns<EnumDescriptorProto_EnumReservedRange, "google.protobuf.EnumDescriptorProto.EnumReservedRange">;
|
|
778
|
+
/**
|
|
779
|
+
* Describes a value within an enum.
|
|
780
|
+
*
|
|
781
|
+
*/
|
|
782
|
+
export interface EnumValueDescriptorProto {
|
|
783
|
+
$type: "google.protobuf.EnumValueDescriptorProto";
|
|
784
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
785
|
+
[customJson]?: () => unknown;
|
|
786
|
+
name?: string | undefined;
|
|
787
|
+
number?: number | undefined;
|
|
788
|
+
options?: EnumValueOptions | undefined;
|
|
789
|
+
}
|
|
790
|
+
export declare const EnumValueDescriptorProto: MessageFns<EnumValueDescriptorProto, "google.protobuf.EnumValueDescriptorProto">;
|
|
791
|
+
/**
|
|
792
|
+
* Describes a service.
|
|
793
|
+
*
|
|
794
|
+
*/
|
|
795
|
+
export interface ServiceDescriptorProto {
|
|
796
|
+
$type: "google.protobuf.ServiceDescriptorProto";
|
|
797
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
798
|
+
[customJson]?: () => unknown;
|
|
799
|
+
name?: string | undefined;
|
|
800
|
+
method: MethodDescriptorProto[];
|
|
801
|
+
options?: ServiceOptions | undefined;
|
|
802
|
+
}
|
|
803
|
+
export declare const ServiceDescriptorProto: MessageFns<ServiceDescriptorProto, "google.protobuf.ServiceDescriptorProto">;
|
|
804
|
+
/**
|
|
805
|
+
* Describes a method of a service.
|
|
806
|
+
*
|
|
807
|
+
*/
|
|
808
|
+
export interface MethodDescriptorProto {
|
|
809
|
+
$type: "google.protobuf.MethodDescriptorProto";
|
|
810
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
811
|
+
[customJson]?: () => unknown;
|
|
812
|
+
name?: string | undefined;
|
|
813
|
+
/**
|
|
814
|
+
* Input and output type names. These are resolved in the same way as
|
|
815
|
+
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
816
|
+
*
|
|
817
|
+
*/
|
|
818
|
+
inputType?: string | undefined;
|
|
819
|
+
outputType?: string | undefined;
|
|
820
|
+
options?: MethodOptions | undefined;
|
|
821
|
+
/**
|
|
822
|
+
* Identifies if client streams multiple client messages
|
|
823
|
+
*
|
|
824
|
+
*/
|
|
825
|
+
clientStreaming?: boolean | undefined;
|
|
826
|
+
/**
|
|
827
|
+
* Identifies if server streams multiple server messages
|
|
828
|
+
*
|
|
829
|
+
*/
|
|
830
|
+
serverStreaming?: boolean | undefined;
|
|
831
|
+
}
|
|
832
|
+
export declare const MethodDescriptorProto: MessageFns<MethodDescriptorProto, "google.protobuf.MethodDescriptorProto">;
|
|
833
|
+
/**
|
|
834
|
+
* ===================================================================
|
|
835
|
+
* Options
|
|
836
|
+
*
|
|
837
|
+
*
|
|
838
|
+
* Each of the definitions above may have "options" attached. These are
|
|
839
|
+
* just annotations which may cause code to be generated slightly differently
|
|
840
|
+
* or may contain hints for code that manipulates protocol messages.
|
|
841
|
+
*
|
|
842
|
+
* Clients may define custom options as extensions of the *Options messages.
|
|
843
|
+
* These extensions may not yet be known at parsing time, so the parser cannot
|
|
844
|
+
* store the values in them. Instead it stores them in a field in the *Options
|
|
845
|
+
* message called uninterpreted_option. This field must have the same name
|
|
846
|
+
* across all *Options messages. We then use this field to populate the
|
|
847
|
+
* extensions when we build a descriptor, at which point all protos have been
|
|
848
|
+
* parsed and so all extensions are known.
|
|
849
|
+
*
|
|
850
|
+
* Extension numbers for custom options may be chosen as follows:
|
|
851
|
+
* * For options which will only be used within a single application or
|
|
852
|
+
* organization, or for experimental options, use field numbers 50000
|
|
853
|
+
* through 99999. It is up to you to ensure that you do not use the
|
|
854
|
+
* same number for multiple options.
|
|
855
|
+
* * For options which will be published and used publicly by multiple
|
|
856
|
+
* independent entities, e-mail protobuf-global-extension-registry@google.com
|
|
857
|
+
* to reserve extension numbers. Simply provide your project name (e.g.
|
|
858
|
+
* Objective-C plugin) and your project website (if available) -- there's no
|
|
859
|
+
* need to explain how you intend to use them. Usually you only need one
|
|
860
|
+
* extension number. You can declare multiple options with only one extension
|
|
861
|
+
* number by putting them in a sub-message. See the Custom Options section of
|
|
862
|
+
* the docs for examples:
|
|
863
|
+
* https://developers.google.com/protocol-buffers/docs/proto#options
|
|
864
|
+
* If this turns out to be popular, a web service will be set up
|
|
865
|
+
* to automatically assign option numbers.
|
|
866
|
+
*
|
|
867
|
+
*/
|
|
868
|
+
export interface FileOptions {
|
|
869
|
+
$type: "google.protobuf.FileOptions";
|
|
870
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
871
|
+
[customJson]?: () => unknown;
|
|
872
|
+
/**
|
|
873
|
+
* Sets the Java package where classes generated from this .proto will be
|
|
874
|
+
* placed. By default, the proto package is used, but this is often
|
|
875
|
+
* inappropriate because proto packages do not normally start with backwards
|
|
876
|
+
* domain names.
|
|
877
|
+
*
|
|
878
|
+
*/
|
|
879
|
+
javaPackage?: string | undefined;
|
|
880
|
+
/**
|
|
881
|
+
* Controls the name of the wrapper Java class generated for the .proto file.
|
|
882
|
+
* That class will always contain the .proto file's getDescriptor() method as
|
|
883
|
+
* well as any top-level extensions defined in the .proto file.
|
|
884
|
+
* If java_multiple_files is disabled, then all the other classes from the
|
|
885
|
+
* .proto file will be nested inside the single wrapper outer class.
|
|
886
|
+
*
|
|
887
|
+
*/
|
|
888
|
+
javaOuterClassname?: string | undefined;
|
|
889
|
+
/**
|
|
890
|
+
* If enabled, then the Java code generator will generate a separate .java
|
|
891
|
+
* file for each top-level message, enum, and service defined in the .proto
|
|
892
|
+
* file. Thus, these types will *not* be nested inside the wrapper class
|
|
893
|
+
* named by java_outer_classname. However, the wrapper class will still be
|
|
894
|
+
* generated to contain the file's getDescriptor() method as well as any
|
|
895
|
+
* top-level extensions defined in the file.
|
|
896
|
+
*
|
|
897
|
+
*/
|
|
898
|
+
javaMultipleFiles?: boolean | undefined;
|
|
899
|
+
/**
|
|
900
|
+
* This option does nothing.
|
|
901
|
+
*
|
|
902
|
+
* @deprecated Deprecated.
|
|
903
|
+
*/
|
|
904
|
+
javaGenerateEqualsAndHash?: boolean | undefined;
|
|
905
|
+
/**
|
|
906
|
+
* A proto2 file can set this to true to opt in to UTF-8 checking for Java,
|
|
907
|
+
* which will throw an exception if invalid UTF-8 is parsed from the wire or
|
|
908
|
+
* assigned to a string field.
|
|
909
|
+
*
|
|
910
|
+
* TODO: clarify exactly what kinds of field types this option
|
|
911
|
+
* applies to, and update these docs accordingly.
|
|
912
|
+
*
|
|
913
|
+
* Proto3 files already perform these checks. Setting the option explicitly to
|
|
914
|
+
* false has no effect: it cannot be used to opt proto3 files out of UTF-8
|
|
915
|
+
* checks.
|
|
916
|
+
*
|
|
917
|
+
*/
|
|
918
|
+
javaStringCheckUtf8?: boolean | undefined;
|
|
919
|
+
optimizeFor?: FileOptions_OptimizeMode | undefined;
|
|
920
|
+
/**
|
|
921
|
+
* Sets the Go package where structs generated from this .proto will be
|
|
922
|
+
* placed. If omitted, the Go package will be derived from the following:
|
|
923
|
+
* - The basename of the package import path, if provided.
|
|
924
|
+
* - Otherwise, the package statement in the .proto file, if present.
|
|
925
|
+
* - Otherwise, the basename of the .proto file, without extension.
|
|
926
|
+
*
|
|
927
|
+
*/
|
|
928
|
+
goPackage?: string | undefined;
|
|
929
|
+
/**
|
|
930
|
+
* Should generic services be generated in each language? "Generic" services
|
|
931
|
+
* are not specific to any particular RPC system. They are generated by the
|
|
932
|
+
* main code generators in each language (without additional plugins).
|
|
933
|
+
* Generic services were the only kind of service generation supported by
|
|
934
|
+
* early versions of google.protobuf.
|
|
935
|
+
*
|
|
936
|
+
* Generic services are now considered deprecated in favor of using plugins
|
|
937
|
+
* that generate code specific to your particular RPC system. Therefore,
|
|
938
|
+
* these default to false. Old code which depends on generic services should
|
|
939
|
+
* explicitly set them to true.
|
|
940
|
+
*
|
|
941
|
+
*/
|
|
942
|
+
ccGenericServices?: boolean | undefined;
|
|
943
|
+
javaGenericServices?: boolean | undefined;
|
|
944
|
+
pyGenericServices?: boolean | undefined;
|
|
945
|
+
/**
|
|
946
|
+
* Is this file deprecated?
|
|
947
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
948
|
+
* for everything in the file, or it will be completely ignored; in the very
|
|
949
|
+
* least, this is a formalization for deprecating files.
|
|
950
|
+
*
|
|
951
|
+
*/
|
|
952
|
+
deprecated?: boolean | undefined;
|
|
953
|
+
/**
|
|
954
|
+
* Enables the use of arenas for the proto messages in this file. This applies
|
|
955
|
+
* only to generated classes for C++.
|
|
956
|
+
*
|
|
957
|
+
*/
|
|
958
|
+
ccEnableArenas?: boolean | undefined;
|
|
959
|
+
/**
|
|
960
|
+
* Sets the objective c class prefix which is prepended to all objective c
|
|
961
|
+
* generated classes from this .proto. There is no default.
|
|
962
|
+
*
|
|
963
|
+
*/
|
|
964
|
+
objcClassPrefix?: string | undefined;
|
|
965
|
+
/**
|
|
966
|
+
* Namespace for generated classes; defaults to the package.
|
|
967
|
+
*
|
|
968
|
+
*/
|
|
969
|
+
csharpNamespace?: string | undefined;
|
|
970
|
+
/**
|
|
971
|
+
* By default Swift generators will take the proto package and CamelCase it
|
|
972
|
+
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
973
|
+
* defined. When this options is provided, they will use this value instead
|
|
974
|
+
* to prefix the types/symbols defined.
|
|
975
|
+
*
|
|
976
|
+
*/
|
|
977
|
+
swiftPrefix?: string | undefined;
|
|
978
|
+
/**
|
|
979
|
+
* Sets the php class prefix which is prepended to all php generated classes
|
|
980
|
+
* from this .proto. Default is empty.
|
|
981
|
+
*
|
|
982
|
+
*/
|
|
983
|
+
phpClassPrefix?: string | undefined;
|
|
984
|
+
/**
|
|
985
|
+
* Use this option to change the namespace of php generated classes. Default
|
|
986
|
+
* is empty. When this option is empty, the package name will be used for
|
|
987
|
+
* determining the namespace.
|
|
988
|
+
*
|
|
989
|
+
*/
|
|
990
|
+
phpNamespace?: string | undefined;
|
|
991
|
+
/**
|
|
992
|
+
* Use this option to change the namespace of php generated metadata classes.
|
|
993
|
+
* Default is empty. When this option is empty, the proto file name will be
|
|
994
|
+
* used for determining the namespace.
|
|
995
|
+
*
|
|
996
|
+
*/
|
|
997
|
+
phpMetadataNamespace?: string | undefined;
|
|
998
|
+
/**
|
|
999
|
+
* Use this option to change the package of ruby generated classes. Default
|
|
1000
|
+
* is empty. When this option is not set, the package name will be used for
|
|
1001
|
+
* determining the ruby package.
|
|
1002
|
+
*
|
|
1003
|
+
*/
|
|
1004
|
+
rubyPackage?: string | undefined;
|
|
1005
|
+
/**
|
|
1006
|
+
* Any features defined in the specific edition.
|
|
1007
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1008
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1009
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1010
|
+
*
|
|
1011
|
+
*/
|
|
1012
|
+
features?: FeatureSet | undefined;
|
|
1013
|
+
/**
|
|
1014
|
+
* The parser stores options it doesn't recognize here.
|
|
1015
|
+
* See the documentation for the "Options" section above.
|
|
1016
|
+
*
|
|
1017
|
+
*/
|
|
1018
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1019
|
+
}
|
|
1020
|
+
export declare const FileOptions: MessageFns<FileOptions, "google.protobuf.FileOptions">;
|
|
1021
|
+
export interface MessageOptions {
|
|
1022
|
+
$type: "google.protobuf.MessageOptions";
|
|
1023
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1024
|
+
[customJson]?: () => unknown;
|
|
1025
|
+
/**
|
|
1026
|
+
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
1027
|
+
* This is provided for backwards-compatibility with the MessageSet wire
|
|
1028
|
+
* format. You should not use this for any other reason: It's less
|
|
1029
|
+
* efficient, has fewer features, and is more complicated.
|
|
1030
|
+
*
|
|
1031
|
+
* The message must be defined exactly as follows:
|
|
1032
|
+
* message Foo {
|
|
1033
|
+
* option message_set_wire_format = true;
|
|
1034
|
+
* extensions 4 to max;
|
|
1035
|
+
* }
|
|
1036
|
+
* Note that the message cannot have any defined fields; MessageSets only
|
|
1037
|
+
* have extensions.
|
|
1038
|
+
*
|
|
1039
|
+
* All extensions of your type must be singular messages; e.g. they cannot
|
|
1040
|
+
* be int32s, enums, or repeated messages.
|
|
1041
|
+
*
|
|
1042
|
+
* Because this is an option, the above two restrictions are not enforced by
|
|
1043
|
+
* the protocol compiler.
|
|
1044
|
+
*
|
|
1045
|
+
*/
|
|
1046
|
+
messageSetWireFormat?: boolean | undefined;
|
|
1047
|
+
/**
|
|
1048
|
+
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
1049
|
+
* conflict with a field of the same name. This is meant to make migration
|
|
1050
|
+
* from proto1 easier; new code should avoid fields named "descriptor".
|
|
1051
|
+
*
|
|
1052
|
+
*/
|
|
1053
|
+
noStandardDescriptorAccessor?: boolean | undefined;
|
|
1054
|
+
/**
|
|
1055
|
+
* Is this message deprecated?
|
|
1056
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1057
|
+
* for the message, or it will be completely ignored; in the very least,
|
|
1058
|
+
* this is a formalization for deprecating messages.
|
|
1059
|
+
*
|
|
1060
|
+
*/
|
|
1061
|
+
deprecated?: boolean | undefined;
|
|
1062
|
+
/**
|
|
1063
|
+
* Whether the message is an automatically generated map entry type for the
|
|
1064
|
+
* maps field.
|
|
1065
|
+
*
|
|
1066
|
+
* For maps fields:
|
|
1067
|
+
* map<KeyType, ValueType> map_field = 1;
|
|
1068
|
+
* The parsed descriptor looks like:
|
|
1069
|
+
* message MapFieldEntry {
|
|
1070
|
+
* option map_entry = true;
|
|
1071
|
+
* optional KeyType key = 1;
|
|
1072
|
+
* optional ValueType value = 2;
|
|
1073
|
+
* }
|
|
1074
|
+
* repeated MapFieldEntry map_field = 1;
|
|
1075
|
+
*
|
|
1076
|
+
* Implementations may choose not to generate the map_entry=true message, but
|
|
1077
|
+
* use a native map in the target language to hold the keys and values.
|
|
1078
|
+
* The reflection APIs in such implementations still need to work as
|
|
1079
|
+
* if the field is a repeated message field.
|
|
1080
|
+
*
|
|
1081
|
+
* NOTE: Do not set the option in .proto files. Always use the maps syntax
|
|
1082
|
+
* instead. The option should only be implicitly set by the proto compiler
|
|
1083
|
+
* parser.
|
|
1084
|
+
*
|
|
1085
|
+
*/
|
|
1086
|
+
mapEntry?: boolean | undefined;
|
|
1087
|
+
/**
|
|
1088
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1089
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1090
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1091
|
+
* well.
|
|
1092
|
+
*
|
|
1093
|
+
* This should only be used as a temporary measure against broken builds due
|
|
1094
|
+
* to the change in behavior for JSON field name conflicts.
|
|
1095
|
+
*
|
|
1096
|
+
* TODO This is legacy behavior we plan to remove once downstream
|
|
1097
|
+
* teams have had time to migrate.
|
|
1098
|
+
*
|
|
1099
|
+
* @deprecated Deprecated.
|
|
1100
|
+
*/
|
|
1101
|
+
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
|
1102
|
+
/**
|
|
1103
|
+
* Any features defined in the specific edition.
|
|
1104
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1105
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1106
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1107
|
+
*
|
|
1108
|
+
*/
|
|
1109
|
+
features?: FeatureSet | undefined;
|
|
1110
|
+
/**
|
|
1111
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1112
|
+
*
|
|
1113
|
+
*/
|
|
1114
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1115
|
+
}
|
|
1116
|
+
export declare const MessageOptions: MessageFns<MessageOptions, "google.protobuf.MessageOptions">;
|
|
1117
|
+
export interface FieldOptions {
|
|
1118
|
+
$type: "google.protobuf.FieldOptions";
|
|
1119
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1120
|
+
[customJson]?: () => unknown;
|
|
1121
|
+
/**
|
|
1122
|
+
* NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
|
|
1123
|
+
* The ctype option instructs the C++ code generator to use a different
|
|
1124
|
+
* representation of the field than it normally would. See the specific
|
|
1125
|
+
* options below. This option is only implemented to support use of
|
|
1126
|
+
* [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
|
|
1127
|
+
* type "bytes" in the open source release.
|
|
1128
|
+
* TODO: make ctype actually deprecated.
|
|
1129
|
+
*
|
|
1130
|
+
*/
|
|
1131
|
+
ctype?: FieldOptions_CType | undefined;
|
|
1132
|
+
/**
|
|
1133
|
+
* The packed option can be enabled for repeated primitive fields to enable
|
|
1134
|
+
* a more efficient representation on the wire. Rather than repeatedly
|
|
1135
|
+
* writing the tag and type for each element, the entire array is encoded as
|
|
1136
|
+
* a single length-delimited blob. In proto3, only explicit setting it to
|
|
1137
|
+
* false will avoid using packed encoding. This option is prohibited in
|
|
1138
|
+
* Editions, but the `repeated_field_encoding` feature can be used to control
|
|
1139
|
+
* the behavior.
|
|
1140
|
+
*
|
|
1141
|
+
*/
|
|
1142
|
+
packed?: boolean | undefined;
|
|
1143
|
+
/**
|
|
1144
|
+
* The jstype option determines the JavaScript type used for values of the
|
|
1145
|
+
* field. The option is permitted only for 64 bit integral and fixed types
|
|
1146
|
+
* (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
|
|
1147
|
+
* is represented as JavaScript string, which avoids loss of precision that
|
|
1148
|
+
* can happen when a large value is converted to a floating point JavaScript.
|
|
1149
|
+
* Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
|
|
1150
|
+
* use the JavaScript "number" type. The behavior of the default option
|
|
1151
|
+
* JS_NORMAL is implementation dependent.
|
|
1152
|
+
*
|
|
1153
|
+
* This option is an enum to permit additional types to be added, e.g.
|
|
1154
|
+
* goog.math.Integer.
|
|
1155
|
+
*
|
|
1156
|
+
*/
|
|
1157
|
+
jstype?: FieldOptions_JSType | undefined;
|
|
1158
|
+
/**
|
|
1159
|
+
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
1160
|
+
* fields. It means that when the outer message is initially parsed, the
|
|
1161
|
+
* inner message's contents will not be parsed but instead stored in encoded
|
|
1162
|
+
* form. The inner message will actually be parsed when it is first accessed.
|
|
1163
|
+
*
|
|
1164
|
+
* This is only a hint. Implementations are free to choose whether to use
|
|
1165
|
+
* eager or lazy parsing regardless of the value of this option. However,
|
|
1166
|
+
* setting this option true suggests that the protocol author believes that
|
|
1167
|
+
* using lazy parsing on this field is worth the additional bookkeeping
|
|
1168
|
+
* overhead typically needed to implement it.
|
|
1169
|
+
*
|
|
1170
|
+
* This option does not affect the public interface of any generated code;
|
|
1171
|
+
* all method signatures remain the same. Furthermore, thread-safety of the
|
|
1172
|
+
* interface is not affected by this option; const methods remain safe to
|
|
1173
|
+
* call from multiple threads concurrently, while non-const methods continue
|
|
1174
|
+
* to require exclusive access.
|
|
1175
|
+
*
|
|
1176
|
+
* Note that lazy message fields are still eagerly verified to check
|
|
1177
|
+
* ill-formed wireformat or missing required fields. Calling IsInitialized()
|
|
1178
|
+
* on the outer message would fail if the inner message has missing required
|
|
1179
|
+
* fields. Failed verification would result in parsing failure (except when
|
|
1180
|
+
* uninitialized messages are acceptable).
|
|
1181
|
+
*
|
|
1182
|
+
*/
|
|
1183
|
+
lazy?: boolean | undefined;
|
|
1184
|
+
/**
|
|
1185
|
+
* unverified_lazy does no correctness checks on the byte stream. This should
|
|
1186
|
+
* only be used where lazy with verification is prohibitive for performance
|
|
1187
|
+
* reasons.
|
|
1188
|
+
*
|
|
1189
|
+
*/
|
|
1190
|
+
unverifiedLazy?: boolean | undefined;
|
|
1191
|
+
/**
|
|
1192
|
+
* Is this field deprecated?
|
|
1193
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1194
|
+
* for accessors, or it will be completely ignored; in the very least, this
|
|
1195
|
+
* is a formalization for deprecating fields.
|
|
1196
|
+
*
|
|
1197
|
+
*/
|
|
1198
|
+
deprecated?: boolean | undefined;
|
|
1199
|
+
/**
|
|
1200
|
+
* For Google-internal migration only. Do not use.
|
|
1201
|
+
*
|
|
1202
|
+
*/
|
|
1203
|
+
weak?: boolean | undefined;
|
|
1204
|
+
/**
|
|
1205
|
+
* Indicate that the field value should not be printed out when using debug
|
|
1206
|
+
* formats, e.g. when the field contains sensitive credentials.
|
|
1207
|
+
*
|
|
1208
|
+
*/
|
|
1209
|
+
debugRedact?: boolean | undefined;
|
|
1210
|
+
retention?: FieldOptions_OptionRetention | undefined;
|
|
1211
|
+
targets: FieldOptions_OptionTargetType[];
|
|
1212
|
+
editionDefaults: FieldOptions_EditionDefault[];
|
|
1213
|
+
/**
|
|
1214
|
+
* Any features defined in the specific edition.
|
|
1215
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1216
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1217
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1218
|
+
*
|
|
1219
|
+
*/
|
|
1220
|
+
features?: FeatureSet | undefined;
|
|
1221
|
+
featureSupport?: FieldOptions_FeatureSupport | undefined;
|
|
1222
|
+
/**
|
|
1223
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1224
|
+
*
|
|
1225
|
+
*/
|
|
1226
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1227
|
+
}
|
|
1228
|
+
export declare const FieldOptions: MessageFns<FieldOptions, "google.protobuf.FieldOptions">;
|
|
1229
|
+
export interface FieldOptions_EditionDefault {
|
|
1230
|
+
$type: "google.protobuf.FieldOptions.EditionDefault";
|
|
1231
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1232
|
+
[customJson]?: () => unknown;
|
|
1233
|
+
edition?: Edition | undefined;
|
|
1234
|
+
/**
|
|
1235
|
+
* Textproto value.
|
|
1236
|
+
*
|
|
1237
|
+
*/
|
|
1238
|
+
value?: string | undefined;
|
|
1239
|
+
}
|
|
1240
|
+
export declare const FieldOptions_EditionDefault: MessageFns<FieldOptions_EditionDefault, "google.protobuf.FieldOptions.EditionDefault">;
|
|
1241
|
+
/**
|
|
1242
|
+
* Information about the support window of a feature.
|
|
1243
|
+
*
|
|
1244
|
+
*/
|
|
1245
|
+
export interface FieldOptions_FeatureSupport {
|
|
1246
|
+
$type: "google.protobuf.FieldOptions.FeatureSupport";
|
|
1247
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1248
|
+
[customJson]?: () => unknown;
|
|
1249
|
+
/**
|
|
1250
|
+
* The edition that this feature was first available in. In editions
|
|
1251
|
+
* earlier than this one, the default assigned to EDITION_LEGACY will be
|
|
1252
|
+
* used, and proto files will not be able to override it.
|
|
1253
|
+
*
|
|
1254
|
+
*/
|
|
1255
|
+
editionIntroduced?: Edition | undefined;
|
|
1256
|
+
/**
|
|
1257
|
+
* The edition this feature becomes deprecated in. Using this after this
|
|
1258
|
+
* edition may trigger warnings.
|
|
1259
|
+
*
|
|
1260
|
+
*/
|
|
1261
|
+
editionDeprecated?: Edition | undefined;
|
|
1262
|
+
/**
|
|
1263
|
+
* The deprecation warning text if this feature is used after the edition it
|
|
1264
|
+
* was marked deprecated in.
|
|
1265
|
+
*
|
|
1266
|
+
*/
|
|
1267
|
+
deprecationWarning?: string | undefined;
|
|
1268
|
+
/**
|
|
1269
|
+
* The edition this feature is no longer available in. In editions after
|
|
1270
|
+
* this one, the last default assigned will be used, and proto files will
|
|
1271
|
+
* not be able to override it.
|
|
1272
|
+
*
|
|
1273
|
+
*/
|
|
1274
|
+
editionRemoved?: Edition | undefined;
|
|
1275
|
+
}
|
|
1276
|
+
export declare const FieldOptions_FeatureSupport: MessageFns<FieldOptions_FeatureSupport, "google.protobuf.FieldOptions.FeatureSupport">;
|
|
1277
|
+
export interface OneofOptions {
|
|
1278
|
+
$type: "google.protobuf.OneofOptions";
|
|
1279
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1280
|
+
[customJson]?: () => unknown;
|
|
1281
|
+
/**
|
|
1282
|
+
* Any features defined in the specific edition.
|
|
1283
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1284
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1285
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1286
|
+
*
|
|
1287
|
+
*/
|
|
1288
|
+
features?: FeatureSet | undefined;
|
|
1289
|
+
/**
|
|
1290
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1291
|
+
*
|
|
1292
|
+
*/
|
|
1293
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1294
|
+
}
|
|
1295
|
+
export declare const OneofOptions: MessageFns<OneofOptions, "google.protobuf.OneofOptions">;
|
|
1296
|
+
export interface EnumOptions {
|
|
1297
|
+
$type: "google.protobuf.EnumOptions";
|
|
1298
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1299
|
+
[customJson]?: () => unknown;
|
|
1300
|
+
/**
|
|
1301
|
+
* Set this option to true to allow mapping different tag names to the same
|
|
1302
|
+
* value.
|
|
1303
|
+
*
|
|
1304
|
+
*/
|
|
1305
|
+
allowAlias?: boolean | undefined;
|
|
1306
|
+
/**
|
|
1307
|
+
* Is this enum deprecated?
|
|
1308
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1309
|
+
* for the enum, or it will be completely ignored; in the very least, this
|
|
1310
|
+
* is a formalization for deprecating enums.
|
|
1311
|
+
*
|
|
1312
|
+
*/
|
|
1313
|
+
deprecated?: boolean | undefined;
|
|
1314
|
+
/**
|
|
1315
|
+
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1316
|
+
* and strips underscored from the fields before comparison in proto3 only.
|
|
1317
|
+
* The new behavior takes `json_name` into account and applies to proto2 as
|
|
1318
|
+
* well.
|
|
1319
|
+
* TODO Remove this legacy behavior once downstream teams have
|
|
1320
|
+
* had time to migrate.
|
|
1321
|
+
*
|
|
1322
|
+
* @deprecated Deprecated.
|
|
1323
|
+
*/
|
|
1324
|
+
deprecatedLegacyJsonFieldConflicts?: boolean | undefined;
|
|
1325
|
+
/**
|
|
1326
|
+
* Any features defined in the specific edition.
|
|
1327
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1328
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1329
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1330
|
+
*
|
|
1331
|
+
*/
|
|
1332
|
+
features?: FeatureSet | undefined;
|
|
1333
|
+
/**
|
|
1334
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1335
|
+
*
|
|
1336
|
+
*/
|
|
1337
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1338
|
+
}
|
|
1339
|
+
export declare const EnumOptions: MessageFns<EnumOptions, "google.protobuf.EnumOptions">;
|
|
1340
|
+
export interface EnumValueOptions {
|
|
1341
|
+
$type: "google.protobuf.EnumValueOptions";
|
|
1342
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1343
|
+
[customJson]?: () => unknown;
|
|
1344
|
+
/**
|
|
1345
|
+
* Is this enum value deprecated?
|
|
1346
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1347
|
+
* for the enum value, or it will be completely ignored; in the very least,
|
|
1348
|
+
* this is a formalization for deprecating enum values.
|
|
1349
|
+
*
|
|
1350
|
+
*/
|
|
1351
|
+
deprecated?: boolean | undefined;
|
|
1352
|
+
/**
|
|
1353
|
+
* Any features defined in the specific edition.
|
|
1354
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1355
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1356
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1357
|
+
*
|
|
1358
|
+
*/
|
|
1359
|
+
features?: FeatureSet | undefined;
|
|
1360
|
+
/**
|
|
1361
|
+
* Indicate that fields annotated with this enum value should not be printed
|
|
1362
|
+
* out when using debug formats, e.g. when the field contains sensitive
|
|
1363
|
+
* credentials.
|
|
1364
|
+
*
|
|
1365
|
+
*/
|
|
1366
|
+
debugRedact?: boolean | undefined;
|
|
1367
|
+
/**
|
|
1368
|
+
* Information about the support window of a feature value.
|
|
1369
|
+
*
|
|
1370
|
+
*/
|
|
1371
|
+
featureSupport?: FieldOptions_FeatureSupport | undefined;
|
|
1372
|
+
/**
|
|
1373
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1374
|
+
*
|
|
1375
|
+
*/
|
|
1376
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1377
|
+
}
|
|
1378
|
+
export declare const EnumValueOptions: MessageFns<EnumValueOptions, "google.protobuf.EnumValueOptions">;
|
|
1379
|
+
export interface ServiceOptions {
|
|
1380
|
+
$type: "google.protobuf.ServiceOptions";
|
|
1381
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1382
|
+
[customJson]?: () => unknown;
|
|
1383
|
+
/**
|
|
1384
|
+
* Any features defined in the specific edition.
|
|
1385
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1386
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1387
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1388
|
+
*
|
|
1389
|
+
*/
|
|
1390
|
+
features?: FeatureSet | undefined;
|
|
1391
|
+
/**
|
|
1392
|
+
* Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
|
1393
|
+
* framework. We apologize for hoarding these numbers to ourselves, but
|
|
1394
|
+
* we were already using them long before we decided to release Protocol
|
|
1395
|
+
* Buffers.
|
|
1396
|
+
*
|
|
1397
|
+
*
|
|
1398
|
+
* Is this service deprecated?
|
|
1399
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1400
|
+
* for the service, or it will be completely ignored; in the very least,
|
|
1401
|
+
* this is a formalization for deprecating services.
|
|
1402
|
+
*
|
|
1403
|
+
*/
|
|
1404
|
+
deprecated?: boolean | undefined;
|
|
1405
|
+
/**
|
|
1406
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1407
|
+
*
|
|
1408
|
+
*/
|
|
1409
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1410
|
+
}
|
|
1411
|
+
export declare const ServiceOptions: MessageFns<ServiceOptions, "google.protobuf.ServiceOptions">;
|
|
1412
|
+
export interface MethodOptions {
|
|
1413
|
+
$type: "google.protobuf.MethodOptions";
|
|
1414
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1415
|
+
[customJson]?: () => unknown;
|
|
1416
|
+
/**
|
|
1417
|
+
* Note: Field numbers 1 through 32 are reserved for Google's internal RPC
|
|
1418
|
+
* framework. We apologize for hoarding these numbers to ourselves, but
|
|
1419
|
+
* we were already using them long before we decided to release Protocol
|
|
1420
|
+
* Buffers.
|
|
1421
|
+
*
|
|
1422
|
+
*
|
|
1423
|
+
* Is this method deprecated?
|
|
1424
|
+
* Depending on the target platform, this can emit Deprecated annotations
|
|
1425
|
+
* for the method, or it will be completely ignored; in the very least,
|
|
1426
|
+
* this is a formalization for deprecating methods.
|
|
1427
|
+
*
|
|
1428
|
+
*/
|
|
1429
|
+
deprecated?: boolean | undefined;
|
|
1430
|
+
idempotencyLevel?: MethodOptions_IdempotencyLevel | undefined;
|
|
1431
|
+
/**
|
|
1432
|
+
* Any features defined in the specific edition.
|
|
1433
|
+
* WARNING: This field should only be used by protobuf plugins or special
|
|
1434
|
+
* cases like the proto compiler. Other uses are discouraged and
|
|
1435
|
+
* developers should rely on the protoreflect APIs for their client language.
|
|
1436
|
+
*
|
|
1437
|
+
*/
|
|
1438
|
+
features?: FeatureSet | undefined;
|
|
1439
|
+
/**
|
|
1440
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1441
|
+
*
|
|
1442
|
+
*/
|
|
1443
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1444
|
+
}
|
|
1445
|
+
export declare const MethodOptions: MessageFns<MethodOptions, "google.protobuf.MethodOptions">;
|
|
1446
|
+
/**
|
|
1447
|
+
* A message representing a option the parser does not recognize. This only
|
|
1448
|
+
* appears in options protos created by the compiler::Parser class.
|
|
1449
|
+
* DescriptorPool resolves these when building Descriptor objects. Therefore,
|
|
1450
|
+
* options protos in descriptor objects (e.g. returned by Descriptor::options(),
|
|
1451
|
+
* or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
|
|
1452
|
+
* in them.
|
|
1453
|
+
*
|
|
1454
|
+
*/
|
|
1455
|
+
export interface UninterpretedOption {
|
|
1456
|
+
$type: "google.protobuf.UninterpretedOption";
|
|
1457
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1458
|
+
[customJson]?: () => unknown;
|
|
1459
|
+
name: UninterpretedOption_NamePart[];
|
|
1460
|
+
/**
|
|
1461
|
+
* The value of the uninterpreted option, in whatever type the tokenizer
|
|
1462
|
+
* identified it as during parsing. Exactly one of these should be set.
|
|
1463
|
+
*
|
|
1464
|
+
*/
|
|
1465
|
+
identifierValue?: string | undefined;
|
|
1466
|
+
positiveIntValue?: Long | undefined;
|
|
1467
|
+
negativeIntValue?: Long | undefined;
|
|
1468
|
+
doubleValue?: number | undefined;
|
|
1469
|
+
stringValue?: Uint8Array | undefined;
|
|
1470
|
+
aggregateValue?: string | undefined;
|
|
1471
|
+
}
|
|
1472
|
+
export declare const UninterpretedOption: MessageFns<UninterpretedOption, "google.protobuf.UninterpretedOption">;
|
|
1473
|
+
/**
|
|
1474
|
+
* The name of the uninterpreted option. Each string represents a segment in
|
|
1475
|
+
* a dot-separated name. is_extension is true iff a segment represents an
|
|
1476
|
+
* extension (denoted with parentheses in options specs in .proto files).
|
|
1477
|
+
* E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
|
|
1478
|
+
* "foo.(bar.baz).moo".
|
|
1479
|
+
*
|
|
1480
|
+
*/
|
|
1481
|
+
export interface UninterpretedOption_NamePart {
|
|
1482
|
+
$type: "google.protobuf.UninterpretedOption.NamePart";
|
|
1483
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1484
|
+
[customJson]?: () => unknown;
|
|
1485
|
+
namePart?: string | undefined;
|
|
1486
|
+
isExtension?: boolean | undefined;
|
|
1487
|
+
}
|
|
1488
|
+
export declare const UninterpretedOption_NamePart: MessageFns<UninterpretedOption_NamePart, "google.protobuf.UninterpretedOption.NamePart">;
|
|
1489
|
+
/**
|
|
1490
|
+
* ===================================================================
|
|
1491
|
+
* Features
|
|
1492
|
+
*
|
|
1493
|
+
*
|
|
1494
|
+
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
1495
|
+
* not well scoped. This means that each of the feature enums below can clash
|
|
1496
|
+
* with each other. The short names we've chosen maximize call-site
|
|
1497
|
+
* readability, but leave us very open to this scenario. A future feature will
|
|
1498
|
+
* be designed and implemented to handle this, hopefully before we ever hit a
|
|
1499
|
+
* conflict here.
|
|
1500
|
+
*
|
|
1501
|
+
*/
|
|
1502
|
+
export interface FeatureSet {
|
|
1503
|
+
$type: "google.protobuf.FeatureSet";
|
|
1504
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1505
|
+
[customJson]?: () => unknown;
|
|
1506
|
+
fieldPresence?: FeatureSet_FieldPresence | undefined;
|
|
1507
|
+
enumType?: FeatureSet_EnumType | undefined;
|
|
1508
|
+
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding | undefined;
|
|
1509
|
+
utf8Validation?: FeatureSet_Utf8Validation | undefined;
|
|
1510
|
+
messageEncoding?: FeatureSet_MessageEncoding | undefined;
|
|
1511
|
+
jsonFormat?: FeatureSet_JsonFormat | undefined;
|
|
1512
|
+
enforceNamingStyle?: FeatureSet_EnforceNamingStyle | undefined;
|
|
1513
|
+
defaultSymbolVisibility?: FeatureSet_VisibilityFeature_DefaultSymbolVisibility | undefined;
|
|
1514
|
+
}
|
|
1515
|
+
export declare const FeatureSet: MessageFns<FeatureSet, "google.protobuf.FeatureSet">;
|
|
1516
|
+
export interface FeatureSet_VisibilityFeature {
|
|
1517
|
+
$type: "google.protobuf.FeatureSet.VisibilityFeature";
|
|
1518
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1519
|
+
[customJson]?: () => unknown;
|
|
1520
|
+
}
|
|
1521
|
+
export declare const FeatureSet_VisibilityFeature: MessageFns<FeatureSet_VisibilityFeature, "google.protobuf.FeatureSet.VisibilityFeature">;
|
|
1522
|
+
/**
|
|
1523
|
+
* A compiled specification for the defaults of a set of features. These
|
|
1524
|
+
* messages are generated from FeatureSet extensions and can be used to seed
|
|
1525
|
+
* feature resolution. The resolution with this object becomes a simple search
|
|
1526
|
+
* for the closest matching edition, followed by proto merges.
|
|
1527
|
+
*
|
|
1528
|
+
*/
|
|
1529
|
+
export interface FeatureSetDefaults {
|
|
1530
|
+
$type: "google.protobuf.FeatureSetDefaults";
|
|
1531
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1532
|
+
[customJson]?: () => unknown;
|
|
1533
|
+
defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
|
|
1534
|
+
/**
|
|
1535
|
+
* The minimum supported edition (inclusive) when this was constructed.
|
|
1536
|
+
* Editions before this will not have defaults.
|
|
1537
|
+
*
|
|
1538
|
+
*/
|
|
1539
|
+
minimumEdition?: Edition | undefined;
|
|
1540
|
+
/**
|
|
1541
|
+
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
1542
|
+
* after this will not have reliable defaults.
|
|
1543
|
+
*
|
|
1544
|
+
*/
|
|
1545
|
+
maximumEdition?: Edition | undefined;
|
|
1546
|
+
}
|
|
1547
|
+
export declare const FeatureSetDefaults: MessageFns<FeatureSetDefaults, "google.protobuf.FeatureSetDefaults">;
|
|
1548
|
+
/**
|
|
1549
|
+
* A map from every known edition with a unique set of defaults to its
|
|
1550
|
+
* defaults. Not all editions may be contained here. For a given edition,
|
|
1551
|
+
* the defaults at the closest matching edition ordered at or before it should
|
|
1552
|
+
* be used. This field must be in strict ascending order by edition.
|
|
1553
|
+
*
|
|
1554
|
+
*/
|
|
1555
|
+
export interface FeatureSetDefaults_FeatureSetEditionDefault {
|
|
1556
|
+
$type: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
|
|
1557
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1558
|
+
[customJson]?: () => unknown;
|
|
1559
|
+
edition?: Edition | undefined;
|
|
1560
|
+
/**
|
|
1561
|
+
* Defaults of features that can be overridden in this edition.
|
|
1562
|
+
*
|
|
1563
|
+
*/
|
|
1564
|
+
overridableFeatures?: FeatureSet | undefined;
|
|
1565
|
+
/**
|
|
1566
|
+
* Defaults of features that can't be overridden in this edition.
|
|
1567
|
+
*
|
|
1568
|
+
*/
|
|
1569
|
+
fixedFeatures?: FeatureSet | undefined;
|
|
1570
|
+
}
|
|
1571
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefault: MessageFns<FeatureSetDefaults_FeatureSetEditionDefault, "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault">;
|
|
1572
|
+
/**
|
|
1573
|
+
* ===================================================================
|
|
1574
|
+
* Optional source code info
|
|
1575
|
+
*
|
|
1576
|
+
*
|
|
1577
|
+
* Encapsulates information about the original source file from which a
|
|
1578
|
+
* FileDescriptorProto was generated.
|
|
1579
|
+
*
|
|
1580
|
+
*/
|
|
1581
|
+
export interface SourceCodeInfo {
|
|
1582
|
+
$type: "google.protobuf.SourceCodeInfo";
|
|
1583
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1584
|
+
[customJson]?: () => unknown;
|
|
1585
|
+
/**
|
|
1586
|
+
* A Location identifies a piece of source code in a .proto file which
|
|
1587
|
+
* corresponds to a particular definition. This information is intended
|
|
1588
|
+
* to be useful to IDEs, code indexers, documentation generators, and similar
|
|
1589
|
+
* tools.
|
|
1590
|
+
*
|
|
1591
|
+
* For example, say we have a file like:
|
|
1592
|
+
* message Foo {
|
|
1593
|
+
* optional string foo = 1;
|
|
1594
|
+
* }
|
|
1595
|
+
* Let's look at just the field definition:
|
|
1596
|
+
* optional string foo = 1;
|
|
1597
|
+
* ^ ^^ ^^ ^ ^^^
|
|
1598
|
+
* a bc de f ghi
|
|
1599
|
+
* We have the following locations:
|
|
1600
|
+
* span path represents
|
|
1601
|
+
* [a,i) [ 4, 0, 2, 0 ] The whole field definition.
|
|
1602
|
+
* [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
|
|
1603
|
+
* [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
|
|
1604
|
+
* [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
|
|
1605
|
+
* [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
|
|
1606
|
+
*
|
|
1607
|
+
* Notes:
|
|
1608
|
+
* - A location may refer to a repeated field itself (i.e. not to any
|
|
1609
|
+
* particular index within it). This is used whenever a set of elements are
|
|
1610
|
+
* logically enclosed in a single code segment. For example, an entire
|
|
1611
|
+
* extend block (possibly containing multiple extension definitions) will
|
|
1612
|
+
* have an outer location whose path refers to the "extensions" repeated
|
|
1613
|
+
* field without an index.
|
|
1614
|
+
* - Multiple locations may have the same path. This happens when a single
|
|
1615
|
+
* logical declaration is spread out across multiple places. The most
|
|
1616
|
+
* obvious example is the "extend" block again -- there may be multiple
|
|
1617
|
+
* extend blocks in the same scope, each of which will have the same path.
|
|
1618
|
+
* - A location's span is not always a subset of its parent's span. For
|
|
1619
|
+
* example, the "extendee" of an extension declaration appears at the
|
|
1620
|
+
* beginning of the "extend" block and is shared by all extensions within
|
|
1621
|
+
* the block.
|
|
1622
|
+
* - Just because a location's span is a subset of some other location's span
|
|
1623
|
+
* does not mean that it is a descendant. For example, a "group" defines
|
|
1624
|
+
* both a type and a field in a single declaration. Thus, the locations
|
|
1625
|
+
* corresponding to the type and field and their components will overlap.
|
|
1626
|
+
* - Code which tries to interpret locations should probably be designed to
|
|
1627
|
+
* ignore those that it doesn't understand, as more types of locations could
|
|
1628
|
+
* be recorded in the future.
|
|
1629
|
+
*
|
|
1630
|
+
*/
|
|
1631
|
+
location: SourceCodeInfo_Location[];
|
|
1632
|
+
}
|
|
1633
|
+
export declare const SourceCodeInfo: MessageFns<SourceCodeInfo, "google.protobuf.SourceCodeInfo">;
|
|
1634
|
+
export interface SourceCodeInfo_Location {
|
|
1635
|
+
$type: "google.protobuf.SourceCodeInfo.Location";
|
|
1636
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1637
|
+
[customJson]?: () => unknown;
|
|
1638
|
+
/**
|
|
1639
|
+
* Identifies which part of the FileDescriptorProto was defined at this
|
|
1640
|
+
* location.
|
|
1641
|
+
*
|
|
1642
|
+
* Each element is a field number or an index. They form a path from
|
|
1643
|
+
* the root FileDescriptorProto to the place where the definition appears.
|
|
1644
|
+
* For example, this path:
|
|
1645
|
+
* [ 4, 3, 2, 7, 1 ]
|
|
1646
|
+
* refers to:
|
|
1647
|
+
* file.message_type(3) // 4, 3
|
|
1648
|
+
* .field(7) // 2, 7
|
|
1649
|
+
* .name() // 1
|
|
1650
|
+
* This is because FileDescriptorProto.message_type has field number 4:
|
|
1651
|
+
* repeated DescriptorProto message_type = 4;
|
|
1652
|
+
* and DescriptorProto.field has field number 2:
|
|
1653
|
+
* repeated FieldDescriptorProto field = 2;
|
|
1654
|
+
* and FieldDescriptorProto.name has field number 1:
|
|
1655
|
+
* optional string name = 1;
|
|
1656
|
+
*
|
|
1657
|
+
* Thus, the above path gives the location of a field name. If we removed
|
|
1658
|
+
* the last element:
|
|
1659
|
+
* [ 4, 3, 2, 7 ]
|
|
1660
|
+
* this path refers to the whole field declaration (from the beginning
|
|
1661
|
+
* of the label to the terminating semicolon).
|
|
1662
|
+
*
|
|
1663
|
+
*/
|
|
1664
|
+
path: number[];
|
|
1665
|
+
/**
|
|
1666
|
+
* Always has exactly three or four elements: start line, start column,
|
|
1667
|
+
* end line (optional, otherwise assumed same as start line), end column.
|
|
1668
|
+
* These are packed into a single field for efficiency. Note that line
|
|
1669
|
+
* and column numbers are zero-based -- typically you will want to add
|
|
1670
|
+
* 1 to each before displaying to a user.
|
|
1671
|
+
*
|
|
1672
|
+
*/
|
|
1673
|
+
span: number[];
|
|
1674
|
+
/**
|
|
1675
|
+
* If this SourceCodeInfo represents a complete declaration, these are any
|
|
1676
|
+
* comments appearing before and after the declaration which appear to be
|
|
1677
|
+
* attached to the declaration.
|
|
1678
|
+
*
|
|
1679
|
+
* A series of line comments appearing on consecutive lines, with no other
|
|
1680
|
+
* tokens appearing on those lines, will be treated as a single comment.
|
|
1681
|
+
*
|
|
1682
|
+
* leading_detached_comments will keep paragraphs of comments that appear
|
|
1683
|
+
* before (but not connected to) the current element. Each paragraph,
|
|
1684
|
+
* separated by empty lines, will be one comment element in the repeated
|
|
1685
|
+
* field.
|
|
1686
|
+
*
|
|
1687
|
+
* Only the comment content is provided; comment markers (e.g. //) are
|
|
1688
|
+
* stripped out. For block comments, leading whitespace and an asterisk
|
|
1689
|
+
* will be stripped from the beginning of each line other than the first.
|
|
1690
|
+
* Newlines are included in the output.
|
|
1691
|
+
*
|
|
1692
|
+
* Examples:
|
|
1693
|
+
*
|
|
1694
|
+
* optional int32 foo = 1; // Comment attached to foo.
|
|
1695
|
+
* // Comment attached to bar.
|
|
1696
|
+
* optional int32 bar = 2;
|
|
1697
|
+
*
|
|
1698
|
+
* optional string baz = 3;
|
|
1699
|
+
* // Comment attached to baz.
|
|
1700
|
+
* // Another line attached to baz.
|
|
1701
|
+
*
|
|
1702
|
+
* // Comment attached to moo.
|
|
1703
|
+
* //
|
|
1704
|
+
* // Another line attached to moo.
|
|
1705
|
+
* optional double moo = 4;
|
|
1706
|
+
*
|
|
1707
|
+
* // Detached comment for corge. This is not leading or trailing comments
|
|
1708
|
+
* // to moo or corge because there are blank lines separating it from
|
|
1709
|
+
* // both.
|
|
1710
|
+
*
|
|
1711
|
+
* // Detached comment for corge paragraph 2.
|
|
1712
|
+
*
|
|
1713
|
+
* optional string corge = 5;
|
|
1714
|
+
* /* Block comment attached
|
|
1715
|
+
* * to corge. Leading asterisks
|
|
1716
|
+
* * will be removed. * /
|
|
1717
|
+
* /* Block comment attached to
|
|
1718
|
+
* * grault. * /
|
|
1719
|
+
* optional int32 grault = 6;
|
|
1720
|
+
*
|
|
1721
|
+
* // ignored detached comments.
|
|
1722
|
+
*
|
|
1723
|
+
*/
|
|
1724
|
+
leadingComments?: string | undefined;
|
|
1725
|
+
trailingComments?: string | undefined;
|
|
1726
|
+
leadingDetachedComments: string[];
|
|
1727
|
+
}
|
|
1728
|
+
export declare const SourceCodeInfo_Location: MessageFns<SourceCodeInfo_Location, "google.protobuf.SourceCodeInfo.Location">;
|
|
1729
|
+
/**
|
|
1730
|
+
* Describes the relationship between generated code and its original source
|
|
1731
|
+
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
1732
|
+
* source file, but may contain references to different source .proto files.
|
|
1733
|
+
*
|
|
1734
|
+
*/
|
|
1735
|
+
export interface GeneratedCodeInfo {
|
|
1736
|
+
$type: "google.protobuf.GeneratedCodeInfo";
|
|
1737
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1738
|
+
[customJson]?: () => unknown;
|
|
1739
|
+
/**
|
|
1740
|
+
* An Annotation connects some span of text in generated code to an element
|
|
1741
|
+
* of its generating .proto file.
|
|
1742
|
+
*
|
|
1743
|
+
*/
|
|
1744
|
+
annotation: GeneratedCodeInfo_Annotation[];
|
|
1745
|
+
}
|
|
1746
|
+
export declare const GeneratedCodeInfo: MessageFns<GeneratedCodeInfo, "google.protobuf.GeneratedCodeInfo">;
|
|
1747
|
+
export interface GeneratedCodeInfo_Annotation {
|
|
1748
|
+
$type: "google.protobuf.GeneratedCodeInfo.Annotation";
|
|
1749
|
+
[unknownFieldsSymbol]?: Uint8Array | undefined;
|
|
1750
|
+
[customJson]?: () => unknown;
|
|
1751
|
+
/**
|
|
1752
|
+
* Identifies the element in the original source .proto file. This field
|
|
1753
|
+
* is formatted the same as SourceCodeInfo.Location.path.
|
|
1754
|
+
*
|
|
1755
|
+
*/
|
|
1756
|
+
path: number[];
|
|
1757
|
+
/**
|
|
1758
|
+
* Identifies the filesystem path to the original source .proto.
|
|
1759
|
+
*
|
|
1760
|
+
*/
|
|
1761
|
+
sourceFile?: string | undefined;
|
|
1762
|
+
/**
|
|
1763
|
+
* Identifies the starting offset in bytes in the generated code
|
|
1764
|
+
* that relates to the identified object.
|
|
1765
|
+
*
|
|
1766
|
+
*/
|
|
1767
|
+
begin?: number | undefined;
|
|
1768
|
+
/**
|
|
1769
|
+
* Identifies the ending offset in bytes in the generated code that
|
|
1770
|
+
* relates to the identified object. The end offset should be one past
|
|
1771
|
+
* the last relevant byte (so the length of the text = end - begin).
|
|
1772
|
+
*
|
|
1773
|
+
*/
|
|
1774
|
+
end?: number | undefined;
|
|
1775
|
+
semantic?: GeneratedCodeInfo_Annotation_Semantic | undefined;
|
|
1776
|
+
}
|
|
1777
|
+
export declare const GeneratedCodeInfo_Annotation: MessageFns<GeneratedCodeInfo_Annotation, "google.protobuf.GeneratedCodeInfo.Annotation">;
|
|
1778
|
+
export {};
|
|
1779
|
+
//# sourceMappingURL=index.d.ts.map
|