@bufbuild/protobuf 1.9.0 → 2.0.0-alpha.1
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/dist/cjs/clone.d.ts +6 -0
- package/dist/cjs/clone.js +77 -0
- package/dist/cjs/codegenv1/boot.d.ts +63 -0
- package/dist/cjs/codegenv1/boot.js +102 -0
- package/dist/cjs/codegenv1/embed.d.ts +43 -0
- package/dist/cjs/codegenv1/embed.js +238 -0
- package/dist/cjs/codegenv1/enum.d.ts +17 -0
- package/dist/cjs/codegenv1/enum.js +43 -0
- package/dist/cjs/codegenv1/extension.d.ts +9 -0
- package/dist/cjs/codegenv1/extension.js +29 -0
- package/dist/cjs/codegenv1/file.d.ts +7 -0
- package/dist/cjs/codegenv1/file.js +38 -0
- package/dist/cjs/codegenv1/index.d.ts +9 -0
- package/dist/cjs/codegenv1/index.js +38 -0
- package/dist/cjs/codegenv1/message.d.ts +9 -0
- package/dist/cjs/codegenv1/message.js +25 -0
- package/dist/cjs/codegenv1/restore-json-names.d.ts +2 -0
- package/dist/cjs/codegenv1/restore-json-names.js +27 -0
- package/dist/cjs/codegenv1/service.d.ts +8 -0
- package/dist/cjs/codegenv1/service.js +28 -0
- package/dist/cjs/codegenv1/symbols.d.ts +116 -0
- package/dist/cjs/codegenv1/symbols.js +58 -0
- package/dist/cjs/codegenv1/types.d.ts +19 -0
- package/dist/cjs/codegenv1/types.js +21 -0
- package/dist/cjs/create.d.ts +9 -0
- package/dist/cjs/create.js +242 -0
- package/dist/{esm/descriptor-set.d.ts → cjs/desc-types.d.ts} +144 -242
- package/dist/cjs/equals.d.ts +9 -0
- package/dist/cjs/equals.js +133 -0
- package/dist/cjs/{extension-accessor.d.ts → extensions.d.ts} +11 -7
- package/dist/cjs/extensions.js +138 -0
- package/dist/cjs/fields.d.ts +22 -0
- package/dist/cjs/fields.js +39 -0
- package/dist/cjs/from-binary.d.ts +34 -0
- package/dist/cjs/from-binary.js +221 -0
- package/dist/cjs/from-json.d.ts +48 -0
- package/dist/cjs/from-json.js +614 -0
- package/dist/cjs/index.d.ts +16 -42
- package/dist/cjs/index.js +21 -55
- package/dist/cjs/is-message.d.ts +5 -20
- package/dist/cjs/is-message.js +11 -29
- package/dist/cjs/json-value.d.ts +16 -0
- package/dist/cjs/proto-int64.js +2 -2
- package/dist/cjs/reflect/error.d.ts +9 -0
- package/dist/cjs/reflect/error.js +36 -0
- package/dist/cjs/reflect/guard.d.ts +20 -0
- package/dist/cjs/reflect/guard.js +78 -0
- package/dist/cjs/reflect/index.d.ts +8 -0
- package/dist/cjs/reflect/index.js +41 -0
- package/dist/cjs/reflect/names.d.ts +23 -0
- package/dist/cjs/reflect/names.js +112 -0
- package/dist/cjs/reflect/nested-types.d.ts +2 -0
- package/dist/cjs/reflect/nested-types.js +38 -0
- package/dist/cjs/reflect/reflect-check.d.ts +10 -0
- package/dist/cjs/reflect/reflect-check.js +150 -0
- package/dist/cjs/reflect/reflect-types.d.ts +136 -0
- package/dist/cjs/{extension.js → reflect/reflect-types.js} +1 -0
- package/dist/cjs/reflect/reflect.d.ts +23 -0
- package/dist/cjs/reflect/reflect.js +409 -0
- package/dist/cjs/reflect/registry.d.ts +82 -0
- package/dist/cjs/reflect/registry.js +870 -0
- package/dist/{esm → cjs/reflect}/scalar.d.ts +21 -1
- package/dist/cjs/reflect/scalar.js +298 -0
- package/dist/cjs/reflect/unsafe.d.ts +58 -0
- package/dist/cjs/reflect/unsafe.js +171 -0
- package/dist/cjs/to-binary.d.ts +24 -0
- package/dist/cjs/to-binary.js +194 -0
- package/dist/cjs/to-json.d.ts +50 -0
- package/dist/cjs/to-json.js +384 -0
- package/dist/cjs/types.d.ts +68 -0
- package/dist/cjs/wire/base64-encoding.d.ts +23 -0
- package/dist/cjs/wire/base64-encoding.js +156 -0
- package/dist/cjs/wire/binary-encoding.d.ts +242 -0
- package/dist/cjs/{binary-encoding.js → wire/binary-encoding.js} +11 -10
- package/dist/cjs/wire/index.d.ts +5 -0
- package/dist/cjs/wire/index.js +34 -0
- package/dist/cjs/wire/size-delimited.d.ts +51 -0
- package/dist/cjs/wire/size-delimited.js +154 -0
- package/dist/cjs/wire/text-encoding.d.ts +26 -0
- package/dist/cjs/wire/text-encoding.js +55 -0
- package/dist/cjs/wire/text-format.d.ts +14 -0
- package/dist/cjs/{private → wire}/text-format.js +12 -2
- package/dist/{esm/google → cjs/wire}/varint.d.ts +2 -2
- package/dist/cjs/{google → wire}/varint.js +11 -10
- package/dist/cjs/wkt/any.d.ts +38 -0
- package/dist/cjs/wkt/any.js +76 -0
- package/dist/cjs/{google → wkt/gen/google}/protobuf/any_pb.d.ts +6 -27
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.js +22 -0
- package/dist/cjs/{google → wkt/gen/google}/protobuf/api_pb.d.ts +14 -38
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.js +30 -0
- package/dist/cjs/{google → wkt/gen/google}/protobuf/compiler/plugin_pb.d.ts +47 -77
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +55 -0
- package/dist/cjs/{google → wkt/gen/google}/protobuf/descriptor_pb.d.ts +384 -533
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +691 -0
- package/dist/{esm → cjs/wkt/gen}/google/protobuf/duration_pb.d.ts +6 -18
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +22 -0
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +17 -0
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +22 -0
- package/dist/{esm → cjs/wkt/gen}/google/protobuf/field_mask_pb.d.ts +6 -18
- package/dist/cjs/{proto-double.js → wkt/gen/google/protobuf/field_mask_pb.js} +7 -14
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +19 -0
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +22 -0
- package/dist/{esm → cjs/wkt/gen}/google/protobuf/struct_pb.d.ts +28 -57
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +48 -0
- package/dist/{esm → cjs/wkt/gen}/google/protobuf/timestamp_pb.d.ts +6 -21
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +22 -0
- package/dist/{esm → cjs/wkt/gen}/google/protobuf/type_pb.d.ts +47 -82
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.js +223 -0
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +147 -0
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +46 -0
- package/dist/cjs/wkt/index.d.ts +15 -0
- package/dist/cjs/wkt/index.js +44 -0
- package/dist/cjs/wkt/timestamp.d.ts +21 -0
- package/dist/cjs/wkt/timestamp.js +58 -0
- package/dist/cjs/wkt/wrappers.d.ts +15 -0
- package/dist/cjs/wkt/wrappers.js +43 -0
- package/dist/esm/clone.d.ts +6 -0
- package/dist/esm/clone.js +73 -0
- package/dist/esm/codegenv1/boot.d.ts +63 -0
- package/dist/esm/codegenv1/boot.js +97 -0
- package/dist/esm/codegenv1/embed.d.ts +43 -0
- package/dist/esm/codegenv1/embed.js +232 -0
- package/dist/esm/codegenv1/enum.d.ts +17 -0
- package/dist/esm/codegenv1/enum.js +38 -0
- package/dist/esm/codegenv1/extension.d.ts +9 -0
- package/dist/esm/codegenv1/extension.js +25 -0
- package/dist/esm/codegenv1/file.d.ts +7 -0
- package/dist/esm/codegenv1/file.js +34 -0
- package/dist/esm/codegenv1/index.d.ts +9 -0
- package/dist/esm/codegenv1/index.js +22 -0
- package/dist/esm/codegenv1/message.d.ts +9 -0
- package/dist/esm/codegenv1/message.js +21 -0
- package/dist/esm/codegenv1/restore-json-names.d.ts +2 -0
- package/dist/esm/codegenv1/restore-json-names.js +23 -0
- package/dist/esm/codegenv1/service.d.ts +8 -0
- package/dist/esm/codegenv1/service.js +24 -0
- package/dist/esm/codegenv1/symbols.d.ts +116 -0
- package/dist/esm/codegenv1/symbols.js +55 -0
- package/dist/esm/codegenv1/types.d.ts +19 -0
- package/dist/esm/{field-list.js → codegenv1/types.js} +6 -0
- package/dist/esm/create.d.ts +9 -0
- package/dist/esm/create.js +239 -0
- package/dist/{cjs/descriptor-set.d.ts → esm/desc-types.d.ts} +144 -242
- package/dist/esm/equals.d.ts +9 -0
- package/dist/esm/equals.js +129 -0
- package/dist/esm/{extension-accessor.d.ts → extensions.d.ts} +11 -7
- package/dist/esm/extensions.js +130 -0
- package/dist/esm/fields.d.ts +22 -0
- package/dist/esm/fields.js +34 -0
- package/dist/esm/from-binary.d.ts +34 -0
- package/dist/esm/from-binary.js +215 -0
- package/dist/esm/from-json.d.ts +48 -0
- package/dist/esm/from-json.js +607 -0
- package/dist/esm/index.d.ts +16 -42
- package/dist/esm/index.js +13 -30
- package/dist/esm/is-message.d.ts +5 -20
- package/dist/esm/is-message.js +11 -29
- package/dist/esm/json-value.d.ts +16 -0
- package/dist/esm/proto-int64.js +2 -2
- package/dist/esm/reflect/error.d.ts +9 -0
- package/dist/esm/reflect/error.js +31 -0
- package/dist/esm/reflect/guard.d.ts +20 -0
- package/dist/esm/reflect/guard.js +70 -0
- package/dist/esm/reflect/index.d.ts +8 -0
- package/dist/esm/reflect/index.js +21 -0
- package/dist/esm/reflect/names.d.ts +23 -0
- package/dist/esm/reflect/names.js +106 -0
- package/dist/esm/reflect/nested-types.d.ts +2 -0
- package/dist/esm/reflect/nested-types.js +34 -0
- package/dist/esm/reflect/reflect-check.d.ts +10 -0
- package/dist/esm/reflect/reflect-check.js +143 -0
- package/dist/esm/reflect/reflect-types.d.ts +136 -0
- package/dist/esm/reflect/reflect-types.js +15 -0
- package/dist/esm/reflect/reflect.d.ts +23 -0
- package/dist/esm/reflect/reflect.js +403 -0
- package/dist/esm/reflect/registry.d.ts +82 -0
- package/dist/esm/reflect/registry.js +865 -0
- package/dist/{cjs → esm/reflect}/scalar.d.ts +21 -1
- package/dist/esm/reflect/scalar.js +289 -0
- package/dist/esm/reflect/unsafe.d.ts +58 -0
- package/dist/esm/reflect/unsafe.js +160 -0
- package/dist/esm/to-binary.d.ts +24 -0
- package/dist/esm/to-binary.js +189 -0
- package/dist/esm/to-json.d.ts +50 -0
- package/dist/esm/to-json.js +379 -0
- package/dist/esm/types.d.ts +68 -0
- package/dist/esm/wire/base64-encoding.d.ts +23 -0
- package/dist/esm/wire/base64-encoding.js +151 -0
- package/dist/esm/wire/binary-encoding.d.ts +242 -0
- package/dist/esm/{binary-encoding.js → wire/binary-encoding.js} +11 -10
- package/dist/esm/wire/index.d.ts +5 -0
- package/dist/esm/wire/index.js +18 -0
- package/dist/esm/wire/size-delimited.d.ts +51 -0
- package/dist/esm/wire/size-delimited.js +148 -0
- package/dist/esm/wire/text-encoding.d.ts +26 -0
- package/dist/esm/wire/text-encoding.js +50 -0
- package/dist/esm/wire/text-format.d.ts +14 -0
- package/dist/esm/{private → wire}/text-format.js +12 -2
- package/dist/{cjs/google → esm/wire}/varint.d.ts +2 -2
- package/dist/esm/{google → wire}/varint.js +11 -10
- package/dist/esm/wkt/any.d.ts +38 -0
- package/dist/esm/wkt/any.js +69 -0
- package/dist/esm/{google → wkt/gen/google}/protobuf/any_pb.d.ts +6 -27
- package/dist/esm/wkt/gen/google/protobuf/any_pb.js +19 -0
- package/dist/esm/{google → wkt/gen/google}/protobuf/api_pb.d.ts +14 -38
- package/dist/esm/wkt/gen/google/protobuf/api_pb.js +27 -0
- package/dist/esm/{google → wkt/gen/google}/protobuf/compiler/plugin_pb.d.ts +47 -77
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +52 -0
- package/dist/esm/{google → wkt/gen/google}/protobuf/descriptor_pb.d.ts +384 -533
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +687 -0
- package/dist/{cjs → esm/wkt/gen}/google/protobuf/duration_pb.d.ts +6 -18
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.js +19 -0
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +17 -0
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.js +19 -0
- package/dist/{cjs → esm/wkt/gen}/google/protobuf/field_mask_pb.d.ts +6 -18
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +19 -0
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +19 -0
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +19 -0
- package/dist/{cjs → esm/wkt/gen}/google/protobuf/struct_pb.d.ts +28 -57
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.js +45 -0
- package/dist/{cjs → esm/wkt/gen}/google/protobuf/timestamp_pb.d.ts +6 -21
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +19 -0
- package/dist/{cjs → esm/wkt/gen}/google/protobuf/type_pb.d.ts +47 -82
- package/dist/esm/wkt/gen/google/protobuf/type_pb.js +220 -0
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +147 -0
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +43 -0
- package/dist/esm/wkt/index.d.ts +15 -0
- package/dist/esm/wkt/index.js +28 -0
- package/dist/esm/wkt/timestamp.d.ts +21 -0
- package/dist/esm/wkt/timestamp.js +50 -0
- package/dist/esm/wkt/wrappers.d.ts +15 -0
- package/dist/esm/wkt/wrappers.js +38 -0
- package/package.json +37 -5
- package/dist/cjs/binary-encoding.d.ts +0 -420
- package/dist/cjs/binary-format.d.ts +0 -113
- package/dist/cjs/codegen-info.d.ts +0 -33
- package/dist/cjs/codegen-info.js +0 -69
- package/dist/cjs/create-descriptor-set.d.ts +0 -36
- package/dist/cjs/create-descriptor-set.js +0 -910
- package/dist/cjs/create-registry-from-desc.d.ts +0 -15
- package/dist/cjs/create-registry-from-desc.js +0 -264
- package/dist/cjs/create-registry.d.ts +0 -9
- package/dist/cjs/create-registry.js +0 -94
- package/dist/cjs/enum.d.ts +0 -35
- package/dist/cjs/extension-accessor.js +0 -114
- package/dist/cjs/extension.d.ts +0 -24
- package/dist/cjs/field-list.d.ts +0 -27
- package/dist/cjs/field-list.js +0 -15
- package/dist/cjs/field.d.ts +0 -314
- package/dist/cjs/field.js +0 -15
- package/dist/cjs/google/protobuf/any_pb.js +0 -273
- package/dist/cjs/google/protobuf/api_pb.js +0 -316
- package/dist/cjs/google/protobuf/compiler/plugin_pb.js +0 -219
- package/dist/cjs/google/protobuf/descriptor_pb.js +0 -2034
- package/dist/cjs/google/protobuf/duration_pb.js +0 -169
- package/dist/cjs/google/protobuf/empty_pb.d.ts +0 -28
- package/dist/cjs/google/protobuf/empty_pb.js +0 -52
- package/dist/cjs/google/protobuf/field_mask_pb.js +0 -311
- package/dist/cjs/google/protobuf/source_context_pb.d.ts +0 -29
- package/dist/cjs/google/protobuf/source_context_pb.js +0 -55
- package/dist/cjs/google/protobuf/struct_pb.js +0 -240
- package/dist/cjs/google/protobuf/timestamp_pb.js +0 -213
- package/dist/cjs/google/protobuf/type_pb.js +0 -562
- package/dist/cjs/google/protobuf/wrappers_pb.d.ts +0 -267
- package/dist/cjs/google/protobuf/wrappers_pb.js +0 -569
- package/dist/cjs/json-format.d.ts +0 -111
- package/dist/cjs/json-format.js +0 -15
- package/dist/cjs/message-type.d.ts +0 -51
- package/dist/cjs/message-type.js +0 -15
- package/dist/cjs/message.d.ts +0 -131
- package/dist/cjs/message.js +0 -129
- package/dist/cjs/private/binary-format.d.ts +0 -7
- package/dist/cjs/private/binary-format.js +0 -430
- package/dist/cjs/private/enum.d.ts +0 -27
- package/dist/cjs/private/enum.js +0 -94
- package/dist/cjs/private/extensions.d.ts +0 -34
- package/dist/cjs/private/extensions.js +0 -86
- package/dist/cjs/private/feature-set.d.ts +0 -19
- package/dist/cjs/private/feature-set.js +0 -106
- package/dist/cjs/private/field-list.d.ts +0 -18
- package/dist/cjs/private/field-list.js +0 -76
- package/dist/cjs/private/field-normalize.d.ts +0 -9
- package/dist/cjs/private/field-normalize.js +0 -69
- package/dist/cjs/private/field-wrapper.d.ts +0 -25
- package/dist/cjs/private/field-wrapper.js +0 -57
- package/dist/cjs/private/field.d.ts +0 -16
- package/dist/cjs/private/field.js +0 -45
- package/dist/cjs/private/json-format.d.ts +0 -2
- package/dist/cjs/private/json-format.js +0 -626
- package/dist/cjs/private/message-type.d.ts +0 -18
- package/dist/cjs/private/message-type.js +0 -50
- package/dist/cjs/private/names.d.ts +0 -43
- package/dist/cjs/private/names.js +0 -278
- package/dist/cjs/private/options-map.d.ts +0 -7
- package/dist/cjs/private/options-map.js +0 -15
- package/dist/cjs/private/proto-runtime.d.ts +0 -53
- package/dist/cjs/private/proto-runtime.js +0 -41
- package/dist/cjs/private/reflect.d.ts +0 -9
- package/dist/cjs/private/reflect.js +0 -79
- package/dist/cjs/private/reify-wkt.d.ts +0 -102
- package/dist/cjs/private/reify-wkt.js +0 -172
- package/dist/cjs/private/scalars.d.ts +0 -18
- package/dist/cjs/private/scalars.js +0 -105
- package/dist/cjs/private/text-format.d.ts +0 -4
- package/dist/cjs/private/util-common.d.ts +0 -2
- package/dist/cjs/private/util-common.js +0 -237
- package/dist/cjs/private/util.d.ts +0 -38
- package/dist/cjs/private/util.js +0 -15
- package/dist/cjs/proto-base64.d.ts +0 -18
- package/dist/cjs/proto-base64.js +0 -128
- package/dist/cjs/proto-delimited.d.ts +0 -54
- package/dist/cjs/proto-delimited.js +0 -155
- package/dist/cjs/proto-double.d.ts +0 -5
- package/dist/cjs/proto2.d.ts +0 -4
- package/dist/cjs/proto2.js +0 -53
- package/dist/cjs/proto3.d.ts +0 -4
- package/dist/cjs/proto3.js +0 -56
- package/dist/cjs/scalar.js +0 -81
- package/dist/cjs/service-type.d.ts +0 -96
- package/dist/cjs/service-type.js +0 -53
- package/dist/cjs/to-plain-message.d.ts +0 -12
- package/dist/cjs/to-plain-message.js +0 -72
- package/dist/cjs/type-registry.d.ts +0 -57
- package/dist/cjs/type-registry.js +0 -15
- package/dist/esm/binary-encoding.d.ts +0 -420
- package/dist/esm/binary-format.d.ts +0 -113
- package/dist/esm/codegen-info.d.ts +0 -33
- package/dist/esm/codegen-info.js +0 -67
- package/dist/esm/create-descriptor-set.d.ts +0 -36
- package/dist/esm/create-descriptor-set.js +0 -906
- package/dist/esm/create-registry-from-desc.d.ts +0 -15
- package/dist/esm/create-registry-from-desc.js +0 -261
- package/dist/esm/create-registry.d.ts +0 -9
- package/dist/esm/create-registry.js +0 -90
- package/dist/esm/descriptor-set.js +0 -14
- package/dist/esm/enum.d.ts +0 -35
- package/dist/esm/extension-accessor.js +0 -107
- package/dist/esm/extension.d.ts +0 -24
- package/dist/esm/field-list.d.ts +0 -27
- package/dist/esm/field.d.ts +0 -314
- package/dist/esm/field.js +0 -14
- package/dist/esm/google/protobuf/any_pb.js +0 -269
- package/dist/esm/google/protobuf/api_pb.js +0 -310
- package/dist/esm/google/protobuf/compiler/plugin_pb.js +0 -212
- package/dist/esm/google/protobuf/descriptor_pb.js +0 -1999
- package/dist/esm/google/protobuf/duration_pb.js +0 -165
- package/dist/esm/google/protobuf/empty_pb.d.ts +0 -28
- package/dist/esm/google/protobuf/empty_pb.js +0 -48
- package/dist/esm/google/protobuf/field_mask_pb.js +0 -307
- package/dist/esm/google/protobuf/source_context_pb.d.ts +0 -29
- package/dist/esm/google/protobuf/source_context_pb.js +0 -51
- package/dist/esm/google/protobuf/struct_pb.js +0 -234
- package/dist/esm/google/protobuf/timestamp_pb.js +0 -209
- package/dist/esm/google/protobuf/type_pb.js +0 -554
- package/dist/esm/google/protobuf/wrappers_pb.d.ts +0 -267
- package/dist/esm/google/protobuf/wrappers_pb.js +0 -557
- package/dist/esm/json-format.d.ts +0 -111
- package/dist/esm/json-format.js +0 -14
- package/dist/esm/message-type.d.ts +0 -51
- package/dist/esm/message-type.js +0 -14
- package/dist/esm/message.d.ts +0 -131
- package/dist/esm/message.js +0 -125
- package/dist/esm/private/binary-format.d.ts +0 -7
- package/dist/esm/private/binary-format.js +0 -426
- package/dist/esm/private/enum.d.ts +0 -27
- package/dist/esm/private/enum.js +0 -87
- package/dist/esm/private/extensions.d.ts +0 -34
- package/dist/esm/private/extensions.js +0 -81
- package/dist/esm/private/feature-set.d.ts +0 -19
- package/dist/esm/private/feature-set.js +0 -102
- package/dist/esm/private/field-list.d.ts +0 -18
- package/dist/esm/private/field-list.js +0 -72
- package/dist/esm/private/field-normalize.d.ts +0 -9
- package/dist/esm/private/field-normalize.js +0 -65
- package/dist/esm/private/field-wrapper.d.ts +0 -25
- package/dist/esm/private/field-wrapper.js +0 -53
- package/dist/esm/private/field.d.ts +0 -16
- package/dist/esm/private/field.js +0 -41
- package/dist/esm/private/json-format.d.ts +0 -2
- package/dist/esm/private/json-format.js +0 -623
- package/dist/esm/private/message-type.d.ts +0 -18
- package/dist/esm/private/message-type.js +0 -46
- package/dist/esm/private/names.d.ts +0 -43
- package/dist/esm/private/names.js +0 -269
- package/dist/esm/private/options-map.d.ts +0 -7
- package/dist/esm/private/options-map.js +0 -14
- package/dist/esm/private/proto-runtime.d.ts +0 -53
- package/dist/esm/private/proto-runtime.js +0 -37
- package/dist/esm/private/reflect.d.ts +0 -9
- package/dist/esm/private/reflect.js +0 -74
- package/dist/esm/private/reify-wkt.d.ts +0 -102
- package/dist/esm/private/reify-wkt.js +0 -168
- package/dist/esm/private/scalars.d.ts +0 -18
- package/dist/esm/private/scalars.js +0 -99
- package/dist/esm/private/text-format.d.ts +0 -4
- package/dist/esm/private/util-common.d.ts +0 -2
- package/dist/esm/private/util-common.js +0 -234
- package/dist/esm/private/util.d.ts +0 -38
- package/dist/esm/private/util.js +0 -14
- package/dist/esm/proto-base64.d.ts +0 -18
- package/dist/esm/proto-base64.js +0 -125
- package/dist/esm/proto-delimited.d.ts +0 -54
- package/dist/esm/proto-delimited.js +0 -152
- package/dist/esm/proto-double.d.ts +0 -5
- package/dist/esm/proto-double.js +0 -26
- package/dist/esm/proto2.d.ts +0 -4
- package/dist/esm/proto2.js +0 -50
- package/dist/esm/proto3.d.ts +0 -4
- package/dist/esm/proto3.js +0 -53
- package/dist/esm/scalar.js +0 -78
- package/dist/esm/service-type.d.ts +0 -96
- package/dist/esm/service-type.js +0 -50
- package/dist/esm/to-plain-message.d.ts +0 -12
- package/dist/esm/to-plain-message.js +0 -70
- package/dist/esm/type-registry.d.ts +0 -57
- package/dist/esm/type-registry.js +0 -14
- /package/dist/cjs/{binary-format.js → desc-types.js} +0 -0
- /package/dist/cjs/{descriptor-set.js → json-value.js} +0 -0
- /package/dist/cjs/{private → reflect}/assert.d.ts +0 -0
- /package/dist/cjs/{private → reflect}/assert.js +0 -0
- /package/dist/cjs/{enum.js → types.js} +0 -0
- /package/dist/esm/{binary-format.js → desc-types.js} +0 -0
- /package/dist/esm/{enum.js → json-value.js} +0 -0
- /package/dist/esm/{private → reflect}/assert.d.ts +0 -0
- /package/dist/esm/{private → reflect}/assert.js +0 -0
- /package/dist/esm/{extension.js → types.js} +0 -0
|
@@ -1,116 +1,37 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import type {
|
|
3
|
-
|
|
4
|
-
import type { FieldList } from "../../field-list.js";
|
|
5
|
-
import type { BinaryReadOptions } from "../../binary-format.js";
|
|
6
|
-
import type { JsonReadOptions, JsonValue } from "../../json-format.js";
|
|
7
|
-
/**
|
|
8
|
-
* The full set of known editions.
|
|
9
|
-
*
|
|
10
|
-
* @generated from enum google.protobuf.Edition
|
|
11
|
-
*/
|
|
12
|
-
export declare enum Edition {
|
|
13
|
-
/**
|
|
14
|
-
* A placeholder for an unknown edition value.
|
|
15
|
-
*
|
|
16
|
-
* @generated from enum value: EDITION_UNKNOWN = 0;
|
|
17
|
-
*/
|
|
18
|
-
EDITION_UNKNOWN = 0,
|
|
19
|
-
/**
|
|
20
|
-
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
21
|
-
* distinct editions. These can't be used to specify the edition of proto
|
|
22
|
-
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
23
|
-
* backwards compatibility.
|
|
24
|
-
*
|
|
25
|
-
* @generated from enum value: EDITION_PROTO2 = 998;
|
|
26
|
-
*/
|
|
27
|
-
EDITION_PROTO2 = 998,
|
|
28
|
-
/**
|
|
29
|
-
* @generated from enum value: EDITION_PROTO3 = 999;
|
|
30
|
-
*/
|
|
31
|
-
EDITION_PROTO3 = 999,
|
|
32
|
-
/**
|
|
33
|
-
* Editions that have been released. The specific values are arbitrary and
|
|
34
|
-
* should not be depended on, but they will always be time-ordered for easy
|
|
35
|
-
* comparison.
|
|
36
|
-
*
|
|
37
|
-
* @generated from enum value: EDITION_2023 = 1000;
|
|
38
|
-
*/
|
|
39
|
-
EDITION_2023 = 1000,
|
|
40
|
-
/**
|
|
41
|
-
* @generated from enum value: EDITION_2024 = 1001;
|
|
42
|
-
*/
|
|
43
|
-
EDITION_2024 = 1001,
|
|
44
|
-
/**
|
|
45
|
-
* Placeholder editions for testing feature resolution. These should not be
|
|
46
|
-
* used or relyed on outside of tests.
|
|
47
|
-
*
|
|
48
|
-
* @generated from enum value: EDITION_1_TEST_ONLY = 1;
|
|
49
|
-
*/
|
|
50
|
-
EDITION_1_TEST_ONLY = 1,
|
|
51
|
-
/**
|
|
52
|
-
* @generated from enum value: EDITION_2_TEST_ONLY = 2;
|
|
53
|
-
*/
|
|
54
|
-
EDITION_2_TEST_ONLY = 2,
|
|
55
|
-
/**
|
|
56
|
-
* @generated from enum value: EDITION_99997_TEST_ONLY = 99997;
|
|
57
|
-
*/
|
|
58
|
-
EDITION_99997_TEST_ONLY = 99997,
|
|
59
|
-
/**
|
|
60
|
-
* @generated from enum value: EDITION_99998_TEST_ONLY = 99998;
|
|
61
|
-
*/
|
|
62
|
-
EDITION_99998_TEST_ONLY = 99998,
|
|
63
|
-
/**
|
|
64
|
-
* @generated from enum value: EDITION_99999_TEST_ONLY = 99999;
|
|
65
|
-
*/
|
|
66
|
-
EDITION_99999_TEST_ONLY = 99999,
|
|
67
|
-
/**
|
|
68
|
-
* Placeholder for specifying unbounded edition support. This should only
|
|
69
|
-
* ever be used by plugins that can expect to never require any changes to
|
|
70
|
-
* support a new edition.
|
|
71
|
-
*
|
|
72
|
-
* @generated from enum value: EDITION_MAX = 2147483647;
|
|
73
|
-
*/
|
|
74
|
-
EDITION_MAX = 2147483647
|
|
75
|
-
}
|
|
1
|
+
import type { GenDescEnum, GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
|
+
import type { Message } from "../../../../types.js";
|
|
3
|
+
export declare const fileDesc_google_protobuf_descriptor: GenDescFile;
|
|
76
4
|
/**
|
|
77
5
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
78
6
|
* files it parses.
|
|
79
7
|
*
|
|
80
8
|
* @generated from message google.protobuf.FileDescriptorSet
|
|
81
9
|
*/
|
|
82
|
-
export
|
|
10
|
+
export type FileDescriptorSet = Message<"google.protobuf.FileDescriptorSet"> & {
|
|
83
11
|
/**
|
|
84
12
|
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1;
|
|
85
13
|
*/
|
|
86
14
|
file: FileDescriptorProto[];
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
static readonly typeName = "google.protobuf.FileDescriptorSet";
|
|
90
|
-
static readonly fields: FieldList;
|
|
91
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileDescriptorSet;
|
|
92
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileDescriptorSet;
|
|
93
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileDescriptorSet;
|
|
94
|
-
static equals(a: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined, b: FileDescriptorSet | PlainMessage<FileDescriptorSet> | undefined): boolean;
|
|
95
|
-
}
|
|
15
|
+
};
|
|
16
|
+
export declare const FileDescriptorSetDesc: GenDescMessage<FileDescriptorSet>;
|
|
96
17
|
/**
|
|
97
18
|
* Describes a complete .proto file.
|
|
98
19
|
*
|
|
99
20
|
* @generated from message google.protobuf.FileDescriptorProto
|
|
100
21
|
*/
|
|
101
|
-
export
|
|
22
|
+
export type FileDescriptorProto = Message<"google.protobuf.FileDescriptorProto"> & {
|
|
102
23
|
/**
|
|
103
24
|
* file name, relative to root of source tree
|
|
104
25
|
*
|
|
105
26
|
* @generated from field: optional string name = 1;
|
|
106
27
|
*/
|
|
107
|
-
name
|
|
28
|
+
name: string;
|
|
108
29
|
/**
|
|
109
30
|
* e.g. "foo", "foo.bar", etc.
|
|
110
31
|
*
|
|
111
32
|
* @generated from field: optional string package = 2;
|
|
112
33
|
*/
|
|
113
|
-
package
|
|
34
|
+
package: string;
|
|
114
35
|
/**
|
|
115
36
|
* Names of files imported by this file.
|
|
116
37
|
*
|
|
@@ -169,32 +90,25 @@ export declare class FileDescriptorProto extends Message<FileDescriptorProto> {
|
|
|
169
90
|
*
|
|
170
91
|
* @generated from field: optional string syntax = 12;
|
|
171
92
|
*/
|
|
172
|
-
syntax
|
|
93
|
+
syntax: string;
|
|
173
94
|
/**
|
|
174
95
|
* The edition of the proto file.
|
|
175
96
|
*
|
|
176
97
|
* @generated from field: optional google.protobuf.Edition edition = 14;
|
|
177
98
|
*/
|
|
178
|
-
edition
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
static readonly typeName = "google.protobuf.FileDescriptorProto";
|
|
182
|
-
static readonly fields: FieldList;
|
|
183
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileDescriptorProto;
|
|
184
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileDescriptorProto;
|
|
185
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileDescriptorProto;
|
|
186
|
-
static equals(a: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined, b: FileDescriptorProto | PlainMessage<FileDescriptorProto> | undefined): boolean;
|
|
187
|
-
}
|
|
99
|
+
edition: Edition;
|
|
100
|
+
};
|
|
101
|
+
export declare const FileDescriptorProtoDesc: GenDescMessage<FileDescriptorProto>;
|
|
188
102
|
/**
|
|
189
103
|
* Describes a message type.
|
|
190
104
|
*
|
|
191
105
|
* @generated from message google.protobuf.DescriptorProto
|
|
192
106
|
*/
|
|
193
|
-
export
|
|
107
|
+
export type DescriptorProto = Message<"google.protobuf.DescriptorProto"> & {
|
|
194
108
|
/**
|
|
195
109
|
* @generated from field: optional string name = 1;
|
|
196
110
|
*/
|
|
197
|
-
name
|
|
111
|
+
name: string;
|
|
198
112
|
/**
|
|
199
113
|
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2;
|
|
200
114
|
*/
|
|
@@ -234,44 +148,30 @@ export declare class DescriptorProto extends Message<DescriptorProto> {
|
|
|
234
148
|
* @generated from field: repeated string reserved_name = 10;
|
|
235
149
|
*/
|
|
236
150
|
reservedName: string[];
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
static readonly typeName = "google.protobuf.DescriptorProto";
|
|
240
|
-
static readonly fields: FieldList;
|
|
241
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto;
|
|
242
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto;
|
|
243
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto;
|
|
244
|
-
static equals(a: DescriptorProto | PlainMessage<DescriptorProto> | undefined, b: DescriptorProto | PlainMessage<DescriptorProto> | undefined): boolean;
|
|
245
|
-
}
|
|
151
|
+
};
|
|
152
|
+
export declare const DescriptorProtoDesc: GenDescMessage<DescriptorProto>;
|
|
246
153
|
/**
|
|
247
154
|
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
248
155
|
*/
|
|
249
|
-
export
|
|
156
|
+
export type DescriptorProto_ExtensionRange = Message<"google.protobuf.DescriptorProto.ExtensionRange"> & {
|
|
250
157
|
/**
|
|
251
158
|
* Inclusive.
|
|
252
159
|
*
|
|
253
160
|
* @generated from field: optional int32 start = 1;
|
|
254
161
|
*/
|
|
255
|
-
start
|
|
162
|
+
start: number;
|
|
256
163
|
/**
|
|
257
164
|
* Exclusive.
|
|
258
165
|
*
|
|
259
166
|
* @generated from field: optional int32 end = 2;
|
|
260
167
|
*/
|
|
261
|
-
end
|
|
168
|
+
end: number;
|
|
262
169
|
/**
|
|
263
170
|
* @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3;
|
|
264
171
|
*/
|
|
265
172
|
options?: ExtensionRangeOptions;
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
static readonly typeName = "google.protobuf.DescriptorProto.ExtensionRange";
|
|
269
|
-
static readonly fields: FieldList;
|
|
270
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto_ExtensionRange;
|
|
271
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto_ExtensionRange;
|
|
272
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto_ExtensionRange;
|
|
273
|
-
static equals(a: DescriptorProto_ExtensionRange | PlainMessage<DescriptorProto_ExtensionRange> | undefined, b: DescriptorProto_ExtensionRange | PlainMessage<DescriptorProto_ExtensionRange> | undefined): boolean;
|
|
274
|
-
}
|
|
173
|
+
};
|
|
174
|
+
export declare const DescriptorProto_ExtensionRangeDesc: GenDescMessage<DescriptorProto_ExtensionRange>;
|
|
275
175
|
/**
|
|
276
176
|
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
277
177
|
* fields or extension ranges in the same message. Reserved ranges may
|
|
@@ -279,32 +179,25 @@ export declare class DescriptorProto_ExtensionRange extends Message<DescriptorPr
|
|
|
279
179
|
*
|
|
280
180
|
* @generated from message google.protobuf.DescriptorProto.ReservedRange
|
|
281
181
|
*/
|
|
282
|
-
export
|
|
182
|
+
export type DescriptorProto_ReservedRange = Message<"google.protobuf.DescriptorProto.ReservedRange"> & {
|
|
283
183
|
/**
|
|
284
184
|
* Inclusive.
|
|
285
185
|
*
|
|
286
186
|
* @generated from field: optional int32 start = 1;
|
|
287
187
|
*/
|
|
288
|
-
start
|
|
188
|
+
start: number;
|
|
289
189
|
/**
|
|
290
190
|
* Exclusive.
|
|
291
191
|
*
|
|
292
192
|
* @generated from field: optional int32 end = 2;
|
|
293
193
|
*/
|
|
294
|
-
end
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
static readonly typeName = "google.protobuf.DescriptorProto.ReservedRange";
|
|
298
|
-
static readonly fields: FieldList;
|
|
299
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): DescriptorProto_ReservedRange;
|
|
300
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): DescriptorProto_ReservedRange;
|
|
301
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): DescriptorProto_ReservedRange;
|
|
302
|
-
static equals(a: DescriptorProto_ReservedRange | PlainMessage<DescriptorProto_ReservedRange> | undefined, b: DescriptorProto_ReservedRange | PlainMessage<DescriptorProto_ReservedRange> | undefined): boolean;
|
|
303
|
-
}
|
|
194
|
+
end: number;
|
|
195
|
+
};
|
|
196
|
+
export declare const DescriptorProto_ReservedRangeDesc: GenDescMessage<DescriptorProto_ReservedRange>;
|
|
304
197
|
/**
|
|
305
198
|
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
306
199
|
*/
|
|
307
|
-
export
|
|
200
|
+
export type ExtensionRangeOptions = Message<"google.protobuf.ExtensionRangeOptions"> & {
|
|
308
201
|
/**
|
|
309
202
|
* The parser stores options it doesn't recognize here. See above.
|
|
310
203
|
*
|
|
@@ -332,50 +225,26 @@ export declare class ExtensionRangeOptions extends Message<ExtensionRangeOptions
|
|
|
332
225
|
*
|
|
333
226
|
* @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED];
|
|
334
227
|
*/
|
|
335
|
-
verification
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
static readonly typeName = "google.protobuf.ExtensionRangeOptions";
|
|
339
|
-
static readonly fields: FieldList;
|
|
340
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ExtensionRangeOptions;
|
|
341
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ExtensionRangeOptions;
|
|
342
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ExtensionRangeOptions;
|
|
343
|
-
static equals(a: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined, b: ExtensionRangeOptions | PlainMessage<ExtensionRangeOptions> | undefined): boolean;
|
|
344
|
-
}
|
|
345
|
-
/**
|
|
346
|
-
* The verification state of the extension range.
|
|
347
|
-
*
|
|
348
|
-
* @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
349
|
-
*/
|
|
350
|
-
export declare enum ExtensionRangeOptions_VerificationState {
|
|
351
|
-
/**
|
|
352
|
-
* All the extensions of the range must be declared.
|
|
353
|
-
*
|
|
354
|
-
* @generated from enum value: DECLARATION = 0;
|
|
355
|
-
*/
|
|
356
|
-
DECLARATION = 0,
|
|
357
|
-
/**
|
|
358
|
-
* @generated from enum value: UNVERIFIED = 1;
|
|
359
|
-
*/
|
|
360
|
-
UNVERIFIED = 1
|
|
361
|
-
}
|
|
228
|
+
verification: ExtensionRangeOptions_VerificationState;
|
|
229
|
+
};
|
|
230
|
+
export declare const ExtensionRangeOptionsDesc: GenDescMessage<ExtensionRangeOptions>;
|
|
362
231
|
/**
|
|
363
232
|
* @generated from message google.protobuf.ExtensionRangeOptions.Declaration
|
|
364
233
|
*/
|
|
365
|
-
export
|
|
234
|
+
export type ExtensionRangeOptions_Declaration = Message<"google.protobuf.ExtensionRangeOptions.Declaration"> & {
|
|
366
235
|
/**
|
|
367
236
|
* The extension number declared within the extension range.
|
|
368
237
|
*
|
|
369
238
|
* @generated from field: optional int32 number = 1;
|
|
370
239
|
*/
|
|
371
|
-
number
|
|
240
|
+
number: number;
|
|
372
241
|
/**
|
|
373
242
|
* The fully-qualified name of the extension field. There must be a leading
|
|
374
243
|
* dot in front of the full name.
|
|
375
244
|
*
|
|
376
245
|
* @generated from field: optional string full_name = 2;
|
|
377
246
|
*/
|
|
378
|
-
fullName
|
|
247
|
+
fullName: string;
|
|
379
248
|
/**
|
|
380
249
|
* The fully-qualified type name of the extension field. Unlike
|
|
381
250
|
* Metadata.type, Declaration.type must have a leading dot for messages
|
|
@@ -383,7 +252,7 @@ export declare class ExtensionRangeOptions_Declaration extends Message<Extension
|
|
|
383
252
|
*
|
|
384
253
|
* @generated from field: optional string type = 3;
|
|
385
254
|
*/
|
|
386
|
-
type
|
|
255
|
+
type: string;
|
|
387
256
|
/**
|
|
388
257
|
* If true, indicates that the number is reserved in the extension range,
|
|
389
258
|
* and any extension field with the number will fail to compile. Set this
|
|
@@ -391,48 +260,59 @@ export declare class ExtensionRangeOptions_Declaration extends Message<Extension
|
|
|
391
260
|
*
|
|
392
261
|
* @generated from field: optional bool reserved = 5;
|
|
393
262
|
*/
|
|
394
|
-
reserved
|
|
263
|
+
reserved: boolean;
|
|
395
264
|
/**
|
|
396
265
|
* If true, indicates that the extension must be defined as repeated.
|
|
397
266
|
* Otherwise the extension must be defined as optional.
|
|
398
267
|
*
|
|
399
268
|
* @generated from field: optional bool repeated = 6;
|
|
400
269
|
*/
|
|
401
|
-
repeated
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
270
|
+
repeated: boolean;
|
|
271
|
+
};
|
|
272
|
+
export declare const ExtensionRangeOptions_DeclarationDesc: GenDescMessage<ExtensionRangeOptions_Declaration>;
|
|
273
|
+
/**
|
|
274
|
+
* The verification state of the extension range.
|
|
275
|
+
*
|
|
276
|
+
* @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
|
|
277
|
+
*/
|
|
278
|
+
export declare enum ExtensionRangeOptions_VerificationState {
|
|
279
|
+
/**
|
|
280
|
+
* All the extensions of the range must be declared.
|
|
281
|
+
*
|
|
282
|
+
* @generated from enum value: DECLARATION = 0;
|
|
283
|
+
*/
|
|
284
|
+
DECLARATION = 0,
|
|
285
|
+
/**
|
|
286
|
+
* @generated from enum value: UNVERIFIED = 1;
|
|
287
|
+
*/
|
|
288
|
+
UNVERIFIED = 1
|
|
410
289
|
}
|
|
290
|
+
export declare const ExtensionRangeOptions_VerificationStateDesc: GenDescEnum<ExtensionRangeOptions_VerificationState>;
|
|
411
291
|
/**
|
|
412
292
|
* Describes a field within a message.
|
|
413
293
|
*
|
|
414
294
|
* @generated from message google.protobuf.FieldDescriptorProto
|
|
415
295
|
*/
|
|
416
|
-
export
|
|
296
|
+
export type FieldDescriptorProto = Message<"google.protobuf.FieldDescriptorProto"> & {
|
|
417
297
|
/**
|
|
418
298
|
* @generated from field: optional string name = 1;
|
|
419
299
|
*/
|
|
420
|
-
name
|
|
300
|
+
name: string;
|
|
421
301
|
/**
|
|
422
302
|
* @generated from field: optional int32 number = 3;
|
|
423
303
|
*/
|
|
424
|
-
number
|
|
304
|
+
number: number;
|
|
425
305
|
/**
|
|
426
306
|
* @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
427
307
|
*/
|
|
428
|
-
label
|
|
308
|
+
label: FieldDescriptorProto_Label;
|
|
429
309
|
/**
|
|
430
310
|
* If type_name is set, this need not be set. If both this and type_name
|
|
431
311
|
* are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
|
|
432
312
|
*
|
|
433
313
|
* @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
434
314
|
*/
|
|
435
|
-
type
|
|
315
|
+
type: FieldDescriptorProto_Type;
|
|
436
316
|
/**
|
|
437
317
|
* For message and enum types, this is the name of the type. If the name
|
|
438
318
|
* starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
|
|
@@ -442,14 +322,14 @@ export declare class FieldDescriptorProto extends Message<FieldDescriptorProto>
|
|
|
442
322
|
*
|
|
443
323
|
* @generated from field: optional string type_name = 6;
|
|
444
324
|
*/
|
|
445
|
-
typeName
|
|
325
|
+
typeName: string;
|
|
446
326
|
/**
|
|
447
327
|
* For extensions, this is the name of the type being extended. It is
|
|
448
328
|
* resolved in the same manner as type_name.
|
|
449
329
|
*
|
|
450
330
|
* @generated from field: optional string extendee = 2;
|
|
451
331
|
*/
|
|
452
|
-
extendee
|
|
332
|
+
extendee: string;
|
|
453
333
|
/**
|
|
454
334
|
* For numeric types, contains the original text representation of the value.
|
|
455
335
|
* For booleans, "true" or "false".
|
|
@@ -458,14 +338,14 @@ export declare class FieldDescriptorProto extends Message<FieldDescriptorProto>
|
|
|
458
338
|
*
|
|
459
339
|
* @generated from field: optional string default_value = 7;
|
|
460
340
|
*/
|
|
461
|
-
defaultValue
|
|
341
|
+
defaultValue: string;
|
|
462
342
|
/**
|
|
463
343
|
* If set, gives the index of a oneof in the containing type's oneof_decl
|
|
464
344
|
* list. This field is a member of that oneof.
|
|
465
345
|
*
|
|
466
346
|
* @generated from field: optional int32 oneof_index = 9;
|
|
467
347
|
*/
|
|
468
|
-
oneofIndex
|
|
348
|
+
oneofIndex: number;
|
|
469
349
|
/**
|
|
470
350
|
* JSON name of this field. The value is set by protocol compiler. If the
|
|
471
351
|
* user has set a "json_name" option on this field, that option's value
|
|
@@ -474,7 +354,7 @@ export declare class FieldDescriptorProto extends Message<FieldDescriptorProto>
|
|
|
474
354
|
*
|
|
475
355
|
* @generated from field: optional string json_name = 10;
|
|
476
356
|
*/
|
|
477
|
-
jsonName
|
|
357
|
+
jsonName: string;
|
|
478
358
|
/**
|
|
479
359
|
* @generated from field: optional google.protobuf.FieldOptions options = 8;
|
|
480
360
|
*/
|
|
@@ -504,16 +384,9 @@ export declare class FieldDescriptorProto extends Message<FieldDescriptorProto>
|
|
|
504
384
|
*
|
|
505
385
|
* @generated from field: optional bool proto3_optional = 17;
|
|
506
386
|
*/
|
|
507
|
-
proto3Optional
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
static readonly typeName = "google.protobuf.FieldDescriptorProto";
|
|
511
|
-
static readonly fields: FieldList;
|
|
512
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldDescriptorProto;
|
|
513
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldDescriptorProto;
|
|
514
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldDescriptorProto;
|
|
515
|
-
static equals(a: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined, b: FieldDescriptorProto | PlainMessage<FieldDescriptorProto> | undefined): boolean;
|
|
516
|
-
}
|
|
387
|
+
proto3Optional: boolean;
|
|
388
|
+
};
|
|
389
|
+
export declare const FieldDescriptorProtoDesc: GenDescMessage<FieldDescriptorProto>;
|
|
517
390
|
/**
|
|
518
391
|
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
519
392
|
*/
|
|
@@ -614,6 +487,7 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
614
487
|
*/
|
|
615
488
|
SINT64 = 18
|
|
616
489
|
}
|
|
490
|
+
export declare const FieldDescriptorProto_TypeDesc: GenDescEnum<FieldDescriptorProto_Type>;
|
|
617
491
|
/**
|
|
618
492
|
* @generated from enum google.protobuf.FieldDescriptorProto.Label
|
|
619
493
|
*/
|
|
@@ -637,39 +511,33 @@ export declare enum FieldDescriptorProto_Label {
|
|
|
637
511
|
*/
|
|
638
512
|
REQUIRED = 2
|
|
639
513
|
}
|
|
514
|
+
export declare const FieldDescriptorProto_LabelDesc: GenDescEnum<FieldDescriptorProto_Label>;
|
|
640
515
|
/**
|
|
641
516
|
* Describes a oneof.
|
|
642
517
|
*
|
|
643
518
|
* @generated from message google.protobuf.OneofDescriptorProto
|
|
644
519
|
*/
|
|
645
|
-
export
|
|
520
|
+
export type OneofDescriptorProto = Message<"google.protobuf.OneofDescriptorProto"> & {
|
|
646
521
|
/**
|
|
647
522
|
* @generated from field: optional string name = 1;
|
|
648
523
|
*/
|
|
649
|
-
name
|
|
524
|
+
name: string;
|
|
650
525
|
/**
|
|
651
526
|
* @generated from field: optional google.protobuf.OneofOptions options = 2;
|
|
652
527
|
*/
|
|
653
528
|
options?: OneofOptions;
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
static readonly typeName = "google.protobuf.OneofDescriptorProto";
|
|
657
|
-
static readonly fields: FieldList;
|
|
658
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OneofDescriptorProto;
|
|
659
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OneofDescriptorProto;
|
|
660
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OneofDescriptorProto;
|
|
661
|
-
static equals(a: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined, b: OneofDescriptorProto | PlainMessage<OneofDescriptorProto> | undefined): boolean;
|
|
662
|
-
}
|
|
529
|
+
};
|
|
530
|
+
export declare const OneofDescriptorProtoDesc: GenDescMessage<OneofDescriptorProto>;
|
|
663
531
|
/**
|
|
664
532
|
* Describes an enum type.
|
|
665
533
|
*
|
|
666
534
|
* @generated from message google.protobuf.EnumDescriptorProto
|
|
667
535
|
*/
|
|
668
|
-
export
|
|
536
|
+
export type EnumDescriptorProto = Message<"google.protobuf.EnumDescriptorProto"> & {
|
|
669
537
|
/**
|
|
670
538
|
* @generated from field: optional string name = 1;
|
|
671
539
|
*/
|
|
672
|
-
name
|
|
540
|
+
name: string;
|
|
673
541
|
/**
|
|
674
542
|
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
|
|
675
543
|
*/
|
|
@@ -693,15 +561,8 @@ export declare class EnumDescriptorProto extends Message<EnumDescriptorProto> {
|
|
|
693
561
|
* @generated from field: repeated string reserved_name = 5;
|
|
694
562
|
*/
|
|
695
563
|
reservedName: string[];
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
static readonly typeName = "google.protobuf.EnumDescriptorProto";
|
|
699
|
-
static readonly fields: FieldList;
|
|
700
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumDescriptorProto;
|
|
701
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumDescriptorProto;
|
|
702
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumDescriptorProto;
|
|
703
|
-
static equals(a: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined, b: EnumDescriptorProto | PlainMessage<EnumDescriptorProto> | undefined): boolean;
|
|
704
|
-
}
|
|
564
|
+
};
|
|
565
|
+
export declare const EnumDescriptorProtoDesc: GenDescMessage<EnumDescriptorProto>;
|
|
705
566
|
/**
|
|
706
567
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
707
568
|
* entries in the same enum. Reserved ranges may not overlap.
|
|
@@ -712,65 +573,51 @@ export declare class EnumDescriptorProto extends Message<EnumDescriptorProto> {
|
|
|
712
573
|
*
|
|
713
574
|
* @generated from message google.protobuf.EnumDescriptorProto.EnumReservedRange
|
|
714
575
|
*/
|
|
715
|
-
export
|
|
576
|
+
export type EnumDescriptorProto_EnumReservedRange = Message<"google.protobuf.EnumDescriptorProto.EnumReservedRange"> & {
|
|
716
577
|
/**
|
|
717
578
|
* Inclusive.
|
|
718
579
|
*
|
|
719
580
|
* @generated from field: optional int32 start = 1;
|
|
720
581
|
*/
|
|
721
|
-
start
|
|
582
|
+
start: number;
|
|
722
583
|
/**
|
|
723
584
|
* Inclusive.
|
|
724
585
|
*
|
|
725
586
|
* @generated from field: optional int32 end = 2;
|
|
726
587
|
*/
|
|
727
|
-
end
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
static readonly typeName = "google.protobuf.EnumDescriptorProto.EnumReservedRange";
|
|
731
|
-
static readonly fields: FieldList;
|
|
732
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
733
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
734
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumDescriptorProto_EnumReservedRange;
|
|
735
|
-
static equals(a: EnumDescriptorProto_EnumReservedRange | PlainMessage<EnumDescriptorProto_EnumReservedRange> | undefined, b: EnumDescriptorProto_EnumReservedRange | PlainMessage<EnumDescriptorProto_EnumReservedRange> | undefined): boolean;
|
|
736
|
-
}
|
|
588
|
+
end: number;
|
|
589
|
+
};
|
|
590
|
+
export declare const EnumDescriptorProto_EnumReservedRangeDesc: GenDescMessage<EnumDescriptorProto_EnumReservedRange>;
|
|
737
591
|
/**
|
|
738
592
|
* Describes a value within an enum.
|
|
739
593
|
*
|
|
740
594
|
* @generated from message google.protobuf.EnumValueDescriptorProto
|
|
741
595
|
*/
|
|
742
|
-
export
|
|
596
|
+
export type EnumValueDescriptorProto = Message<"google.protobuf.EnumValueDescriptorProto"> & {
|
|
743
597
|
/**
|
|
744
598
|
* @generated from field: optional string name = 1;
|
|
745
599
|
*/
|
|
746
|
-
name
|
|
600
|
+
name: string;
|
|
747
601
|
/**
|
|
748
602
|
* @generated from field: optional int32 number = 2;
|
|
749
603
|
*/
|
|
750
|
-
number
|
|
604
|
+
number: number;
|
|
751
605
|
/**
|
|
752
606
|
* @generated from field: optional google.protobuf.EnumValueOptions options = 3;
|
|
753
607
|
*/
|
|
754
608
|
options?: EnumValueOptions;
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
static readonly typeName = "google.protobuf.EnumValueDescriptorProto";
|
|
758
|
-
static readonly fields: FieldList;
|
|
759
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumValueDescriptorProto;
|
|
760
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumValueDescriptorProto;
|
|
761
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumValueDescriptorProto;
|
|
762
|
-
static equals(a: EnumValueDescriptorProto | PlainMessage<EnumValueDescriptorProto> | undefined, b: EnumValueDescriptorProto | PlainMessage<EnumValueDescriptorProto> | undefined): boolean;
|
|
763
|
-
}
|
|
609
|
+
};
|
|
610
|
+
export declare const EnumValueDescriptorProtoDesc: GenDescMessage<EnumValueDescriptorProto>;
|
|
764
611
|
/**
|
|
765
612
|
* Describes a service.
|
|
766
613
|
*
|
|
767
614
|
* @generated from message google.protobuf.ServiceDescriptorProto
|
|
768
615
|
*/
|
|
769
|
-
export
|
|
616
|
+
export type ServiceDescriptorProto = Message<"google.protobuf.ServiceDescriptorProto"> & {
|
|
770
617
|
/**
|
|
771
618
|
* @generated from field: optional string name = 1;
|
|
772
619
|
*/
|
|
773
|
-
name
|
|
620
|
+
name: string;
|
|
774
621
|
/**
|
|
775
622
|
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2;
|
|
776
623
|
*/
|
|
@@ -779,36 +626,29 @@ export declare class ServiceDescriptorProto extends Message<ServiceDescriptorPro
|
|
|
779
626
|
* @generated from field: optional google.protobuf.ServiceOptions options = 3;
|
|
780
627
|
*/
|
|
781
628
|
options?: ServiceOptions;
|
|
782
|
-
|
|
783
|
-
|
|
784
|
-
static readonly typeName = "google.protobuf.ServiceDescriptorProto";
|
|
785
|
-
static readonly fields: FieldList;
|
|
786
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceDescriptorProto;
|
|
787
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceDescriptorProto;
|
|
788
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceDescriptorProto;
|
|
789
|
-
static equals(a: ServiceDescriptorProto | PlainMessage<ServiceDescriptorProto> | undefined, b: ServiceDescriptorProto | PlainMessage<ServiceDescriptorProto> | undefined): boolean;
|
|
790
|
-
}
|
|
629
|
+
};
|
|
630
|
+
export declare const ServiceDescriptorProtoDesc: GenDescMessage<ServiceDescriptorProto>;
|
|
791
631
|
/**
|
|
792
632
|
* Describes a method of a service.
|
|
793
633
|
*
|
|
794
634
|
* @generated from message google.protobuf.MethodDescriptorProto
|
|
795
635
|
*/
|
|
796
|
-
export
|
|
636
|
+
export type MethodDescriptorProto = Message<"google.protobuf.MethodDescriptorProto"> & {
|
|
797
637
|
/**
|
|
798
638
|
* @generated from field: optional string name = 1;
|
|
799
639
|
*/
|
|
800
|
-
name
|
|
640
|
+
name: string;
|
|
801
641
|
/**
|
|
802
642
|
* Input and output type names. These are resolved in the same way as
|
|
803
643
|
* FieldDescriptorProto.type_name, but must refer to a message type.
|
|
804
644
|
*
|
|
805
645
|
* @generated from field: optional string input_type = 2;
|
|
806
646
|
*/
|
|
807
|
-
inputType
|
|
647
|
+
inputType: string;
|
|
808
648
|
/**
|
|
809
649
|
* @generated from field: optional string output_type = 3;
|
|
810
650
|
*/
|
|
811
|
-
outputType
|
|
651
|
+
outputType: string;
|
|
812
652
|
/**
|
|
813
653
|
* @generated from field: optional google.protobuf.MethodOptions options = 4;
|
|
814
654
|
*/
|
|
@@ -818,26 +658,19 @@ export declare class MethodDescriptorProto extends Message<MethodDescriptorProto
|
|
|
818
658
|
*
|
|
819
659
|
* @generated from field: optional bool client_streaming = 5 [default = false];
|
|
820
660
|
*/
|
|
821
|
-
clientStreaming
|
|
661
|
+
clientStreaming: boolean;
|
|
822
662
|
/**
|
|
823
663
|
* Identifies if server streams multiple server messages
|
|
824
664
|
*
|
|
825
665
|
* @generated from field: optional bool server_streaming = 6 [default = false];
|
|
826
666
|
*/
|
|
827
|
-
serverStreaming
|
|
828
|
-
|
|
829
|
-
|
|
830
|
-
static readonly typeName = "google.protobuf.MethodDescriptorProto";
|
|
831
|
-
static readonly fields: FieldList;
|
|
832
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MethodDescriptorProto;
|
|
833
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MethodDescriptorProto;
|
|
834
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MethodDescriptorProto;
|
|
835
|
-
static equals(a: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined, b: MethodDescriptorProto | PlainMessage<MethodDescriptorProto> | undefined): boolean;
|
|
836
|
-
}
|
|
667
|
+
serverStreaming: boolean;
|
|
668
|
+
};
|
|
669
|
+
export declare const MethodDescriptorProtoDesc: GenDescMessage<MethodDescriptorProto>;
|
|
837
670
|
/**
|
|
838
671
|
* @generated from message google.protobuf.FileOptions
|
|
839
672
|
*/
|
|
840
|
-
export
|
|
673
|
+
export type FileOptions = Message<"google.protobuf.FileOptions"> & {
|
|
841
674
|
/**
|
|
842
675
|
* Sets the Java package where classes generated from this .proto will be
|
|
843
676
|
* placed. By default, the proto package is used, but this is often
|
|
@@ -846,7 +679,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
846
679
|
*
|
|
847
680
|
* @generated from field: optional string java_package = 1;
|
|
848
681
|
*/
|
|
849
|
-
javaPackage
|
|
682
|
+
javaPackage: string;
|
|
850
683
|
/**
|
|
851
684
|
* Controls the name of the wrapper Java class generated for the .proto file.
|
|
852
685
|
* That class will always contain the .proto file's getDescriptor() method as
|
|
@@ -856,7 +689,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
856
689
|
*
|
|
857
690
|
* @generated from field: optional string java_outer_classname = 8;
|
|
858
691
|
*/
|
|
859
|
-
javaOuterClassname
|
|
692
|
+
javaOuterClassname: string;
|
|
860
693
|
/**
|
|
861
694
|
* If enabled, then the Java code generator will generate a separate .java
|
|
862
695
|
* file for each top-level message, enum, and service defined in the .proto
|
|
@@ -867,29 +700,33 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
867
700
|
*
|
|
868
701
|
* @generated from field: optional bool java_multiple_files = 10 [default = false];
|
|
869
702
|
*/
|
|
870
|
-
javaMultipleFiles
|
|
703
|
+
javaMultipleFiles: boolean;
|
|
871
704
|
/**
|
|
872
705
|
* This option does nothing.
|
|
873
706
|
*
|
|
874
707
|
* @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
875
708
|
* @deprecated
|
|
876
709
|
*/
|
|
877
|
-
javaGenerateEqualsAndHash
|
|
710
|
+
javaGenerateEqualsAndHash: boolean;
|
|
878
711
|
/**
|
|
879
|
-
*
|
|
880
|
-
*
|
|
881
|
-
*
|
|
882
|
-
*
|
|
883
|
-
*
|
|
884
|
-
*
|
|
712
|
+
* A proto2 file can set this to true to opt in to UTF-8 checking for Java,
|
|
713
|
+
* which will throw an exception if invalid UTF-8 is parsed from the wire or
|
|
714
|
+
* assigned to a string field.
|
|
715
|
+
*
|
|
716
|
+
* TODO: clarify exactly what kinds of field types this option
|
|
717
|
+
* applies to, and update these docs accordingly.
|
|
718
|
+
*
|
|
719
|
+
* Proto3 files already perform these checks. Setting the option explicitly to
|
|
720
|
+
* false has no effect: it cannot be used to opt proto3 files out of UTF-8
|
|
721
|
+
* checks.
|
|
885
722
|
*
|
|
886
723
|
* @generated from field: optional bool java_string_check_utf8 = 27 [default = false];
|
|
887
724
|
*/
|
|
888
|
-
javaStringCheckUtf8
|
|
725
|
+
javaStringCheckUtf8: boolean;
|
|
889
726
|
/**
|
|
890
727
|
* @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
891
728
|
*/
|
|
892
|
-
optimizeFor
|
|
729
|
+
optimizeFor: FileOptions_OptimizeMode;
|
|
893
730
|
/**
|
|
894
731
|
* Sets the Go package where structs generated from this .proto will be
|
|
895
732
|
* placed. If omitted, the Go package will be derived from the following:
|
|
@@ -899,7 +736,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
899
736
|
*
|
|
900
737
|
* @generated from field: optional string go_package = 11;
|
|
901
738
|
*/
|
|
902
|
-
goPackage
|
|
739
|
+
goPackage: string;
|
|
903
740
|
/**
|
|
904
741
|
* Should generic services be generated in each language? "Generic" services
|
|
905
742
|
* are not specific to any particular RPC system. They are generated by the
|
|
@@ -914,15 +751,15 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
914
751
|
*
|
|
915
752
|
* @generated from field: optional bool cc_generic_services = 16 [default = false];
|
|
916
753
|
*/
|
|
917
|
-
ccGenericServices
|
|
754
|
+
ccGenericServices: boolean;
|
|
918
755
|
/**
|
|
919
756
|
* @generated from field: optional bool java_generic_services = 17 [default = false];
|
|
920
757
|
*/
|
|
921
|
-
javaGenericServices
|
|
758
|
+
javaGenericServices: boolean;
|
|
922
759
|
/**
|
|
923
760
|
* @generated from field: optional bool py_generic_services = 18 [default = false];
|
|
924
761
|
*/
|
|
925
|
-
pyGenericServices
|
|
762
|
+
pyGenericServices: boolean;
|
|
926
763
|
/**
|
|
927
764
|
* Is this file deprecated?
|
|
928
765
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -931,27 +768,27 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
931
768
|
*
|
|
932
769
|
* @generated from field: optional bool deprecated = 23 [default = false];
|
|
933
770
|
*/
|
|
934
|
-
deprecated
|
|
771
|
+
deprecated: boolean;
|
|
935
772
|
/**
|
|
936
773
|
* Enables the use of arenas for the proto messages in this file. This applies
|
|
937
774
|
* only to generated classes for C++.
|
|
938
775
|
*
|
|
939
776
|
* @generated from field: optional bool cc_enable_arenas = 31 [default = true];
|
|
940
777
|
*/
|
|
941
|
-
ccEnableArenas
|
|
778
|
+
ccEnableArenas: boolean;
|
|
942
779
|
/**
|
|
943
780
|
* Sets the objective c class prefix which is prepended to all objective c
|
|
944
781
|
* generated classes from this .proto. There is no default.
|
|
945
782
|
*
|
|
946
783
|
* @generated from field: optional string objc_class_prefix = 36;
|
|
947
784
|
*/
|
|
948
|
-
objcClassPrefix
|
|
785
|
+
objcClassPrefix: string;
|
|
949
786
|
/**
|
|
950
787
|
* Namespace for generated classes; defaults to the package.
|
|
951
788
|
*
|
|
952
789
|
* @generated from field: optional string csharp_namespace = 37;
|
|
953
790
|
*/
|
|
954
|
-
csharpNamespace
|
|
791
|
+
csharpNamespace: string;
|
|
955
792
|
/**
|
|
956
793
|
* By default Swift generators will take the proto package and CamelCase it
|
|
957
794
|
* replacing '.' with underscore and use that to prefix the types/symbols
|
|
@@ -960,14 +797,14 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
960
797
|
*
|
|
961
798
|
* @generated from field: optional string swift_prefix = 39;
|
|
962
799
|
*/
|
|
963
|
-
swiftPrefix
|
|
800
|
+
swiftPrefix: string;
|
|
964
801
|
/**
|
|
965
802
|
* Sets the php class prefix which is prepended to all php generated classes
|
|
966
803
|
* from this .proto. Default is empty.
|
|
967
804
|
*
|
|
968
805
|
* @generated from field: optional string php_class_prefix = 40;
|
|
969
806
|
*/
|
|
970
|
-
phpClassPrefix
|
|
807
|
+
phpClassPrefix: string;
|
|
971
808
|
/**
|
|
972
809
|
* Use this option to change the namespace of php generated classes. Default
|
|
973
810
|
* is empty. When this option is empty, the package name will be used for
|
|
@@ -975,7 +812,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
975
812
|
*
|
|
976
813
|
* @generated from field: optional string php_namespace = 41;
|
|
977
814
|
*/
|
|
978
|
-
phpNamespace
|
|
815
|
+
phpNamespace: string;
|
|
979
816
|
/**
|
|
980
817
|
* Use this option to change the namespace of php generated metadata classes.
|
|
981
818
|
* Default is empty. When this option is empty, the proto file name will be
|
|
@@ -983,7 +820,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
983
820
|
*
|
|
984
821
|
* @generated from field: optional string php_metadata_namespace = 44;
|
|
985
822
|
*/
|
|
986
|
-
phpMetadataNamespace
|
|
823
|
+
phpMetadataNamespace: string;
|
|
987
824
|
/**
|
|
988
825
|
* Use this option to change the package of ruby generated classes. Default
|
|
989
826
|
* is empty. When this option is not set, the package name will be used for
|
|
@@ -991,7 +828,7 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
991
828
|
*
|
|
992
829
|
* @generated from field: optional string ruby_package = 45;
|
|
993
830
|
*/
|
|
994
|
-
rubyPackage
|
|
831
|
+
rubyPackage: string;
|
|
995
832
|
/**
|
|
996
833
|
* Any features defined in the specific edition.
|
|
997
834
|
*
|
|
@@ -1005,15 +842,8 @@ export declare class FileOptions extends Message<FileOptions> {
|
|
|
1005
842
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1006
843
|
*/
|
|
1007
844
|
uninterpretedOption: UninterpretedOption[];
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
static readonly typeName = "google.protobuf.FileOptions";
|
|
1011
|
-
static readonly fields: FieldList;
|
|
1012
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FileOptions;
|
|
1013
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FileOptions;
|
|
1014
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FileOptions;
|
|
1015
|
-
static equals(a: FileOptions | PlainMessage<FileOptions> | undefined, b: FileOptions | PlainMessage<FileOptions> | undefined): boolean;
|
|
1016
|
-
}
|
|
845
|
+
};
|
|
846
|
+
export declare const FileOptionsDesc: GenDescMessage<FileOptions>;
|
|
1017
847
|
/**
|
|
1018
848
|
* Generated classes can be optimized for speed or code size.
|
|
1019
849
|
*
|
|
@@ -1041,10 +871,11 @@ export declare enum FileOptions_OptimizeMode {
|
|
|
1041
871
|
*/
|
|
1042
872
|
LITE_RUNTIME = 3
|
|
1043
873
|
}
|
|
874
|
+
export declare const FileOptions_OptimizeModeDesc: GenDescEnum<FileOptions_OptimizeMode>;
|
|
1044
875
|
/**
|
|
1045
876
|
* @generated from message google.protobuf.MessageOptions
|
|
1046
877
|
*/
|
|
1047
|
-
export
|
|
878
|
+
export type MessageOptions = Message<"google.protobuf.MessageOptions"> & {
|
|
1048
879
|
/**
|
|
1049
880
|
* Set true to use the old proto1 MessageSet wire format for extensions.
|
|
1050
881
|
* This is provided for backwards-compatibility with the MessageSet wire
|
|
@@ -1067,7 +898,7 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1067
898
|
*
|
|
1068
899
|
* @generated from field: optional bool message_set_wire_format = 1 [default = false];
|
|
1069
900
|
*/
|
|
1070
|
-
messageSetWireFormat
|
|
901
|
+
messageSetWireFormat: boolean;
|
|
1071
902
|
/**
|
|
1072
903
|
* Disables the generation of the standard "descriptor()" accessor, which can
|
|
1073
904
|
* conflict with a field of the same name. This is meant to make migration
|
|
@@ -1075,7 +906,7 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1075
906
|
*
|
|
1076
907
|
* @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
1077
908
|
*/
|
|
1078
|
-
noStandardDescriptorAccessor
|
|
909
|
+
noStandardDescriptorAccessor: boolean;
|
|
1079
910
|
/**
|
|
1080
911
|
* Is this message deprecated?
|
|
1081
912
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -1084,7 +915,7 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1084
915
|
*
|
|
1085
916
|
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1086
917
|
*/
|
|
1087
|
-
deprecated
|
|
918
|
+
deprecated: boolean;
|
|
1088
919
|
/**
|
|
1089
920
|
* Whether the message is an automatically generated map entry type for the
|
|
1090
921
|
* maps field.
|
|
@@ -1110,7 +941,7 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1110
941
|
*
|
|
1111
942
|
* @generated from field: optional bool map_entry = 7;
|
|
1112
943
|
*/
|
|
1113
|
-
mapEntry
|
|
944
|
+
mapEntry: boolean;
|
|
1114
945
|
/**
|
|
1115
946
|
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1116
947
|
* and strips underscored from the fields before comparison in proto3 only.
|
|
@@ -1126,7 +957,7 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1126
957
|
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
1127
958
|
* @deprecated
|
|
1128
959
|
*/
|
|
1129
|
-
deprecatedLegacyJsonFieldConflicts
|
|
960
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1130
961
|
/**
|
|
1131
962
|
* Any features defined in the specific edition.
|
|
1132
963
|
*
|
|
@@ -1139,19 +970,12 @@ export declare class MessageOptions extends Message<MessageOptions> {
|
|
|
1139
970
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1140
971
|
*/
|
|
1141
972
|
uninterpretedOption: UninterpretedOption[];
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
static readonly typeName = "google.protobuf.MessageOptions";
|
|
1145
|
-
static readonly fields: FieldList;
|
|
1146
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MessageOptions;
|
|
1147
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MessageOptions;
|
|
1148
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MessageOptions;
|
|
1149
|
-
static equals(a: MessageOptions | PlainMessage<MessageOptions> | undefined, b: MessageOptions | PlainMessage<MessageOptions> | undefined): boolean;
|
|
1150
|
-
}
|
|
973
|
+
};
|
|
974
|
+
export declare const MessageOptionsDesc: GenDescMessage<MessageOptions>;
|
|
1151
975
|
/**
|
|
1152
976
|
* @generated from message google.protobuf.FieldOptions
|
|
1153
977
|
*/
|
|
1154
|
-
export
|
|
978
|
+
export type FieldOptions = Message<"google.protobuf.FieldOptions"> & {
|
|
1155
979
|
/**
|
|
1156
980
|
* The ctype option instructs the C++ code generator to use a different
|
|
1157
981
|
* representation of the field than it normally would. See the specific
|
|
@@ -1162,7 +986,7 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1162
986
|
*
|
|
1163
987
|
* @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
1164
988
|
*/
|
|
1165
|
-
ctype
|
|
989
|
+
ctype: FieldOptions_CType;
|
|
1166
990
|
/**
|
|
1167
991
|
* The packed option can be enabled for repeated primitive fields to enable
|
|
1168
992
|
* a more efficient representation on the wire. Rather than repeatedly
|
|
@@ -1174,7 +998,7 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1174
998
|
*
|
|
1175
999
|
* @generated from field: optional bool packed = 2;
|
|
1176
1000
|
*/
|
|
1177
|
-
packed
|
|
1001
|
+
packed: boolean;
|
|
1178
1002
|
/**
|
|
1179
1003
|
* The jstype option determines the JavaScript type used for values of the
|
|
1180
1004
|
* field. The option is permitted only for 64 bit integral and fixed types
|
|
@@ -1190,7 +1014,7 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1190
1014
|
*
|
|
1191
1015
|
* @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
1192
1016
|
*/
|
|
1193
|
-
jstype
|
|
1017
|
+
jstype: FieldOptions_JSType;
|
|
1194
1018
|
/**
|
|
1195
1019
|
* Should this field be parsed lazily? Lazy applies only to message-type
|
|
1196
1020
|
* fields. It means that when the outer message is initially parsed, the
|
|
@@ -1217,7 +1041,7 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1217
1041
|
*
|
|
1218
1042
|
* @generated from field: optional bool lazy = 5 [default = false];
|
|
1219
1043
|
*/
|
|
1220
|
-
lazy
|
|
1044
|
+
lazy: boolean;
|
|
1221
1045
|
/**
|
|
1222
1046
|
* unverified_lazy does no correctness checks on the byte stream. This should
|
|
1223
1047
|
* only be used where lazy with verification is prohibitive for performance
|
|
@@ -1225,7 +1049,7 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1225
1049
|
*
|
|
1226
1050
|
* @generated from field: optional bool unverified_lazy = 15 [default = false];
|
|
1227
1051
|
*/
|
|
1228
|
-
unverifiedLazy
|
|
1052
|
+
unverifiedLazy: boolean;
|
|
1229
1053
|
/**
|
|
1230
1054
|
* Is this field deprecated?
|
|
1231
1055
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -1234,24 +1058,24 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1234
1058
|
*
|
|
1235
1059
|
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1236
1060
|
*/
|
|
1237
|
-
deprecated
|
|
1061
|
+
deprecated: boolean;
|
|
1238
1062
|
/**
|
|
1239
1063
|
* For Google-internal migration only. Do not use.
|
|
1240
1064
|
*
|
|
1241
1065
|
* @generated from field: optional bool weak = 10 [default = false];
|
|
1242
1066
|
*/
|
|
1243
|
-
weak
|
|
1067
|
+
weak: boolean;
|
|
1244
1068
|
/**
|
|
1245
1069
|
* Indicate that the field value should not be printed out when using debug
|
|
1246
1070
|
* formats, e.g. when the field contains sensitive credentials.
|
|
1247
1071
|
*
|
|
1248
1072
|
* @generated from field: optional bool debug_redact = 16 [default = false];
|
|
1249
1073
|
*/
|
|
1250
|
-
debugRedact
|
|
1074
|
+
debugRedact: boolean;
|
|
1251
1075
|
/**
|
|
1252
1076
|
* @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
|
|
1253
1077
|
*/
|
|
1254
|
-
retention
|
|
1078
|
+
retention: FieldOptions_OptionRetention;
|
|
1255
1079
|
/**
|
|
1256
1080
|
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
|
|
1257
1081
|
*/
|
|
@@ -1266,21 +1090,72 @@ export declare class FieldOptions extends Message<FieldOptions> {
|
|
|
1266
1090
|
* @generated from field: optional google.protobuf.FeatureSet features = 21;
|
|
1267
1091
|
*/
|
|
1268
1092
|
features?: FeatureSet;
|
|
1093
|
+
/**
|
|
1094
|
+
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
|
|
1095
|
+
*/
|
|
1096
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1269
1097
|
/**
|
|
1270
1098
|
* The parser stores options it doesn't recognize here. See above.
|
|
1271
1099
|
*
|
|
1272
1100
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1273
1101
|
*/
|
|
1274
1102
|
uninterpretedOption: UninterpretedOption[];
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1283
|
-
|
|
1103
|
+
};
|
|
1104
|
+
export declare const FieldOptionsDesc: GenDescMessage<FieldOptions>;
|
|
1105
|
+
/**
|
|
1106
|
+
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
1107
|
+
*/
|
|
1108
|
+
export type FieldOptions_EditionDefault = Message<"google.protobuf.FieldOptions.EditionDefault"> & {
|
|
1109
|
+
/**
|
|
1110
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
1111
|
+
*/
|
|
1112
|
+
edition: Edition;
|
|
1113
|
+
/**
|
|
1114
|
+
* Textproto value.
|
|
1115
|
+
*
|
|
1116
|
+
* @generated from field: optional string value = 2;
|
|
1117
|
+
*/
|
|
1118
|
+
value: string;
|
|
1119
|
+
};
|
|
1120
|
+
export declare const FieldOptions_EditionDefaultDesc: GenDescMessage<FieldOptions_EditionDefault>;
|
|
1121
|
+
/**
|
|
1122
|
+
* Information about the support window of a feature.
|
|
1123
|
+
*
|
|
1124
|
+
* @generated from message google.protobuf.FieldOptions.FeatureSupport
|
|
1125
|
+
*/
|
|
1126
|
+
export type FieldOptions_FeatureSupport = Message<"google.protobuf.FieldOptions.FeatureSupport"> & {
|
|
1127
|
+
/**
|
|
1128
|
+
* The edition that this feature was first available in. In editions
|
|
1129
|
+
* earlier than this one, the default assigned to EDITION_LEGACY will be
|
|
1130
|
+
* used, and proto files will not be able to override it.
|
|
1131
|
+
*
|
|
1132
|
+
* @generated from field: optional google.protobuf.Edition edition_introduced = 1;
|
|
1133
|
+
*/
|
|
1134
|
+
editionIntroduced: Edition;
|
|
1135
|
+
/**
|
|
1136
|
+
* The edition this feature becomes deprecated in. Using this after this
|
|
1137
|
+
* edition may trigger warnings.
|
|
1138
|
+
*
|
|
1139
|
+
* @generated from field: optional google.protobuf.Edition edition_deprecated = 2;
|
|
1140
|
+
*/
|
|
1141
|
+
editionDeprecated: Edition;
|
|
1142
|
+
/**
|
|
1143
|
+
* The deprecation warning text if this feature is used after the edition it
|
|
1144
|
+
* was marked deprecated in.
|
|
1145
|
+
*
|
|
1146
|
+
* @generated from field: optional string deprecation_warning = 3;
|
|
1147
|
+
*/
|
|
1148
|
+
deprecationWarning: string;
|
|
1149
|
+
/**
|
|
1150
|
+
* The edition this feature is no longer available in. In editions after
|
|
1151
|
+
* this one, the last default assigned will be used, and proto files will
|
|
1152
|
+
* not be able to override it.
|
|
1153
|
+
*
|
|
1154
|
+
* @generated from field: optional google.protobuf.Edition edition_removed = 4;
|
|
1155
|
+
*/
|
|
1156
|
+
editionRemoved: Edition;
|
|
1157
|
+
};
|
|
1158
|
+
export declare const FieldOptions_FeatureSupportDesc: GenDescMessage<FieldOptions_FeatureSupport>;
|
|
1284
1159
|
/**
|
|
1285
1160
|
* @generated from enum google.protobuf.FieldOptions.CType
|
|
1286
1161
|
*/
|
|
@@ -1307,6 +1182,7 @@ export declare enum FieldOptions_CType {
|
|
|
1307
1182
|
*/
|
|
1308
1183
|
STRING_PIECE = 2
|
|
1309
1184
|
}
|
|
1185
|
+
export declare const FieldOptions_CTypeDesc: GenDescEnum<FieldOptions_CType>;
|
|
1310
1186
|
/**
|
|
1311
1187
|
* @generated from enum google.protobuf.FieldOptions.JSType
|
|
1312
1188
|
*/
|
|
@@ -1330,6 +1206,7 @@ export declare enum FieldOptions_JSType {
|
|
|
1330
1206
|
*/
|
|
1331
1207
|
JS_NUMBER = 2
|
|
1332
1208
|
}
|
|
1209
|
+
export declare const FieldOptions_JSTypeDesc: GenDescEnum<FieldOptions_JSType>;
|
|
1333
1210
|
/**
|
|
1334
1211
|
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1335
1212
|
* Note: as of January 2023, support for this is in progress and does not yet
|
|
@@ -1351,6 +1228,7 @@ export declare enum FieldOptions_OptionRetention {
|
|
|
1351
1228
|
*/
|
|
1352
1229
|
RETENTION_SOURCE = 2
|
|
1353
1230
|
}
|
|
1231
|
+
export declare const FieldOptions_OptionRetentionDesc: GenDescEnum<FieldOptions_OptionRetention>;
|
|
1354
1232
|
/**
|
|
1355
1233
|
* This indicates the types of entities that the field may apply to when used
|
|
1356
1234
|
* as an option. If it is unset, then the field may be freely used as an
|
|
@@ -1401,33 +1279,11 @@ export declare enum FieldOptions_OptionTargetType {
|
|
|
1401
1279
|
*/
|
|
1402
1280
|
TARGET_TYPE_METHOD = 9
|
|
1403
1281
|
}
|
|
1404
|
-
|
|
1405
|
-
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
1406
|
-
*/
|
|
1407
|
-
export declare class FieldOptions_EditionDefault extends Message<FieldOptions_EditionDefault> {
|
|
1408
|
-
/**
|
|
1409
|
-
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
1410
|
-
*/
|
|
1411
|
-
edition?: Edition;
|
|
1412
|
-
/**
|
|
1413
|
-
* Textproto value.
|
|
1414
|
-
*
|
|
1415
|
-
* @generated from field: optional string value = 2;
|
|
1416
|
-
*/
|
|
1417
|
-
value?: string;
|
|
1418
|
-
constructor(data?: PartialMessage<FieldOptions_EditionDefault>);
|
|
1419
|
-
static readonly runtime: typeof proto2;
|
|
1420
|
-
static readonly typeName = "google.protobuf.FieldOptions.EditionDefault";
|
|
1421
|
-
static readonly fields: FieldList;
|
|
1422
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FieldOptions_EditionDefault;
|
|
1423
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FieldOptions_EditionDefault;
|
|
1424
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FieldOptions_EditionDefault;
|
|
1425
|
-
static equals(a: FieldOptions_EditionDefault | PlainMessage<FieldOptions_EditionDefault> | undefined, b: FieldOptions_EditionDefault | PlainMessage<FieldOptions_EditionDefault> | undefined): boolean;
|
|
1426
|
-
}
|
|
1282
|
+
export declare const FieldOptions_OptionTargetTypeDesc: GenDescEnum<FieldOptions_OptionTargetType>;
|
|
1427
1283
|
/**
|
|
1428
1284
|
* @generated from message google.protobuf.OneofOptions
|
|
1429
1285
|
*/
|
|
1430
|
-
export
|
|
1286
|
+
export type OneofOptions = Message<"google.protobuf.OneofOptions"> & {
|
|
1431
1287
|
/**
|
|
1432
1288
|
* Any features defined in the specific edition.
|
|
1433
1289
|
*
|
|
@@ -1440,26 +1296,19 @@ export declare class OneofOptions extends Message<OneofOptions> {
|
|
|
1440
1296
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1441
1297
|
*/
|
|
1442
1298
|
uninterpretedOption: UninterpretedOption[];
|
|
1443
|
-
|
|
1444
|
-
|
|
1445
|
-
static readonly typeName = "google.protobuf.OneofOptions";
|
|
1446
|
-
static readonly fields: FieldList;
|
|
1447
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): OneofOptions;
|
|
1448
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): OneofOptions;
|
|
1449
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): OneofOptions;
|
|
1450
|
-
static equals(a: OneofOptions | PlainMessage<OneofOptions> | undefined, b: OneofOptions | PlainMessage<OneofOptions> | undefined): boolean;
|
|
1451
|
-
}
|
|
1299
|
+
};
|
|
1300
|
+
export declare const OneofOptionsDesc: GenDescMessage<OneofOptions>;
|
|
1452
1301
|
/**
|
|
1453
1302
|
* @generated from message google.protobuf.EnumOptions
|
|
1454
1303
|
*/
|
|
1455
|
-
export
|
|
1304
|
+
export type EnumOptions = Message<"google.protobuf.EnumOptions"> & {
|
|
1456
1305
|
/**
|
|
1457
1306
|
* Set this option to true to allow mapping different tag names to the same
|
|
1458
1307
|
* value.
|
|
1459
1308
|
*
|
|
1460
1309
|
* @generated from field: optional bool allow_alias = 2;
|
|
1461
1310
|
*/
|
|
1462
|
-
allowAlias
|
|
1311
|
+
allowAlias: boolean;
|
|
1463
1312
|
/**
|
|
1464
1313
|
* Is this enum deprecated?
|
|
1465
1314
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -1468,7 +1317,7 @@ export declare class EnumOptions extends Message<EnumOptions> {
|
|
|
1468
1317
|
*
|
|
1469
1318
|
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1470
1319
|
*/
|
|
1471
|
-
deprecated
|
|
1320
|
+
deprecated: boolean;
|
|
1472
1321
|
/**
|
|
1473
1322
|
* Enable the legacy handling of JSON field name conflicts. This lowercases
|
|
1474
1323
|
* and strips underscored from the fields before comparison in proto3 only.
|
|
@@ -1480,7 +1329,7 @@ export declare class EnumOptions extends Message<EnumOptions> {
|
|
|
1480
1329
|
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
1481
1330
|
* @deprecated
|
|
1482
1331
|
*/
|
|
1483
|
-
deprecatedLegacyJsonFieldConflicts
|
|
1332
|
+
deprecatedLegacyJsonFieldConflicts: boolean;
|
|
1484
1333
|
/**
|
|
1485
1334
|
* Any features defined in the specific edition.
|
|
1486
1335
|
*
|
|
@@ -1493,19 +1342,12 @@ export declare class EnumOptions extends Message<EnumOptions> {
|
|
|
1493
1342
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1494
1343
|
*/
|
|
1495
1344
|
uninterpretedOption: UninterpretedOption[];
|
|
1496
|
-
|
|
1497
|
-
|
|
1498
|
-
static readonly typeName = "google.protobuf.EnumOptions";
|
|
1499
|
-
static readonly fields: FieldList;
|
|
1500
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumOptions;
|
|
1501
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumOptions;
|
|
1502
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumOptions;
|
|
1503
|
-
static equals(a: EnumOptions | PlainMessage<EnumOptions> | undefined, b: EnumOptions | PlainMessage<EnumOptions> | undefined): boolean;
|
|
1504
|
-
}
|
|
1345
|
+
};
|
|
1346
|
+
export declare const EnumOptionsDesc: GenDescMessage<EnumOptions>;
|
|
1505
1347
|
/**
|
|
1506
1348
|
* @generated from message google.protobuf.EnumValueOptions
|
|
1507
1349
|
*/
|
|
1508
|
-
export
|
|
1350
|
+
export type EnumValueOptions = Message<"google.protobuf.EnumValueOptions"> & {
|
|
1509
1351
|
/**
|
|
1510
1352
|
* Is this enum value deprecated?
|
|
1511
1353
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -1514,7 +1356,7 @@ export declare class EnumValueOptions extends Message<EnumValueOptions> {
|
|
|
1514
1356
|
*
|
|
1515
1357
|
* @generated from field: optional bool deprecated = 1 [default = false];
|
|
1516
1358
|
*/
|
|
1517
|
-
deprecated
|
|
1359
|
+
deprecated: boolean;
|
|
1518
1360
|
/**
|
|
1519
1361
|
* Any features defined in the specific edition.
|
|
1520
1362
|
*
|
|
@@ -1528,26 +1370,19 @@ export declare class EnumValueOptions extends Message<EnumValueOptions> {
|
|
|
1528
1370
|
*
|
|
1529
1371
|
* @generated from field: optional bool debug_redact = 3 [default = false];
|
|
1530
1372
|
*/
|
|
1531
|
-
debugRedact
|
|
1373
|
+
debugRedact: boolean;
|
|
1532
1374
|
/**
|
|
1533
1375
|
* The parser stores options it doesn't recognize here. See above.
|
|
1534
1376
|
*
|
|
1535
1377
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1536
1378
|
*/
|
|
1537
1379
|
uninterpretedOption: UninterpretedOption[];
|
|
1538
|
-
|
|
1539
|
-
|
|
1540
|
-
static readonly typeName = "google.protobuf.EnumValueOptions";
|
|
1541
|
-
static readonly fields: FieldList;
|
|
1542
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): EnumValueOptions;
|
|
1543
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): EnumValueOptions;
|
|
1544
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): EnumValueOptions;
|
|
1545
|
-
static equals(a: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined, b: EnumValueOptions | PlainMessage<EnumValueOptions> | undefined): boolean;
|
|
1546
|
-
}
|
|
1380
|
+
};
|
|
1381
|
+
export declare const EnumValueOptionsDesc: GenDescMessage<EnumValueOptions>;
|
|
1547
1382
|
/**
|
|
1548
1383
|
* @generated from message google.protobuf.ServiceOptions
|
|
1549
1384
|
*/
|
|
1550
|
-
export
|
|
1385
|
+
export type ServiceOptions = Message<"google.protobuf.ServiceOptions"> & {
|
|
1551
1386
|
/**
|
|
1552
1387
|
* Any features defined in the specific edition.
|
|
1553
1388
|
*
|
|
@@ -1562,26 +1397,19 @@ export declare class ServiceOptions extends Message<ServiceOptions> {
|
|
|
1562
1397
|
*
|
|
1563
1398
|
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1564
1399
|
*/
|
|
1565
|
-
deprecated
|
|
1400
|
+
deprecated: boolean;
|
|
1566
1401
|
/**
|
|
1567
1402
|
* The parser stores options it doesn't recognize here. See above.
|
|
1568
1403
|
*
|
|
1569
1404
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1570
1405
|
*/
|
|
1571
1406
|
uninterpretedOption: UninterpretedOption[];
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
|
-
static readonly typeName = "google.protobuf.ServiceOptions";
|
|
1575
|
-
static readonly fields: FieldList;
|
|
1576
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): ServiceOptions;
|
|
1577
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): ServiceOptions;
|
|
1578
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): ServiceOptions;
|
|
1579
|
-
static equals(a: ServiceOptions | PlainMessage<ServiceOptions> | undefined, b: ServiceOptions | PlainMessage<ServiceOptions> | undefined): boolean;
|
|
1580
|
-
}
|
|
1407
|
+
};
|
|
1408
|
+
export declare const ServiceOptionsDesc: GenDescMessage<ServiceOptions>;
|
|
1581
1409
|
/**
|
|
1582
1410
|
* @generated from message google.protobuf.MethodOptions
|
|
1583
1411
|
*/
|
|
1584
|
-
export
|
|
1412
|
+
export type MethodOptions = Message<"google.protobuf.MethodOptions"> & {
|
|
1585
1413
|
/**
|
|
1586
1414
|
* Is this method deprecated?
|
|
1587
1415
|
* Depending on the target platform, this can emit Deprecated annotations
|
|
@@ -1590,11 +1418,11 @@ export declare class MethodOptions extends Message<MethodOptions> {
|
|
|
1590
1418
|
*
|
|
1591
1419
|
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
1592
1420
|
*/
|
|
1593
|
-
deprecated
|
|
1421
|
+
deprecated: boolean;
|
|
1594
1422
|
/**
|
|
1595
1423
|
* @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
1596
1424
|
*/
|
|
1597
|
-
idempotencyLevel
|
|
1425
|
+
idempotencyLevel: MethodOptions_IdempotencyLevel;
|
|
1598
1426
|
/**
|
|
1599
1427
|
* Any features defined in the specific edition.
|
|
1600
1428
|
*
|
|
@@ -1607,15 +1435,8 @@ export declare class MethodOptions extends Message<MethodOptions> {
|
|
|
1607
1435
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1608
1436
|
*/
|
|
1609
1437
|
uninterpretedOption: UninterpretedOption[];
|
|
1610
|
-
|
|
1611
|
-
|
|
1612
|
-
static readonly typeName = "google.protobuf.MethodOptions";
|
|
1613
|
-
static readonly fields: FieldList;
|
|
1614
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): MethodOptions;
|
|
1615
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): MethodOptions;
|
|
1616
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): MethodOptions;
|
|
1617
|
-
static equals(a: MethodOptions | PlainMessage<MethodOptions> | undefined, b: MethodOptions | PlainMessage<MethodOptions> | undefined): boolean;
|
|
1618
|
-
}
|
|
1438
|
+
};
|
|
1439
|
+
export declare const MethodOptionsDesc: GenDescMessage<MethodOptions>;
|
|
1619
1440
|
/**
|
|
1620
1441
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
1621
1442
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -1641,6 +1462,7 @@ export declare enum MethodOptions_IdempotencyLevel {
|
|
|
1641
1462
|
*/
|
|
1642
1463
|
IDEMPOTENT = 2
|
|
1643
1464
|
}
|
|
1465
|
+
export declare const MethodOptions_IdempotencyLevelDesc: GenDescEnum<MethodOptions_IdempotencyLevel>;
|
|
1644
1466
|
/**
|
|
1645
1467
|
* A message representing a option the parser does not recognize. This only
|
|
1646
1468
|
* appears in options protos created by the compiler::Parser class.
|
|
@@ -1651,7 +1473,7 @@ export declare enum MethodOptions_IdempotencyLevel {
|
|
|
1651
1473
|
*
|
|
1652
1474
|
* @generated from message google.protobuf.UninterpretedOption
|
|
1653
1475
|
*/
|
|
1654
|
-
export
|
|
1476
|
+
export type UninterpretedOption = Message<"google.protobuf.UninterpretedOption"> & {
|
|
1655
1477
|
/**
|
|
1656
1478
|
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
1657
1479
|
*/
|
|
@@ -1662,36 +1484,29 @@ export declare class UninterpretedOption extends Message<UninterpretedOption> {
|
|
|
1662
1484
|
*
|
|
1663
1485
|
* @generated from field: optional string identifier_value = 3;
|
|
1664
1486
|
*/
|
|
1665
|
-
identifierValue
|
|
1487
|
+
identifierValue: string;
|
|
1666
1488
|
/**
|
|
1667
1489
|
* @generated from field: optional uint64 positive_int_value = 4;
|
|
1668
1490
|
*/
|
|
1669
|
-
positiveIntValue
|
|
1491
|
+
positiveIntValue: bigint;
|
|
1670
1492
|
/**
|
|
1671
1493
|
* @generated from field: optional int64 negative_int_value = 5;
|
|
1672
1494
|
*/
|
|
1673
|
-
negativeIntValue
|
|
1495
|
+
negativeIntValue: bigint;
|
|
1674
1496
|
/**
|
|
1675
1497
|
* @generated from field: optional double double_value = 6;
|
|
1676
1498
|
*/
|
|
1677
|
-
doubleValue
|
|
1499
|
+
doubleValue: number;
|
|
1678
1500
|
/**
|
|
1679
1501
|
* @generated from field: optional bytes string_value = 7;
|
|
1680
1502
|
*/
|
|
1681
|
-
stringValue
|
|
1503
|
+
stringValue: Uint8Array;
|
|
1682
1504
|
/**
|
|
1683
1505
|
* @generated from field: optional string aggregate_value = 8;
|
|
1684
1506
|
*/
|
|
1685
|
-
aggregateValue
|
|
1686
|
-
|
|
1687
|
-
|
|
1688
|
-
static readonly typeName = "google.protobuf.UninterpretedOption";
|
|
1689
|
-
static readonly fields: FieldList;
|
|
1690
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UninterpretedOption;
|
|
1691
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UninterpretedOption;
|
|
1692
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UninterpretedOption;
|
|
1693
|
-
static equals(a: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined, b: UninterpretedOption | PlainMessage<UninterpretedOption> | undefined): boolean;
|
|
1694
|
-
}
|
|
1507
|
+
aggregateValue: string;
|
|
1508
|
+
};
|
|
1509
|
+
export declare const UninterpretedOptionDesc: GenDescMessage<UninterpretedOption>;
|
|
1695
1510
|
/**
|
|
1696
1511
|
* The name of the uninterpreted option. Each string represents a segment in
|
|
1697
1512
|
* a dot-separated name. is_extension is true iff a segment represents an
|
|
@@ -1701,24 +1516,17 @@ export declare class UninterpretedOption extends Message<UninterpretedOption> {
|
|
|
1701
1516
|
*
|
|
1702
1517
|
* @generated from message google.protobuf.UninterpretedOption.NamePart
|
|
1703
1518
|
*/
|
|
1704
|
-
export
|
|
1519
|
+
export type UninterpretedOption_NamePart = Message<"google.protobuf.UninterpretedOption.NamePart"> & {
|
|
1705
1520
|
/**
|
|
1706
1521
|
* @generated from field: required string name_part = 1;
|
|
1707
1522
|
*/
|
|
1708
|
-
namePart
|
|
1523
|
+
namePart: string;
|
|
1709
1524
|
/**
|
|
1710
1525
|
* @generated from field: required bool is_extension = 2;
|
|
1711
1526
|
*/
|
|
1712
|
-
isExtension
|
|
1713
|
-
|
|
1714
|
-
|
|
1715
|
-
static readonly typeName = "google.protobuf.UninterpretedOption.NamePart";
|
|
1716
|
-
static readonly fields: FieldList;
|
|
1717
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): UninterpretedOption_NamePart;
|
|
1718
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): UninterpretedOption_NamePart;
|
|
1719
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): UninterpretedOption_NamePart;
|
|
1720
|
-
static equals(a: UninterpretedOption_NamePart | PlainMessage<UninterpretedOption_NamePart> | undefined, b: UninterpretedOption_NamePart | PlainMessage<UninterpretedOption_NamePart> | undefined): boolean;
|
|
1721
|
-
}
|
|
1527
|
+
isExtension: boolean;
|
|
1528
|
+
};
|
|
1529
|
+
export declare const UninterpretedOption_NamePartDesc: GenDescMessage<UninterpretedOption_NamePart>;
|
|
1722
1530
|
/**
|
|
1723
1531
|
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
1724
1532
|
* not well scoped. This means that each of the feature enums below can clash
|
|
@@ -1729,40 +1537,33 @@ export declare class UninterpretedOption_NamePart extends Message<UninterpretedO
|
|
|
1729
1537
|
*
|
|
1730
1538
|
* @generated from message google.protobuf.FeatureSet
|
|
1731
1539
|
*/
|
|
1732
|
-
export
|
|
1540
|
+
export type FeatureSet = Message<"google.protobuf.FeatureSet"> & {
|
|
1733
1541
|
/**
|
|
1734
1542
|
* @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
|
|
1735
1543
|
*/
|
|
1736
|
-
fieldPresence
|
|
1544
|
+
fieldPresence: FeatureSet_FieldPresence;
|
|
1737
1545
|
/**
|
|
1738
1546
|
* @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
|
|
1739
1547
|
*/
|
|
1740
|
-
enumType
|
|
1548
|
+
enumType: FeatureSet_EnumType;
|
|
1741
1549
|
/**
|
|
1742
1550
|
* @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
|
|
1743
1551
|
*/
|
|
1744
|
-
repeatedFieldEncoding
|
|
1552
|
+
repeatedFieldEncoding: FeatureSet_RepeatedFieldEncoding;
|
|
1745
1553
|
/**
|
|
1746
1554
|
* @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
|
|
1747
1555
|
*/
|
|
1748
|
-
utf8Validation
|
|
1556
|
+
utf8Validation: FeatureSet_Utf8Validation;
|
|
1749
1557
|
/**
|
|
1750
1558
|
* @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
|
|
1751
1559
|
*/
|
|
1752
|
-
messageEncoding
|
|
1560
|
+
messageEncoding: FeatureSet_MessageEncoding;
|
|
1753
1561
|
/**
|
|
1754
1562
|
* @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
|
|
1755
1563
|
*/
|
|
1756
|
-
jsonFormat
|
|
1757
|
-
|
|
1758
|
-
|
|
1759
|
-
static readonly typeName = "google.protobuf.FeatureSet";
|
|
1760
|
-
static readonly fields: FieldList;
|
|
1761
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureSet;
|
|
1762
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureSet;
|
|
1763
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureSet;
|
|
1764
|
-
static equals(a: FeatureSet | PlainMessage<FeatureSet> | undefined, b: FeatureSet | PlainMessage<FeatureSet> | undefined): boolean;
|
|
1765
|
-
}
|
|
1564
|
+
jsonFormat: FeatureSet_JsonFormat;
|
|
1565
|
+
};
|
|
1566
|
+
export declare const FeatureSetDesc: GenDescMessage<FeatureSet>;
|
|
1766
1567
|
/**
|
|
1767
1568
|
* @generated from enum google.protobuf.FeatureSet.FieldPresence
|
|
1768
1569
|
*/
|
|
@@ -1784,6 +1585,7 @@ export declare enum FeatureSet_FieldPresence {
|
|
|
1784
1585
|
*/
|
|
1785
1586
|
LEGACY_REQUIRED = 3
|
|
1786
1587
|
}
|
|
1588
|
+
export declare const FeatureSet_FieldPresenceDesc: GenDescEnum<FeatureSet_FieldPresence>;
|
|
1787
1589
|
/**
|
|
1788
1590
|
* @generated from enum google.protobuf.FeatureSet.EnumType
|
|
1789
1591
|
*/
|
|
@@ -1801,6 +1603,7 @@ export declare enum FeatureSet_EnumType {
|
|
|
1801
1603
|
*/
|
|
1802
1604
|
CLOSED = 2
|
|
1803
1605
|
}
|
|
1606
|
+
export declare const FeatureSet_EnumTypeDesc: GenDescEnum<FeatureSet_EnumType>;
|
|
1804
1607
|
/**
|
|
1805
1608
|
* @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
1806
1609
|
*/
|
|
@@ -1818,6 +1621,7 @@ export declare enum FeatureSet_RepeatedFieldEncoding {
|
|
|
1818
1621
|
*/
|
|
1819
1622
|
EXPANDED = 2
|
|
1820
1623
|
}
|
|
1624
|
+
export declare const FeatureSet_RepeatedFieldEncodingDesc: GenDescEnum<FeatureSet_RepeatedFieldEncoding>;
|
|
1821
1625
|
/**
|
|
1822
1626
|
* @generated from enum google.protobuf.FeatureSet.Utf8Validation
|
|
1823
1627
|
*/
|
|
@@ -1835,6 +1639,7 @@ export declare enum FeatureSet_Utf8Validation {
|
|
|
1835
1639
|
*/
|
|
1836
1640
|
NONE = 3
|
|
1837
1641
|
}
|
|
1642
|
+
export declare const FeatureSet_Utf8ValidationDesc: GenDescEnum<FeatureSet_Utf8Validation>;
|
|
1838
1643
|
/**
|
|
1839
1644
|
* @generated from enum google.protobuf.FeatureSet.MessageEncoding
|
|
1840
1645
|
*/
|
|
@@ -1852,6 +1657,7 @@ export declare enum FeatureSet_MessageEncoding {
|
|
|
1852
1657
|
*/
|
|
1853
1658
|
DELIMITED = 2
|
|
1854
1659
|
}
|
|
1660
|
+
export declare const FeatureSet_MessageEncodingDesc: GenDescEnum<FeatureSet_MessageEncoding>;
|
|
1855
1661
|
/**
|
|
1856
1662
|
* @generated from enum google.protobuf.FeatureSet.JsonFormat
|
|
1857
1663
|
*/
|
|
@@ -1869,6 +1675,7 @@ export declare enum FeatureSet_JsonFormat {
|
|
|
1869
1675
|
*/
|
|
1870
1676
|
LEGACY_BEST_EFFORT = 2
|
|
1871
1677
|
}
|
|
1678
|
+
export declare const FeatureSet_JsonFormatDesc: GenDescEnum<FeatureSet_JsonFormat>;
|
|
1872
1679
|
/**
|
|
1873
1680
|
* A compiled specification for the defaults of a set of features. These
|
|
1874
1681
|
* messages are generated from FeatureSet extensions and can be used to seed
|
|
@@ -1877,7 +1684,7 @@ export declare enum FeatureSet_JsonFormat {
|
|
|
1877
1684
|
*
|
|
1878
1685
|
* @generated from message google.protobuf.FeatureSetDefaults
|
|
1879
1686
|
*/
|
|
1880
|
-
export
|
|
1687
|
+
export type FeatureSetDefaults = Message<"google.protobuf.FeatureSetDefaults"> & {
|
|
1881
1688
|
/**
|
|
1882
1689
|
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
|
|
1883
1690
|
*/
|
|
@@ -1888,23 +1695,16 @@ export declare class FeatureSetDefaults extends Message<FeatureSetDefaults> {
|
|
|
1888
1695
|
*
|
|
1889
1696
|
* @generated from field: optional google.protobuf.Edition minimum_edition = 4;
|
|
1890
1697
|
*/
|
|
1891
|
-
minimumEdition
|
|
1698
|
+
minimumEdition: Edition;
|
|
1892
1699
|
/**
|
|
1893
1700
|
* The maximum known edition (inclusive) when this was constructed. Editions
|
|
1894
1701
|
* after this will not have reliable defaults.
|
|
1895
1702
|
*
|
|
1896
1703
|
* @generated from field: optional google.protobuf.Edition maximum_edition = 5;
|
|
1897
1704
|
*/
|
|
1898
|
-
maximumEdition
|
|
1899
|
-
|
|
1900
|
-
|
|
1901
|
-
static readonly typeName = "google.protobuf.FeatureSetDefaults";
|
|
1902
|
-
static readonly fields: FieldList;
|
|
1903
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): FeatureSetDefaults;
|
|
1904
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): FeatureSetDefaults;
|
|
1905
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): FeatureSetDefaults;
|
|
1906
|
-
static equals(a: FeatureSetDefaults | PlainMessage<FeatureSetDefaults> | undefined, b: FeatureSetDefaults | PlainMessage<FeatureSetDefaults> | undefined): boolean;
|
|
1907
|
-
}
|
|
1705
|
+
maximumEdition: Edition;
|
|
1706
|
+
};
|
|
1707
|
+
export declare const FeatureSetDefaultsDesc: GenDescMessage<FeatureSetDefaults>;
|
|
1908
1708
|
/**
|
|
1909
1709
|
* A map from every known edition with a unique set of defaults to its
|
|
1910
1710
|
* defaults. Not all editions may be contained here. For a given edition,
|
|
@@ -1913,31 +1713,32 @@ export declare class FeatureSetDefaults extends Message<FeatureSetDefaults> {
|
|
|
1913
1713
|
*
|
|
1914
1714
|
* @generated from message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
1915
1715
|
*/
|
|
1916
|
-
export
|
|
1716
|
+
export type FeatureSetDefaults_FeatureSetEditionDefault = Message<"google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault"> & {
|
|
1917
1717
|
/**
|
|
1918
1718
|
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
1919
1719
|
*/
|
|
1920
|
-
edition
|
|
1720
|
+
edition: Edition;
|
|
1921
1721
|
/**
|
|
1922
|
-
*
|
|
1722
|
+
* Defaults of features that can be overridden in this edition.
|
|
1723
|
+
*
|
|
1724
|
+
* @generated from field: optional google.protobuf.FeatureSet overridable_features = 4;
|
|
1923
1725
|
*/
|
|
1924
|
-
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
|
|
1928
|
-
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1932
|
-
|
|
1933
|
-
}
|
|
1726
|
+
overridableFeatures?: FeatureSet;
|
|
1727
|
+
/**
|
|
1728
|
+
* Defaults of features that can't be overridden in this edition.
|
|
1729
|
+
*
|
|
1730
|
+
* @generated from field: optional google.protobuf.FeatureSet fixed_features = 5;
|
|
1731
|
+
*/
|
|
1732
|
+
fixedFeatures?: FeatureSet;
|
|
1733
|
+
};
|
|
1734
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefaultDesc: GenDescMessage<FeatureSetDefaults_FeatureSetEditionDefault>;
|
|
1934
1735
|
/**
|
|
1935
1736
|
* Encapsulates information about the original source file from which a
|
|
1936
1737
|
* FileDescriptorProto was generated.
|
|
1937
1738
|
*
|
|
1938
1739
|
* @generated from message google.protobuf.SourceCodeInfo
|
|
1939
1740
|
*/
|
|
1940
|
-
export
|
|
1741
|
+
export type SourceCodeInfo = Message<"google.protobuf.SourceCodeInfo"> & {
|
|
1941
1742
|
/**
|
|
1942
1743
|
* A Location identifies a piece of source code in a .proto file which
|
|
1943
1744
|
* corresponds to a particular definition. This information is intended
|
|
@@ -1986,19 +1787,12 @@ export declare class SourceCodeInfo extends Message<SourceCodeInfo> {
|
|
|
1986
1787
|
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
|
|
1987
1788
|
*/
|
|
1988
1789
|
location: SourceCodeInfo_Location[];
|
|
1989
|
-
|
|
1990
|
-
|
|
1991
|
-
static readonly typeName = "google.protobuf.SourceCodeInfo";
|
|
1992
|
-
static readonly fields: FieldList;
|
|
1993
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceCodeInfo;
|
|
1994
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceCodeInfo;
|
|
1995
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceCodeInfo;
|
|
1996
|
-
static equals(a: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined, b: SourceCodeInfo | PlainMessage<SourceCodeInfo> | undefined): boolean;
|
|
1997
|
-
}
|
|
1790
|
+
};
|
|
1791
|
+
export declare const SourceCodeInfoDesc: GenDescMessage<SourceCodeInfo>;
|
|
1998
1792
|
/**
|
|
1999
1793
|
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
2000
1794
|
*/
|
|
2001
|
-
export
|
|
1795
|
+
export type SourceCodeInfo_Location = Message<"google.protobuf.SourceCodeInfo.Location"> & {
|
|
2002
1796
|
/**
|
|
2003
1797
|
* Identifies which part of the FileDescriptorProto was defined at this
|
|
2004
1798
|
* location.
|
|
@@ -2088,24 +1882,17 @@ export declare class SourceCodeInfo_Location extends Message<SourceCodeInfo_Loca
|
|
|
2088
1882
|
*
|
|
2089
1883
|
* @generated from field: optional string leading_comments = 3;
|
|
2090
1884
|
*/
|
|
2091
|
-
leadingComments
|
|
1885
|
+
leadingComments: string;
|
|
2092
1886
|
/**
|
|
2093
1887
|
* @generated from field: optional string trailing_comments = 4;
|
|
2094
1888
|
*/
|
|
2095
|
-
trailingComments
|
|
1889
|
+
trailingComments: string;
|
|
2096
1890
|
/**
|
|
2097
1891
|
* @generated from field: repeated string leading_detached_comments = 6;
|
|
2098
1892
|
*/
|
|
2099
1893
|
leadingDetachedComments: string[];
|
|
2100
|
-
|
|
2101
|
-
|
|
2102
|
-
static readonly typeName = "google.protobuf.SourceCodeInfo.Location";
|
|
2103
|
-
static readonly fields: FieldList;
|
|
2104
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): SourceCodeInfo_Location;
|
|
2105
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): SourceCodeInfo_Location;
|
|
2106
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): SourceCodeInfo_Location;
|
|
2107
|
-
static equals(a: SourceCodeInfo_Location | PlainMessage<SourceCodeInfo_Location> | undefined, b: SourceCodeInfo_Location | PlainMessage<SourceCodeInfo_Location> | undefined): boolean;
|
|
2108
|
-
}
|
|
1894
|
+
};
|
|
1895
|
+
export declare const SourceCodeInfo_LocationDesc: GenDescMessage<SourceCodeInfo_Location>;
|
|
2109
1896
|
/**
|
|
2110
1897
|
* Describes the relationship between generated code and its original source
|
|
2111
1898
|
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
@@ -2113,7 +1900,7 @@ export declare class SourceCodeInfo_Location extends Message<SourceCodeInfo_Loca
|
|
|
2113
1900
|
*
|
|
2114
1901
|
* @generated from message google.protobuf.GeneratedCodeInfo
|
|
2115
1902
|
*/
|
|
2116
|
-
export
|
|
1903
|
+
export type GeneratedCodeInfo = Message<"google.protobuf.GeneratedCodeInfo"> & {
|
|
2117
1904
|
/**
|
|
2118
1905
|
* An Annotation connects some span of text in generated code to an element
|
|
2119
1906
|
* of its generating .proto file.
|
|
@@ -2121,19 +1908,12 @@ export declare class GeneratedCodeInfo extends Message<GeneratedCodeInfo> {
|
|
|
2121
1908
|
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
|
|
2122
1909
|
*/
|
|
2123
1910
|
annotation: GeneratedCodeInfo_Annotation[];
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
static readonly typeName = "google.protobuf.GeneratedCodeInfo";
|
|
2127
|
-
static readonly fields: FieldList;
|
|
2128
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratedCodeInfo;
|
|
2129
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratedCodeInfo;
|
|
2130
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratedCodeInfo;
|
|
2131
|
-
static equals(a: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined, b: GeneratedCodeInfo | PlainMessage<GeneratedCodeInfo> | undefined): boolean;
|
|
2132
|
-
}
|
|
1911
|
+
};
|
|
1912
|
+
export declare const GeneratedCodeInfoDesc: GenDescMessage<GeneratedCodeInfo>;
|
|
2133
1913
|
/**
|
|
2134
1914
|
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
2135
1915
|
*/
|
|
2136
|
-
export
|
|
1916
|
+
export type GeneratedCodeInfo_Annotation = Message<"google.protobuf.GeneratedCodeInfo.Annotation"> & {
|
|
2137
1917
|
/**
|
|
2138
1918
|
* Identifies the element in the original source .proto file. This field
|
|
2139
1919
|
* is formatted the same as SourceCodeInfo.Location.path.
|
|
@@ -2146,14 +1926,14 @@ export declare class GeneratedCodeInfo_Annotation extends Message<GeneratedCodeI
|
|
|
2146
1926
|
*
|
|
2147
1927
|
* @generated from field: optional string source_file = 2;
|
|
2148
1928
|
*/
|
|
2149
|
-
sourceFile
|
|
1929
|
+
sourceFile: string;
|
|
2150
1930
|
/**
|
|
2151
1931
|
* Identifies the starting offset in bytes in the generated code
|
|
2152
1932
|
* that relates to the identified object.
|
|
2153
1933
|
*
|
|
2154
1934
|
* @generated from field: optional int32 begin = 3;
|
|
2155
1935
|
*/
|
|
2156
|
-
begin
|
|
1936
|
+
begin: number;
|
|
2157
1937
|
/**
|
|
2158
1938
|
* Identifies the ending offset in bytes in the generated code that
|
|
2159
1939
|
* relates to the identified object. The end offset should be one past
|
|
@@ -2161,20 +1941,13 @@ export declare class GeneratedCodeInfo_Annotation extends Message<GeneratedCodeI
|
|
|
2161
1941
|
*
|
|
2162
1942
|
* @generated from field: optional int32 end = 4;
|
|
2163
1943
|
*/
|
|
2164
|
-
end
|
|
1944
|
+
end: number;
|
|
2165
1945
|
/**
|
|
2166
1946
|
* @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
|
|
2167
1947
|
*/
|
|
2168
|
-
semantic
|
|
2169
|
-
|
|
2170
|
-
|
|
2171
|
-
static readonly typeName = "google.protobuf.GeneratedCodeInfo.Annotation";
|
|
2172
|
-
static readonly fields: FieldList;
|
|
2173
|
-
static fromBinary(bytes: Uint8Array, options?: Partial<BinaryReadOptions>): GeneratedCodeInfo_Annotation;
|
|
2174
|
-
static fromJson(jsonValue: JsonValue, options?: Partial<JsonReadOptions>): GeneratedCodeInfo_Annotation;
|
|
2175
|
-
static fromJsonString(jsonString: string, options?: Partial<JsonReadOptions>): GeneratedCodeInfo_Annotation;
|
|
2176
|
-
static equals(a: GeneratedCodeInfo_Annotation | PlainMessage<GeneratedCodeInfo_Annotation> | undefined, b: GeneratedCodeInfo_Annotation | PlainMessage<GeneratedCodeInfo_Annotation> | undefined): boolean;
|
|
2177
|
-
}
|
|
1948
|
+
semantic: GeneratedCodeInfo_Annotation_Semantic;
|
|
1949
|
+
};
|
|
1950
|
+
export declare const GeneratedCodeInfo_AnnotationDesc: GenDescMessage<GeneratedCodeInfo_Annotation>;
|
|
2178
1951
|
/**
|
|
2179
1952
|
* Represents the identified object's effect on the element in the original
|
|
2180
1953
|
* .proto file.
|
|
@@ -2201,3 +1974,81 @@ export declare enum GeneratedCodeInfo_Annotation_Semantic {
|
|
|
2201
1974
|
*/
|
|
2202
1975
|
ALIAS = 2
|
|
2203
1976
|
}
|
|
1977
|
+
export declare const GeneratedCodeInfo_Annotation_SemanticDesc: GenDescEnum<GeneratedCodeInfo_Annotation_Semantic>;
|
|
1978
|
+
/**
|
|
1979
|
+
* The full set of known editions.
|
|
1980
|
+
*
|
|
1981
|
+
* @generated from enum google.protobuf.Edition
|
|
1982
|
+
*/
|
|
1983
|
+
export declare enum Edition {
|
|
1984
|
+
/**
|
|
1985
|
+
* A placeholder for an unknown edition value.
|
|
1986
|
+
*
|
|
1987
|
+
* @generated from enum value: EDITION_UNKNOWN = 0;
|
|
1988
|
+
*/
|
|
1989
|
+
EDITION_UNKNOWN = 0,
|
|
1990
|
+
/**
|
|
1991
|
+
* A placeholder edition for specifying default behaviors *before* a feature
|
|
1992
|
+
* was first introduced. This is effectively an "infinite past".
|
|
1993
|
+
*
|
|
1994
|
+
* @generated from enum value: EDITION_LEGACY = 900;
|
|
1995
|
+
*/
|
|
1996
|
+
EDITION_LEGACY = 900,
|
|
1997
|
+
/**
|
|
1998
|
+
* Legacy syntax "editions". These pre-date editions, but behave much like
|
|
1999
|
+
* distinct editions. These can't be used to specify the edition of proto
|
|
2000
|
+
* files, but feature definitions must supply proto2/proto3 defaults for
|
|
2001
|
+
* backwards compatibility.
|
|
2002
|
+
*
|
|
2003
|
+
* @generated from enum value: EDITION_PROTO2 = 998;
|
|
2004
|
+
*/
|
|
2005
|
+
EDITION_PROTO2 = 998,
|
|
2006
|
+
/**
|
|
2007
|
+
* @generated from enum value: EDITION_PROTO3 = 999;
|
|
2008
|
+
*/
|
|
2009
|
+
EDITION_PROTO3 = 999,
|
|
2010
|
+
/**
|
|
2011
|
+
* Editions that have been released. The specific values are arbitrary and
|
|
2012
|
+
* should not be depended on, but they will always be time-ordered for easy
|
|
2013
|
+
* comparison.
|
|
2014
|
+
*
|
|
2015
|
+
* @generated from enum value: EDITION_2023 = 1000;
|
|
2016
|
+
*/
|
|
2017
|
+
EDITION_2023 = 1000,
|
|
2018
|
+
/**
|
|
2019
|
+
* @generated from enum value: EDITION_2024 = 1001;
|
|
2020
|
+
*/
|
|
2021
|
+
EDITION_2024 = 1001,
|
|
2022
|
+
/**
|
|
2023
|
+
* Placeholder editions for testing feature resolution. These should not be
|
|
2024
|
+
* used or relyed on outside of tests.
|
|
2025
|
+
*
|
|
2026
|
+
* @generated from enum value: EDITION_1_TEST_ONLY = 1;
|
|
2027
|
+
*/
|
|
2028
|
+
EDITION_1_TEST_ONLY = 1,
|
|
2029
|
+
/**
|
|
2030
|
+
* @generated from enum value: EDITION_2_TEST_ONLY = 2;
|
|
2031
|
+
*/
|
|
2032
|
+
EDITION_2_TEST_ONLY = 2,
|
|
2033
|
+
/**
|
|
2034
|
+
* @generated from enum value: EDITION_99997_TEST_ONLY = 99997;
|
|
2035
|
+
*/
|
|
2036
|
+
EDITION_99997_TEST_ONLY = 99997,
|
|
2037
|
+
/**
|
|
2038
|
+
* @generated from enum value: EDITION_99998_TEST_ONLY = 99998;
|
|
2039
|
+
*/
|
|
2040
|
+
EDITION_99998_TEST_ONLY = 99998,
|
|
2041
|
+
/**
|
|
2042
|
+
* @generated from enum value: EDITION_99999_TEST_ONLY = 99999;
|
|
2043
|
+
*/
|
|
2044
|
+
EDITION_99999_TEST_ONLY = 99999,
|
|
2045
|
+
/**
|
|
2046
|
+
* Placeholder for specifying unbounded edition support. This should only
|
|
2047
|
+
* ever be used by plugins that can expect to never require any changes to
|
|
2048
|
+
* support a new edition.
|
|
2049
|
+
*
|
|
2050
|
+
* @generated from enum value: EDITION_MAX = 2147483647;
|
|
2051
|
+
*/
|
|
2052
|
+
EDITION_MAX = 2147483647
|
|
2053
|
+
}
|
|
2054
|
+
export declare const EditionDesc: GenDescEnum<Edition>;
|