@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
|
@@ -3,7 +3,7 @@ import type { Message } from "../../../../types.js";
|
|
|
3
3
|
/**
|
|
4
4
|
* Describes the file google/protobuf/descriptor.proto.
|
|
5
5
|
*/
|
|
6
|
-
export declare const
|
|
6
|
+
export declare const file_google_protobuf_descriptor: GenDescFile;
|
|
7
7
|
/**
|
|
8
8
|
* The protocol compiler can output a FileDescriptorSet containing the .proto
|
|
9
9
|
* files it parses.
|
|
@@ -16,11 +16,20 @@ export type FileDescriptorSet = Message<"google.protobuf.FileDescriptorSet"> & {
|
|
|
16
16
|
*/
|
|
17
17
|
file: FileDescriptorProto[];
|
|
18
18
|
};
|
|
19
|
+
/**
|
|
20
|
+
* JSON type for the message google.protobuf.FileDescriptorSet.
|
|
21
|
+
*/
|
|
22
|
+
export type FileDescriptorSetJson = {
|
|
23
|
+
/**
|
|
24
|
+
* @generated from field: repeated google.protobuf.FileDescriptorProto file = 1;
|
|
25
|
+
*/
|
|
26
|
+
file?: FileDescriptorProtoJson[];
|
|
27
|
+
};
|
|
19
28
|
/**
|
|
20
29
|
* Describes the message google.protobuf.FileDescriptorSet.
|
|
21
|
-
* Use `create(
|
|
30
|
+
* Use `create(FileDescriptorSetSchema)` to create a new message.
|
|
22
31
|
*/
|
|
23
|
-
export declare const
|
|
32
|
+
export declare const FileDescriptorSetSchema: GenDescMessage<FileDescriptorSet, FileDescriptorSetJson>;
|
|
24
33
|
/**
|
|
25
34
|
* Describes a complete .proto file.
|
|
26
35
|
*
|
|
@@ -105,11 +114,68 @@ export type FileDescriptorProto = Message<"google.protobuf.FileDescriptorProto">
|
|
|
105
114
|
*/
|
|
106
115
|
edition: Edition;
|
|
107
116
|
};
|
|
117
|
+
/**
|
|
118
|
+
* JSON type for the message google.protobuf.FileDescriptorProto.
|
|
119
|
+
*/
|
|
120
|
+
export type FileDescriptorProtoJson = {
|
|
121
|
+
/**
|
|
122
|
+
* @generated from field: optional string name = 1;
|
|
123
|
+
*/
|
|
124
|
+
name?: string;
|
|
125
|
+
/**
|
|
126
|
+
* @generated from field: optional string package = 2;
|
|
127
|
+
*/
|
|
128
|
+
package?: string;
|
|
129
|
+
/**
|
|
130
|
+
* @generated from field: repeated string dependency = 3;
|
|
131
|
+
*/
|
|
132
|
+
dependency?: string[];
|
|
133
|
+
/**
|
|
134
|
+
* @generated from field: repeated int32 public_dependency = 10;
|
|
135
|
+
*/
|
|
136
|
+
publicDependency?: number[];
|
|
137
|
+
/**
|
|
138
|
+
* @generated from field: repeated int32 weak_dependency = 11;
|
|
139
|
+
*/
|
|
140
|
+
weakDependency?: number[];
|
|
141
|
+
/**
|
|
142
|
+
* @generated from field: repeated google.protobuf.DescriptorProto message_type = 4;
|
|
143
|
+
*/
|
|
144
|
+
messageType?: DescriptorProtoJson[];
|
|
145
|
+
/**
|
|
146
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
|
|
147
|
+
*/
|
|
148
|
+
enumType?: EnumDescriptorProtoJson[];
|
|
149
|
+
/**
|
|
150
|
+
* @generated from field: repeated google.protobuf.ServiceDescriptorProto service = 6;
|
|
151
|
+
*/
|
|
152
|
+
service?: ServiceDescriptorProtoJson[];
|
|
153
|
+
/**
|
|
154
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 7;
|
|
155
|
+
*/
|
|
156
|
+
extension?: FieldDescriptorProtoJson[];
|
|
157
|
+
/**
|
|
158
|
+
* @generated from field: optional google.protobuf.FileOptions options = 8;
|
|
159
|
+
*/
|
|
160
|
+
options?: FileOptionsJson;
|
|
161
|
+
/**
|
|
162
|
+
* @generated from field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
|
|
163
|
+
*/
|
|
164
|
+
sourceCodeInfo?: SourceCodeInfoJson;
|
|
165
|
+
/**
|
|
166
|
+
* @generated from field: optional string syntax = 12;
|
|
167
|
+
*/
|
|
168
|
+
syntax?: string;
|
|
169
|
+
/**
|
|
170
|
+
* @generated from field: optional google.protobuf.Edition edition = 14;
|
|
171
|
+
*/
|
|
172
|
+
edition?: EditionJson;
|
|
173
|
+
};
|
|
108
174
|
/**
|
|
109
175
|
* Describes the message google.protobuf.FileDescriptorProto.
|
|
110
|
-
* Use `create(
|
|
176
|
+
* Use `create(FileDescriptorProtoSchema)` to create a new message.
|
|
111
177
|
*/
|
|
112
|
-
export declare const
|
|
178
|
+
export declare const FileDescriptorProtoSchema: GenDescMessage<FileDescriptorProto, FileDescriptorProtoJson>;
|
|
113
179
|
/**
|
|
114
180
|
* Describes a message type.
|
|
115
181
|
*
|
|
@@ -160,11 +226,56 @@ export type DescriptorProto = Message<"google.protobuf.DescriptorProto"> & {
|
|
|
160
226
|
*/
|
|
161
227
|
reservedName: string[];
|
|
162
228
|
};
|
|
229
|
+
/**
|
|
230
|
+
* JSON type for the message google.protobuf.DescriptorProto.
|
|
231
|
+
*/
|
|
232
|
+
export type DescriptorProtoJson = {
|
|
233
|
+
/**
|
|
234
|
+
* @generated from field: optional string name = 1;
|
|
235
|
+
*/
|
|
236
|
+
name?: string;
|
|
237
|
+
/**
|
|
238
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto field = 2;
|
|
239
|
+
*/
|
|
240
|
+
field?: FieldDescriptorProtoJson[];
|
|
241
|
+
/**
|
|
242
|
+
* @generated from field: repeated google.protobuf.FieldDescriptorProto extension = 6;
|
|
243
|
+
*/
|
|
244
|
+
extension?: FieldDescriptorProtoJson[];
|
|
245
|
+
/**
|
|
246
|
+
* @generated from field: repeated google.protobuf.DescriptorProto nested_type = 3;
|
|
247
|
+
*/
|
|
248
|
+
nestedType?: DescriptorProtoJson[];
|
|
249
|
+
/**
|
|
250
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
|
|
251
|
+
*/
|
|
252
|
+
enumType?: EnumDescriptorProtoJson[];
|
|
253
|
+
/**
|
|
254
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
|
|
255
|
+
*/
|
|
256
|
+
extensionRange?: DescriptorProto_ExtensionRangeJson[];
|
|
257
|
+
/**
|
|
258
|
+
* @generated from field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
|
|
259
|
+
*/
|
|
260
|
+
oneofDecl?: OneofDescriptorProtoJson[];
|
|
261
|
+
/**
|
|
262
|
+
* @generated from field: optional google.protobuf.MessageOptions options = 7;
|
|
263
|
+
*/
|
|
264
|
+
options?: MessageOptionsJson;
|
|
265
|
+
/**
|
|
266
|
+
* @generated from field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
|
|
267
|
+
*/
|
|
268
|
+
reservedRange?: DescriptorProto_ReservedRangeJson[];
|
|
269
|
+
/**
|
|
270
|
+
* @generated from field: repeated string reserved_name = 10;
|
|
271
|
+
*/
|
|
272
|
+
reservedName?: string[];
|
|
273
|
+
};
|
|
163
274
|
/**
|
|
164
275
|
* Describes the message google.protobuf.DescriptorProto.
|
|
165
|
-
* Use `create(
|
|
276
|
+
* Use `create(DescriptorProtoSchema)` to create a new message.
|
|
166
277
|
*/
|
|
167
|
-
export declare const
|
|
278
|
+
export declare const DescriptorProtoSchema: GenDescMessage<DescriptorProto, DescriptorProtoJson>;
|
|
168
279
|
/**
|
|
169
280
|
* @generated from message google.protobuf.DescriptorProto.ExtensionRange
|
|
170
281
|
*/
|
|
@@ -186,11 +297,28 @@ export type DescriptorProto_ExtensionRange = Message<"google.protobuf.Descriptor
|
|
|
186
297
|
*/
|
|
187
298
|
options?: ExtensionRangeOptions;
|
|
188
299
|
};
|
|
300
|
+
/**
|
|
301
|
+
* JSON type for the message google.protobuf.DescriptorProto.ExtensionRange.
|
|
302
|
+
*/
|
|
303
|
+
export type DescriptorProto_ExtensionRangeJson = {
|
|
304
|
+
/**
|
|
305
|
+
* @generated from field: optional int32 start = 1;
|
|
306
|
+
*/
|
|
307
|
+
start?: number;
|
|
308
|
+
/**
|
|
309
|
+
* @generated from field: optional int32 end = 2;
|
|
310
|
+
*/
|
|
311
|
+
end?: number;
|
|
312
|
+
/**
|
|
313
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions options = 3;
|
|
314
|
+
*/
|
|
315
|
+
options?: ExtensionRangeOptionsJson;
|
|
316
|
+
};
|
|
189
317
|
/**
|
|
190
318
|
* Describes the message google.protobuf.DescriptorProto.ExtensionRange.
|
|
191
|
-
* Use `create(
|
|
319
|
+
* Use `create(DescriptorProto_ExtensionRangeSchema)` to create a new message.
|
|
192
320
|
*/
|
|
193
|
-
export declare const
|
|
321
|
+
export declare const DescriptorProto_ExtensionRangeSchema: GenDescMessage<DescriptorProto_ExtensionRange, DescriptorProto_ExtensionRangeJson>;
|
|
194
322
|
/**
|
|
195
323
|
* Range of reserved tag numbers. Reserved tag numbers may not be used by
|
|
196
324
|
* fields or extension ranges in the same message. Reserved ranges may
|
|
@@ -212,11 +340,24 @@ export type DescriptorProto_ReservedRange = Message<"google.protobuf.DescriptorP
|
|
|
212
340
|
*/
|
|
213
341
|
end: number;
|
|
214
342
|
};
|
|
343
|
+
/**
|
|
344
|
+
* JSON type for the message google.protobuf.DescriptorProto.ReservedRange.
|
|
345
|
+
*/
|
|
346
|
+
export type DescriptorProto_ReservedRangeJson = {
|
|
347
|
+
/**
|
|
348
|
+
* @generated from field: optional int32 start = 1;
|
|
349
|
+
*/
|
|
350
|
+
start?: number;
|
|
351
|
+
/**
|
|
352
|
+
* @generated from field: optional int32 end = 2;
|
|
353
|
+
*/
|
|
354
|
+
end?: number;
|
|
355
|
+
};
|
|
215
356
|
/**
|
|
216
357
|
* Describes the message google.protobuf.DescriptorProto.ReservedRange.
|
|
217
|
-
* Use `create(
|
|
358
|
+
* Use `create(DescriptorProto_ReservedRangeSchema)` to create a new message.
|
|
218
359
|
*/
|
|
219
|
-
export declare const
|
|
360
|
+
export declare const DescriptorProto_ReservedRangeSchema: GenDescMessage<DescriptorProto_ReservedRange, DescriptorProto_ReservedRangeJson>;
|
|
220
361
|
/**
|
|
221
362
|
* @generated from message google.protobuf.ExtensionRangeOptions
|
|
222
363
|
*/
|
|
@@ -250,11 +391,32 @@ export type ExtensionRangeOptions = Message<"google.protobuf.ExtensionRangeOptio
|
|
|
250
391
|
*/
|
|
251
392
|
verification: ExtensionRangeOptions_VerificationState;
|
|
252
393
|
};
|
|
394
|
+
/**
|
|
395
|
+
* JSON type for the message google.protobuf.ExtensionRangeOptions.
|
|
396
|
+
*/
|
|
397
|
+
export type ExtensionRangeOptionsJson = {
|
|
398
|
+
/**
|
|
399
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
400
|
+
*/
|
|
401
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
402
|
+
/**
|
|
403
|
+
* @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
|
|
404
|
+
*/
|
|
405
|
+
declaration?: ExtensionRangeOptions_DeclarationJson[];
|
|
406
|
+
/**
|
|
407
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
408
|
+
*/
|
|
409
|
+
features?: FeatureSetJson;
|
|
410
|
+
/**
|
|
411
|
+
* @generated from field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3 [default = UNVERIFIED];
|
|
412
|
+
*/
|
|
413
|
+
verification?: ExtensionRangeOptions_VerificationStateJson;
|
|
414
|
+
};
|
|
253
415
|
/**
|
|
254
416
|
* Describes the message google.protobuf.ExtensionRangeOptions.
|
|
255
|
-
* Use `create(
|
|
417
|
+
* Use `create(ExtensionRangeOptionsSchema)` to create a new message.
|
|
256
418
|
*/
|
|
257
|
-
export declare const
|
|
419
|
+
export declare const ExtensionRangeOptionsSchema: GenDescMessage<ExtensionRangeOptions, ExtensionRangeOptionsJson>;
|
|
258
420
|
/**
|
|
259
421
|
* @generated from message google.protobuf.ExtensionRangeOptions.Declaration
|
|
260
422
|
*/
|
|
@@ -296,11 +458,36 @@ export type ExtensionRangeOptions_Declaration = Message<"google.protobuf.Extensi
|
|
|
296
458
|
*/
|
|
297
459
|
repeated: boolean;
|
|
298
460
|
};
|
|
461
|
+
/**
|
|
462
|
+
* JSON type for the message google.protobuf.ExtensionRangeOptions.Declaration.
|
|
463
|
+
*/
|
|
464
|
+
export type ExtensionRangeOptions_DeclarationJson = {
|
|
465
|
+
/**
|
|
466
|
+
* @generated from field: optional int32 number = 1;
|
|
467
|
+
*/
|
|
468
|
+
number?: number;
|
|
469
|
+
/**
|
|
470
|
+
* @generated from field: optional string full_name = 2;
|
|
471
|
+
*/
|
|
472
|
+
fullName?: string;
|
|
473
|
+
/**
|
|
474
|
+
* @generated from field: optional string type = 3;
|
|
475
|
+
*/
|
|
476
|
+
type?: string;
|
|
477
|
+
/**
|
|
478
|
+
* @generated from field: optional bool reserved = 5;
|
|
479
|
+
*/
|
|
480
|
+
reserved?: boolean;
|
|
481
|
+
/**
|
|
482
|
+
* @generated from field: optional bool repeated = 6;
|
|
483
|
+
*/
|
|
484
|
+
repeated?: boolean;
|
|
485
|
+
};
|
|
299
486
|
/**
|
|
300
487
|
* Describes the message google.protobuf.ExtensionRangeOptions.Declaration.
|
|
301
|
-
* Use `create(
|
|
488
|
+
* Use `create(ExtensionRangeOptions_DeclarationSchema)` to create a new message.
|
|
302
489
|
*/
|
|
303
|
-
export declare const
|
|
490
|
+
export declare const ExtensionRangeOptions_DeclarationSchema: GenDescMessage<ExtensionRangeOptions_Declaration, ExtensionRangeOptions_DeclarationJson>;
|
|
304
491
|
/**
|
|
305
492
|
* The verification state of the extension range.
|
|
306
493
|
*
|
|
@@ -318,10 +505,14 @@ export declare enum ExtensionRangeOptions_VerificationState {
|
|
|
318
505
|
*/
|
|
319
506
|
UNVERIFIED = 1
|
|
320
507
|
}
|
|
508
|
+
/**
|
|
509
|
+
* JSON type for the enum google.protobuf.ExtensionRangeOptions.VerificationState.
|
|
510
|
+
*/
|
|
511
|
+
export type ExtensionRangeOptions_VerificationStateJson = "DECLARATION" | "UNVERIFIED";
|
|
321
512
|
/**
|
|
322
513
|
* Describes the enum google.protobuf.ExtensionRangeOptions.VerificationState.
|
|
323
514
|
*/
|
|
324
|
-
export declare const
|
|
515
|
+
export declare const ExtensionRangeOptions_VerificationStateSchema: GenDescEnum<ExtensionRangeOptions_VerificationState, ExtensionRangeOptions_VerificationStateJson>;
|
|
325
516
|
/**
|
|
326
517
|
* Describes a field within a message.
|
|
327
518
|
*
|
|
@@ -420,11 +611,60 @@ export type FieldDescriptorProto = Message<"google.protobuf.FieldDescriptorProto
|
|
|
420
611
|
*/
|
|
421
612
|
proto3Optional: boolean;
|
|
422
613
|
};
|
|
614
|
+
/**
|
|
615
|
+
* JSON type for the message google.protobuf.FieldDescriptorProto.
|
|
616
|
+
*/
|
|
617
|
+
export type FieldDescriptorProtoJson = {
|
|
618
|
+
/**
|
|
619
|
+
* @generated from field: optional string name = 1;
|
|
620
|
+
*/
|
|
621
|
+
name?: string;
|
|
622
|
+
/**
|
|
623
|
+
* @generated from field: optional int32 number = 3;
|
|
624
|
+
*/
|
|
625
|
+
number?: number;
|
|
626
|
+
/**
|
|
627
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
|
|
628
|
+
*/
|
|
629
|
+
label?: FieldDescriptorProto_LabelJson;
|
|
630
|
+
/**
|
|
631
|
+
* @generated from field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
|
|
632
|
+
*/
|
|
633
|
+
type?: FieldDescriptorProto_TypeJson;
|
|
634
|
+
/**
|
|
635
|
+
* @generated from field: optional string type_name = 6;
|
|
636
|
+
*/
|
|
637
|
+
typeName?: string;
|
|
638
|
+
/**
|
|
639
|
+
* @generated from field: optional string extendee = 2;
|
|
640
|
+
*/
|
|
641
|
+
extendee?: string;
|
|
642
|
+
/**
|
|
643
|
+
* @generated from field: optional string default_value = 7;
|
|
644
|
+
*/
|
|
645
|
+
defaultValue?: string;
|
|
646
|
+
/**
|
|
647
|
+
* @generated from field: optional int32 oneof_index = 9;
|
|
648
|
+
*/
|
|
649
|
+
oneofIndex?: number;
|
|
650
|
+
/**
|
|
651
|
+
* @generated from field: optional string json_name = 10;
|
|
652
|
+
*/
|
|
653
|
+
jsonName?: string;
|
|
654
|
+
/**
|
|
655
|
+
* @generated from field: optional google.protobuf.FieldOptions options = 8;
|
|
656
|
+
*/
|
|
657
|
+
options?: FieldOptionsJson;
|
|
658
|
+
/**
|
|
659
|
+
* @generated from field: optional bool proto3_optional = 17;
|
|
660
|
+
*/
|
|
661
|
+
proto3Optional?: boolean;
|
|
662
|
+
};
|
|
423
663
|
/**
|
|
424
664
|
* Describes the message google.protobuf.FieldDescriptorProto.
|
|
425
|
-
* Use `create(
|
|
665
|
+
* Use `create(FieldDescriptorProtoSchema)` to create a new message.
|
|
426
666
|
*/
|
|
427
|
-
export declare const
|
|
667
|
+
export declare const FieldDescriptorProtoSchema: GenDescMessage<FieldDescriptorProto, FieldDescriptorProtoJson>;
|
|
428
668
|
/**
|
|
429
669
|
* @generated from enum google.protobuf.FieldDescriptorProto.Type
|
|
430
670
|
*/
|
|
@@ -525,10 +765,14 @@ export declare enum FieldDescriptorProto_Type {
|
|
|
525
765
|
*/
|
|
526
766
|
SINT64 = 18
|
|
527
767
|
}
|
|
768
|
+
/**
|
|
769
|
+
* JSON type for the enum google.protobuf.FieldDescriptorProto.Type.
|
|
770
|
+
*/
|
|
771
|
+
export type FieldDescriptorProto_TypeJson = "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";
|
|
528
772
|
/**
|
|
529
773
|
* Describes the enum google.protobuf.FieldDescriptorProto.Type.
|
|
530
774
|
*/
|
|
531
|
-
export declare const
|
|
775
|
+
export declare const FieldDescriptorProto_TypeSchema: GenDescEnum<FieldDescriptorProto_Type, FieldDescriptorProto_TypeJson>;
|
|
532
776
|
/**
|
|
533
777
|
* @generated from enum google.protobuf.FieldDescriptorProto.Label
|
|
534
778
|
*/
|
|
@@ -552,10 +796,14 @@ export declare enum FieldDescriptorProto_Label {
|
|
|
552
796
|
*/
|
|
553
797
|
REQUIRED = 2
|
|
554
798
|
}
|
|
799
|
+
/**
|
|
800
|
+
* JSON type for the enum google.protobuf.FieldDescriptorProto.Label.
|
|
801
|
+
*/
|
|
802
|
+
export type FieldDescriptorProto_LabelJson = "LABEL_OPTIONAL" | "LABEL_REPEATED" | "LABEL_REQUIRED";
|
|
555
803
|
/**
|
|
556
804
|
* Describes the enum google.protobuf.FieldDescriptorProto.Label.
|
|
557
805
|
*/
|
|
558
|
-
export declare const
|
|
806
|
+
export declare const FieldDescriptorProto_LabelSchema: GenDescEnum<FieldDescriptorProto_Label, FieldDescriptorProto_LabelJson>;
|
|
559
807
|
/**
|
|
560
808
|
* Describes a oneof.
|
|
561
809
|
*
|
|
@@ -571,11 +819,24 @@ export type OneofDescriptorProto = Message<"google.protobuf.OneofDescriptorProto
|
|
|
571
819
|
*/
|
|
572
820
|
options?: OneofOptions;
|
|
573
821
|
};
|
|
822
|
+
/**
|
|
823
|
+
* JSON type for the message google.protobuf.OneofDescriptorProto.
|
|
824
|
+
*/
|
|
825
|
+
export type OneofDescriptorProtoJson = {
|
|
826
|
+
/**
|
|
827
|
+
* @generated from field: optional string name = 1;
|
|
828
|
+
*/
|
|
829
|
+
name?: string;
|
|
830
|
+
/**
|
|
831
|
+
* @generated from field: optional google.protobuf.OneofOptions options = 2;
|
|
832
|
+
*/
|
|
833
|
+
options?: OneofOptionsJson;
|
|
834
|
+
};
|
|
574
835
|
/**
|
|
575
836
|
* Describes the message google.protobuf.OneofDescriptorProto.
|
|
576
|
-
* Use `create(
|
|
837
|
+
* Use `create(OneofDescriptorProtoSchema)` to create a new message.
|
|
577
838
|
*/
|
|
578
|
-
export declare const
|
|
839
|
+
export declare const OneofDescriptorProtoSchema: GenDescMessage<OneofDescriptorProto, OneofDescriptorProtoJson>;
|
|
579
840
|
/**
|
|
580
841
|
* Describes an enum type.
|
|
581
842
|
*
|
|
@@ -610,11 +871,36 @@ export type EnumDescriptorProto = Message<"google.protobuf.EnumDescriptorProto">
|
|
|
610
871
|
*/
|
|
611
872
|
reservedName: string[];
|
|
612
873
|
};
|
|
874
|
+
/**
|
|
875
|
+
* JSON type for the message google.protobuf.EnumDescriptorProto.
|
|
876
|
+
*/
|
|
877
|
+
export type EnumDescriptorProtoJson = {
|
|
878
|
+
/**
|
|
879
|
+
* @generated from field: optional string name = 1;
|
|
880
|
+
*/
|
|
881
|
+
name?: string;
|
|
882
|
+
/**
|
|
883
|
+
* @generated from field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
|
|
884
|
+
*/
|
|
885
|
+
value?: EnumValueDescriptorProtoJson[];
|
|
886
|
+
/**
|
|
887
|
+
* @generated from field: optional google.protobuf.EnumOptions options = 3;
|
|
888
|
+
*/
|
|
889
|
+
options?: EnumOptionsJson;
|
|
890
|
+
/**
|
|
891
|
+
* @generated from field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
|
|
892
|
+
*/
|
|
893
|
+
reservedRange?: EnumDescriptorProto_EnumReservedRangeJson[];
|
|
894
|
+
/**
|
|
895
|
+
* @generated from field: repeated string reserved_name = 5;
|
|
896
|
+
*/
|
|
897
|
+
reservedName?: string[];
|
|
898
|
+
};
|
|
613
899
|
/**
|
|
614
900
|
* Describes the message google.protobuf.EnumDescriptorProto.
|
|
615
|
-
* Use `create(
|
|
901
|
+
* Use `create(EnumDescriptorProtoSchema)` to create a new message.
|
|
616
902
|
*/
|
|
617
|
-
export declare const
|
|
903
|
+
export declare const EnumDescriptorProtoSchema: GenDescMessage<EnumDescriptorProto, EnumDescriptorProtoJson>;
|
|
618
904
|
/**
|
|
619
905
|
* Range of reserved numeric values. Reserved values may not be used by
|
|
620
906
|
* entries in the same enum. Reserved ranges may not overlap.
|
|
@@ -639,11 +925,24 @@ export type EnumDescriptorProto_EnumReservedRange = Message<"google.protobuf.Enu
|
|
|
639
925
|
*/
|
|
640
926
|
end: number;
|
|
641
927
|
};
|
|
928
|
+
/**
|
|
929
|
+
* JSON type for the message google.protobuf.EnumDescriptorProto.EnumReservedRange.
|
|
930
|
+
*/
|
|
931
|
+
export type EnumDescriptorProto_EnumReservedRangeJson = {
|
|
932
|
+
/**
|
|
933
|
+
* @generated from field: optional int32 start = 1;
|
|
934
|
+
*/
|
|
935
|
+
start?: number;
|
|
936
|
+
/**
|
|
937
|
+
* @generated from field: optional int32 end = 2;
|
|
938
|
+
*/
|
|
939
|
+
end?: number;
|
|
940
|
+
};
|
|
642
941
|
/**
|
|
643
942
|
* Describes the message google.protobuf.EnumDescriptorProto.EnumReservedRange.
|
|
644
|
-
* Use `create(
|
|
943
|
+
* Use `create(EnumDescriptorProto_EnumReservedRangeSchema)` to create a new message.
|
|
645
944
|
*/
|
|
646
|
-
export declare const
|
|
945
|
+
export declare const EnumDescriptorProto_EnumReservedRangeSchema: GenDescMessage<EnumDescriptorProto_EnumReservedRange, EnumDescriptorProto_EnumReservedRangeJson>;
|
|
647
946
|
/**
|
|
648
947
|
* Describes a value within an enum.
|
|
649
948
|
*
|
|
@@ -663,11 +962,28 @@ export type EnumValueDescriptorProto = Message<"google.protobuf.EnumValueDescrip
|
|
|
663
962
|
*/
|
|
664
963
|
options?: EnumValueOptions;
|
|
665
964
|
};
|
|
965
|
+
/**
|
|
966
|
+
* JSON type for the message google.protobuf.EnumValueDescriptorProto.
|
|
967
|
+
*/
|
|
968
|
+
export type EnumValueDescriptorProtoJson = {
|
|
969
|
+
/**
|
|
970
|
+
* @generated from field: optional string name = 1;
|
|
971
|
+
*/
|
|
972
|
+
name?: string;
|
|
973
|
+
/**
|
|
974
|
+
* @generated from field: optional int32 number = 2;
|
|
975
|
+
*/
|
|
976
|
+
number?: number;
|
|
977
|
+
/**
|
|
978
|
+
* @generated from field: optional google.protobuf.EnumValueOptions options = 3;
|
|
979
|
+
*/
|
|
980
|
+
options?: EnumValueOptionsJson;
|
|
981
|
+
};
|
|
666
982
|
/**
|
|
667
983
|
* Describes the message google.protobuf.EnumValueDescriptorProto.
|
|
668
|
-
* Use `create(
|
|
984
|
+
* Use `create(EnumValueDescriptorProtoSchema)` to create a new message.
|
|
669
985
|
*/
|
|
670
|
-
export declare const
|
|
986
|
+
export declare const EnumValueDescriptorProtoSchema: GenDescMessage<EnumValueDescriptorProto, EnumValueDescriptorProtoJson>;
|
|
671
987
|
/**
|
|
672
988
|
* Describes a service.
|
|
673
989
|
*
|
|
@@ -687,11 +1003,28 @@ export type ServiceDescriptorProto = Message<"google.protobuf.ServiceDescriptorP
|
|
|
687
1003
|
*/
|
|
688
1004
|
options?: ServiceOptions;
|
|
689
1005
|
};
|
|
1006
|
+
/**
|
|
1007
|
+
* JSON type for the message google.protobuf.ServiceDescriptorProto.
|
|
1008
|
+
*/
|
|
1009
|
+
export type ServiceDescriptorProtoJson = {
|
|
1010
|
+
/**
|
|
1011
|
+
* @generated from field: optional string name = 1;
|
|
1012
|
+
*/
|
|
1013
|
+
name?: string;
|
|
1014
|
+
/**
|
|
1015
|
+
* @generated from field: repeated google.protobuf.MethodDescriptorProto method = 2;
|
|
1016
|
+
*/
|
|
1017
|
+
method?: MethodDescriptorProtoJson[];
|
|
1018
|
+
/**
|
|
1019
|
+
* @generated from field: optional google.protobuf.ServiceOptions options = 3;
|
|
1020
|
+
*/
|
|
1021
|
+
options?: ServiceOptionsJson;
|
|
1022
|
+
};
|
|
690
1023
|
/**
|
|
691
1024
|
* Describes the message google.protobuf.ServiceDescriptorProto.
|
|
692
|
-
* Use `create(
|
|
1025
|
+
* Use `create(ServiceDescriptorProtoSchema)` to create a new message.
|
|
693
1026
|
*/
|
|
694
|
-
export declare const
|
|
1027
|
+
export declare const ServiceDescriptorProtoSchema: GenDescMessage<ServiceDescriptorProto, ServiceDescriptorProtoJson>;
|
|
695
1028
|
/**
|
|
696
1029
|
* Describes a method of a service.
|
|
697
1030
|
*
|
|
@@ -730,11 +1063,40 @@ export type MethodDescriptorProto = Message<"google.protobuf.MethodDescriptorPro
|
|
|
730
1063
|
*/
|
|
731
1064
|
serverStreaming: boolean;
|
|
732
1065
|
};
|
|
1066
|
+
/**
|
|
1067
|
+
* JSON type for the message google.protobuf.MethodDescriptorProto.
|
|
1068
|
+
*/
|
|
1069
|
+
export type MethodDescriptorProtoJson = {
|
|
1070
|
+
/**
|
|
1071
|
+
* @generated from field: optional string name = 1;
|
|
1072
|
+
*/
|
|
1073
|
+
name?: string;
|
|
1074
|
+
/**
|
|
1075
|
+
* @generated from field: optional string input_type = 2;
|
|
1076
|
+
*/
|
|
1077
|
+
inputType?: string;
|
|
1078
|
+
/**
|
|
1079
|
+
* @generated from field: optional string output_type = 3;
|
|
1080
|
+
*/
|
|
1081
|
+
outputType?: string;
|
|
1082
|
+
/**
|
|
1083
|
+
* @generated from field: optional google.protobuf.MethodOptions options = 4;
|
|
1084
|
+
*/
|
|
1085
|
+
options?: MethodOptionsJson;
|
|
1086
|
+
/**
|
|
1087
|
+
* @generated from field: optional bool client_streaming = 5 [default = false];
|
|
1088
|
+
*/
|
|
1089
|
+
clientStreaming?: boolean;
|
|
1090
|
+
/**
|
|
1091
|
+
* @generated from field: optional bool server_streaming = 6 [default = false];
|
|
1092
|
+
*/
|
|
1093
|
+
serverStreaming?: boolean;
|
|
1094
|
+
};
|
|
733
1095
|
/**
|
|
734
1096
|
* Describes the message google.protobuf.MethodDescriptorProto.
|
|
735
|
-
* Use `create(
|
|
1097
|
+
* Use `create(MethodDescriptorProtoSchema)` to create a new message.
|
|
736
1098
|
*/
|
|
737
|
-
export declare const
|
|
1099
|
+
export declare const MethodDescriptorProtoSchema: GenDescMessage<MethodDescriptorProto, MethodDescriptorProtoJson>;
|
|
738
1100
|
/**
|
|
739
1101
|
* @generated from message google.protobuf.FileOptions
|
|
740
1102
|
*/
|
|
@@ -911,11 +1273,100 @@ export type FileOptions = Message<"google.protobuf.FileOptions"> & {
|
|
|
911
1273
|
*/
|
|
912
1274
|
uninterpretedOption: UninterpretedOption[];
|
|
913
1275
|
};
|
|
1276
|
+
/**
|
|
1277
|
+
* JSON type for the message google.protobuf.FileOptions.
|
|
1278
|
+
*/
|
|
1279
|
+
export type FileOptionsJson = {
|
|
1280
|
+
/**
|
|
1281
|
+
* @generated from field: optional string java_package = 1;
|
|
1282
|
+
*/
|
|
1283
|
+
javaPackage?: string;
|
|
1284
|
+
/**
|
|
1285
|
+
* @generated from field: optional string java_outer_classname = 8;
|
|
1286
|
+
*/
|
|
1287
|
+
javaOuterClassname?: string;
|
|
1288
|
+
/**
|
|
1289
|
+
* @generated from field: optional bool java_multiple_files = 10 [default = false];
|
|
1290
|
+
*/
|
|
1291
|
+
javaMultipleFiles?: boolean;
|
|
1292
|
+
/**
|
|
1293
|
+
* @generated from field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
|
|
1294
|
+
*/
|
|
1295
|
+
javaGenerateEqualsAndHash?: boolean;
|
|
1296
|
+
/**
|
|
1297
|
+
* @generated from field: optional bool java_string_check_utf8 = 27 [default = false];
|
|
1298
|
+
*/
|
|
1299
|
+
javaStringCheckUtf8?: boolean;
|
|
1300
|
+
/**
|
|
1301
|
+
* @generated from field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9 [default = SPEED];
|
|
1302
|
+
*/
|
|
1303
|
+
optimizeFor?: FileOptions_OptimizeModeJson;
|
|
1304
|
+
/**
|
|
1305
|
+
* @generated from field: optional string go_package = 11;
|
|
1306
|
+
*/
|
|
1307
|
+
goPackage?: string;
|
|
1308
|
+
/**
|
|
1309
|
+
* @generated from field: optional bool cc_generic_services = 16 [default = false];
|
|
1310
|
+
*/
|
|
1311
|
+
ccGenericServices?: boolean;
|
|
1312
|
+
/**
|
|
1313
|
+
* @generated from field: optional bool java_generic_services = 17 [default = false];
|
|
1314
|
+
*/
|
|
1315
|
+
javaGenericServices?: boolean;
|
|
1316
|
+
/**
|
|
1317
|
+
* @generated from field: optional bool py_generic_services = 18 [default = false];
|
|
1318
|
+
*/
|
|
1319
|
+
pyGenericServices?: boolean;
|
|
1320
|
+
/**
|
|
1321
|
+
* @generated from field: optional bool deprecated = 23 [default = false];
|
|
1322
|
+
*/
|
|
1323
|
+
deprecated?: boolean;
|
|
1324
|
+
/**
|
|
1325
|
+
* @generated from field: optional bool cc_enable_arenas = 31 [default = true];
|
|
1326
|
+
*/
|
|
1327
|
+
ccEnableArenas?: boolean;
|
|
1328
|
+
/**
|
|
1329
|
+
* @generated from field: optional string objc_class_prefix = 36;
|
|
1330
|
+
*/
|
|
1331
|
+
objcClassPrefix?: string;
|
|
1332
|
+
/**
|
|
1333
|
+
* @generated from field: optional string csharp_namespace = 37;
|
|
1334
|
+
*/
|
|
1335
|
+
csharpNamespace?: string;
|
|
1336
|
+
/**
|
|
1337
|
+
* @generated from field: optional string swift_prefix = 39;
|
|
1338
|
+
*/
|
|
1339
|
+
swiftPrefix?: string;
|
|
1340
|
+
/**
|
|
1341
|
+
* @generated from field: optional string php_class_prefix = 40;
|
|
1342
|
+
*/
|
|
1343
|
+
phpClassPrefix?: string;
|
|
1344
|
+
/**
|
|
1345
|
+
* @generated from field: optional string php_namespace = 41;
|
|
1346
|
+
*/
|
|
1347
|
+
phpNamespace?: string;
|
|
1348
|
+
/**
|
|
1349
|
+
* @generated from field: optional string php_metadata_namespace = 44;
|
|
1350
|
+
*/
|
|
1351
|
+
phpMetadataNamespace?: string;
|
|
1352
|
+
/**
|
|
1353
|
+
* @generated from field: optional string ruby_package = 45;
|
|
1354
|
+
*/
|
|
1355
|
+
rubyPackage?: string;
|
|
1356
|
+
/**
|
|
1357
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 50;
|
|
1358
|
+
*/
|
|
1359
|
+
features?: FeatureSetJson;
|
|
1360
|
+
/**
|
|
1361
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1362
|
+
*/
|
|
1363
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
1364
|
+
};
|
|
914
1365
|
/**
|
|
915
1366
|
* Describes the message google.protobuf.FileOptions.
|
|
916
|
-
* Use `create(
|
|
1367
|
+
* Use `create(FileOptionsSchema)` to create a new message.
|
|
917
1368
|
*/
|
|
918
|
-
export declare const
|
|
1369
|
+
export declare const FileOptionsSchema: GenDescMessage<FileOptions, FileOptionsJson>;
|
|
919
1370
|
/**
|
|
920
1371
|
* Generated classes can be optimized for speed or code size.
|
|
921
1372
|
*
|
|
@@ -943,10 +1394,14 @@ export declare enum FileOptions_OptimizeMode {
|
|
|
943
1394
|
*/
|
|
944
1395
|
LITE_RUNTIME = 3
|
|
945
1396
|
}
|
|
1397
|
+
/**
|
|
1398
|
+
* JSON type for the enum google.protobuf.FileOptions.OptimizeMode.
|
|
1399
|
+
*/
|
|
1400
|
+
export type FileOptions_OptimizeModeJson = "SPEED" | "CODE_SIZE" | "LITE_RUNTIME";
|
|
946
1401
|
/**
|
|
947
1402
|
* Describes the enum google.protobuf.FileOptions.OptimizeMode.
|
|
948
1403
|
*/
|
|
949
|
-
export declare const
|
|
1404
|
+
export declare const FileOptions_OptimizeModeSchema: GenDescEnum<FileOptions_OptimizeMode, FileOptions_OptimizeModeJson>;
|
|
950
1405
|
/**
|
|
951
1406
|
* @generated from message google.protobuf.MessageOptions
|
|
952
1407
|
*/
|
|
@@ -1046,11 +1501,44 @@ export type MessageOptions = Message<"google.protobuf.MessageOptions"> & {
|
|
|
1046
1501
|
*/
|
|
1047
1502
|
uninterpretedOption: UninterpretedOption[];
|
|
1048
1503
|
};
|
|
1504
|
+
/**
|
|
1505
|
+
* JSON type for the message google.protobuf.MessageOptions.
|
|
1506
|
+
*/
|
|
1507
|
+
export type MessageOptionsJson = {
|
|
1508
|
+
/**
|
|
1509
|
+
* @generated from field: optional bool message_set_wire_format = 1 [default = false];
|
|
1510
|
+
*/
|
|
1511
|
+
messageSetWireFormat?: boolean;
|
|
1512
|
+
/**
|
|
1513
|
+
* @generated from field: optional bool no_standard_descriptor_accessor = 2 [default = false];
|
|
1514
|
+
*/
|
|
1515
|
+
noStandardDescriptorAccessor?: boolean;
|
|
1516
|
+
/**
|
|
1517
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1518
|
+
*/
|
|
1519
|
+
deprecated?: boolean;
|
|
1520
|
+
/**
|
|
1521
|
+
* @generated from field: optional bool map_entry = 7;
|
|
1522
|
+
*/
|
|
1523
|
+
mapEntry?: boolean;
|
|
1524
|
+
/**
|
|
1525
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
|
|
1526
|
+
*/
|
|
1527
|
+
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
1528
|
+
/**
|
|
1529
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 12;
|
|
1530
|
+
*/
|
|
1531
|
+
features?: FeatureSetJson;
|
|
1532
|
+
/**
|
|
1533
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1534
|
+
*/
|
|
1535
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
1536
|
+
};
|
|
1049
1537
|
/**
|
|
1050
1538
|
* Describes the message google.protobuf.MessageOptions.
|
|
1051
|
-
* Use `create(
|
|
1539
|
+
* Use `create(MessageOptionsSchema)` to create a new message.
|
|
1052
1540
|
*/
|
|
1053
|
-
export declare const
|
|
1541
|
+
export declare const MessageOptionsSchema: GenDescMessage<MessageOptions, MessageOptionsJson>;
|
|
1054
1542
|
/**
|
|
1055
1543
|
* @generated from message google.protobuf.FieldOptions
|
|
1056
1544
|
*/
|
|
@@ -1162,29 +1650,90 @@ export type FieldOptions = Message<"google.protobuf.FieldOptions"> & {
|
|
|
1162
1650
|
/**
|
|
1163
1651
|
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
|
|
1164
1652
|
*/
|
|
1165
|
-
editionDefaults: FieldOptions_EditionDefault[];
|
|
1653
|
+
editionDefaults: FieldOptions_EditionDefault[];
|
|
1654
|
+
/**
|
|
1655
|
+
* Any features defined in the specific edition.
|
|
1656
|
+
*
|
|
1657
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 21;
|
|
1658
|
+
*/
|
|
1659
|
+
features?: FeatureSet;
|
|
1660
|
+
/**
|
|
1661
|
+
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
|
|
1662
|
+
*/
|
|
1663
|
+
featureSupport?: FieldOptions_FeatureSupport;
|
|
1664
|
+
/**
|
|
1665
|
+
* The parser stores options it doesn't recognize here. See above.
|
|
1666
|
+
*
|
|
1667
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1668
|
+
*/
|
|
1669
|
+
uninterpretedOption: UninterpretedOption[];
|
|
1670
|
+
};
|
|
1671
|
+
/**
|
|
1672
|
+
* JSON type for the message google.protobuf.FieldOptions.
|
|
1673
|
+
*/
|
|
1674
|
+
export type FieldOptionsJson = {
|
|
1675
|
+
/**
|
|
1676
|
+
* @generated from field: optional google.protobuf.FieldOptions.CType ctype = 1 [default = STRING];
|
|
1677
|
+
*/
|
|
1678
|
+
ctype?: FieldOptions_CTypeJson;
|
|
1679
|
+
/**
|
|
1680
|
+
* @generated from field: optional bool packed = 2;
|
|
1681
|
+
*/
|
|
1682
|
+
packed?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* @generated from field: optional google.protobuf.FieldOptions.JSType jstype = 6 [default = JS_NORMAL];
|
|
1685
|
+
*/
|
|
1686
|
+
jstype?: FieldOptions_JSTypeJson;
|
|
1687
|
+
/**
|
|
1688
|
+
* @generated from field: optional bool lazy = 5 [default = false];
|
|
1689
|
+
*/
|
|
1690
|
+
lazy?: boolean;
|
|
1691
|
+
/**
|
|
1692
|
+
* @generated from field: optional bool unverified_lazy = 15 [default = false];
|
|
1693
|
+
*/
|
|
1694
|
+
unverifiedLazy?: boolean;
|
|
1695
|
+
/**
|
|
1696
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
1697
|
+
*/
|
|
1698
|
+
deprecated?: boolean;
|
|
1699
|
+
/**
|
|
1700
|
+
* @generated from field: optional bool weak = 10 [default = false];
|
|
1701
|
+
*/
|
|
1702
|
+
weak?: boolean;
|
|
1703
|
+
/**
|
|
1704
|
+
* @generated from field: optional bool debug_redact = 16 [default = false];
|
|
1705
|
+
*/
|
|
1706
|
+
debugRedact?: boolean;
|
|
1707
|
+
/**
|
|
1708
|
+
* @generated from field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
|
|
1709
|
+
*/
|
|
1710
|
+
retention?: FieldOptions_OptionRetentionJson;
|
|
1711
|
+
/**
|
|
1712
|
+
* @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
|
|
1713
|
+
*/
|
|
1714
|
+
targets?: FieldOptions_OptionTargetTypeJson[];
|
|
1715
|
+
/**
|
|
1716
|
+
* @generated from field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
|
|
1717
|
+
*/
|
|
1718
|
+
editionDefaults?: FieldOptions_EditionDefaultJson[];
|
|
1166
1719
|
/**
|
|
1167
|
-
* Any features defined in the specific edition.
|
|
1168
|
-
*
|
|
1169
1720
|
* @generated from field: optional google.protobuf.FeatureSet features = 21;
|
|
1170
1721
|
*/
|
|
1171
|
-
features?:
|
|
1722
|
+
features?: FeatureSetJson;
|
|
1172
1723
|
/**
|
|
1173
1724
|
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
|
|
1174
1725
|
*/
|
|
1175
|
-
featureSupport?:
|
|
1726
|
+
featureSupport?: FieldOptions_FeatureSupportJson;
|
|
1176
1727
|
/**
|
|
1177
|
-
* The parser stores options it doesn't recognize here. See above.
|
|
1178
|
-
*
|
|
1179
1728
|
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
1180
1729
|
*/
|
|
1181
|
-
uninterpretedOption
|
|
1730
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
1182
1731
|
};
|
|
1183
1732
|
/**
|
|
1184
1733
|
* Describes the message google.protobuf.FieldOptions.
|
|
1185
|
-
* Use `create(
|
|
1734
|
+
* Use `create(FieldOptionsSchema)` to create a new message.
|
|
1186
1735
|
*/
|
|
1187
|
-
export declare const
|
|
1736
|
+
export declare const FieldOptionsSchema: GenDescMessage<FieldOptions, FieldOptionsJson>;
|
|
1188
1737
|
/**
|
|
1189
1738
|
* @generated from message google.protobuf.FieldOptions.EditionDefault
|
|
1190
1739
|
*/
|
|
@@ -1200,11 +1749,24 @@ export type FieldOptions_EditionDefault = Message<"google.protobuf.FieldOptions.
|
|
|
1200
1749
|
*/
|
|
1201
1750
|
value: string;
|
|
1202
1751
|
};
|
|
1752
|
+
/**
|
|
1753
|
+
* JSON type for the message google.protobuf.FieldOptions.EditionDefault.
|
|
1754
|
+
*/
|
|
1755
|
+
export type FieldOptions_EditionDefaultJson = {
|
|
1756
|
+
/**
|
|
1757
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
1758
|
+
*/
|
|
1759
|
+
edition?: EditionJson;
|
|
1760
|
+
/**
|
|
1761
|
+
* @generated from field: optional string value = 2;
|
|
1762
|
+
*/
|
|
1763
|
+
value?: string;
|
|
1764
|
+
};
|
|
1203
1765
|
/**
|
|
1204
1766
|
* Describes the message google.protobuf.FieldOptions.EditionDefault.
|
|
1205
|
-
* Use `create(
|
|
1767
|
+
* Use `create(FieldOptions_EditionDefaultSchema)` to create a new message.
|
|
1206
1768
|
*/
|
|
1207
|
-
export declare const
|
|
1769
|
+
export declare const FieldOptions_EditionDefaultSchema: GenDescMessage<FieldOptions_EditionDefault, FieldOptions_EditionDefaultJson>;
|
|
1208
1770
|
/**
|
|
1209
1771
|
* Information about the support window of a feature.
|
|
1210
1772
|
*
|
|
@@ -1242,11 +1804,32 @@ export type FieldOptions_FeatureSupport = Message<"google.protobuf.FieldOptions.
|
|
|
1242
1804
|
*/
|
|
1243
1805
|
editionRemoved: Edition;
|
|
1244
1806
|
};
|
|
1807
|
+
/**
|
|
1808
|
+
* JSON type for the message google.protobuf.FieldOptions.FeatureSupport.
|
|
1809
|
+
*/
|
|
1810
|
+
export type FieldOptions_FeatureSupportJson = {
|
|
1811
|
+
/**
|
|
1812
|
+
* @generated from field: optional google.protobuf.Edition edition_introduced = 1;
|
|
1813
|
+
*/
|
|
1814
|
+
editionIntroduced?: EditionJson;
|
|
1815
|
+
/**
|
|
1816
|
+
* @generated from field: optional google.protobuf.Edition edition_deprecated = 2;
|
|
1817
|
+
*/
|
|
1818
|
+
editionDeprecated?: EditionJson;
|
|
1819
|
+
/**
|
|
1820
|
+
* @generated from field: optional string deprecation_warning = 3;
|
|
1821
|
+
*/
|
|
1822
|
+
deprecationWarning?: string;
|
|
1823
|
+
/**
|
|
1824
|
+
* @generated from field: optional google.protobuf.Edition edition_removed = 4;
|
|
1825
|
+
*/
|
|
1826
|
+
editionRemoved?: EditionJson;
|
|
1827
|
+
};
|
|
1245
1828
|
/**
|
|
1246
1829
|
* Describes the message google.protobuf.FieldOptions.FeatureSupport.
|
|
1247
|
-
* Use `create(
|
|
1830
|
+
* Use `create(FieldOptions_FeatureSupportSchema)` to create a new message.
|
|
1248
1831
|
*/
|
|
1249
|
-
export declare const
|
|
1832
|
+
export declare const FieldOptions_FeatureSupportSchema: GenDescMessage<FieldOptions_FeatureSupport, FieldOptions_FeatureSupportJson>;
|
|
1250
1833
|
/**
|
|
1251
1834
|
* @generated from enum google.protobuf.FieldOptions.CType
|
|
1252
1835
|
*/
|
|
@@ -1273,10 +1856,14 @@ export declare enum FieldOptions_CType {
|
|
|
1273
1856
|
*/
|
|
1274
1857
|
STRING_PIECE = 2
|
|
1275
1858
|
}
|
|
1859
|
+
/**
|
|
1860
|
+
* JSON type for the enum google.protobuf.FieldOptions.CType.
|
|
1861
|
+
*/
|
|
1862
|
+
export type FieldOptions_CTypeJson = "STRING" | "CORD" | "STRING_PIECE";
|
|
1276
1863
|
/**
|
|
1277
1864
|
* Describes the enum google.protobuf.FieldOptions.CType.
|
|
1278
1865
|
*/
|
|
1279
|
-
export declare const
|
|
1866
|
+
export declare const FieldOptions_CTypeSchema: GenDescEnum<FieldOptions_CType, FieldOptions_CTypeJson>;
|
|
1280
1867
|
/**
|
|
1281
1868
|
* @generated from enum google.protobuf.FieldOptions.JSType
|
|
1282
1869
|
*/
|
|
@@ -1300,10 +1887,14 @@ export declare enum FieldOptions_JSType {
|
|
|
1300
1887
|
*/
|
|
1301
1888
|
JS_NUMBER = 2
|
|
1302
1889
|
}
|
|
1890
|
+
/**
|
|
1891
|
+
* JSON type for the enum google.protobuf.FieldOptions.JSType.
|
|
1892
|
+
*/
|
|
1893
|
+
export type FieldOptions_JSTypeJson = "JS_NORMAL" | "JS_STRING" | "JS_NUMBER";
|
|
1303
1894
|
/**
|
|
1304
1895
|
* Describes the enum google.protobuf.FieldOptions.JSType.
|
|
1305
1896
|
*/
|
|
1306
|
-
export declare const
|
|
1897
|
+
export declare const FieldOptions_JSTypeSchema: GenDescEnum<FieldOptions_JSType, FieldOptions_JSTypeJson>;
|
|
1307
1898
|
/**
|
|
1308
1899
|
* If set to RETENTION_SOURCE, the option will be omitted from the binary.
|
|
1309
1900
|
* Note: as of January 2023, support for this is in progress and does not yet
|
|
@@ -1325,10 +1916,14 @@ export declare enum FieldOptions_OptionRetention {
|
|
|
1325
1916
|
*/
|
|
1326
1917
|
RETENTION_SOURCE = 2
|
|
1327
1918
|
}
|
|
1919
|
+
/**
|
|
1920
|
+
* JSON type for the enum google.protobuf.FieldOptions.OptionRetention.
|
|
1921
|
+
*/
|
|
1922
|
+
export type FieldOptions_OptionRetentionJson = "RETENTION_UNKNOWN" | "RETENTION_RUNTIME" | "RETENTION_SOURCE";
|
|
1328
1923
|
/**
|
|
1329
1924
|
* Describes the enum google.protobuf.FieldOptions.OptionRetention.
|
|
1330
1925
|
*/
|
|
1331
|
-
export declare const
|
|
1926
|
+
export declare const FieldOptions_OptionRetentionSchema: GenDescEnum<FieldOptions_OptionRetention, FieldOptions_OptionRetentionJson>;
|
|
1332
1927
|
/**
|
|
1333
1928
|
* This indicates the types of entities that the field may apply to when used
|
|
1334
1929
|
* as an option. If it is unset, then the field may be freely used as an
|
|
@@ -1379,10 +1974,14 @@ export declare enum FieldOptions_OptionTargetType {
|
|
|
1379
1974
|
*/
|
|
1380
1975
|
TARGET_TYPE_METHOD = 9
|
|
1381
1976
|
}
|
|
1977
|
+
/**
|
|
1978
|
+
* JSON type for the enum google.protobuf.FieldOptions.OptionTargetType.
|
|
1979
|
+
*/
|
|
1980
|
+
export type FieldOptions_OptionTargetTypeJson = "TARGET_TYPE_UNKNOWN" | "TARGET_TYPE_FILE" | "TARGET_TYPE_EXTENSION_RANGE" | "TARGET_TYPE_MESSAGE" | "TARGET_TYPE_FIELD" | "TARGET_TYPE_ONEOF" | "TARGET_TYPE_ENUM" | "TARGET_TYPE_ENUM_ENTRY" | "TARGET_TYPE_SERVICE" | "TARGET_TYPE_METHOD";
|
|
1382
1981
|
/**
|
|
1383
1982
|
* Describes the enum google.protobuf.FieldOptions.OptionTargetType.
|
|
1384
1983
|
*/
|
|
1385
|
-
export declare const
|
|
1984
|
+
export declare const FieldOptions_OptionTargetTypeSchema: GenDescEnum<FieldOptions_OptionTargetType, FieldOptions_OptionTargetTypeJson>;
|
|
1386
1985
|
/**
|
|
1387
1986
|
* @generated from message google.protobuf.OneofOptions
|
|
1388
1987
|
*/
|
|
@@ -1400,11 +1999,24 @@ export type OneofOptions = Message<"google.protobuf.OneofOptions"> & {
|
|
|
1400
1999
|
*/
|
|
1401
2000
|
uninterpretedOption: UninterpretedOption[];
|
|
1402
2001
|
};
|
|
2002
|
+
/**
|
|
2003
|
+
* JSON type for the message google.protobuf.OneofOptions.
|
|
2004
|
+
*/
|
|
2005
|
+
export type OneofOptionsJson = {
|
|
2006
|
+
/**
|
|
2007
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 1;
|
|
2008
|
+
*/
|
|
2009
|
+
features?: FeatureSetJson;
|
|
2010
|
+
/**
|
|
2011
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
2012
|
+
*/
|
|
2013
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
2014
|
+
};
|
|
1403
2015
|
/**
|
|
1404
2016
|
* Describes the message google.protobuf.OneofOptions.
|
|
1405
|
-
* Use `create(
|
|
2017
|
+
* Use `create(OneofOptionsSchema)` to create a new message.
|
|
1406
2018
|
*/
|
|
1407
|
-
export declare const
|
|
2019
|
+
export declare const OneofOptionsSchema: GenDescMessage<OneofOptions, OneofOptionsJson>;
|
|
1408
2020
|
/**
|
|
1409
2021
|
* @generated from message google.protobuf.EnumOptions
|
|
1410
2022
|
*/
|
|
@@ -1450,11 +2062,36 @@ export type EnumOptions = Message<"google.protobuf.EnumOptions"> & {
|
|
|
1450
2062
|
*/
|
|
1451
2063
|
uninterpretedOption: UninterpretedOption[];
|
|
1452
2064
|
};
|
|
2065
|
+
/**
|
|
2066
|
+
* JSON type for the message google.protobuf.EnumOptions.
|
|
2067
|
+
*/
|
|
2068
|
+
export type EnumOptionsJson = {
|
|
2069
|
+
/**
|
|
2070
|
+
* @generated from field: optional bool allow_alias = 2;
|
|
2071
|
+
*/
|
|
2072
|
+
allowAlias?: boolean;
|
|
2073
|
+
/**
|
|
2074
|
+
* @generated from field: optional bool deprecated = 3 [default = false];
|
|
2075
|
+
*/
|
|
2076
|
+
deprecated?: boolean;
|
|
2077
|
+
/**
|
|
2078
|
+
* @generated from field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
|
|
2079
|
+
*/
|
|
2080
|
+
deprecatedLegacyJsonFieldConflicts?: boolean;
|
|
2081
|
+
/**
|
|
2082
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 7;
|
|
2083
|
+
*/
|
|
2084
|
+
features?: FeatureSetJson;
|
|
2085
|
+
/**
|
|
2086
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
2087
|
+
*/
|
|
2088
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
2089
|
+
};
|
|
1453
2090
|
/**
|
|
1454
2091
|
* Describes the message google.protobuf.EnumOptions.
|
|
1455
|
-
* Use `create(
|
|
2092
|
+
* Use `create(EnumOptionsSchema)` to create a new message.
|
|
1456
2093
|
*/
|
|
1457
|
-
export declare const
|
|
2094
|
+
export declare const EnumOptionsSchema: GenDescMessage<EnumOptions, EnumOptionsJson>;
|
|
1458
2095
|
/**
|
|
1459
2096
|
* @generated from message google.protobuf.EnumValueOptions
|
|
1460
2097
|
*/
|
|
@@ -1495,11 +2132,36 @@ export type EnumValueOptions = Message<"google.protobuf.EnumValueOptions"> & {
|
|
|
1495
2132
|
*/
|
|
1496
2133
|
uninterpretedOption: UninterpretedOption[];
|
|
1497
2134
|
};
|
|
2135
|
+
/**
|
|
2136
|
+
* JSON type for the message google.protobuf.EnumValueOptions.
|
|
2137
|
+
*/
|
|
2138
|
+
export type EnumValueOptionsJson = {
|
|
2139
|
+
/**
|
|
2140
|
+
* @generated from field: optional bool deprecated = 1 [default = false];
|
|
2141
|
+
*/
|
|
2142
|
+
deprecated?: boolean;
|
|
2143
|
+
/**
|
|
2144
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 2;
|
|
2145
|
+
*/
|
|
2146
|
+
features?: FeatureSetJson;
|
|
2147
|
+
/**
|
|
2148
|
+
* @generated from field: optional bool debug_redact = 3 [default = false];
|
|
2149
|
+
*/
|
|
2150
|
+
debugRedact?: boolean;
|
|
2151
|
+
/**
|
|
2152
|
+
* @generated from field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
|
|
2153
|
+
*/
|
|
2154
|
+
featureSupport?: FieldOptions_FeatureSupportJson;
|
|
2155
|
+
/**
|
|
2156
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
2157
|
+
*/
|
|
2158
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
2159
|
+
};
|
|
1498
2160
|
/**
|
|
1499
2161
|
* Describes the message google.protobuf.EnumValueOptions.
|
|
1500
|
-
* Use `create(
|
|
2162
|
+
* Use `create(EnumValueOptionsSchema)` to create a new message.
|
|
1501
2163
|
*/
|
|
1502
|
-
export declare const
|
|
2164
|
+
export declare const EnumValueOptionsSchema: GenDescMessage<EnumValueOptions, EnumValueOptionsJson>;
|
|
1503
2165
|
/**
|
|
1504
2166
|
* @generated from message google.protobuf.ServiceOptions
|
|
1505
2167
|
*/
|
|
@@ -1526,11 +2188,28 @@ export type ServiceOptions = Message<"google.protobuf.ServiceOptions"> & {
|
|
|
1526
2188
|
*/
|
|
1527
2189
|
uninterpretedOption: UninterpretedOption[];
|
|
1528
2190
|
};
|
|
2191
|
+
/**
|
|
2192
|
+
* JSON type for the message google.protobuf.ServiceOptions.
|
|
2193
|
+
*/
|
|
2194
|
+
export type ServiceOptionsJson = {
|
|
2195
|
+
/**
|
|
2196
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 34;
|
|
2197
|
+
*/
|
|
2198
|
+
features?: FeatureSetJson;
|
|
2199
|
+
/**
|
|
2200
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
2201
|
+
*/
|
|
2202
|
+
deprecated?: boolean;
|
|
2203
|
+
/**
|
|
2204
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
2205
|
+
*/
|
|
2206
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
2207
|
+
};
|
|
1529
2208
|
/**
|
|
1530
2209
|
* Describes the message google.protobuf.ServiceOptions.
|
|
1531
|
-
* Use `create(
|
|
2210
|
+
* Use `create(ServiceOptionsSchema)` to create a new message.
|
|
1532
2211
|
*/
|
|
1533
|
-
export declare const
|
|
2212
|
+
export declare const ServiceOptionsSchema: GenDescMessage<ServiceOptions, ServiceOptionsJson>;
|
|
1534
2213
|
/**
|
|
1535
2214
|
* @generated from message google.protobuf.MethodOptions
|
|
1536
2215
|
*/
|
|
@@ -1561,11 +2240,32 @@ export type MethodOptions = Message<"google.protobuf.MethodOptions"> & {
|
|
|
1561
2240
|
*/
|
|
1562
2241
|
uninterpretedOption: UninterpretedOption[];
|
|
1563
2242
|
};
|
|
2243
|
+
/**
|
|
2244
|
+
* JSON type for the message google.protobuf.MethodOptions.
|
|
2245
|
+
*/
|
|
2246
|
+
export type MethodOptionsJson = {
|
|
2247
|
+
/**
|
|
2248
|
+
* @generated from field: optional bool deprecated = 33 [default = false];
|
|
2249
|
+
*/
|
|
2250
|
+
deprecated?: boolean;
|
|
2251
|
+
/**
|
|
2252
|
+
* @generated from field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34 [default = IDEMPOTENCY_UNKNOWN];
|
|
2253
|
+
*/
|
|
2254
|
+
idempotencyLevel?: MethodOptions_IdempotencyLevelJson;
|
|
2255
|
+
/**
|
|
2256
|
+
* @generated from field: optional google.protobuf.FeatureSet features = 35;
|
|
2257
|
+
*/
|
|
2258
|
+
features?: FeatureSetJson;
|
|
2259
|
+
/**
|
|
2260
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
|
|
2261
|
+
*/
|
|
2262
|
+
uninterpretedOption?: UninterpretedOptionJson[];
|
|
2263
|
+
};
|
|
1564
2264
|
/**
|
|
1565
2265
|
* Describes the message google.protobuf.MethodOptions.
|
|
1566
|
-
* Use `create(
|
|
2266
|
+
* Use `create(MethodOptionsSchema)` to create a new message.
|
|
1567
2267
|
*/
|
|
1568
|
-
export declare const
|
|
2268
|
+
export declare const MethodOptionsSchema: GenDescMessage<MethodOptions, MethodOptionsJson>;
|
|
1569
2269
|
/**
|
|
1570
2270
|
* Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
|
|
1571
2271
|
* or neither? HTTP based RPC implementation may choose GET verb for safe
|
|
@@ -1591,10 +2291,14 @@ export declare enum MethodOptions_IdempotencyLevel {
|
|
|
1591
2291
|
*/
|
|
1592
2292
|
IDEMPOTENT = 2
|
|
1593
2293
|
}
|
|
2294
|
+
/**
|
|
2295
|
+
* JSON type for the enum google.protobuf.MethodOptions.IdempotencyLevel.
|
|
2296
|
+
*/
|
|
2297
|
+
export type MethodOptions_IdempotencyLevelJson = "IDEMPOTENCY_UNKNOWN" | "NO_SIDE_EFFECTS" | "IDEMPOTENT";
|
|
1594
2298
|
/**
|
|
1595
2299
|
* Describes the enum google.protobuf.MethodOptions.IdempotencyLevel.
|
|
1596
2300
|
*/
|
|
1597
|
-
export declare const
|
|
2301
|
+
export declare const MethodOptions_IdempotencyLevelSchema: GenDescEnum<MethodOptions_IdempotencyLevel, MethodOptions_IdempotencyLevelJson>;
|
|
1598
2302
|
/**
|
|
1599
2303
|
* A message representing a option the parser does not recognize. This only
|
|
1600
2304
|
* appears in options protos created by the compiler::Parser class.
|
|
@@ -1638,11 +2342,44 @@ export type UninterpretedOption = Message<"google.protobuf.UninterpretedOption">
|
|
|
1638
2342
|
*/
|
|
1639
2343
|
aggregateValue: string;
|
|
1640
2344
|
};
|
|
2345
|
+
/**
|
|
2346
|
+
* JSON type for the message google.protobuf.UninterpretedOption.
|
|
2347
|
+
*/
|
|
2348
|
+
export type UninterpretedOptionJson = {
|
|
2349
|
+
/**
|
|
2350
|
+
* @generated from field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
|
|
2351
|
+
*/
|
|
2352
|
+
name?: UninterpretedOption_NamePartJson[];
|
|
2353
|
+
/**
|
|
2354
|
+
* @generated from field: optional string identifier_value = 3;
|
|
2355
|
+
*/
|
|
2356
|
+
identifierValue?: string;
|
|
2357
|
+
/**
|
|
2358
|
+
* @generated from field: optional uint64 positive_int_value = 4;
|
|
2359
|
+
*/
|
|
2360
|
+
positiveIntValue?: string;
|
|
2361
|
+
/**
|
|
2362
|
+
* @generated from field: optional int64 negative_int_value = 5;
|
|
2363
|
+
*/
|
|
2364
|
+
negativeIntValue?: string;
|
|
2365
|
+
/**
|
|
2366
|
+
* @generated from field: optional double double_value = 6;
|
|
2367
|
+
*/
|
|
2368
|
+
doubleValue?: number | "NaN" | "Infinity" | "-Infinity";
|
|
2369
|
+
/**
|
|
2370
|
+
* @generated from field: optional bytes string_value = 7;
|
|
2371
|
+
*/
|
|
2372
|
+
stringValue?: string;
|
|
2373
|
+
/**
|
|
2374
|
+
* @generated from field: optional string aggregate_value = 8;
|
|
2375
|
+
*/
|
|
2376
|
+
aggregateValue?: string;
|
|
2377
|
+
};
|
|
1641
2378
|
/**
|
|
1642
2379
|
* Describes the message google.protobuf.UninterpretedOption.
|
|
1643
|
-
* Use `create(
|
|
2380
|
+
* Use `create(UninterpretedOptionSchema)` to create a new message.
|
|
1644
2381
|
*/
|
|
1645
|
-
export declare const
|
|
2382
|
+
export declare const UninterpretedOptionSchema: GenDescMessage<UninterpretedOption, UninterpretedOptionJson>;
|
|
1646
2383
|
/**
|
|
1647
2384
|
* The name of the uninterpreted option. Each string represents a segment in
|
|
1648
2385
|
* a dot-separated name. is_extension is true iff a segment represents an
|
|
@@ -1662,11 +2399,24 @@ export type UninterpretedOption_NamePart = Message<"google.protobuf.Uninterprete
|
|
|
1662
2399
|
*/
|
|
1663
2400
|
isExtension: boolean;
|
|
1664
2401
|
};
|
|
2402
|
+
/**
|
|
2403
|
+
* JSON type for the message google.protobuf.UninterpretedOption.NamePart.
|
|
2404
|
+
*/
|
|
2405
|
+
export type UninterpretedOption_NamePartJson = {
|
|
2406
|
+
/**
|
|
2407
|
+
* @generated from field: required string name_part = 1;
|
|
2408
|
+
*/
|
|
2409
|
+
namePart?: string;
|
|
2410
|
+
/**
|
|
2411
|
+
* @generated from field: required bool is_extension = 2;
|
|
2412
|
+
*/
|
|
2413
|
+
isExtension?: boolean;
|
|
2414
|
+
};
|
|
1665
2415
|
/**
|
|
1666
2416
|
* Describes the message google.protobuf.UninterpretedOption.NamePart.
|
|
1667
|
-
* Use `create(
|
|
2417
|
+
* Use `create(UninterpretedOption_NamePartSchema)` to create a new message.
|
|
1668
2418
|
*/
|
|
1669
|
-
export declare const
|
|
2419
|
+
export declare const UninterpretedOption_NamePartSchema: GenDescMessage<UninterpretedOption_NamePart, UninterpretedOption_NamePartJson>;
|
|
1670
2420
|
/**
|
|
1671
2421
|
* TODO Enums in C++ gencode (and potentially other languages) are
|
|
1672
2422
|
* not well scoped. This means that each of the feature enums below can clash
|
|
@@ -1703,11 +2453,40 @@ export type FeatureSet = Message<"google.protobuf.FeatureSet"> & {
|
|
|
1703
2453
|
*/
|
|
1704
2454
|
jsonFormat: FeatureSet_JsonFormat;
|
|
1705
2455
|
};
|
|
2456
|
+
/**
|
|
2457
|
+
* JSON type for the message google.protobuf.FeatureSet.
|
|
2458
|
+
*/
|
|
2459
|
+
export type FeatureSetJson = {
|
|
2460
|
+
/**
|
|
2461
|
+
* @generated from field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
|
|
2462
|
+
*/
|
|
2463
|
+
fieldPresence?: FeatureSet_FieldPresenceJson;
|
|
2464
|
+
/**
|
|
2465
|
+
* @generated from field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
|
|
2466
|
+
*/
|
|
2467
|
+
enumType?: FeatureSet_EnumTypeJson;
|
|
2468
|
+
/**
|
|
2469
|
+
* @generated from field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
|
|
2470
|
+
*/
|
|
2471
|
+
repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncodingJson;
|
|
2472
|
+
/**
|
|
2473
|
+
* @generated from field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
|
|
2474
|
+
*/
|
|
2475
|
+
utf8Validation?: FeatureSet_Utf8ValidationJson;
|
|
2476
|
+
/**
|
|
2477
|
+
* @generated from field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
|
|
2478
|
+
*/
|
|
2479
|
+
messageEncoding?: FeatureSet_MessageEncodingJson;
|
|
2480
|
+
/**
|
|
2481
|
+
* @generated from field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
|
|
2482
|
+
*/
|
|
2483
|
+
jsonFormat?: FeatureSet_JsonFormatJson;
|
|
2484
|
+
};
|
|
1706
2485
|
/**
|
|
1707
2486
|
* Describes the message google.protobuf.FeatureSet.
|
|
1708
|
-
* Use `create(
|
|
2487
|
+
* Use `create(FeatureSetSchema)` to create a new message.
|
|
1709
2488
|
*/
|
|
1710
|
-
export declare const
|
|
2489
|
+
export declare const FeatureSetSchema: GenDescMessage<FeatureSet, FeatureSetJson>;
|
|
1711
2490
|
/**
|
|
1712
2491
|
* @generated from enum google.protobuf.FeatureSet.FieldPresence
|
|
1713
2492
|
*/
|
|
@@ -1729,10 +2508,14 @@ export declare enum FeatureSet_FieldPresence {
|
|
|
1729
2508
|
*/
|
|
1730
2509
|
LEGACY_REQUIRED = 3
|
|
1731
2510
|
}
|
|
2511
|
+
/**
|
|
2512
|
+
* JSON type for the enum google.protobuf.FeatureSet.FieldPresence.
|
|
2513
|
+
*/
|
|
2514
|
+
export type FeatureSet_FieldPresenceJson = "FIELD_PRESENCE_UNKNOWN" | "EXPLICIT" | "IMPLICIT" | "LEGACY_REQUIRED";
|
|
1732
2515
|
/**
|
|
1733
2516
|
* Describes the enum google.protobuf.FeatureSet.FieldPresence.
|
|
1734
2517
|
*/
|
|
1735
|
-
export declare const
|
|
2518
|
+
export declare const FeatureSet_FieldPresenceSchema: GenDescEnum<FeatureSet_FieldPresence, FeatureSet_FieldPresenceJson>;
|
|
1736
2519
|
/**
|
|
1737
2520
|
* @generated from enum google.protobuf.FeatureSet.EnumType
|
|
1738
2521
|
*/
|
|
@@ -1750,10 +2533,14 @@ export declare enum FeatureSet_EnumType {
|
|
|
1750
2533
|
*/
|
|
1751
2534
|
CLOSED = 2
|
|
1752
2535
|
}
|
|
2536
|
+
/**
|
|
2537
|
+
* JSON type for the enum google.protobuf.FeatureSet.EnumType.
|
|
2538
|
+
*/
|
|
2539
|
+
export type FeatureSet_EnumTypeJson = "ENUM_TYPE_UNKNOWN" | "OPEN" | "CLOSED";
|
|
1753
2540
|
/**
|
|
1754
2541
|
* Describes the enum google.protobuf.FeatureSet.EnumType.
|
|
1755
2542
|
*/
|
|
1756
|
-
export declare const
|
|
2543
|
+
export declare const FeatureSet_EnumTypeSchema: GenDescEnum<FeatureSet_EnumType, FeatureSet_EnumTypeJson>;
|
|
1757
2544
|
/**
|
|
1758
2545
|
* @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
1759
2546
|
*/
|
|
@@ -1771,10 +2558,14 @@ export declare enum FeatureSet_RepeatedFieldEncoding {
|
|
|
1771
2558
|
*/
|
|
1772
2559
|
EXPANDED = 2
|
|
1773
2560
|
}
|
|
2561
|
+
/**
|
|
2562
|
+
* JSON type for the enum google.protobuf.FeatureSet.RepeatedFieldEncoding.
|
|
2563
|
+
*/
|
|
2564
|
+
export type FeatureSet_RepeatedFieldEncodingJson = "REPEATED_FIELD_ENCODING_UNKNOWN" | "PACKED" | "EXPANDED";
|
|
1774
2565
|
/**
|
|
1775
2566
|
* Describes the enum google.protobuf.FeatureSet.RepeatedFieldEncoding.
|
|
1776
2567
|
*/
|
|
1777
|
-
export declare const
|
|
2568
|
+
export declare const FeatureSet_RepeatedFieldEncodingSchema: GenDescEnum<FeatureSet_RepeatedFieldEncoding, FeatureSet_RepeatedFieldEncodingJson>;
|
|
1778
2569
|
/**
|
|
1779
2570
|
* @generated from enum google.protobuf.FeatureSet.Utf8Validation
|
|
1780
2571
|
*/
|
|
@@ -1792,10 +2583,14 @@ export declare enum FeatureSet_Utf8Validation {
|
|
|
1792
2583
|
*/
|
|
1793
2584
|
NONE = 3
|
|
1794
2585
|
}
|
|
2586
|
+
/**
|
|
2587
|
+
* JSON type for the enum google.protobuf.FeatureSet.Utf8Validation.
|
|
2588
|
+
*/
|
|
2589
|
+
export type FeatureSet_Utf8ValidationJson = "UTF8_VALIDATION_UNKNOWN" | "VERIFY" | "NONE";
|
|
1795
2590
|
/**
|
|
1796
2591
|
* Describes the enum google.protobuf.FeatureSet.Utf8Validation.
|
|
1797
2592
|
*/
|
|
1798
|
-
export declare const
|
|
2593
|
+
export declare const FeatureSet_Utf8ValidationSchema: GenDescEnum<FeatureSet_Utf8Validation, FeatureSet_Utf8ValidationJson>;
|
|
1799
2594
|
/**
|
|
1800
2595
|
* @generated from enum google.protobuf.FeatureSet.MessageEncoding
|
|
1801
2596
|
*/
|
|
@@ -1813,10 +2608,14 @@ export declare enum FeatureSet_MessageEncoding {
|
|
|
1813
2608
|
*/
|
|
1814
2609
|
DELIMITED = 2
|
|
1815
2610
|
}
|
|
2611
|
+
/**
|
|
2612
|
+
* JSON type for the enum google.protobuf.FeatureSet.MessageEncoding.
|
|
2613
|
+
*/
|
|
2614
|
+
export type FeatureSet_MessageEncodingJson = "MESSAGE_ENCODING_UNKNOWN" | "LENGTH_PREFIXED" | "DELIMITED";
|
|
1816
2615
|
/**
|
|
1817
2616
|
* Describes the enum google.protobuf.FeatureSet.MessageEncoding.
|
|
1818
2617
|
*/
|
|
1819
|
-
export declare const
|
|
2618
|
+
export declare const FeatureSet_MessageEncodingSchema: GenDescEnum<FeatureSet_MessageEncoding, FeatureSet_MessageEncodingJson>;
|
|
1820
2619
|
/**
|
|
1821
2620
|
* @generated from enum google.protobuf.FeatureSet.JsonFormat
|
|
1822
2621
|
*/
|
|
@@ -1834,10 +2633,14 @@ export declare enum FeatureSet_JsonFormat {
|
|
|
1834
2633
|
*/
|
|
1835
2634
|
LEGACY_BEST_EFFORT = 2
|
|
1836
2635
|
}
|
|
2636
|
+
/**
|
|
2637
|
+
* JSON type for the enum google.protobuf.FeatureSet.JsonFormat.
|
|
2638
|
+
*/
|
|
2639
|
+
export type FeatureSet_JsonFormatJson = "JSON_FORMAT_UNKNOWN" | "ALLOW" | "LEGACY_BEST_EFFORT";
|
|
1837
2640
|
/**
|
|
1838
2641
|
* Describes the enum google.protobuf.FeatureSet.JsonFormat.
|
|
1839
2642
|
*/
|
|
1840
|
-
export declare const
|
|
2643
|
+
export declare const FeatureSet_JsonFormatSchema: GenDescEnum<FeatureSet_JsonFormat, FeatureSet_JsonFormatJson>;
|
|
1841
2644
|
/**
|
|
1842
2645
|
* A compiled specification for the defaults of a set of features. These
|
|
1843
2646
|
* messages are generated from FeatureSet extensions and can be used to seed
|
|
@@ -1866,11 +2669,28 @@ export type FeatureSetDefaults = Message<"google.protobuf.FeatureSetDefaults"> &
|
|
|
1866
2669
|
*/
|
|
1867
2670
|
maximumEdition: Edition;
|
|
1868
2671
|
};
|
|
2672
|
+
/**
|
|
2673
|
+
* JSON type for the message google.protobuf.FeatureSetDefaults.
|
|
2674
|
+
*/
|
|
2675
|
+
export type FeatureSetDefaultsJson = {
|
|
2676
|
+
/**
|
|
2677
|
+
* @generated from field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
|
|
2678
|
+
*/
|
|
2679
|
+
defaults?: FeatureSetDefaults_FeatureSetEditionDefaultJson[];
|
|
2680
|
+
/**
|
|
2681
|
+
* @generated from field: optional google.protobuf.Edition minimum_edition = 4;
|
|
2682
|
+
*/
|
|
2683
|
+
minimumEdition?: EditionJson;
|
|
2684
|
+
/**
|
|
2685
|
+
* @generated from field: optional google.protobuf.Edition maximum_edition = 5;
|
|
2686
|
+
*/
|
|
2687
|
+
maximumEdition?: EditionJson;
|
|
2688
|
+
};
|
|
1869
2689
|
/**
|
|
1870
2690
|
* Describes the message google.protobuf.FeatureSetDefaults.
|
|
1871
|
-
* Use `create(
|
|
2691
|
+
* Use `create(FeatureSetDefaultsSchema)` to create a new message.
|
|
1872
2692
|
*/
|
|
1873
|
-
export declare const
|
|
2693
|
+
export declare const FeatureSetDefaultsSchema: GenDescMessage<FeatureSetDefaults, FeatureSetDefaultsJson>;
|
|
1874
2694
|
/**
|
|
1875
2695
|
* A map from every known edition with a unique set of defaults to its
|
|
1876
2696
|
* defaults. Not all editions may be contained here. For a given edition,
|
|
@@ -1897,11 +2717,28 @@ export type FeatureSetDefaults_FeatureSetEditionDefault = Message<"google.protob
|
|
|
1897
2717
|
*/
|
|
1898
2718
|
fixedFeatures?: FeatureSet;
|
|
1899
2719
|
};
|
|
2720
|
+
/**
|
|
2721
|
+
* JSON type for the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
2722
|
+
*/
|
|
2723
|
+
export type FeatureSetDefaults_FeatureSetEditionDefaultJson = {
|
|
2724
|
+
/**
|
|
2725
|
+
* @generated from field: optional google.protobuf.Edition edition = 3;
|
|
2726
|
+
*/
|
|
2727
|
+
edition?: EditionJson;
|
|
2728
|
+
/**
|
|
2729
|
+
* @generated from field: optional google.protobuf.FeatureSet overridable_features = 4;
|
|
2730
|
+
*/
|
|
2731
|
+
overridableFeatures?: FeatureSetJson;
|
|
2732
|
+
/**
|
|
2733
|
+
* @generated from field: optional google.protobuf.FeatureSet fixed_features = 5;
|
|
2734
|
+
*/
|
|
2735
|
+
fixedFeatures?: FeatureSetJson;
|
|
2736
|
+
};
|
|
1900
2737
|
/**
|
|
1901
2738
|
* Describes the message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
1902
|
-
* Use `create(
|
|
2739
|
+
* Use `create(FeatureSetDefaults_FeatureSetEditionDefaultSchema)` to create a new message.
|
|
1903
2740
|
*/
|
|
1904
|
-
export declare const
|
|
2741
|
+
export declare const FeatureSetDefaults_FeatureSetEditionDefaultSchema: GenDescMessage<FeatureSetDefaults_FeatureSetEditionDefault, FeatureSetDefaults_FeatureSetEditionDefaultJson>;
|
|
1905
2742
|
/**
|
|
1906
2743
|
* Encapsulates information about the original source file from which a
|
|
1907
2744
|
* FileDescriptorProto was generated.
|
|
@@ -1958,11 +2795,20 @@ export type SourceCodeInfo = Message<"google.protobuf.SourceCodeInfo"> & {
|
|
|
1958
2795
|
*/
|
|
1959
2796
|
location: SourceCodeInfo_Location[];
|
|
1960
2797
|
};
|
|
2798
|
+
/**
|
|
2799
|
+
* JSON type for the message google.protobuf.SourceCodeInfo.
|
|
2800
|
+
*/
|
|
2801
|
+
export type SourceCodeInfoJson = {
|
|
2802
|
+
/**
|
|
2803
|
+
* @generated from field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
|
|
2804
|
+
*/
|
|
2805
|
+
location?: SourceCodeInfo_LocationJson[];
|
|
2806
|
+
};
|
|
1961
2807
|
/**
|
|
1962
2808
|
* Describes the message google.protobuf.SourceCodeInfo.
|
|
1963
|
-
* Use `create(
|
|
2809
|
+
* Use `create(SourceCodeInfoSchema)` to create a new message.
|
|
1964
2810
|
*/
|
|
1965
|
-
export declare const
|
|
2811
|
+
export declare const SourceCodeInfoSchema: GenDescMessage<SourceCodeInfo, SourceCodeInfoJson>;
|
|
1966
2812
|
/**
|
|
1967
2813
|
* @generated from message google.protobuf.SourceCodeInfo.Location
|
|
1968
2814
|
*/
|
|
@@ -2066,11 +2912,36 @@ export type SourceCodeInfo_Location = Message<"google.protobuf.SourceCodeInfo.Lo
|
|
|
2066
2912
|
*/
|
|
2067
2913
|
leadingDetachedComments: string[];
|
|
2068
2914
|
};
|
|
2915
|
+
/**
|
|
2916
|
+
* JSON type for the message google.protobuf.SourceCodeInfo.Location.
|
|
2917
|
+
*/
|
|
2918
|
+
export type SourceCodeInfo_LocationJson = {
|
|
2919
|
+
/**
|
|
2920
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
2921
|
+
*/
|
|
2922
|
+
path?: number[];
|
|
2923
|
+
/**
|
|
2924
|
+
* @generated from field: repeated int32 span = 2 [packed = true];
|
|
2925
|
+
*/
|
|
2926
|
+
span?: number[];
|
|
2927
|
+
/**
|
|
2928
|
+
* @generated from field: optional string leading_comments = 3;
|
|
2929
|
+
*/
|
|
2930
|
+
leadingComments?: string;
|
|
2931
|
+
/**
|
|
2932
|
+
* @generated from field: optional string trailing_comments = 4;
|
|
2933
|
+
*/
|
|
2934
|
+
trailingComments?: string;
|
|
2935
|
+
/**
|
|
2936
|
+
* @generated from field: repeated string leading_detached_comments = 6;
|
|
2937
|
+
*/
|
|
2938
|
+
leadingDetachedComments?: string[];
|
|
2939
|
+
};
|
|
2069
2940
|
/**
|
|
2070
2941
|
* Describes the message google.protobuf.SourceCodeInfo.Location.
|
|
2071
|
-
* Use `create(
|
|
2942
|
+
* Use `create(SourceCodeInfo_LocationSchema)` to create a new message.
|
|
2072
2943
|
*/
|
|
2073
|
-
export declare const
|
|
2944
|
+
export declare const SourceCodeInfo_LocationSchema: GenDescMessage<SourceCodeInfo_Location, SourceCodeInfo_LocationJson>;
|
|
2074
2945
|
/**
|
|
2075
2946
|
* Describes the relationship between generated code and its original source
|
|
2076
2947
|
* file. A GeneratedCodeInfo message is associated with only one generated
|
|
@@ -2087,11 +2958,20 @@ export type GeneratedCodeInfo = Message<"google.protobuf.GeneratedCodeInfo"> & {
|
|
|
2087
2958
|
*/
|
|
2088
2959
|
annotation: GeneratedCodeInfo_Annotation[];
|
|
2089
2960
|
};
|
|
2961
|
+
/**
|
|
2962
|
+
* JSON type for the message google.protobuf.GeneratedCodeInfo.
|
|
2963
|
+
*/
|
|
2964
|
+
export type GeneratedCodeInfoJson = {
|
|
2965
|
+
/**
|
|
2966
|
+
* @generated from field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
|
|
2967
|
+
*/
|
|
2968
|
+
annotation?: GeneratedCodeInfo_AnnotationJson[];
|
|
2969
|
+
};
|
|
2090
2970
|
/**
|
|
2091
2971
|
* Describes the message google.protobuf.GeneratedCodeInfo.
|
|
2092
|
-
* Use `create(
|
|
2972
|
+
* Use `create(GeneratedCodeInfoSchema)` to create a new message.
|
|
2093
2973
|
*/
|
|
2094
|
-
export declare const
|
|
2974
|
+
export declare const GeneratedCodeInfoSchema: GenDescMessage<GeneratedCodeInfo, GeneratedCodeInfoJson>;
|
|
2095
2975
|
/**
|
|
2096
2976
|
* @generated from message google.protobuf.GeneratedCodeInfo.Annotation
|
|
2097
2977
|
*/
|
|
@@ -2129,11 +3009,36 @@ export type GeneratedCodeInfo_Annotation = Message<"google.protobuf.GeneratedCod
|
|
|
2129
3009
|
*/
|
|
2130
3010
|
semantic: GeneratedCodeInfo_Annotation_Semantic;
|
|
2131
3011
|
};
|
|
3012
|
+
/**
|
|
3013
|
+
* JSON type for the message google.protobuf.GeneratedCodeInfo.Annotation.
|
|
3014
|
+
*/
|
|
3015
|
+
export type GeneratedCodeInfo_AnnotationJson = {
|
|
3016
|
+
/**
|
|
3017
|
+
* @generated from field: repeated int32 path = 1 [packed = true];
|
|
3018
|
+
*/
|
|
3019
|
+
path?: number[];
|
|
3020
|
+
/**
|
|
3021
|
+
* @generated from field: optional string source_file = 2;
|
|
3022
|
+
*/
|
|
3023
|
+
sourceFile?: string;
|
|
3024
|
+
/**
|
|
3025
|
+
* @generated from field: optional int32 begin = 3;
|
|
3026
|
+
*/
|
|
3027
|
+
begin?: number;
|
|
3028
|
+
/**
|
|
3029
|
+
* @generated from field: optional int32 end = 4;
|
|
3030
|
+
*/
|
|
3031
|
+
end?: number;
|
|
3032
|
+
/**
|
|
3033
|
+
* @generated from field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
|
|
3034
|
+
*/
|
|
3035
|
+
semantic?: GeneratedCodeInfo_Annotation_SemanticJson;
|
|
3036
|
+
};
|
|
2132
3037
|
/**
|
|
2133
3038
|
* Describes the message google.protobuf.GeneratedCodeInfo.Annotation.
|
|
2134
|
-
* Use `create(
|
|
3039
|
+
* Use `create(GeneratedCodeInfo_AnnotationSchema)` to create a new message.
|
|
2135
3040
|
*/
|
|
2136
|
-
export declare const
|
|
3041
|
+
export declare const GeneratedCodeInfo_AnnotationSchema: GenDescMessage<GeneratedCodeInfo_Annotation, GeneratedCodeInfo_AnnotationJson>;
|
|
2137
3042
|
/**
|
|
2138
3043
|
* Represents the identified object's effect on the element in the original
|
|
2139
3044
|
* .proto file.
|
|
@@ -2160,10 +3065,14 @@ export declare enum GeneratedCodeInfo_Annotation_Semantic {
|
|
|
2160
3065
|
*/
|
|
2161
3066
|
ALIAS = 2
|
|
2162
3067
|
}
|
|
3068
|
+
/**
|
|
3069
|
+
* JSON type for the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic.
|
|
3070
|
+
*/
|
|
3071
|
+
export type GeneratedCodeInfo_Annotation_SemanticJson = "NONE" | "SET" | "ALIAS";
|
|
2163
3072
|
/**
|
|
2164
3073
|
* Describes the enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic.
|
|
2165
3074
|
*/
|
|
2166
|
-
export declare const
|
|
3075
|
+
export declare const GeneratedCodeInfo_Annotation_SemanticSchema: GenDescEnum<GeneratedCodeInfo_Annotation_Semantic, GeneratedCodeInfo_Annotation_SemanticJson>;
|
|
2167
3076
|
/**
|
|
2168
3077
|
* The full set of known editions.
|
|
2169
3078
|
*
|
|
@@ -2240,7 +3149,11 @@ export declare enum Edition {
|
|
|
2240
3149
|
*/
|
|
2241
3150
|
EDITION_MAX = 2147483647
|
|
2242
3151
|
}
|
|
3152
|
+
/**
|
|
3153
|
+
* JSON type for the enum google.protobuf.Edition.
|
|
3154
|
+
*/
|
|
3155
|
+
export type EditionJson = "EDITION_UNKNOWN" | "EDITION_LEGACY" | "EDITION_PROTO2" | "EDITION_PROTO3" | "EDITION_2023" | "EDITION_2024" | "EDITION_1_TEST_ONLY" | "EDITION_2_TEST_ONLY" | "EDITION_99997_TEST_ONLY" | "EDITION_99998_TEST_ONLY" | "EDITION_99999_TEST_ONLY" | "EDITION_MAX";
|
|
2243
3156
|
/**
|
|
2244
3157
|
* Describes the enum google.protobuf.Edition.
|
|
2245
3158
|
*/
|
|
2246
|
-
export declare const
|
|
3159
|
+
export declare const EditionSchema: GenDescEnum<Edition, EditionJson>;
|