@bufbuild/protobuf 2.0.0-alpha.1 → 2.0.0-alpha.3
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/README.md +1 -1
- package/dist/cjs/clone.d.ts +1 -1
- package/dist/cjs/clone.js +2 -2
- package/dist/cjs/codegenv1/boot.d.ts +1 -1
- package/dist/cjs/codegenv1/boot.js +3 -5
- package/dist/cjs/codegenv1/embed.d.ts +2 -2
- package/dist/cjs/codegenv1/embed.js +51 -46
- package/dist/cjs/codegenv1/enum.d.ts +1 -1
- package/dist/cjs/codegenv1/enum.js +2 -4
- package/dist/cjs/codegenv1/extension.d.ts +1 -1
- package/dist/cjs/codegenv1/file.d.ts +1 -1
- package/dist/cjs/codegenv1/file.js +5 -7
- package/dist/cjs/codegenv1/index.d.ts +1 -0
- package/dist/cjs/codegenv1/index.js +1 -0
- package/dist/cjs/codegenv1/message.d.ts +1 -1
- package/dist/cjs/codegenv1/restore-json-names.d.ts +3 -0
- package/dist/cjs/codegenv1/restore-json-names.js +3 -0
- package/dist/cjs/codegenv1/scalar.d.ts +5 -0
- package/dist/cjs/codegenv1/scalar.js +39 -0
- package/dist/cjs/codegenv1/service.d.ts +3 -3
- package/dist/cjs/codegenv1/symbols.d.ts +9 -0
- package/dist/cjs/codegenv1/symbols.js +9 -0
- package/dist/cjs/codegenv1/types.d.ts +59 -8
- package/dist/cjs/create.d.ts +1 -1
- package/dist/cjs/create.js +13 -23
- package/dist/cjs/{desc-types.d.ts → descriptors.d.ts} +66 -17
- package/dist/cjs/descriptors.js +53 -0
- package/dist/cjs/equals.d.ts +1 -1
- package/dist/cjs/extensions.d.ts +21 -1
- package/dist/cjs/extensions.js +42 -10
- package/dist/cjs/fields.d.ts +17 -16
- package/dist/cjs/fields.js +17 -10
- package/dist/cjs/from-binary.d.ts +2 -2
- package/dist/cjs/from-binary.js +31 -41
- package/dist/cjs/from-json.d.ts +4 -4
- package/dist/cjs/from-json.js +200 -185
- package/dist/cjs/index.d.ts +3 -2
- package/dist/cjs/index.js +5 -2
- package/dist/cjs/is-message.d.ts +1 -1
- package/dist/cjs/proto-int64.d.ts +4 -1
- package/dist/cjs/proto-int64.js +16 -6
- package/dist/cjs/reflect/error.d.ts +1 -1
- package/dist/cjs/reflect/guard.d.ts +1 -1
- package/dist/cjs/reflect/index.d.ts +0 -1
- package/dist/cjs/reflect/index.js +0 -1
- package/dist/cjs/reflect/names.d.ts +1 -13
- package/dist/cjs/reflect/names.js +2 -40
- package/dist/cjs/reflect/nested-types.d.ts +11 -1
- package/dist/cjs/reflect/nested-types.js +34 -1
- package/dist/cjs/reflect/reflect-check.d.ts +10 -1
- package/dist/cjs/reflect/reflect-check.js +126 -9
- package/dist/cjs/reflect/reflect-types.d.ts +162 -14
- package/dist/cjs/reflect/reflect.d.ts +12 -3
- package/dist/cjs/reflect/reflect.js +316 -290
- package/dist/cjs/reflect/scalar.d.ts +3 -55
- package/dist/cjs/reflect/scalar.js +26 -220
- package/dist/cjs/reflect/unsafe.d.ts +1 -1
- package/dist/cjs/reflect/unsafe.js +38 -43
- package/dist/cjs/{reflect/registry.d.ts → registry.d.ts} +2 -2
- package/dist/cjs/{reflect/registry.js → registry.js} +100 -73
- package/dist/cjs/to-binary.d.ts +1 -1
- package/dist/cjs/to-binary.js +28 -30
- package/dist/cjs/to-json.d.ts +7 -6
- package/dist/cjs/to-json.js +63 -70
- package/dist/cjs/types.d.ts +1 -1
- package/dist/cjs/wire/base64-encoding.js +4 -4
- package/dist/cjs/wire/binary-encoding.d.ts +25 -3
- package/dist/cjs/wire/binary-encoding.js +70 -18
- package/dist/cjs/wire/size-delimited.d.ts +1 -1
- package/dist/cjs/wire/text-format.d.ts +1 -2
- package/dist/cjs/wire/text-format.js +21 -19
- package/dist/cjs/wkt/any.d.ts +3 -3
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +15 -0
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.js +15 -6
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +22 -0
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +22 -9
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +192 -0
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +187 -84
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +18 -0
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +18 -7
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +7 -0
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +7 -2
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +32 -0
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.js +32 -13
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +39 -0
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +39 -18
- package/dist/cjs/wkt/wrappers.d.ts +1 -1
- package/dist/esm/clone.d.ts +1 -1
- package/dist/esm/clone.js +1 -1
- package/dist/esm/codegenv1/boot.d.ts +1 -1
- package/dist/esm/codegenv1/boot.js +3 -5
- package/dist/esm/codegenv1/embed.d.ts +2 -2
- package/dist/esm/codegenv1/embed.js +34 -29
- package/dist/esm/codegenv1/enum.d.ts +1 -1
- package/dist/esm/codegenv1/enum.js +2 -4
- package/dist/esm/codegenv1/extension.d.ts +1 -1
- package/dist/esm/codegenv1/file.d.ts +1 -1
- package/dist/esm/codegenv1/file.js +4 -6
- package/dist/esm/codegenv1/index.d.ts +1 -0
- package/dist/esm/codegenv1/index.js +1 -0
- package/dist/esm/codegenv1/message.d.ts +1 -1
- package/dist/esm/codegenv1/restore-json-names.d.ts +3 -0
- package/dist/esm/codegenv1/restore-json-names.js +3 -0
- package/dist/esm/codegenv1/scalar.d.ts +5 -0
- package/dist/esm/codegenv1/scalar.js +35 -0
- package/dist/esm/codegenv1/service.d.ts +3 -3
- package/dist/esm/codegenv1/symbols.d.ts +9 -0
- package/dist/esm/codegenv1/symbols.js +9 -0
- package/dist/esm/codegenv1/types.d.ts +59 -8
- package/dist/esm/create.d.ts +1 -1
- package/dist/esm/create.js +11 -21
- package/dist/esm/{desc-types.d.ts → descriptors.d.ts} +66 -17
- package/dist/esm/descriptors.js +50 -0
- package/dist/esm/equals.d.ts +1 -1
- package/dist/esm/extensions.d.ts +21 -1
- package/dist/esm/extensions.js +39 -9
- package/dist/esm/fields.d.ts +17 -16
- package/dist/esm/fields.js +17 -10
- package/dist/esm/from-binary.d.ts +2 -2
- package/dist/esm/from-binary.js +13 -23
- package/dist/esm/from-json.d.ts +4 -4
- package/dist/esm/from-json.js +193 -178
- package/dist/esm/index.d.ts +3 -2
- package/dist/esm/index.js +3 -2
- package/dist/esm/is-message.d.ts +1 -1
- package/dist/esm/proto-int64.d.ts +4 -1
- package/dist/esm/proto-int64.js +16 -6
- package/dist/esm/reflect/error.d.ts +1 -1
- package/dist/esm/reflect/guard.d.ts +1 -1
- package/dist/esm/reflect/index.d.ts +0 -1
- package/dist/esm/reflect/index.js +0 -1
- package/dist/esm/reflect/names.d.ts +1 -13
- package/dist/esm/reflect/names.js +1 -38
- package/dist/esm/reflect/nested-types.d.ts +11 -1
- package/dist/esm/reflect/nested-types.js +32 -0
- package/dist/esm/reflect/reflect-check.d.ts +10 -1
- package/dist/esm/reflect/reflect-check.js +119 -2
- package/dist/esm/reflect/reflect-types.d.ts +162 -14
- package/dist/esm/reflect/reflect-types.js +1 -0
- package/dist/esm/reflect/reflect.d.ts +12 -3
- package/dist/esm/reflect/reflect.js +305 -279
- package/dist/esm/reflect/scalar.d.ts +3 -55
- package/dist/esm/reflect/scalar.js +14 -205
- package/dist/esm/reflect/unsafe.d.ts +1 -1
- package/dist/esm/reflect/unsafe.js +38 -43
- package/dist/esm/{reflect/registry.d.ts → registry.d.ts} +2 -2
- package/dist/esm/{reflect/registry.js → registry.js} +90 -63
- package/dist/esm/to-binary.d.ts +1 -1
- package/dist/esm/to-binary.js +2 -4
- package/dist/esm/to-json.d.ts +7 -6
- package/dist/esm/to-json.js +48 -55
- package/dist/esm/types.d.ts +1 -1
- package/dist/esm/wire/base64-encoding.js +4 -4
- package/dist/esm/wire/binary-encoding.d.ts +25 -3
- package/dist/esm/wire/binary-encoding.js +63 -11
- package/dist/esm/wire/size-delimited.d.ts +1 -1
- package/dist/esm/wire/text-format.d.ts +1 -2
- package/dist/esm/wire/text-format.js +5 -3
- package/dist/esm/wkt/any.d.ts +3 -3
- package/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/any_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +15 -0
- package/dist/esm/wkt/gen/google/protobuf/api_pb.js +15 -6
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +22 -0
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +22 -9
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +192 -0
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +187 -84
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +18 -0
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.js +18 -7
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +7 -0
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +7 -2
- package/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +32 -0
- package/dist/esm/wkt/gen/google/protobuf/type_pb.js +32 -13
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +39 -0
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +39 -18
- package/dist/esm/wkt/wrappers.d.ts +1 -1
- package/package.json +2 -2
- package/dist/cjs/desc-types.js +0 -15
- package/dist/cjs/reflect/assert.d.ts +0 -16
- package/dist/cjs/reflect/assert.js +0 -59
- package/dist/esm/desc-types.js +0 -14
- package/dist/esm/reflect/assert.d.ts +0 -16
- package/dist/esm/reflect/assert.js +0 -52
|
@@ -16,7 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.DurationDesc = exports.fileDesc_google_protobuf_duration = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/duration.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_duration = (0, file_js_1.fileDesc)("Ch5nb29nbGUvcHJvdG9idWYvZHVyYXRpb24ucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIqCghEdXJhdGlvbhIPCgdzZWNvbmRzGAEgASgDEg0KBW5hbm9zGAIgASgFQoMBChNjb20uZ29vZ2xlLnByb3RvYnVmQg1EdXJhdGlvblByb3RvUAFaMWdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2R1cmF0aW9ucGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.Duration.
|
|
25
|
+
* Use `create(DurationDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.DurationDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_duration, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/empty.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_empty: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* A generic empty message that you can re-use to avoid defining duplicated
|
|
@@ -14,4 +17,8 @@ export declare const fileDesc_google_protobuf_empty: GenDescFile;
|
|
|
14
17
|
* @generated from message google.protobuf.Empty
|
|
15
18
|
*/
|
|
16
19
|
export type Empty = Message<"google.protobuf.Empty"> & {};
|
|
20
|
+
/**
|
|
21
|
+
* Describes the message google.protobuf.Empty.
|
|
22
|
+
* Use `create(EmptyDesc)` to create a new message.
|
|
23
|
+
*/
|
|
17
24
|
export declare const EmptyDesc: GenDescMessage<Empty>;
|
|
@@ -16,7 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.EmptyDesc = exports.fileDesc_google_protobuf_empty = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/empty.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_empty = (0, file_js_1.fileDesc)("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.Empty.
|
|
25
|
+
* Use `create(EmptyDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.EmptyDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_empty, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/field_mask.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_field_mask: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* `FieldMask` represents a set of symbolic field paths, for example:
|
|
@@ -212,4 +215,8 @@ export type FieldMask = Message<"google.protobuf.FieldMask"> & {
|
|
|
212
215
|
*/
|
|
213
216
|
paths: string[];
|
|
214
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* Describes the message google.protobuf.FieldMask.
|
|
220
|
+
* Use `create(FieldMaskDesc)` to create a new message.
|
|
221
|
+
*/
|
|
215
222
|
export declare const FieldMaskDesc: GenDescMessage<FieldMask>;
|
|
@@ -16,7 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.FieldMaskDesc = exports.fileDesc_google_protobuf_field_mask = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/field_mask.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_field_mask = (0, file_js_1.fileDesc)("CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUKFAQoTY29tLmdvb2dsZS5wcm90b2J1ZkIORmllbGRNYXNrUHJvdG9QAVoyZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vZmllbGRtYXNrcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.FieldMask.
|
|
25
|
+
* Use `create(FieldMaskDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.FieldMaskDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_field_mask, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/source_context.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_source_context: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* `SourceContext` represents information about the source of a
|
|
@@ -16,4 +19,8 @@ export type SourceContext = Message<"google.protobuf.SourceContext"> & {
|
|
|
16
19
|
*/
|
|
17
20
|
fileName: string;
|
|
18
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message google.protobuf.SourceContext.
|
|
24
|
+
* Use `create(SourceContextDesc)` to create a new message.
|
|
25
|
+
*/
|
|
19
26
|
export declare const SourceContextDesc: GenDescMessage<SourceContext>;
|
|
@@ -16,7 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.SourceContextDesc = exports.fileDesc_google_protobuf_source_context = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/source_context.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_source_context = (0, file_js_1.fileDesc)("CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEoCUKKAQoTY29tLmdvb2dsZS5wcm90b2J1ZkISU291cmNlQ29udGV4dFByb3RvUAFaNmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3NvdXJjZWNvbnRleHRwYqICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.SourceContext.
|
|
25
|
+
* Use `create(SourceContextDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.SourceContextDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_source_context, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescEnum, GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/struct.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_struct: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* `Struct` represents a structured data value, consisting of fields
|
|
@@ -23,6 +26,10 @@ export type Struct = Message<"google.protobuf.Struct"> & {
|
|
|
23
26
|
[key: string]: Value;
|
|
24
27
|
};
|
|
25
28
|
};
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message google.protobuf.Struct.
|
|
31
|
+
* Use `create(StructDesc)` to create a new message.
|
|
32
|
+
*/
|
|
26
33
|
export declare const StructDesc: GenDescMessage<Struct>;
|
|
27
34
|
/**
|
|
28
35
|
* `Value` represents a dynamically typed value which can be either
|
|
@@ -93,6 +100,10 @@ export type Value = Message<"google.protobuf.Value"> & {
|
|
|
93
100
|
value?: undefined;
|
|
94
101
|
};
|
|
95
102
|
};
|
|
103
|
+
/**
|
|
104
|
+
* Describes the message google.protobuf.Value.
|
|
105
|
+
* Use `create(ValueDesc)` to create a new message.
|
|
106
|
+
*/
|
|
96
107
|
export declare const ValueDesc: GenDescMessage<Value>;
|
|
97
108
|
/**
|
|
98
109
|
* `ListValue` is a wrapper around a repeated field of values.
|
|
@@ -109,6 +120,10 @@ export type ListValue = Message<"google.protobuf.ListValue"> & {
|
|
|
109
120
|
*/
|
|
110
121
|
values: Value[];
|
|
111
122
|
};
|
|
123
|
+
/**
|
|
124
|
+
* Describes the message google.protobuf.ListValue.
|
|
125
|
+
* Use `create(ListValueDesc)` to create a new message.
|
|
126
|
+
*/
|
|
112
127
|
export declare const ListValueDesc: GenDescMessage<ListValue>;
|
|
113
128
|
/**
|
|
114
129
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
@@ -126,4 +141,7 @@ export declare enum NullValue {
|
|
|
126
141
|
*/
|
|
127
142
|
NULL_VALUE = 0
|
|
128
143
|
}
|
|
144
|
+
/**
|
|
145
|
+
* Describes the enum google.protobuf.NullValue.
|
|
146
|
+
*/
|
|
129
147
|
export declare const NullValueDesc: GenDescEnum<NullValue>;
|
|
@@ -17,15 +17,24 @@ exports.NullValueDesc = exports.NullValue = exports.ListValueDesc = exports.Valu
|
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
19
|
const enum_js_1 = require("../../../../codegenv1/enum.js");
|
|
20
|
+
/**
|
|
21
|
+
* Describes the file google/protobuf/struct.proto.
|
|
22
|
+
*/
|
|
20
23
|
exports.fileDesc_google_protobuf_struct = (0, file_js_1.fileDesc)("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
21
|
-
|
|
22
|
-
|
|
24
|
+
/**
|
|
25
|
+
* Describes the message google.protobuf.Struct.
|
|
26
|
+
* Use `create(StructDesc)` to create a new message.
|
|
27
|
+
*/
|
|
23
28
|
exports.StructDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_struct, 0);
|
|
24
|
-
|
|
25
|
-
|
|
29
|
+
/**
|
|
30
|
+
* Describes the message google.protobuf.Value.
|
|
31
|
+
* Use `create(ValueDesc)` to create a new message.
|
|
32
|
+
*/
|
|
26
33
|
exports.ValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_struct, 1);
|
|
27
|
-
|
|
28
|
-
|
|
34
|
+
/**
|
|
35
|
+
* Describes the message google.protobuf.ListValue.
|
|
36
|
+
* Use `create(ListValueDesc)` to create a new message.
|
|
37
|
+
*/
|
|
29
38
|
exports.ListValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_struct, 2);
|
|
30
39
|
/**
|
|
31
40
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
@@ -44,5 +53,7 @@ var NullValue;
|
|
|
44
53
|
*/
|
|
45
54
|
NullValue[NullValue["NULL_VALUE"] = 0] = "NULL_VALUE";
|
|
46
55
|
})(NullValue || (exports.NullValue = NullValue = {}));
|
|
47
|
-
|
|
56
|
+
/**
|
|
57
|
+
* Describes the enum google.protobuf.NullValue.
|
|
58
|
+
*/
|
|
48
59
|
exports.NullValueDesc = (0, enum_js_1.enumDesc)(exports.fileDesc_google_protobuf_struct, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/timestamp.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_timestamp: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* A Timestamp represents a point in time independent of any time zone or local
|
|
@@ -114,4 +117,8 @@ export type Timestamp = Message<"google.protobuf.Timestamp"> & {
|
|
|
114
117
|
*/
|
|
115
118
|
nanos: number;
|
|
116
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* Describes the message google.protobuf.Timestamp.
|
|
122
|
+
* Use `create(TimestampDesc)` to create a new message.
|
|
123
|
+
*/
|
|
117
124
|
export declare const TimestampDesc: GenDescMessage<Timestamp>;
|
|
@@ -16,7 +16,12 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.TimestampDesc = exports.fileDesc_google_protobuf_timestamp = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/timestamp.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_timestamp = (0, file_js_1.fileDesc)("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.Timestamp.
|
|
25
|
+
* Use `create(TimestampDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.TimestampDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_timestamp, 0);
|
|
@@ -2,6 +2,9 @@ import type { GenDescEnum, GenDescFile, GenDescMessage } from "../../../../codeg
|
|
|
2
2
|
import type { Any } from "./any_pb.js";
|
|
3
3
|
import type { SourceContext } from "./source_context_pb.js";
|
|
4
4
|
import type { Message } from "../../../../types.js";
|
|
5
|
+
/**
|
|
6
|
+
* Describes the file google/protobuf/type.proto.
|
|
7
|
+
*/
|
|
5
8
|
export declare const fileDesc_google_protobuf_type: GenDescFile;
|
|
6
9
|
/**
|
|
7
10
|
* A protocol buffer message type.
|
|
@@ -52,6 +55,10 @@ export type Type = Message<"google.protobuf.Type"> & {
|
|
|
52
55
|
*/
|
|
53
56
|
edition: string;
|
|
54
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message google.protobuf.Type.
|
|
60
|
+
* Use `create(TypeDesc)` to create a new message.
|
|
61
|
+
*/
|
|
55
62
|
export declare const TypeDesc: GenDescMessage<Type>;
|
|
56
63
|
/**
|
|
57
64
|
* A single field of a message type.
|
|
@@ -122,6 +129,10 @@ export type Field = Message<"google.protobuf.Field"> & {
|
|
|
122
129
|
*/
|
|
123
130
|
defaultValue: string;
|
|
124
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* Describes the message google.protobuf.Field.
|
|
134
|
+
* Use `create(FieldDesc)` to create a new message.
|
|
135
|
+
*/
|
|
125
136
|
export declare const FieldDesc: GenDescMessage<Field>;
|
|
126
137
|
/**
|
|
127
138
|
* Basic field types.
|
|
@@ -244,6 +255,9 @@ export declare enum Field_Kind {
|
|
|
244
255
|
*/
|
|
245
256
|
TYPE_SINT64 = 18
|
|
246
257
|
}
|
|
258
|
+
/**
|
|
259
|
+
* Describes the enum google.protobuf.Field.Kind.
|
|
260
|
+
*/
|
|
247
261
|
export declare const Field_KindDesc: GenDescEnum<Field_Kind>;
|
|
248
262
|
/**
|
|
249
263
|
* Whether a field is optional, required, or repeated.
|
|
@@ -276,6 +290,9 @@ export declare enum Field_Cardinality {
|
|
|
276
290
|
*/
|
|
277
291
|
REPEATED = 3
|
|
278
292
|
}
|
|
293
|
+
/**
|
|
294
|
+
* Describes the enum google.protobuf.Field.Cardinality.
|
|
295
|
+
*/
|
|
279
296
|
export declare const Field_CardinalityDesc: GenDescEnum<Field_Cardinality>;
|
|
280
297
|
/**
|
|
281
298
|
* Enum type definition.
|
|
@@ -320,6 +337,10 @@ export type Enum = Message<"google.protobuf.Enum"> & {
|
|
|
320
337
|
*/
|
|
321
338
|
edition: string;
|
|
322
339
|
};
|
|
340
|
+
/**
|
|
341
|
+
* Describes the message google.protobuf.Enum.
|
|
342
|
+
* Use `create(EnumDesc)` to create a new message.
|
|
343
|
+
*/
|
|
323
344
|
export declare const EnumDesc: GenDescMessage<Enum>;
|
|
324
345
|
/**
|
|
325
346
|
* Enum value definition.
|
|
@@ -346,6 +367,10 @@ export type EnumValue = Message<"google.protobuf.EnumValue"> & {
|
|
|
346
367
|
*/
|
|
347
368
|
options: Option[];
|
|
348
369
|
};
|
|
370
|
+
/**
|
|
371
|
+
* Describes the message google.protobuf.EnumValue.
|
|
372
|
+
* Use `create(EnumValueDesc)` to create a new message.
|
|
373
|
+
*/
|
|
349
374
|
export declare const EnumValueDesc: GenDescMessage<EnumValue>;
|
|
350
375
|
/**
|
|
351
376
|
* A protocol buffer option, which can be attached to a message, field,
|
|
@@ -373,6 +398,10 @@ export type Option = Message<"google.protobuf.Option"> & {
|
|
|
373
398
|
*/
|
|
374
399
|
value?: Any;
|
|
375
400
|
};
|
|
401
|
+
/**
|
|
402
|
+
* Describes the message google.protobuf.Option.
|
|
403
|
+
* Use `create(OptionDesc)` to create a new message.
|
|
404
|
+
*/
|
|
376
405
|
export declare const OptionDesc: GenDescMessage<Option>;
|
|
377
406
|
/**
|
|
378
407
|
* The syntax in which a protocol buffer element is defined.
|
|
@@ -399,4 +428,7 @@ export declare enum Syntax {
|
|
|
399
428
|
*/
|
|
400
429
|
EDITIONS = 2
|
|
401
430
|
}
|
|
431
|
+
/**
|
|
432
|
+
* Describes the enum google.protobuf.Syntax.
|
|
433
|
+
*/
|
|
402
434
|
export declare const SyntaxDesc: GenDescEnum<Syntax>;
|
|
@@ -19,12 +19,19 @@ const any_pb_js_1 = require("./any_pb.js");
|
|
|
19
19
|
const source_context_pb_js_1 = require("./source_context_pb.js");
|
|
20
20
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
21
21
|
const enum_js_1 = require("../../../../codegenv1/enum.js");
|
|
22
|
+
/**
|
|
23
|
+
* Describes the file google/protobuf/type.proto.
|
|
24
|
+
*/
|
|
22
25
|
exports.fileDesc_google_protobuf_type = (0, file_js_1.fileDesc)("Chpnb29nbGUvcHJvdG9idWYvdHlwZS5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIugBCgRUeXBlEgwKBG5hbWUYASABKAkSJgoGZmllbGRzGAIgAygLMhYuZ29vZ2xlLnByb3RvYnVmLkZpZWxkEg4KBm9uZW9mcxgDIAMoCRIoCgdvcHRpb25zGAQgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgFIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgGIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgHIAEoCSLVBQoFRmllbGQSKQoEa2luZBgBIAEoDjIbLmdvb2dsZS5wcm90b2J1Zi5GaWVsZC5LaW5kEjcKC2NhcmRpbmFsaXR5GAIgASgOMiIuZ29vZ2xlLnByb3RvYnVmLkZpZWxkLkNhcmRpbmFsaXR5Eg4KBm51bWJlchgDIAEoBRIMCgRuYW1lGAQgASgJEhAKCHR5cGVfdXJsGAYgASgJEhMKC29uZW9mX2luZGV4GAcgASgFEg4KBnBhY2tlZBgIIAEoCBIoCgdvcHRpb25zGAkgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhIRCglqc29uX25hbWUYCiABKAkSFQoNZGVmYXVsdF92YWx1ZRgLIAEoCSLIAgoES2luZBIQCgxUWVBFX1VOS05PV04QABIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWVBFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhFRDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCRIOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZUEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIidAoLQ2FyZGluYWxpdHkSFwoTQ0FSRElOQUxJVFlfVU5LTk9XThAAEhgKFENBUkRJTkFMSVRZX09QVElPTkFMEAESGAoUQ0FSRElOQUxJVFlfUkVRVUlSRUQQAhIYChRDQVJESU5BTElUWV9SRVBFQVRFRBADIt8BCgRFbnVtEgwKBG5hbWUYASABKAkSLQoJZW51bXZhbHVlGAIgAygLMhouZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZRIoCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgFIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgGIAEoCSJTCglFbnVtVmFsdWUSDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSKAoHb3B0aW9ucxgDIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24iOwoGT3B0aW9uEgwKBG5hbWUYASABKAkSIwoFdmFsdWUYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55KkMKBlN5bnRheBIRCg1TWU5UQVhfUFJPVE8yEAASEQoNU1lOVEFYX1BST1RPMxABEhMKD1NZTlRBWF9FRElUSU9OUxACQnsKE2NvbS5nb29nbGUucHJvdG9idWZCCVR5cGVQcm90b1ABWi1nb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi90eXBlcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [any_pb_js_1.fileDesc_google_protobuf_any, source_context_pb_js_1.fileDesc_google_protobuf_source_context]);
|
|
23
|
-
|
|
24
|
-
|
|
26
|
+
/**
|
|
27
|
+
* Describes the message google.protobuf.Type.
|
|
28
|
+
* Use `create(TypeDesc)` to create a new message.
|
|
29
|
+
*/
|
|
25
30
|
exports.TypeDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_type, 0);
|
|
26
|
-
|
|
27
|
-
|
|
31
|
+
/**
|
|
32
|
+
* Describes the message google.protobuf.Field.
|
|
33
|
+
* Use `create(FieldDesc)` to create a new message.
|
|
34
|
+
*/
|
|
28
35
|
exports.FieldDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_type, 1);
|
|
29
36
|
/**
|
|
30
37
|
* Basic field types.
|
|
@@ -148,7 +155,9 @@ var Field_Kind;
|
|
|
148
155
|
*/
|
|
149
156
|
Field_Kind[Field_Kind["TYPE_SINT64"] = 18] = "TYPE_SINT64";
|
|
150
157
|
})(Field_Kind || (exports.Field_Kind = Field_Kind = {}));
|
|
151
|
-
|
|
158
|
+
/**
|
|
159
|
+
* Describes the enum google.protobuf.Field.Kind.
|
|
160
|
+
*/
|
|
152
161
|
exports.Field_KindDesc = (0, enum_js_1.enumDesc)(exports.fileDesc_google_protobuf_type, 1, 0);
|
|
153
162
|
/**
|
|
154
163
|
* Whether a field is optional, required, or repeated.
|
|
@@ -182,16 +191,24 @@ var Field_Cardinality;
|
|
|
182
191
|
*/
|
|
183
192
|
Field_Cardinality[Field_Cardinality["REPEATED"] = 3] = "REPEATED";
|
|
184
193
|
})(Field_Cardinality || (exports.Field_Cardinality = Field_Cardinality = {}));
|
|
185
|
-
|
|
194
|
+
/**
|
|
195
|
+
* Describes the enum google.protobuf.Field.Cardinality.
|
|
196
|
+
*/
|
|
186
197
|
exports.Field_CardinalityDesc = (0, enum_js_1.enumDesc)(exports.fileDesc_google_protobuf_type, 1, 1);
|
|
187
|
-
|
|
188
|
-
|
|
198
|
+
/**
|
|
199
|
+
* Describes the message google.protobuf.Enum.
|
|
200
|
+
* Use `create(EnumDesc)` to create a new message.
|
|
201
|
+
*/
|
|
189
202
|
exports.EnumDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_type, 2);
|
|
190
|
-
|
|
191
|
-
|
|
203
|
+
/**
|
|
204
|
+
* Describes the message google.protobuf.EnumValue.
|
|
205
|
+
* Use `create(EnumValueDesc)` to create a new message.
|
|
206
|
+
*/
|
|
192
207
|
exports.EnumValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_type, 3);
|
|
193
|
-
|
|
194
|
-
|
|
208
|
+
/**
|
|
209
|
+
* Describes the message google.protobuf.Option.
|
|
210
|
+
* Use `create(OptionDesc)` to create a new message.
|
|
211
|
+
*/
|
|
195
212
|
exports.OptionDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_type, 4);
|
|
196
213
|
/**
|
|
197
214
|
* The syntax in which a protocol buffer element is defined.
|
|
@@ -219,5 +236,7 @@ var Syntax;
|
|
|
219
236
|
*/
|
|
220
237
|
Syntax[Syntax["EDITIONS"] = 2] = "EDITIONS";
|
|
221
238
|
})(Syntax || (exports.Syntax = Syntax = {}));
|
|
222
|
-
|
|
239
|
+
/**
|
|
240
|
+
* Describes the enum google.protobuf.Syntax.
|
|
241
|
+
*/
|
|
223
242
|
exports.SyntaxDesc = (0, enum_js_1.enumDesc)(exports.fileDesc_google_protobuf_type, 0);
|
|
@@ -1,5 +1,8 @@
|
|
|
1
1
|
import type { GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
/**
|
|
4
|
+
* Describes the file google/protobuf/wrappers.proto.
|
|
5
|
+
*/
|
|
3
6
|
export declare const fileDesc_google_protobuf_wrappers: GenDescFile;
|
|
4
7
|
/**
|
|
5
8
|
* Wrapper message for `double`.
|
|
@@ -16,6 +19,10 @@ export type DoubleValue = Message<"google.protobuf.DoubleValue"> & {
|
|
|
16
19
|
*/
|
|
17
20
|
value: number;
|
|
18
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* Describes the message google.protobuf.DoubleValue.
|
|
24
|
+
* Use `create(DoubleValueDesc)` to create a new message.
|
|
25
|
+
*/
|
|
19
26
|
export declare const DoubleValueDesc: GenDescMessage<DoubleValue>;
|
|
20
27
|
/**
|
|
21
28
|
* Wrapper message for `float`.
|
|
@@ -32,6 +39,10 @@ export type FloatValue = Message<"google.protobuf.FloatValue"> & {
|
|
|
32
39
|
*/
|
|
33
40
|
value: number;
|
|
34
41
|
};
|
|
42
|
+
/**
|
|
43
|
+
* Describes the message google.protobuf.FloatValue.
|
|
44
|
+
* Use `create(FloatValueDesc)` to create a new message.
|
|
45
|
+
*/
|
|
35
46
|
export declare const FloatValueDesc: GenDescMessage<FloatValue>;
|
|
36
47
|
/**
|
|
37
48
|
* Wrapper message for `int64`.
|
|
@@ -48,6 +59,10 @@ export type Int64Value = Message<"google.protobuf.Int64Value"> & {
|
|
|
48
59
|
*/
|
|
49
60
|
value: bigint;
|
|
50
61
|
};
|
|
62
|
+
/**
|
|
63
|
+
* Describes the message google.protobuf.Int64Value.
|
|
64
|
+
* Use `create(Int64ValueDesc)` to create a new message.
|
|
65
|
+
*/
|
|
51
66
|
export declare const Int64ValueDesc: GenDescMessage<Int64Value>;
|
|
52
67
|
/**
|
|
53
68
|
* Wrapper message for `uint64`.
|
|
@@ -64,6 +79,10 @@ export type UInt64Value = Message<"google.protobuf.UInt64Value"> & {
|
|
|
64
79
|
*/
|
|
65
80
|
value: bigint;
|
|
66
81
|
};
|
|
82
|
+
/**
|
|
83
|
+
* Describes the message google.protobuf.UInt64Value.
|
|
84
|
+
* Use `create(UInt64ValueDesc)` to create a new message.
|
|
85
|
+
*/
|
|
67
86
|
export declare const UInt64ValueDesc: GenDescMessage<UInt64Value>;
|
|
68
87
|
/**
|
|
69
88
|
* Wrapper message for `int32`.
|
|
@@ -80,6 +99,10 @@ export type Int32Value = Message<"google.protobuf.Int32Value"> & {
|
|
|
80
99
|
*/
|
|
81
100
|
value: number;
|
|
82
101
|
};
|
|
102
|
+
/**
|
|
103
|
+
* Describes the message google.protobuf.Int32Value.
|
|
104
|
+
* Use `create(Int32ValueDesc)` to create a new message.
|
|
105
|
+
*/
|
|
83
106
|
export declare const Int32ValueDesc: GenDescMessage<Int32Value>;
|
|
84
107
|
/**
|
|
85
108
|
* Wrapper message for `uint32`.
|
|
@@ -96,6 +119,10 @@ export type UInt32Value = Message<"google.protobuf.UInt32Value"> & {
|
|
|
96
119
|
*/
|
|
97
120
|
value: number;
|
|
98
121
|
};
|
|
122
|
+
/**
|
|
123
|
+
* Describes the message google.protobuf.UInt32Value.
|
|
124
|
+
* Use `create(UInt32ValueDesc)` to create a new message.
|
|
125
|
+
*/
|
|
99
126
|
export declare const UInt32ValueDesc: GenDescMessage<UInt32Value>;
|
|
100
127
|
/**
|
|
101
128
|
* Wrapper message for `bool`.
|
|
@@ -112,6 +139,10 @@ export type BoolValue = Message<"google.protobuf.BoolValue"> & {
|
|
|
112
139
|
*/
|
|
113
140
|
value: boolean;
|
|
114
141
|
};
|
|
142
|
+
/**
|
|
143
|
+
* Describes the message google.protobuf.BoolValue.
|
|
144
|
+
* Use `create(BoolValueDesc)` to create a new message.
|
|
145
|
+
*/
|
|
115
146
|
export declare const BoolValueDesc: GenDescMessage<BoolValue>;
|
|
116
147
|
/**
|
|
117
148
|
* Wrapper message for `string`.
|
|
@@ -128,6 +159,10 @@ export type StringValue = Message<"google.protobuf.StringValue"> & {
|
|
|
128
159
|
*/
|
|
129
160
|
value: string;
|
|
130
161
|
};
|
|
162
|
+
/**
|
|
163
|
+
* Describes the message google.protobuf.StringValue.
|
|
164
|
+
* Use `create(StringValueDesc)` to create a new message.
|
|
165
|
+
*/
|
|
131
166
|
export declare const StringValueDesc: GenDescMessage<StringValue>;
|
|
132
167
|
/**
|
|
133
168
|
* Wrapper message for `bytes`.
|
|
@@ -144,4 +179,8 @@ export type BytesValue = Message<"google.protobuf.BytesValue"> & {
|
|
|
144
179
|
*/
|
|
145
180
|
value: Uint8Array;
|
|
146
181
|
};
|
|
182
|
+
/**
|
|
183
|
+
* Describes the message google.protobuf.BytesValue.
|
|
184
|
+
* Use `create(BytesValueDesc)` to create a new message.
|
|
185
|
+
*/
|
|
147
186
|
export declare const BytesValueDesc: GenDescMessage<BytesValue>;
|
|
@@ -16,31 +16,52 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
16
16
|
exports.BytesValueDesc = exports.StringValueDesc = exports.BoolValueDesc = exports.UInt32ValueDesc = exports.Int32ValueDesc = exports.UInt64ValueDesc = exports.Int64ValueDesc = exports.FloatValueDesc = exports.DoubleValueDesc = exports.fileDesc_google_protobuf_wrappers = void 0;
|
|
17
17
|
const file_js_1 = require("../../../../codegenv1/file.js");
|
|
18
18
|
const message_js_1 = require("../../../../codegenv1/message.js");
|
|
19
|
+
/**
|
|
20
|
+
* Describes the file google/protobuf/wrappers.proto.
|
|
21
|
+
*/
|
|
19
22
|
exports.fileDesc_google_protobuf_wrappers = (0, file_js_1.fileDesc)("Ch5nb29nbGUvcHJvdG9idWYvd3JhcHBlcnMucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIcCgtEb3VibGVWYWx1ZRINCgV2YWx1ZRgBIAEoASIbCgpGbG9hdFZhbHVlEg0KBXZhbHVlGAEgASgCIhsKCkludDY0VmFsdWUSDQoFdmFsdWUYASABKAMiHAoLVUludDY0VmFsdWUSDQoFdmFsdWUYASABKAQiGwoKSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoBSIcCgtVSW50MzJWYWx1ZRINCgV2YWx1ZRgBIAEoDSIaCglCb29sVmFsdWUSDQoFdmFsdWUYASABKAgiHAoLU3RyaW5nVmFsdWUSDQoFdmFsdWUYASABKAkiGwoKQnl0ZXNWYWx1ZRINCgV2YWx1ZRgBIAEoDEKDAQoTY29tLmdvb2dsZS5wcm90b2J1ZkINV3JhcHBlcnNQcm90b1ABWjFnb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi93cmFwcGVyc3Bi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
20
|
-
|
|
21
|
-
|
|
23
|
+
/**
|
|
24
|
+
* Describes the message google.protobuf.DoubleValue.
|
|
25
|
+
* Use `create(DoubleValueDesc)` to create a new message.
|
|
26
|
+
*/
|
|
22
27
|
exports.DoubleValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 0);
|
|
23
|
-
|
|
24
|
-
|
|
28
|
+
/**
|
|
29
|
+
* Describes the message google.protobuf.FloatValue.
|
|
30
|
+
* Use `create(FloatValueDesc)` to create a new message.
|
|
31
|
+
*/
|
|
25
32
|
exports.FloatValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 1);
|
|
26
|
-
|
|
27
|
-
|
|
33
|
+
/**
|
|
34
|
+
* Describes the message google.protobuf.Int64Value.
|
|
35
|
+
* Use `create(Int64ValueDesc)` to create a new message.
|
|
36
|
+
*/
|
|
28
37
|
exports.Int64ValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 2);
|
|
29
|
-
|
|
30
|
-
|
|
38
|
+
/**
|
|
39
|
+
* Describes the message google.protobuf.UInt64Value.
|
|
40
|
+
* Use `create(UInt64ValueDesc)` to create a new message.
|
|
41
|
+
*/
|
|
31
42
|
exports.UInt64ValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 3);
|
|
32
|
-
|
|
33
|
-
|
|
43
|
+
/**
|
|
44
|
+
* Describes the message google.protobuf.Int32Value.
|
|
45
|
+
* Use `create(Int32ValueDesc)` to create a new message.
|
|
46
|
+
*/
|
|
34
47
|
exports.Int32ValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 4);
|
|
35
|
-
|
|
36
|
-
|
|
48
|
+
/**
|
|
49
|
+
* Describes the message google.protobuf.UInt32Value.
|
|
50
|
+
* Use `create(UInt32ValueDesc)` to create a new message.
|
|
51
|
+
*/
|
|
37
52
|
exports.UInt32ValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 5);
|
|
38
|
-
|
|
39
|
-
|
|
53
|
+
/**
|
|
54
|
+
* Describes the message google.protobuf.BoolValue.
|
|
55
|
+
* Use `create(BoolValueDesc)` to create a new message.
|
|
56
|
+
*/
|
|
40
57
|
exports.BoolValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 6);
|
|
41
|
-
|
|
42
|
-
|
|
58
|
+
/**
|
|
59
|
+
* Describes the message google.protobuf.StringValue.
|
|
60
|
+
* Use `create(StringValueDesc)` to create a new message.
|
|
61
|
+
*/
|
|
43
62
|
exports.StringValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 7);
|
|
44
|
-
|
|
45
|
-
|
|
63
|
+
/**
|
|
64
|
+
* Describes the message google.protobuf.BytesValue.
|
|
65
|
+
* Use `create(BytesValueDesc)` to create a new message.
|
|
66
|
+
*/
|
|
46
67
|
exports.BytesValueDesc = (0, message_js_1.messageDesc)(exports.fileDesc_google_protobuf_wrappers, 8);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import type { Message } from "../types.js";
|
|
2
2
|
import type { BoolValue, BytesValue, DoubleValue, FloatValue, Int32Value, Int64Value, StringValue, UInt32Value, UInt64Value } from "./gen/google/protobuf/wrappers_pb.js";
|
|
3
|
-
import type { DescField, DescMessage } from "../
|
|
3
|
+
import type { DescField, DescMessage } from "../descriptors.js";
|
|
4
4
|
export declare function isWrapper(arg: Message): arg is DoubleValue | FloatValue | Int64Value | UInt64Value | Int32Value | UInt32Value | BoolValue | StringValue | BytesValue;
|
|
5
5
|
export type WktWrapperDesc = DescMessage & {
|
|
6
6
|
fields: [
|
package/dist/esm/clone.d.ts
CHANGED
package/dist/esm/clone.js
CHANGED
|
@@ -11,9 +11,9 @@
|
|
|
11
11
|
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
|
+
import { ScalarType } from "./descriptors.js";
|
|
14
15
|
import { reflect } from "./reflect/reflect.js";
|
|
15
16
|
import { isReflectMessage } from "./reflect/guard.js";
|
|
16
|
-
import { ScalarType } from "./reflect/scalar.js";
|
|
17
17
|
/**
|
|
18
18
|
* Create a deep copy of a message, including extensions and unknown fields.
|
|
19
19
|
*/
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { DescriptorProto_ExtensionRange, FieldDescriptorProto_Label, FieldDescriptorProto_Type, FieldOptions_OptionRetention, FieldOptions_OptionTargetType, FieldOptions_EditionDefault, EnumValueDescriptorProto, FileDescriptorProto } from "../wkt/gen/google/protobuf/descriptor_pb.js";
|
|
2
|
-
import type { DescFile } from "../
|
|
2
|
+
import type { DescFile } from "../descriptors.js";
|
|
3
3
|
/**
|
|
4
4
|
* Hydrate a file descriptor for google/protobuf/descriptor.proto from a plain
|
|
5
5
|
* object.
|