@bufbuild/protobuf 2.0.0-alpha.4 → 2.0.0-beta.2
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 +2 -3
- package/dist/cjs/clone.d.ts +1 -1
- package/dist/cjs/clone.js +5 -16
- package/dist/cjs/codegenv1/embed.js +25 -25
- package/dist/cjs/codegenv1/enum.d.ts +2 -1
- package/dist/cjs/codegenv1/file.js +1 -1
- package/dist/cjs/codegenv1/message.d.ts +2 -1
- package/dist/cjs/codegenv1/scalar.d.ts +4 -0
- package/dist/cjs/codegenv1/scalar.js +30 -1
- package/dist/cjs/codegenv1/symbols.d.ts +10 -0
- package/dist/cjs/codegenv1/symbols.js +2 -0
- package/dist/cjs/codegenv1/types.d.ts +7 -5
- package/dist/cjs/codegenv1/types.js +2 -1
- package/dist/cjs/create.d.ts +1 -1
- package/dist/cjs/create.js +47 -20
- package/dist/cjs/equals.d.ts +1 -1
- package/dist/cjs/equals.js +8 -15
- package/dist/cjs/from-binary.d.ts +2 -2
- package/dist/cjs/from-binary.js +6 -6
- package/dist/cjs/from-json.d.ts +14 -6
- package/dist/cjs/from-json.js +35 -33
- package/dist/cjs/is-message.d.ts +1 -1
- package/dist/cjs/is-message.js +3 -3
- package/dist/cjs/reflect/reflect-types.d.ts +13 -42
- package/dist/cjs/reflect/reflect.d.ts +29 -18
- package/dist/cjs/reflect/reflect.js +169 -45
- package/dist/cjs/reflect/scalar.d.ts +1 -1
- package/dist/cjs/registry.d.ts +18 -2
- package/dist/cjs/registry.js +63 -61
- package/dist/cjs/to-binary.d.ts +1 -1
- package/dist/cjs/to-binary.js +2 -2
- package/dist/cjs/to-json.d.ts +14 -4
- package/dist/cjs/to-json.js +26 -13
- package/dist/cjs/types.d.ts +9 -0
- package/dist/cjs/wire/size-delimited.d.ts +1 -1
- package/dist/cjs/wkt/any.d.ts +7 -7
- package/dist/cjs/wkt/any.js +5 -5
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.d.ts +9 -3
- package/dist/cjs/wkt/gen/google/protobuf/any_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.d.ts +88 -9
- package/dist/cjs/wkt/gen/google/protobuf/api_pb.js +8 -8
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +107 -11
- package/dist/cjs/wkt/gen/google/protobuf/compiler/plugin_pb.js +11 -11
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.d.ts +1005 -92
- package/dist/cjs/wkt/gen/google/protobuf/descriptor_pb.js +86 -86
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.d.ts +7 -3
- package/dist/cjs/wkt/gen/google/protobuf/duration_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.d.ts +7 -3
- package/dist/cjs/wkt/gen/google/protobuf/empty_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.d.ts +7 -3
- package/dist/cjs/wkt/gen/google/protobuf/field_mask_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.d.ts +12 -3
- package/dist/cjs/wkt/gen/google/protobuf/source_context_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.d.ts +25 -8
- package/dist/cjs/wkt/gen/google/protobuf/struct_pb.js +9 -9
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.d.ts +7 -3
- package/dist/cjs/wkt/gen/google/protobuf/timestamp_pb.js +4 -4
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.d.ts +165 -16
- package/dist/cjs/wkt/gen/google/protobuf/type_pb.js +15 -15
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.d.ts +55 -19
- package/dist/cjs/wkt/gen/google/protobuf/wrappers_pb.js +20 -20
- package/dist/cjs/wkt/timestamp.js +1 -2
- package/dist/esm/clone.d.ts +1 -1
- package/dist/esm/clone.js +5 -16
- package/dist/esm/codegenv1/embed.js +26 -26
- package/dist/esm/codegenv1/enum.d.ts +2 -1
- package/dist/esm/codegenv1/file.js +2 -2
- package/dist/esm/codegenv1/message.d.ts +2 -1
- package/dist/esm/codegenv1/scalar.d.ts +4 -0
- package/dist/esm/codegenv1/scalar.js +28 -0
- package/dist/esm/codegenv1/symbols.d.ts +10 -0
- package/dist/esm/codegenv1/symbols.js +2 -0
- package/dist/esm/codegenv1/types.d.ts +7 -5
- package/dist/esm/codegenv1/types.js +2 -1
- package/dist/esm/create.d.ts +1 -1
- package/dist/esm/create.js +47 -20
- package/dist/esm/equals.d.ts +1 -1
- package/dist/esm/equals.js +8 -15
- package/dist/esm/from-binary.d.ts +2 -2
- package/dist/esm/from-binary.js +6 -6
- package/dist/esm/from-json.d.ts +14 -6
- package/dist/esm/from-json.js +33 -33
- package/dist/esm/is-message.d.ts +1 -1
- package/dist/esm/is-message.js +3 -3
- package/dist/esm/reflect/reflect-types.d.ts +13 -42
- package/dist/esm/reflect/reflect-types.js +0 -1
- package/dist/esm/reflect/reflect.d.ts +29 -18
- package/dist/esm/reflect/reflect.js +170 -46
- package/dist/esm/reflect/scalar.d.ts +1 -1
- package/dist/esm/registry.d.ts +18 -2
- package/dist/esm/registry.js +61 -60
- package/dist/esm/to-binary.d.ts +1 -1
- package/dist/esm/to-binary.js +2 -2
- package/dist/esm/to-json.d.ts +14 -4
- package/dist/esm/to-json.js +24 -12
- package/dist/esm/types.d.ts +9 -0
- package/dist/esm/wire/size-delimited.d.ts +1 -1
- package/dist/esm/wkt/any.d.ts +7 -7
- package/dist/esm/wkt/any.js +6 -6
- package/dist/esm/wkt/gen/google/protobuf/any_pb.d.ts +9 -3
- package/dist/esm/wkt/gen/google/protobuf/any_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/api_pb.d.ts +88 -9
- package/dist/esm/wkt/gen/google/protobuf/api_pb.js +9 -9
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.d.ts +107 -11
- package/dist/esm/wkt/gen/google/protobuf/compiler/plugin_pb.js +11 -11
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.d.ts +1005 -92
- package/dist/esm/wkt/gen/google/protobuf/descriptor_pb.js +84 -84
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.d.ts +7 -3
- package/dist/esm/wkt/gen/google/protobuf/duration_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.d.ts +7 -3
- package/dist/esm/wkt/gen/google/protobuf/empty_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.d.ts +7 -3
- package/dist/esm/wkt/gen/google/protobuf/field_mask_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.d.ts +12 -3
- package/dist/esm/wkt/gen/google/protobuf/source_context_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.d.ts +25 -8
- package/dist/esm/wkt/gen/google/protobuf/struct_pb.js +8 -8
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.d.ts +7 -3
- package/dist/esm/wkt/gen/google/protobuf/timestamp_pb.js +3 -3
- package/dist/esm/wkt/gen/google/protobuf/type_pb.d.ts +165 -16
- package/dist/esm/wkt/gen/google/protobuf/type_pb.js +16 -16
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.d.ts +55 -19
- package/dist/esm/wkt/gen/google/protobuf/wrappers_pb.js +19 -19
- package/dist/esm/wkt/timestamp.js +2 -3
- package/package.json +8 -5
|
@@ -16,9 +16,9 @@ import { messageDesc } from "../../../../codegenv1/message.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/empty.proto.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const file_google_protobuf_empty = /*@__PURE__*/ fileDesc("Chtnb29nbGUvcHJvdG9idWYvZW1wdHkucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIHCgVFbXB0eUJ9ChNjb20uZ29vZ2xlLnByb3RvYnVmQgpFbXB0eVByb3RvUAFaLmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL2VtcHR5cGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw");
|
|
20
20
|
/**
|
|
21
21
|
* Describes the message google.protobuf.Empty.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Use `create(EmptySchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const EmptySchema = /*@__PURE__*/ messageDesc(file_google_protobuf_empty, 0);
|
|
@@ -3,7 +3,7 @@ import type { Message } from "../../../../types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/field_mask.proto.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const file_google_protobuf_field_mask: GenDescFile;
|
|
7
7
|
/**
|
|
8
8
|
* `FieldMask` represents a set of symbolic field paths, for example:
|
|
9
9
|
*
|
|
@@ -215,8 +215,12 @@ export type FieldMask = Message<"google.protobuf.FieldMask"> & {
|
|
|
215
215
|
*/
|
|
216
216
|
paths: string[];
|
|
217
217
|
};
|
|
218
|
+
/**
|
|
219
|
+
* JSON type for the message google.protobuf.FieldMask.
|
|
220
|
+
*/
|
|
221
|
+
export type FieldMaskJson = string;
|
|
218
222
|
/**
|
|
219
223
|
* Describes the message google.protobuf.FieldMask.
|
|
220
|
-
* Use `create(
|
|
224
|
+
* Use `create(FieldMaskSchema)` to create a new message.
|
|
221
225
|
*/
|
|
222
|
-
export declare const
|
|
226
|
+
export declare const FieldMaskSchema: GenDescMessage<FieldMask, FieldMaskJson>;
|
|
@@ -16,9 +16,9 @@ import { messageDesc } from "../../../../codegenv1/message.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/field_mask.proto.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const file_google_protobuf_field_mask = /*@__PURE__*/ fileDesc("CiBnb29nbGUvcHJvdG9idWYvZmllbGRfbWFzay5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIhoKCUZpZWxkTWFzaxINCgVwYXRocxgBIAMoCUKFAQoTY29tLmdvb2dsZS5wcm90b2J1ZkIORmllbGRNYXNrUHJvdG9QAVoyZ29vZ2xlLmdvbGFuZy5vcmcvcHJvdG9idWYvdHlwZXMva25vd24vZmllbGRtYXNrcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw");
|
|
20
20
|
/**
|
|
21
21
|
* Describes the message google.protobuf.FieldMask.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Use `create(FieldMaskSchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const FieldMaskSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_field_mask, 0);
|
|
@@ -3,7 +3,7 @@ import type { Message } from "../../../../types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/source_context.proto.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const file_google_protobuf_source_context: GenDescFile;
|
|
7
7
|
/**
|
|
8
8
|
* `SourceContext` represents information about the source of a
|
|
9
9
|
* protobuf element, like the file in which it is defined.
|
|
@@ -19,8 +19,17 @@ export type SourceContext = Message<"google.protobuf.SourceContext"> & {
|
|
|
19
19
|
*/
|
|
20
20
|
fileName: string;
|
|
21
21
|
};
|
|
22
|
+
/**
|
|
23
|
+
* JSON type for the message google.protobuf.SourceContext.
|
|
24
|
+
*/
|
|
25
|
+
export type SourceContextJson = {
|
|
26
|
+
/**
|
|
27
|
+
* @generated from field: string file_name = 1;
|
|
28
|
+
*/
|
|
29
|
+
fileName?: string;
|
|
30
|
+
};
|
|
22
31
|
/**
|
|
23
32
|
* Describes the message google.protobuf.SourceContext.
|
|
24
|
-
* Use `create(
|
|
33
|
+
* Use `create(SourceContextSchema)` to create a new message.
|
|
25
34
|
*/
|
|
26
|
-
export declare const
|
|
35
|
+
export declare const SourceContextSchema: GenDescMessage<SourceContext, SourceContextJson>;
|
|
@@ -16,9 +16,9 @@ import { messageDesc } from "../../../../codegenv1/message.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/source_context.proto.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const file_google_protobuf_source_context = /*@__PURE__*/ fileDesc("CiRnb29nbGUvcHJvdG9idWYvc291cmNlX2NvbnRleHQucHJvdG8SD2dvb2dsZS5wcm90b2J1ZiIiCg1Tb3VyY2VDb250ZXh0EhEKCWZpbGVfbmFtZRgBIAEoCUKKAQoTY29tLmdvb2dsZS5wcm90b2J1ZkISU291cmNlQ29udGV4dFByb3RvUAFaNmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3NvdXJjZWNvbnRleHRwYqICA0dQQqoCHkdvb2dsZS5Qcm90b2J1Zi5XZWxsS25vd25UeXBlc2IGcHJvdG8z");
|
|
20
20
|
/**
|
|
21
21
|
* Describes the message google.protobuf.SourceContext.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Use `create(SourceContextSchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const SourceContextSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_source_context, 0);
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
import type { GenDescEnum, GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
2
|
import type { Message } from "../../../../types.js";
|
|
3
|
+
import type { JsonObject, JsonValue } from "../../../../json-value.js";
|
|
3
4
|
/**
|
|
4
5
|
* Describes the file google/protobuf/struct.proto.
|
|
5
6
|
*/
|
|
6
|
-
export declare const
|
|
7
|
+
export declare const file_google_protobuf_struct: GenDescFile;
|
|
7
8
|
/**
|
|
8
9
|
* `Struct` represents a structured data value, consisting of fields
|
|
9
10
|
* which map to dynamically typed values. In some languages, `Struct`
|
|
@@ -26,11 +27,15 @@ export type Struct = Message<"google.protobuf.Struct"> & {
|
|
|
26
27
|
[key: string]: Value;
|
|
27
28
|
};
|
|
28
29
|
};
|
|
30
|
+
/**
|
|
31
|
+
* JSON type for the message google.protobuf.Struct.
|
|
32
|
+
*/
|
|
33
|
+
export type StructJson = JsonObject;
|
|
29
34
|
/**
|
|
30
35
|
* Describes the message google.protobuf.Struct.
|
|
31
|
-
* Use `create(
|
|
36
|
+
* Use `create(StructSchema)` to create a new message.
|
|
32
37
|
*/
|
|
33
|
-
export declare const
|
|
38
|
+
export declare const StructSchema: GenDescMessage<Struct, StructJson>;
|
|
34
39
|
/**
|
|
35
40
|
* `Value` represents a dynamically typed value which can be either
|
|
36
41
|
* null, a number, a string, a boolean, a recursive struct value, or a
|
|
@@ -100,11 +105,15 @@ export type Value = Message<"google.protobuf.Value"> & {
|
|
|
100
105
|
value?: undefined;
|
|
101
106
|
};
|
|
102
107
|
};
|
|
108
|
+
/**
|
|
109
|
+
* JSON type for the message google.protobuf.Value.
|
|
110
|
+
*/
|
|
111
|
+
export type ValueJson = JsonValue;
|
|
103
112
|
/**
|
|
104
113
|
* Describes the message google.protobuf.Value.
|
|
105
|
-
* Use `create(
|
|
114
|
+
* Use `create(ValueSchema)` to create a new message.
|
|
106
115
|
*/
|
|
107
|
-
export declare const
|
|
116
|
+
export declare const ValueSchema: GenDescMessage<Value, ValueJson>;
|
|
108
117
|
/**
|
|
109
118
|
* `ListValue` is a wrapper around a repeated field of values.
|
|
110
119
|
*
|
|
@@ -120,11 +129,15 @@ export type ListValue = Message<"google.protobuf.ListValue"> & {
|
|
|
120
129
|
*/
|
|
121
130
|
values: Value[];
|
|
122
131
|
};
|
|
132
|
+
/**
|
|
133
|
+
* JSON type for the message google.protobuf.ListValue.
|
|
134
|
+
*/
|
|
135
|
+
export type ListValueJson = JsonValue[];
|
|
123
136
|
/**
|
|
124
137
|
* Describes the message google.protobuf.ListValue.
|
|
125
|
-
* Use `create(
|
|
138
|
+
* Use `create(ListValueSchema)` to create a new message.
|
|
126
139
|
*/
|
|
127
|
-
export declare const
|
|
140
|
+
export declare const ListValueSchema: GenDescMessage<ListValue, ListValueJson>;
|
|
128
141
|
/**
|
|
129
142
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
130
143
|
* `Value` type union.
|
|
@@ -141,7 +154,11 @@ export declare enum NullValue {
|
|
|
141
154
|
*/
|
|
142
155
|
NULL_VALUE = 0
|
|
143
156
|
}
|
|
157
|
+
/**
|
|
158
|
+
* JSON type for the enum google.protobuf.NullValue.
|
|
159
|
+
*/
|
|
160
|
+
export type NullValueJson = null;
|
|
144
161
|
/**
|
|
145
162
|
* Describes the enum google.protobuf.NullValue.
|
|
146
163
|
*/
|
|
147
|
-
export declare const
|
|
164
|
+
export declare const NullValueSchema: GenDescEnum<NullValue, NullValueJson>;
|
|
@@ -17,22 +17,22 @@ import { enumDesc } from "../../../../codegenv1/enum.js";
|
|
|
17
17
|
/**
|
|
18
18
|
* Describes the file google/protobuf/struct.proto.
|
|
19
19
|
*/
|
|
20
|
-
export const
|
|
20
|
+
export const file_google_protobuf_struct = /*@__PURE__*/ fileDesc("Chxnb29nbGUvcHJvdG9idWYvc3RydWN0LnByb3RvEg9nb29nbGUucHJvdG9idWYihAEKBlN0cnVjdBIzCgZmaWVsZHMYASADKAsyIy5nb29nbGUucHJvdG9idWYuU3RydWN0LkZpZWxkc0VudHJ5GkUKC0ZpZWxkc0VudHJ5EgsKA2tleRgBIAEoCRIlCgV2YWx1ZRgCIAEoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZToCOAEi6gEKBVZhbHVlEjAKCm51bGxfdmFsdWUYASABKA4yGi5nb29nbGUucHJvdG9idWYuTnVsbFZhbHVlSAASFgoMbnVtYmVyX3ZhbHVlGAIgASgBSAASFgoMc3RyaW5nX3ZhbHVlGAMgASgJSAASFAoKYm9vbF92YWx1ZRgEIAEoCEgAEi8KDHN0cnVjdF92YWx1ZRgFIAEoCzIXLmdvb2dsZS5wcm90b2J1Zi5TdHJ1Y3RIABIwCgpsaXN0X3ZhbHVlGAYgASgLMhouZ29vZ2xlLnByb3RvYnVmLkxpc3RWYWx1ZUgAQgYKBGtpbmQiMwoJTGlzdFZhbHVlEiYKBnZhbHVlcxgBIAMoCzIWLmdvb2dsZS5wcm90b2J1Zi5WYWx1ZSobCglOdWxsVmFsdWUSDgoKTlVMTF9WQUxVRRAAQn8KE2NvbS5nb29nbGUucHJvdG9idWZCC1N0cnVjdFByb3RvUAFaL2dvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3N0cnVjdHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
21
21
|
/**
|
|
22
22
|
* Describes the message google.protobuf.Struct.
|
|
23
|
-
* Use `create(
|
|
23
|
+
* Use `create(StructSchema)` to create a new message.
|
|
24
24
|
*/
|
|
25
|
-
export const
|
|
25
|
+
export const StructSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 0);
|
|
26
26
|
/**
|
|
27
27
|
* Describes the message google.protobuf.Value.
|
|
28
|
-
* Use `create(
|
|
28
|
+
* Use `create(ValueSchema)` to create a new message.
|
|
29
29
|
*/
|
|
30
|
-
export const
|
|
30
|
+
export const ValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 1);
|
|
31
31
|
/**
|
|
32
32
|
* Describes the message google.protobuf.ListValue.
|
|
33
|
-
* Use `create(
|
|
33
|
+
* Use `create(ListValueSchema)` to create a new message.
|
|
34
34
|
*/
|
|
35
|
-
export const
|
|
35
|
+
export const ListValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_struct, 2);
|
|
36
36
|
/**
|
|
37
37
|
* `NullValue` is a singleton enumeration to represent the null value for the
|
|
38
38
|
* `Value` type union.
|
|
@@ -53,4 +53,4 @@ export var NullValue;
|
|
|
53
53
|
/**
|
|
54
54
|
* Describes the enum google.protobuf.NullValue.
|
|
55
55
|
*/
|
|
56
|
-
export const
|
|
56
|
+
export const NullValueSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_struct, 0);
|
|
@@ -3,7 +3,7 @@ import type { Message } from "../../../../types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/timestamp.proto.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const file_google_protobuf_timestamp: GenDescFile;
|
|
7
7
|
/**
|
|
8
8
|
* A Timestamp represents a point in time independent of any time zone or local
|
|
9
9
|
* calendar, encoded as a count of seconds and fractions of seconds at
|
|
@@ -117,8 +117,12 @@ export type Timestamp = Message<"google.protobuf.Timestamp"> & {
|
|
|
117
117
|
*/
|
|
118
118
|
nanos: number;
|
|
119
119
|
};
|
|
120
|
+
/**
|
|
121
|
+
* JSON type for the message google.protobuf.Timestamp.
|
|
122
|
+
*/
|
|
123
|
+
export type TimestampJson = string;
|
|
120
124
|
/**
|
|
121
125
|
* Describes the message google.protobuf.Timestamp.
|
|
122
|
-
* Use `create(
|
|
126
|
+
* Use `create(TimestampSchema)` to create a new message.
|
|
123
127
|
*/
|
|
124
|
-
export declare const
|
|
128
|
+
export declare const TimestampSchema: GenDescMessage<Timestamp, TimestampJson>;
|
|
@@ -16,9 +16,9 @@ import { messageDesc } from "../../../../codegenv1/message.js";
|
|
|
16
16
|
/**
|
|
17
17
|
* Describes the file google/protobuf/timestamp.proto.
|
|
18
18
|
*/
|
|
19
|
-
export const
|
|
19
|
+
export const file_google_protobuf_timestamp = /*@__PURE__*/ fileDesc("Ch9nb29nbGUvcHJvdG9idWYvdGltZXN0YW1wLnByb3RvEg9nb29nbGUucHJvdG9idWYiKwoJVGltZXN0YW1wEg8KB3NlY29uZHMYASABKAMSDQoFbmFub3MYAiABKAVChQEKE2NvbS5nb29nbGUucHJvdG9idWZCDlRpbWVzdGFtcFByb3RvUAFaMmdvb2dsZS5nb2xhbmcub3JnL3Byb3RvYnVmL3R5cGVzL2tub3duL3RpbWVzdGFtcHBi+AEBogIDR1BCqgIeR29vZ2xlLlByb3RvYnVmLldlbGxLbm93blR5cGVzYgZwcm90bzM");
|
|
20
20
|
/**
|
|
21
21
|
* Describes the message google.protobuf.Timestamp.
|
|
22
|
-
* Use `create(
|
|
22
|
+
* Use `create(TimestampSchema)` to create a new message.
|
|
23
23
|
*/
|
|
24
|
-
export const
|
|
24
|
+
export const TimestampSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_timestamp, 0);
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import type { GenDescEnum, GenDescFile, GenDescMessage } from "../../../../codegenv1/types.js";
|
|
2
|
-
import type { Any } from "./any_pb.js";
|
|
3
|
-
import type { SourceContext } from "./source_context_pb.js";
|
|
2
|
+
import type { Any, AnyJson } from "./any_pb.js";
|
|
3
|
+
import type { SourceContext, SourceContextJson } from "./source_context_pb.js";
|
|
4
4
|
import type { Message } from "../../../../types.js";
|
|
5
5
|
/**
|
|
6
6
|
* Describes the file google/protobuf/type.proto.
|
|
7
7
|
*/
|
|
8
|
-
export declare const
|
|
8
|
+
export declare const file_google_protobuf_type: GenDescFile;
|
|
9
9
|
/**
|
|
10
10
|
* A protocol buffer message type.
|
|
11
11
|
*
|
|
@@ -55,11 +55,44 @@ export type Type = Message<"google.protobuf.Type"> & {
|
|
|
55
55
|
*/
|
|
56
56
|
edition: string;
|
|
57
57
|
};
|
|
58
|
+
/**
|
|
59
|
+
* JSON type for the message google.protobuf.Type.
|
|
60
|
+
*/
|
|
61
|
+
export type TypeJson = {
|
|
62
|
+
/**
|
|
63
|
+
* @generated from field: string name = 1;
|
|
64
|
+
*/
|
|
65
|
+
name?: string;
|
|
66
|
+
/**
|
|
67
|
+
* @generated from field: repeated google.protobuf.Field fields = 2;
|
|
68
|
+
*/
|
|
69
|
+
fields?: FieldJson[];
|
|
70
|
+
/**
|
|
71
|
+
* @generated from field: repeated string oneofs = 3;
|
|
72
|
+
*/
|
|
73
|
+
oneofs?: string[];
|
|
74
|
+
/**
|
|
75
|
+
* @generated from field: repeated google.protobuf.Option options = 4;
|
|
76
|
+
*/
|
|
77
|
+
options?: OptionJson[];
|
|
78
|
+
/**
|
|
79
|
+
* @generated from field: google.protobuf.SourceContext source_context = 5;
|
|
80
|
+
*/
|
|
81
|
+
sourceContext?: SourceContextJson;
|
|
82
|
+
/**
|
|
83
|
+
* @generated from field: google.protobuf.Syntax syntax = 6;
|
|
84
|
+
*/
|
|
85
|
+
syntax?: SyntaxJson;
|
|
86
|
+
/**
|
|
87
|
+
* @generated from field: string edition = 7;
|
|
88
|
+
*/
|
|
89
|
+
edition?: string;
|
|
90
|
+
};
|
|
58
91
|
/**
|
|
59
92
|
* Describes the message google.protobuf.Type.
|
|
60
|
-
* Use `create(
|
|
93
|
+
* Use `create(TypeSchema)` to create a new message.
|
|
61
94
|
*/
|
|
62
|
-
export declare const
|
|
95
|
+
export declare const TypeSchema: GenDescMessage<Type, TypeJson>;
|
|
63
96
|
/**
|
|
64
97
|
* A single field of a message type.
|
|
65
98
|
*
|
|
@@ -129,11 +162,56 @@ export type Field = Message<"google.protobuf.Field"> & {
|
|
|
129
162
|
*/
|
|
130
163
|
defaultValue: string;
|
|
131
164
|
};
|
|
165
|
+
/**
|
|
166
|
+
* JSON type for the message google.protobuf.Field.
|
|
167
|
+
*/
|
|
168
|
+
export type FieldJson = {
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: google.protobuf.Field.Kind kind = 1;
|
|
171
|
+
*/
|
|
172
|
+
kind?: Field_KindJson;
|
|
173
|
+
/**
|
|
174
|
+
* @generated from field: google.protobuf.Field.Cardinality cardinality = 2;
|
|
175
|
+
*/
|
|
176
|
+
cardinality?: Field_CardinalityJson;
|
|
177
|
+
/**
|
|
178
|
+
* @generated from field: int32 number = 3;
|
|
179
|
+
*/
|
|
180
|
+
number?: number;
|
|
181
|
+
/**
|
|
182
|
+
* @generated from field: string name = 4;
|
|
183
|
+
*/
|
|
184
|
+
name?: string;
|
|
185
|
+
/**
|
|
186
|
+
* @generated from field: string type_url = 6;
|
|
187
|
+
*/
|
|
188
|
+
typeUrl?: string;
|
|
189
|
+
/**
|
|
190
|
+
* @generated from field: int32 oneof_index = 7;
|
|
191
|
+
*/
|
|
192
|
+
oneofIndex?: number;
|
|
193
|
+
/**
|
|
194
|
+
* @generated from field: bool packed = 8;
|
|
195
|
+
*/
|
|
196
|
+
packed?: boolean;
|
|
197
|
+
/**
|
|
198
|
+
* @generated from field: repeated google.protobuf.Option options = 9;
|
|
199
|
+
*/
|
|
200
|
+
options?: OptionJson[];
|
|
201
|
+
/**
|
|
202
|
+
* @generated from field: string json_name = 10;
|
|
203
|
+
*/
|
|
204
|
+
jsonName?: string;
|
|
205
|
+
/**
|
|
206
|
+
* @generated from field: string default_value = 11;
|
|
207
|
+
*/
|
|
208
|
+
defaultValue?: string;
|
|
209
|
+
};
|
|
132
210
|
/**
|
|
133
211
|
* Describes the message google.protobuf.Field.
|
|
134
|
-
* Use `create(
|
|
212
|
+
* Use `create(FieldSchema)` to create a new message.
|
|
135
213
|
*/
|
|
136
|
-
export declare const
|
|
214
|
+
export declare const FieldSchema: GenDescMessage<Field, FieldJson>;
|
|
137
215
|
/**
|
|
138
216
|
* Basic field types.
|
|
139
217
|
*
|
|
@@ -255,10 +333,14 @@ export declare enum Field_Kind {
|
|
|
255
333
|
*/
|
|
256
334
|
TYPE_SINT64 = 18
|
|
257
335
|
}
|
|
336
|
+
/**
|
|
337
|
+
* JSON type for the enum google.protobuf.Field.Kind.
|
|
338
|
+
*/
|
|
339
|
+
export type Field_KindJson = "TYPE_UNKNOWN" | "TYPE_DOUBLE" | "TYPE_FLOAT" | "TYPE_INT64" | "TYPE_UINT64" | "TYPE_INT32" | "TYPE_FIXED64" | "TYPE_FIXED32" | "TYPE_BOOL" | "TYPE_STRING" | "TYPE_GROUP" | "TYPE_MESSAGE" | "TYPE_BYTES" | "TYPE_UINT32" | "TYPE_ENUM" | "TYPE_SFIXED32" | "TYPE_SFIXED64" | "TYPE_SINT32" | "TYPE_SINT64";
|
|
258
340
|
/**
|
|
259
341
|
* Describes the enum google.protobuf.Field.Kind.
|
|
260
342
|
*/
|
|
261
|
-
export declare const
|
|
343
|
+
export declare const Field_KindSchema: GenDescEnum<Field_Kind, Field_KindJson>;
|
|
262
344
|
/**
|
|
263
345
|
* Whether a field is optional, required, or repeated.
|
|
264
346
|
*
|
|
@@ -290,10 +372,14 @@ export declare enum Field_Cardinality {
|
|
|
290
372
|
*/
|
|
291
373
|
REPEATED = 3
|
|
292
374
|
}
|
|
375
|
+
/**
|
|
376
|
+
* JSON type for the enum google.protobuf.Field.Cardinality.
|
|
377
|
+
*/
|
|
378
|
+
export type Field_CardinalityJson = "CARDINALITY_UNKNOWN" | "CARDINALITY_OPTIONAL" | "CARDINALITY_REQUIRED" | "CARDINALITY_REPEATED";
|
|
293
379
|
/**
|
|
294
380
|
* Describes the enum google.protobuf.Field.Cardinality.
|
|
295
381
|
*/
|
|
296
|
-
export declare const
|
|
382
|
+
export declare const Field_CardinalitySchema: GenDescEnum<Field_Cardinality, Field_CardinalityJson>;
|
|
297
383
|
/**
|
|
298
384
|
* Enum type definition.
|
|
299
385
|
*
|
|
@@ -337,11 +423,40 @@ export type Enum = Message<"google.protobuf.Enum"> & {
|
|
|
337
423
|
*/
|
|
338
424
|
edition: string;
|
|
339
425
|
};
|
|
426
|
+
/**
|
|
427
|
+
* JSON type for the message google.protobuf.Enum.
|
|
428
|
+
*/
|
|
429
|
+
export type EnumJson = {
|
|
430
|
+
/**
|
|
431
|
+
* @generated from field: string name = 1;
|
|
432
|
+
*/
|
|
433
|
+
name?: string;
|
|
434
|
+
/**
|
|
435
|
+
* @generated from field: repeated google.protobuf.EnumValue enumvalue = 2;
|
|
436
|
+
*/
|
|
437
|
+
enumvalue?: EnumValueJson[];
|
|
438
|
+
/**
|
|
439
|
+
* @generated from field: repeated google.protobuf.Option options = 3;
|
|
440
|
+
*/
|
|
441
|
+
options?: OptionJson[];
|
|
442
|
+
/**
|
|
443
|
+
* @generated from field: google.protobuf.SourceContext source_context = 4;
|
|
444
|
+
*/
|
|
445
|
+
sourceContext?: SourceContextJson;
|
|
446
|
+
/**
|
|
447
|
+
* @generated from field: google.protobuf.Syntax syntax = 5;
|
|
448
|
+
*/
|
|
449
|
+
syntax?: SyntaxJson;
|
|
450
|
+
/**
|
|
451
|
+
* @generated from field: string edition = 6;
|
|
452
|
+
*/
|
|
453
|
+
edition?: string;
|
|
454
|
+
};
|
|
340
455
|
/**
|
|
341
456
|
* Describes the message google.protobuf.Enum.
|
|
342
|
-
* Use `create(
|
|
457
|
+
* Use `create(EnumSchema)` to create a new message.
|
|
343
458
|
*/
|
|
344
|
-
export declare const
|
|
459
|
+
export declare const EnumSchema: GenDescMessage<Enum, EnumJson>;
|
|
345
460
|
/**
|
|
346
461
|
* Enum value definition.
|
|
347
462
|
*
|
|
@@ -367,11 +482,28 @@ export type EnumValue = Message<"google.protobuf.EnumValue"> & {
|
|
|
367
482
|
*/
|
|
368
483
|
options: Option[];
|
|
369
484
|
};
|
|
485
|
+
/**
|
|
486
|
+
* JSON type for the message google.protobuf.EnumValue.
|
|
487
|
+
*/
|
|
488
|
+
export type EnumValueJson = {
|
|
489
|
+
/**
|
|
490
|
+
* @generated from field: string name = 1;
|
|
491
|
+
*/
|
|
492
|
+
name?: string;
|
|
493
|
+
/**
|
|
494
|
+
* @generated from field: int32 number = 2;
|
|
495
|
+
*/
|
|
496
|
+
number?: number;
|
|
497
|
+
/**
|
|
498
|
+
* @generated from field: repeated google.protobuf.Option options = 3;
|
|
499
|
+
*/
|
|
500
|
+
options?: OptionJson[];
|
|
501
|
+
};
|
|
370
502
|
/**
|
|
371
503
|
* Describes the message google.protobuf.EnumValue.
|
|
372
|
-
* Use `create(
|
|
504
|
+
* Use `create(EnumValueSchema)` to create a new message.
|
|
373
505
|
*/
|
|
374
|
-
export declare const
|
|
506
|
+
export declare const EnumValueSchema: GenDescMessage<EnumValue, EnumValueJson>;
|
|
375
507
|
/**
|
|
376
508
|
* A protocol buffer option, which can be attached to a message, field,
|
|
377
509
|
* enumeration, etc.
|
|
@@ -398,11 +530,24 @@ export type Option = Message<"google.protobuf.Option"> & {
|
|
|
398
530
|
*/
|
|
399
531
|
value?: Any;
|
|
400
532
|
};
|
|
533
|
+
/**
|
|
534
|
+
* JSON type for the message google.protobuf.Option.
|
|
535
|
+
*/
|
|
536
|
+
export type OptionJson = {
|
|
537
|
+
/**
|
|
538
|
+
* @generated from field: string name = 1;
|
|
539
|
+
*/
|
|
540
|
+
name?: string;
|
|
541
|
+
/**
|
|
542
|
+
* @generated from field: google.protobuf.Any value = 2;
|
|
543
|
+
*/
|
|
544
|
+
value?: AnyJson;
|
|
545
|
+
};
|
|
401
546
|
/**
|
|
402
547
|
* Describes the message google.protobuf.Option.
|
|
403
|
-
* Use `create(
|
|
548
|
+
* Use `create(OptionSchema)` to create a new message.
|
|
404
549
|
*/
|
|
405
|
-
export declare const
|
|
550
|
+
export declare const OptionSchema: GenDescMessage<Option, OptionJson>;
|
|
406
551
|
/**
|
|
407
552
|
* The syntax in which a protocol buffer element is defined.
|
|
408
553
|
*
|
|
@@ -428,7 +573,11 @@ export declare enum Syntax {
|
|
|
428
573
|
*/
|
|
429
574
|
EDITIONS = 2
|
|
430
575
|
}
|
|
576
|
+
/**
|
|
577
|
+
* JSON type for the enum google.protobuf.Syntax.
|
|
578
|
+
*/
|
|
579
|
+
export type SyntaxJson = "SYNTAX_PROTO2" | "SYNTAX_PROTO3" | "SYNTAX_EDITIONS";
|
|
431
580
|
/**
|
|
432
581
|
* Describes the enum google.protobuf.Syntax.
|
|
433
582
|
*/
|
|
434
|
-
export declare const
|
|
583
|
+
export declare const SyntaxSchema: GenDescEnum<Syntax, SyntaxJson>;
|
|
@@ -12,24 +12,24 @@
|
|
|
12
12
|
// See the License for the specific language governing permissions and
|
|
13
13
|
// limitations under the License.
|
|
14
14
|
import { fileDesc } from "../../../../codegenv1/file.js";
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
15
|
+
import { file_google_protobuf_any } from "./any_pb.js";
|
|
16
|
+
import { file_google_protobuf_source_context } from "./source_context_pb.js";
|
|
17
17
|
import { messageDesc } from "../../../../codegenv1/message.js";
|
|
18
18
|
import { enumDesc } from "../../../../codegenv1/enum.js";
|
|
19
19
|
/**
|
|
20
20
|
* Describes the file google/protobuf/type.proto.
|
|
21
21
|
*/
|
|
22
|
-
export const
|
|
22
|
+
export const file_google_protobuf_type = /*@__PURE__*/ fileDesc("Chpnb29nbGUvcHJvdG9idWYvdHlwZS5wcm90bxIPZ29vZ2xlLnByb3RvYnVmIugBCgRUeXBlEgwKBG5hbWUYASABKAkSJgoGZmllbGRzGAIgAygLMhYuZ29vZ2xlLnByb3RvYnVmLkZpZWxkEg4KBm9uZW9mcxgDIAMoCRIoCgdvcHRpb25zGAQgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgFIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgGIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgHIAEoCSLVBQoFRmllbGQSKQoEa2luZBgBIAEoDjIbLmdvb2dsZS5wcm90b2J1Zi5GaWVsZC5LaW5kEjcKC2NhcmRpbmFsaXR5GAIgASgOMiIuZ29vZ2xlLnByb3RvYnVmLkZpZWxkLkNhcmRpbmFsaXR5Eg4KBm51bWJlchgDIAEoBRIMCgRuYW1lGAQgASgJEhAKCHR5cGVfdXJsGAYgASgJEhMKC29uZW9mX2luZGV4GAcgASgFEg4KBnBhY2tlZBgIIAEoCBIoCgdvcHRpb25zGAkgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhIRCglqc29uX25hbWUYCiABKAkSFQoNZGVmYXVsdF92YWx1ZRgLIAEoCSLIAgoES2luZBIQCgxUWVBFX1VOS05PV04QABIPCgtUWVBFX0RPVUJMRRABEg4KClRZUEVfRkxPQVQQAhIOCgpUWVBFX0lOVDY0EAMSDwoLVFlQRV9VSU5UNjQQBBIOCgpUWVBFX0lOVDMyEAUSEAoMVFlQRV9GSVhFRDY0EAYSEAoMVFlQRV9GSVhFRDMyEAcSDQoJVFlQRV9CT09MEAgSDwoLVFlQRV9TVFJJTkcQCRIOCgpUWVBFX0dST1VQEAoSEAoMVFlQRV9NRVNTQUdFEAsSDgoKVFlQRV9CWVRFUxAMEg8KC1RZUEVfVUlOVDMyEA0SDQoJVFlQRV9FTlVNEA4SEQoNVFlQRV9TRklYRUQzMhAPEhEKDVRZUEVfU0ZJWEVENjQQEBIPCgtUWVBFX1NJTlQzMhAREg8KC1RZUEVfU0lOVDY0EBIidAoLQ2FyZGluYWxpdHkSFwoTQ0FSRElOQUxJVFlfVU5LTk9XThAAEhgKFENBUkRJTkFMSVRZX09QVElPTkFMEAESGAoUQ0FSRElOQUxJVFlfUkVRVUlSRUQQAhIYChRDQVJESU5BTElUWV9SRVBFQVRFRBADIt8BCgRFbnVtEgwKBG5hbWUYASABKAkSLQoJZW51bXZhbHVlGAIgAygLMhouZ29vZ2xlLnByb3RvYnVmLkVudW1WYWx1ZRIoCgdvcHRpb25zGAMgAygLMhcuZ29vZ2xlLnByb3RvYnVmLk9wdGlvbhI2Cg5zb3VyY2VfY29udGV4dBgEIAEoCzIeLmdvb2dsZS5wcm90b2J1Zi5Tb3VyY2VDb250ZXh0EicKBnN5bnRheBgFIAEoDjIXLmdvb2dsZS5wcm90b2J1Zi5TeW50YXgSDwoHZWRpdGlvbhgGIAEoCSJTCglFbnVtVmFsdWUSDAoEbmFtZRgBIAEoCRIOCgZudW1iZXIYAiABKAUSKAoHb3B0aW9ucxgDIAMoCzIXLmdvb2dsZS5wcm90b2J1Zi5PcHRpb24iOwoGT3B0aW9uEgwKBG5hbWUYASABKAkSIwoFdmFsdWUYAiABKAsyFC5nb29nbGUucHJvdG9idWYuQW55KkMKBlN5bnRheBIRCg1TWU5UQVhfUFJPVE8yEAASEQoNU1lOVEFYX1BST1RPMxABEhMKD1NZTlRBWF9FRElUSU9OUxACQnsKE2NvbS5nb29nbGUucHJvdG9idWZCCVR5cGVQcm90b1ABWi1nb29nbGUuZ29sYW5nLm9yZy9wcm90b2J1Zi90eXBlcy9rbm93bi90eXBlcGL4AQGiAgNHUEKqAh5Hb29nbGUuUHJvdG9idWYuV2VsbEtub3duVHlwZXNiBnByb3RvMw", [file_google_protobuf_any, file_google_protobuf_source_context]);
|
|
23
23
|
/**
|
|
24
24
|
* Describes the message google.protobuf.Type.
|
|
25
|
-
* Use `create(
|
|
25
|
+
* Use `create(TypeSchema)` to create a new message.
|
|
26
26
|
*/
|
|
27
|
-
export const
|
|
27
|
+
export const TypeSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 0);
|
|
28
28
|
/**
|
|
29
29
|
* Describes the message google.protobuf.Field.
|
|
30
|
-
* Use `create(
|
|
30
|
+
* Use `create(FieldSchema)` to create a new message.
|
|
31
31
|
*/
|
|
32
|
-
export const
|
|
32
|
+
export const FieldSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 1);
|
|
33
33
|
/**
|
|
34
34
|
* Basic field types.
|
|
35
35
|
*
|
|
@@ -155,7 +155,7 @@ export var Field_Kind;
|
|
|
155
155
|
/**
|
|
156
156
|
* Describes the enum google.protobuf.Field.Kind.
|
|
157
157
|
*/
|
|
158
|
-
export const
|
|
158
|
+
export const Field_KindSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 1, 0);
|
|
159
159
|
/**
|
|
160
160
|
* Whether a field is optional, required, or repeated.
|
|
161
161
|
*
|
|
@@ -191,22 +191,22 @@ export var Field_Cardinality;
|
|
|
191
191
|
/**
|
|
192
192
|
* Describes the enum google.protobuf.Field.Cardinality.
|
|
193
193
|
*/
|
|
194
|
-
export const
|
|
194
|
+
export const Field_CardinalitySchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 1, 1);
|
|
195
195
|
/**
|
|
196
196
|
* Describes the message google.protobuf.Enum.
|
|
197
|
-
* Use `create(
|
|
197
|
+
* Use `create(EnumSchema)` to create a new message.
|
|
198
198
|
*/
|
|
199
|
-
export const
|
|
199
|
+
export const EnumSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 2);
|
|
200
200
|
/**
|
|
201
201
|
* Describes the message google.protobuf.EnumValue.
|
|
202
|
-
* Use `create(
|
|
202
|
+
* Use `create(EnumValueSchema)` to create a new message.
|
|
203
203
|
*/
|
|
204
|
-
export const
|
|
204
|
+
export const EnumValueSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 3);
|
|
205
205
|
/**
|
|
206
206
|
* Describes the message google.protobuf.Option.
|
|
207
|
-
* Use `create(
|
|
207
|
+
* Use `create(OptionSchema)` to create a new message.
|
|
208
208
|
*/
|
|
209
|
-
export const
|
|
209
|
+
export const OptionSchema = /*@__PURE__*/ messageDesc(file_google_protobuf_type, 4);
|
|
210
210
|
/**
|
|
211
211
|
* The syntax in which a protocol buffer element is defined.
|
|
212
212
|
*
|
|
@@ -236,4 +236,4 @@ export var Syntax;
|
|
|
236
236
|
/**
|
|
237
237
|
* Describes the enum google.protobuf.Syntax.
|
|
238
238
|
*/
|
|
239
|
-
export const
|
|
239
|
+
export const SyntaxSchema = /*@__PURE__*/ enumDesc(file_google_protobuf_type, 0);
|