@mochabug/adaptkit 0.14.6 → 1.0.0-beta.10

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.
Files changed (70) hide show
  1. package/assets/build-client.js +107 -0
  2. package/assets/build.js +57 -0
  3. package/assets/configurator.App.tsx +123 -0
  4. package/assets/configurator.main.tsx +19 -0
  5. package/assets/configurator.ssg.tsx +31 -0
  6. package/assets/{configurator.ts → configurator_none.ts} +1 -1
  7. package/assets/configurator_react.tsx +38 -0
  8. package/assets/executor.App.tsx +103 -0
  9. package/assets/executor.main.tsx +19 -0
  10. package/assets/executor.ssg.tsx +31 -0
  11. package/assets/{executor_browser.ts → executor_browser_none.ts} +1 -1
  12. package/assets/executor_browser_react.tsx +51 -0
  13. package/assets/gitignore +3 -0
  14. package/assets/global.d.ts +7 -0
  15. package/assets/inject.js +15 -0
  16. package/assets/tsconf.json +9 -3
  17. package/bin/index.js +12 -3247
  18. package/bin/index.js.map +7 -0
  19. package/package.json +10 -22
  20. package/assets/rollup.config.ts +0 -40
  21. package/bin/add.d.ts +0 -3
  22. package/bin/add.d.ts.map +0 -1
  23. package/bin/genproto/buf/validate/validate.d.ts +0 -4657
  24. package/bin/genproto/buf/validate/validate.d.ts.map +0 -1
  25. package/bin/genproto/google/api/client.d.ts +0 -785
  26. package/bin/genproto/google/api/client.d.ts.map +0 -1
  27. package/bin/genproto/google/api/http.d.ts +0 -452
  28. package/bin/genproto/google/api/http.d.ts.map +0 -1
  29. package/bin/genproto/google/api/launch_stage.d.ts +0 -78
  30. package/bin/genproto/google/api/launch_stage.d.ts.map +0 -1
  31. package/bin/genproto/google/protobuf/descriptor.d.ts +0 -2337
  32. package/bin/genproto/google/protobuf/descriptor.d.ts.map +0 -1
  33. package/bin/genproto/google/protobuf/duration.d.ts +0 -113
  34. package/bin/genproto/google/protobuf/duration.d.ts.map +0 -1
  35. package/bin/genproto/google/protobuf/struct.d.ts +0 -185
  36. package/bin/genproto/google/protobuf/struct.d.ts.map +0 -1
  37. package/bin/genproto/google/protobuf/timestamp.d.ts +0 -156
  38. package/bin/genproto/google/protobuf/timestamp.d.ts.map +0 -1
  39. package/bin/genproto/mochabugapis/adapt/graph/exchange.d.ts +0 -50
  40. package/bin/genproto/mochabugapis/adapt/graph/exchange.d.ts.map +0 -1
  41. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts +0 -129
  42. package/bin/genproto/mochabugapis/adapt/graph/jtd_schema.d.ts.map +0 -1
  43. package/bin/genproto/mochabugapis/adapt/graph/receiver.d.ts +0 -46
  44. package/bin/genproto/mochabugapis/adapt/graph/receiver.d.ts.map +0 -1
  45. package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts +0 -93
  46. package/bin/genproto/mochabugapis/adapt/graph/signal_binding.d.ts.map +0 -1
  47. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts +0 -56
  48. package/bin/genproto/mochabugapis/adapt/graph/signal_descriptor.d.ts.map +0 -1
  49. package/bin/genproto/mochabugapis/adapt/graph/transceiver.d.ts +0 -44
  50. package/bin/genproto/mochabugapis/adapt/graph/transceiver.d.ts.map +0 -1
  51. package/bin/genproto/mochabugapis/adapt/graph/transmitter.d.ts +0 -50
  52. package/bin/genproto/mochabugapis/adapt/graph/transmitter.d.ts.map +0 -1
  53. package/bin/genproto/mochabugapis/adapt/graph/vertex_config.d.ts +0 -68
  54. package/bin/genproto/mochabugapis/adapt/graph/vertex_config.d.ts.map +0 -1
  55. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.client.d.ts +0 -46
  56. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.client.d.ts.map +0 -1
  57. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts +0 -840
  58. package/bin/genproto/mochabugapis/adapt/plugins/v1/plugins.d.ts.map +0 -1
  59. package/bin/index.d.ts +0 -2
  60. package/bin/index.d.ts.map +0 -1
  61. package/bin/init.d.ts +0 -2
  62. package/bin/init.d.ts.map +0 -1
  63. package/bin/oauth2.d.ts +0 -2
  64. package/bin/oauth2.d.ts.map +0 -1
  65. package/bin/publish.d.ts +0 -4
  66. package/bin/publish.d.ts.map +0 -1
  67. package/bin/utils.d.ts +0 -6
  68. package/bin/utils.d.ts.map +0 -1
  69. package/bin/vertices.d.ts +0 -3
  70. package/bin/vertices.d.ts.map +0 -1
@@ -1,2337 +0,0 @@
1
- import type { BinaryWriteOptions } from "@protobuf-ts/runtime";
2
- import type { IBinaryWriter } from "@protobuf-ts/runtime";
3
- import type { BinaryReadOptions } from "@protobuf-ts/runtime";
4
- import type { IBinaryReader } from "@protobuf-ts/runtime";
5
- import type { PartialMessage } from "@protobuf-ts/runtime";
6
- import { MessageType } from "@protobuf-ts/runtime";
7
- /**
8
- * The protocol compiler can output a FileDescriptorSet containing the .proto
9
- * files it parses.
10
- *
11
- * @generated from protobuf message google.protobuf.FileDescriptorSet
12
- */
13
- export interface FileDescriptorSet {
14
- /**
15
- * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto file = 1;
16
- */
17
- file: FileDescriptorProto[];
18
- }
19
- /**
20
- * Describes a complete .proto file.
21
- *
22
- * @generated from protobuf message google.protobuf.FileDescriptorProto
23
- */
24
- export interface FileDescriptorProto {
25
- /**
26
- * @generated from protobuf field: optional string name = 1;
27
- */
28
- name?: string;
29
- /**
30
- * @generated from protobuf field: optional string package = 2;
31
- */
32
- package?: string;
33
- /**
34
- * Names of files imported by this file.
35
- *
36
- * @generated from protobuf field: repeated string dependency = 3;
37
- */
38
- dependency: string[];
39
- /**
40
- * Indexes of the public imported files in the dependency list above.
41
- *
42
- * @generated from protobuf field: repeated int32 public_dependency = 10;
43
- */
44
- publicDependency: number[];
45
- /**
46
- * Indexes of the weak imported files in the dependency list.
47
- * For Google-internal migration only. Do not use.
48
- *
49
- * @generated from protobuf field: repeated int32 weak_dependency = 11;
50
- */
51
- weakDependency: number[];
52
- /**
53
- * All top-level definitions in this file.
54
- *
55
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto message_type = 4;
56
- */
57
- messageType: DescriptorProto[];
58
- /**
59
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
60
- */
61
- enumType: EnumDescriptorProto[];
62
- /**
63
- * @generated from protobuf field: repeated google.protobuf.ServiceDescriptorProto service = 6;
64
- */
65
- service: ServiceDescriptorProto[];
66
- /**
67
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 7;
68
- */
69
- extension: FieldDescriptorProto[];
70
- /**
71
- * @generated from protobuf field: optional google.protobuf.FileOptions options = 8;
72
- */
73
- options?: FileOptions;
74
- /**
75
- * This field contains optional information about the original source code.
76
- * You may safely remove this entire field without harming runtime
77
- * functionality of the descriptors -- the information is needed only by
78
- * development tools.
79
- *
80
- * @generated from protobuf field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
81
- */
82
- sourceCodeInfo?: SourceCodeInfo;
83
- /**
84
- * The syntax of the proto file.
85
- * The supported values are "proto2", "proto3", and "editions".
86
- *
87
- * If `edition` is present, this value must be "editions".
88
- *
89
- * @generated from protobuf field: optional string syntax = 12;
90
- */
91
- syntax?: string;
92
- /**
93
- * The edition of the proto file.
94
- *
95
- * @generated from protobuf field: optional google.protobuf.Edition edition = 14;
96
- */
97
- edition?: Edition;
98
- }
99
- /**
100
- * Describes a message type.
101
- *
102
- * @generated from protobuf message google.protobuf.DescriptorProto
103
- */
104
- export interface DescriptorProto {
105
- /**
106
- * @generated from protobuf field: optional string name = 1;
107
- */
108
- name?: string;
109
- /**
110
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto field = 2;
111
- */
112
- field: FieldDescriptorProto[];
113
- /**
114
- * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 6;
115
- */
116
- extension: FieldDescriptorProto[];
117
- /**
118
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto nested_type = 3;
119
- */
120
- nestedType: DescriptorProto[];
121
- /**
122
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
123
- */
124
- enumType: EnumDescriptorProto[];
125
- /**
126
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
127
- */
128
- extensionRange: DescriptorProto_ExtensionRange[];
129
- /**
130
- * @generated from protobuf field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
131
- */
132
- oneofDecl: OneofDescriptorProto[];
133
- /**
134
- * @generated from protobuf field: optional google.protobuf.MessageOptions options = 7;
135
- */
136
- options?: MessageOptions;
137
- /**
138
- * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
139
- */
140
- reservedRange: DescriptorProto_ReservedRange[];
141
- /**
142
- * Reserved field names, which may not be used by fields in the same message.
143
- * A given name may only be reserved once.
144
- *
145
- * @generated from protobuf field: repeated string reserved_name = 10;
146
- */
147
- reservedName: string[];
148
- }
149
- /**
150
- * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
151
- */
152
- export interface DescriptorProto_ExtensionRange {
153
- /**
154
- * @generated from protobuf field: optional int32 start = 1;
155
- */
156
- start?: number;
157
- /**
158
- * @generated from protobuf field: optional int32 end = 2;
159
- */
160
- end?: number;
161
- /**
162
- * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions options = 3;
163
- */
164
- options?: ExtensionRangeOptions;
165
- }
166
- /**
167
- * Range of reserved tag numbers. Reserved tag numbers may not be used by
168
- * fields or extension ranges in the same message. Reserved ranges may
169
- * not overlap.
170
- *
171
- * @generated from protobuf message google.protobuf.DescriptorProto.ReservedRange
172
- */
173
- export interface DescriptorProto_ReservedRange {
174
- /**
175
- * @generated from protobuf field: optional int32 start = 1;
176
- */
177
- start?: number;
178
- /**
179
- * @generated from protobuf field: optional int32 end = 2;
180
- */
181
- end?: number;
182
- }
183
- /**
184
- * @generated from protobuf message google.protobuf.ExtensionRangeOptions
185
- */
186
- export interface ExtensionRangeOptions {
187
- /**
188
- * The parser stores options it doesn't recognize here. See above.
189
- *
190
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
191
- */
192
- uninterpretedOption: UninterpretedOption[];
193
- /**
194
- * For external users: DO NOT USE. We are in the process of open sourcing
195
- * extension declaration and executing internal cleanups before it can be
196
- * used externally.
197
- *
198
- * @generated from protobuf field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
199
- */
200
- declaration: ExtensionRangeOptions_Declaration[];
201
- /**
202
- * Any features defined in the specific edition.
203
- *
204
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50;
205
- */
206
- features?: FeatureSet;
207
- /**
208
- * The verification state of the range.
209
- * TODO: flip the default to DECLARATION once all empty ranges
210
- * are marked as UNVERIFIED.
211
- *
212
- * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions.VerificationState verification = 3;
213
- */
214
- verification?: ExtensionRangeOptions_VerificationState;
215
- }
216
- /**
217
- * @generated from protobuf message google.protobuf.ExtensionRangeOptions.Declaration
218
- */
219
- export interface ExtensionRangeOptions_Declaration {
220
- /**
221
- * The extension number declared within the extension range.
222
- *
223
- * @generated from protobuf field: optional int32 number = 1;
224
- */
225
- number?: number;
226
- /**
227
- * The fully-qualified name of the extension field. There must be a leading
228
- * dot in front of the full name.
229
- *
230
- * @generated from protobuf field: optional string full_name = 2;
231
- */
232
- fullName?: string;
233
- /**
234
- * The fully-qualified type name of the extension field. Unlike
235
- * Metadata.type, Declaration.type must have a leading dot for messages
236
- * and enums.
237
- *
238
- * @generated from protobuf field: optional string type = 3;
239
- */
240
- type?: string;
241
- /**
242
- * If true, indicates that the number is reserved in the extension range,
243
- * and any extension field with the number will fail to compile. Set this
244
- * when a declared extension field is deleted.
245
- *
246
- * @generated from protobuf field: optional bool reserved = 5;
247
- */
248
- reserved?: boolean;
249
- /**
250
- * If true, indicates that the extension must be defined as repeated.
251
- * Otherwise the extension must be defined as optional.
252
- *
253
- * @generated from protobuf field: optional bool repeated = 6;
254
- */
255
- repeated?: boolean;
256
- }
257
- /**
258
- * The verification state of the extension range.
259
- *
260
- * @generated from protobuf enum google.protobuf.ExtensionRangeOptions.VerificationState
261
- */
262
- export declare enum ExtensionRangeOptions_VerificationState {
263
- /**
264
- * All the extensions of the range must be declared.
265
- *
266
- * @generated from protobuf enum value: DECLARATION = 0;
267
- */
268
- DECLARATION = 0,
269
- /**
270
- * @generated from protobuf enum value: UNVERIFIED = 1;
271
- */
272
- UNVERIFIED = 1
273
- }
274
- /**
275
- * Describes a field within a message.
276
- *
277
- * @generated from protobuf message google.protobuf.FieldDescriptorProto
278
- */
279
- export interface FieldDescriptorProto {
280
- /**
281
- * @generated from protobuf field: optional string name = 1;
282
- */
283
- name?: string;
284
- /**
285
- * @generated from protobuf field: optional int32 number = 3;
286
- */
287
- number?: number;
288
- /**
289
- * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
290
- */
291
- label?: FieldDescriptorProto_Label;
292
- /**
293
- * If type_name is set, this need not be set. If both this and type_name
294
- * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
295
- *
296
- * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
297
- */
298
- type?: FieldDescriptorProto_Type;
299
- /**
300
- * For message and enum types, this is the name of the type. If the name
301
- * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
302
- * rules are used to find the type (i.e. first the nested types within this
303
- * message are searched, then within the parent, on up to the root
304
- * namespace).
305
- *
306
- * @generated from protobuf field: optional string type_name = 6;
307
- */
308
- typeName?: string;
309
- /**
310
- * For extensions, this is the name of the type being extended. It is
311
- * resolved in the same manner as type_name.
312
- *
313
- * @generated from protobuf field: optional string extendee = 2;
314
- */
315
- extendee?: string;
316
- /**
317
- * For numeric types, contains the original text representation of the value.
318
- * For booleans, "true" or "false".
319
- * For strings, contains the default text contents (not escaped in any way).
320
- * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
321
- *
322
- * @generated from protobuf field: optional string default_value = 7;
323
- */
324
- defaultValue?: string;
325
- /**
326
- * If set, gives the index of a oneof in the containing type's oneof_decl
327
- * list. This field is a member of that oneof.
328
- *
329
- * @generated from protobuf field: optional int32 oneof_index = 9;
330
- */
331
- oneofIndex?: number;
332
- /**
333
- * JSON name of this field. The value is set by protocol compiler. If the
334
- * user has set a "json_name" option on this field, that option's value
335
- * will be used. Otherwise, it's deduced from the field's name by converting
336
- * it to camelCase.
337
- *
338
- * @generated from protobuf field: optional string json_name = 10;
339
- */
340
- jsonName?: string;
341
- /**
342
- * @generated from protobuf field: optional google.protobuf.FieldOptions options = 8;
343
- */
344
- options?: FieldOptions;
345
- /**
346
- * If true, this is a proto3 "optional". When a proto3 field is optional, it
347
- * tracks presence regardless of field type.
348
- *
349
- * When proto3_optional is true, this field must belong to a oneof to signal
350
- * to old proto3 clients that presence is tracked for this field. This oneof
351
- * is known as a "synthetic" oneof, and this field must be its sole member
352
- * (each proto3 optional field gets its own synthetic oneof). Synthetic oneofs
353
- * exist in the descriptor only, and do not generate any API. Synthetic oneofs
354
- * must be ordered after all "real" oneofs.
355
- *
356
- * For message fields, proto3_optional doesn't create any semantic change,
357
- * since non-repeated message fields always track presence. However it still
358
- * indicates the semantic detail of whether the user wrote "optional" or not.
359
- * This can be useful for round-tripping the .proto file. For consistency we
360
- * give message fields a synthetic oneof also, even though it is not required
361
- * to track presence. This is especially important because the parser can't
362
- * tell if a field is a message or an enum, so it must always create a
363
- * synthetic oneof.
364
- *
365
- * Proto2 optional fields do not set this flag, because they already indicate
366
- * optional with `LABEL_OPTIONAL`.
367
- *
368
- * @generated from protobuf field: optional bool proto3_optional = 17;
369
- */
370
- proto3Optional?: boolean;
371
- }
372
- /**
373
- * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type
374
- */
375
- export declare enum FieldDescriptorProto_Type {
376
- /**
377
- * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
378
- */
379
- UNSPECIFIED$ = 0,
380
- /**
381
- * 0 is reserved for errors.
382
- * Order is weird for historical reasons.
383
- *
384
- * @generated from protobuf enum value: TYPE_DOUBLE = 1;
385
- */
386
- DOUBLE = 1,
387
- /**
388
- * @generated from protobuf enum value: TYPE_FLOAT = 2;
389
- */
390
- FLOAT = 2,
391
- /**
392
- * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
393
- * negative values are likely.
394
- *
395
- * @generated from protobuf enum value: TYPE_INT64 = 3;
396
- */
397
- INT64 = 3,
398
- /**
399
- * @generated from protobuf enum value: TYPE_UINT64 = 4;
400
- */
401
- UINT64 = 4,
402
- /**
403
- * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
404
- * negative values are likely.
405
- *
406
- * @generated from protobuf enum value: TYPE_INT32 = 5;
407
- */
408
- INT32 = 5,
409
- /**
410
- * @generated from protobuf enum value: TYPE_FIXED64 = 6;
411
- */
412
- FIXED64 = 6,
413
- /**
414
- * @generated from protobuf enum value: TYPE_FIXED32 = 7;
415
- */
416
- FIXED32 = 7,
417
- /**
418
- * @generated from protobuf enum value: TYPE_BOOL = 8;
419
- */
420
- BOOL = 8,
421
- /**
422
- * @generated from protobuf enum value: TYPE_STRING = 9;
423
- */
424
- STRING = 9,
425
- /**
426
- * Tag-delimited aggregate.
427
- * Group type is deprecated and not supported after google.protobuf. However, Proto3
428
- * implementations should still be able to parse the group wire format and
429
- * treat group fields as unknown fields. In Editions, the group wire format
430
- * can be enabled via the `message_encoding` feature.
431
- *
432
- * @generated from protobuf enum value: TYPE_GROUP = 10;
433
- */
434
- GROUP = 10,
435
- /**
436
- * Length-delimited aggregate.
437
- *
438
- * @generated from protobuf enum value: TYPE_MESSAGE = 11;
439
- */
440
- MESSAGE = 11,
441
- /**
442
- * New in version 2.
443
- *
444
- * @generated from protobuf enum value: TYPE_BYTES = 12;
445
- */
446
- BYTES = 12,
447
- /**
448
- * @generated from protobuf enum value: TYPE_UINT32 = 13;
449
- */
450
- UINT32 = 13,
451
- /**
452
- * @generated from protobuf enum value: TYPE_ENUM = 14;
453
- */
454
- ENUM = 14,
455
- /**
456
- * @generated from protobuf enum value: TYPE_SFIXED32 = 15;
457
- */
458
- SFIXED32 = 15,
459
- /**
460
- * @generated from protobuf enum value: TYPE_SFIXED64 = 16;
461
- */
462
- SFIXED64 = 16,
463
- /**
464
- * Uses ZigZag encoding.
465
- *
466
- * @generated from protobuf enum value: TYPE_SINT32 = 17;
467
- */
468
- SINT32 = 17,
469
- /**
470
- * Uses ZigZag encoding.
471
- *
472
- * @generated from protobuf enum value: TYPE_SINT64 = 18;
473
- */
474
- SINT64 = 18
475
- }
476
- /**
477
- * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Label
478
- */
479
- export declare enum FieldDescriptorProto_Label {
480
- /**
481
- * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
482
- */
483
- UNSPECIFIED$ = 0,
484
- /**
485
- * 0 is reserved for errors
486
- *
487
- * @generated from protobuf enum value: LABEL_OPTIONAL = 1;
488
- */
489
- OPTIONAL = 1,
490
- /**
491
- * @generated from protobuf enum value: LABEL_REPEATED = 3;
492
- */
493
- REPEATED = 3,
494
- /**
495
- * The required label is only allowed in google.protobuf. In proto3 and Editions
496
- * it's explicitly prohibited. In Editions, the `field_presence` feature
497
- * can be used to get this behavior.
498
- *
499
- * @generated from protobuf enum value: LABEL_REQUIRED = 2;
500
- */
501
- REQUIRED = 2
502
- }
503
- /**
504
- * Describes a oneof.
505
- *
506
- * @generated from protobuf message google.protobuf.OneofDescriptorProto
507
- */
508
- export interface OneofDescriptorProto {
509
- /**
510
- * @generated from protobuf field: optional string name = 1;
511
- */
512
- name?: string;
513
- /**
514
- * @generated from protobuf field: optional google.protobuf.OneofOptions options = 2;
515
- */
516
- options?: OneofOptions;
517
- }
518
- /**
519
- * Describes an enum type.
520
- *
521
- * @generated from protobuf message google.protobuf.EnumDescriptorProto
522
- */
523
- export interface EnumDescriptorProto {
524
- /**
525
- * @generated from protobuf field: optional string name = 1;
526
- */
527
- name?: string;
528
- /**
529
- * @generated from protobuf field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
530
- */
531
- value: EnumValueDescriptorProto[];
532
- /**
533
- * @generated from protobuf field: optional google.protobuf.EnumOptions options = 3;
534
- */
535
- options?: EnumOptions;
536
- /**
537
- * Range of reserved numeric values. Reserved numeric values may not be used
538
- * by enum values in the same enum declaration. Reserved ranges may not
539
- * overlap.
540
- *
541
- * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
542
- */
543
- reservedRange: EnumDescriptorProto_EnumReservedRange[];
544
- /**
545
- * Reserved enum value names, which may not be reused. A given name may only
546
- * be reserved once.
547
- *
548
- * @generated from protobuf field: repeated string reserved_name = 5;
549
- */
550
- reservedName: string[];
551
- }
552
- /**
553
- * Range of reserved numeric values. Reserved values may not be used by
554
- * entries in the same enum. Reserved ranges may not overlap.
555
- *
556
- * Note that this is distinct from DescriptorProto.ReservedRange in that it
557
- * is inclusive such that it can appropriately represent the entire int32
558
- * domain.
559
- *
560
- * @generated from protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
561
- */
562
- export interface EnumDescriptorProto_EnumReservedRange {
563
- /**
564
- * @generated from protobuf field: optional int32 start = 1;
565
- */
566
- start?: number;
567
- /**
568
- * @generated from protobuf field: optional int32 end = 2;
569
- */
570
- end?: number;
571
- }
572
- /**
573
- * Describes a value within an enum.
574
- *
575
- * @generated from protobuf message google.protobuf.EnumValueDescriptorProto
576
- */
577
- export interface EnumValueDescriptorProto {
578
- /**
579
- * @generated from protobuf field: optional string name = 1;
580
- */
581
- name?: string;
582
- /**
583
- * @generated from protobuf field: optional int32 number = 2;
584
- */
585
- number?: number;
586
- /**
587
- * @generated from protobuf field: optional google.protobuf.EnumValueOptions options = 3;
588
- */
589
- options?: EnumValueOptions;
590
- }
591
- /**
592
- * Describes a service.
593
- *
594
- * @generated from protobuf message google.protobuf.ServiceDescriptorProto
595
- */
596
- export interface ServiceDescriptorProto {
597
- /**
598
- * @generated from protobuf field: optional string name = 1;
599
- */
600
- name?: string;
601
- /**
602
- * @generated from protobuf field: repeated google.protobuf.MethodDescriptorProto method = 2;
603
- */
604
- method: MethodDescriptorProto[];
605
- /**
606
- * @generated from protobuf field: optional google.protobuf.ServiceOptions options = 3;
607
- */
608
- options?: ServiceOptions;
609
- }
610
- /**
611
- * Describes a method of a service.
612
- *
613
- * @generated from protobuf message google.protobuf.MethodDescriptorProto
614
- */
615
- export interface MethodDescriptorProto {
616
- /**
617
- * @generated from protobuf field: optional string name = 1;
618
- */
619
- name?: string;
620
- /**
621
- * Input and output type names. These are resolved in the same way as
622
- * FieldDescriptorProto.type_name, but must refer to a message type.
623
- *
624
- * @generated from protobuf field: optional string input_type = 2;
625
- */
626
- inputType?: string;
627
- /**
628
- * @generated from protobuf field: optional string output_type = 3;
629
- */
630
- outputType?: string;
631
- /**
632
- * @generated from protobuf field: optional google.protobuf.MethodOptions options = 4;
633
- */
634
- options?: MethodOptions;
635
- /**
636
- * Identifies if client streams multiple client messages
637
- *
638
- * @generated from protobuf field: optional bool client_streaming = 5;
639
- */
640
- clientStreaming?: boolean;
641
- /**
642
- * Identifies if server streams multiple server messages
643
- *
644
- * @generated from protobuf field: optional bool server_streaming = 6;
645
- */
646
- serverStreaming?: boolean;
647
- }
648
- /**
649
- * @generated from protobuf message google.protobuf.FileOptions
650
- */
651
- export interface FileOptions {
652
- /**
653
- * Sets the Java package where classes generated from this .proto will be
654
- * placed. By default, the proto package is used, but this is often
655
- * inappropriate because proto packages do not normally start with backwards
656
- * domain names.
657
- *
658
- * @generated from protobuf field: optional string java_package = 1;
659
- */
660
- javaPackage?: string;
661
- /**
662
- * Controls the name of the wrapper Java class generated for the .proto file.
663
- * That class will always contain the .proto file's getDescriptor() method as
664
- * well as any top-level extensions defined in the .proto file.
665
- * If java_multiple_files is disabled, then all the other classes from the
666
- * .proto file will be nested inside the single wrapper outer class.
667
- *
668
- * @generated from protobuf field: optional string java_outer_classname = 8;
669
- */
670
- javaOuterClassname?: string;
671
- /**
672
- * If enabled, then the Java code generator will generate a separate .java
673
- * file for each top-level message, enum, and service defined in the .proto
674
- * file. Thus, these types will *not* be nested inside the wrapper class
675
- * named by java_outer_classname. However, the wrapper class will still be
676
- * generated to contain the file's getDescriptor() method as well as any
677
- * top-level extensions defined in the file.
678
- *
679
- * @generated from protobuf field: optional bool java_multiple_files = 10;
680
- */
681
- javaMultipleFiles?: boolean;
682
- /**
683
- * This option does nothing.
684
- *
685
- * @deprecated
686
- * @generated from protobuf field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
687
- */
688
- javaGenerateEqualsAndHash?: boolean;
689
- /**
690
- * A proto2 file can set this to true to opt in to UTF-8 checking for Java,
691
- * which will throw an exception if invalid UTF-8 is parsed from the wire or
692
- * assigned to a string field.
693
- *
694
- * TODO: clarify exactly what kinds of field types this option
695
- * applies to, and update these docs accordingly.
696
- *
697
- * Proto3 files already perform these checks. Setting the option explicitly to
698
- * false has no effect: it cannot be used to opt proto3 files out of UTF-8
699
- * checks.
700
- *
701
- * @generated from protobuf field: optional bool java_string_check_utf8 = 27;
702
- */
703
- javaStringCheckUtf8?: boolean;
704
- /**
705
- * @generated from protobuf field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9;
706
- */
707
- optimizeFor?: FileOptions_OptimizeMode;
708
- /**
709
- * Sets the Go package where structs generated from this .proto will be
710
- * placed. If omitted, the Go package will be derived from the following:
711
- * - The basename of the package import path, if provided.
712
- * - Otherwise, the package statement in the .proto file, if present.
713
- * - Otherwise, the basename of the .proto file, without extension.
714
- *
715
- * @generated from protobuf field: optional string go_package = 11;
716
- */
717
- goPackage?: string;
718
- /**
719
- * Should generic services be generated in each language? "Generic" services
720
- * are not specific to any particular RPC system. They are generated by the
721
- * main code generators in each language (without additional plugins).
722
- * Generic services were the only kind of service generation supported by
723
- * early versions of google.protobuf.
724
- *
725
- * Generic services are now considered deprecated in favor of using plugins
726
- * that generate code specific to your particular RPC system. Therefore,
727
- * these default to false. Old code which depends on generic services should
728
- * explicitly set them to true.
729
- *
730
- * @generated from protobuf field: optional bool cc_generic_services = 16;
731
- */
732
- ccGenericServices?: boolean;
733
- /**
734
- * @generated from protobuf field: optional bool java_generic_services = 17;
735
- */
736
- javaGenericServices?: boolean;
737
- /**
738
- * @generated from protobuf field: optional bool py_generic_services = 18;
739
- */
740
- pyGenericServices?: boolean;
741
- /**
742
- * Is this file deprecated?
743
- * Depending on the target platform, this can emit Deprecated annotations
744
- * for everything in the file, or it will be completely ignored; in the very
745
- * least, this is a formalization for deprecating files.
746
- *
747
- * @generated from protobuf field: optional bool deprecated = 23;
748
- */
749
- deprecated?: boolean;
750
- /**
751
- * Enables the use of arenas for the proto messages in this file. This applies
752
- * only to generated classes for C++.
753
- *
754
- * @generated from protobuf field: optional bool cc_enable_arenas = 31;
755
- */
756
- ccEnableArenas?: boolean;
757
- /**
758
- * Sets the objective c class prefix which is prepended to all objective c
759
- * generated classes from this .proto. There is no default.
760
- *
761
- * @generated from protobuf field: optional string objc_class_prefix = 36;
762
- */
763
- objcClassPrefix?: string;
764
- /**
765
- * Namespace for generated classes; defaults to the package.
766
- *
767
- * @generated from protobuf field: optional string csharp_namespace = 37;
768
- */
769
- csharpNamespace?: string;
770
- /**
771
- * By default Swift generators will take the proto package and CamelCase it
772
- * replacing '.' with underscore and use that to prefix the types/symbols
773
- * defined. When this options is provided, they will use this value instead
774
- * to prefix the types/symbols defined.
775
- *
776
- * @generated from protobuf field: optional string swift_prefix = 39;
777
- */
778
- swiftPrefix?: string;
779
- /**
780
- * Sets the php class prefix which is prepended to all php generated classes
781
- * from this .proto. Default is empty.
782
- *
783
- * @generated from protobuf field: optional string php_class_prefix = 40;
784
- */
785
- phpClassPrefix?: string;
786
- /**
787
- * Use this option to change the namespace of php generated classes. Default
788
- * is empty. When this option is empty, the package name will be used for
789
- * determining the namespace.
790
- *
791
- * @generated from protobuf field: optional string php_namespace = 41;
792
- */
793
- phpNamespace?: string;
794
- /**
795
- * Use this option to change the namespace of php generated metadata classes.
796
- * Default is empty. When this option is empty, the proto file name will be
797
- * used for determining the namespace.
798
- *
799
- * @generated from protobuf field: optional string php_metadata_namespace = 44;
800
- */
801
- phpMetadataNamespace?: string;
802
- /**
803
- * Use this option to change the package of ruby generated classes. Default
804
- * is empty. When this option is not set, the package name will be used for
805
- * determining the ruby package.
806
- *
807
- * @generated from protobuf field: optional string ruby_package = 45;
808
- */
809
- rubyPackage?: string;
810
- /**
811
- * Any features defined in the specific edition.
812
- *
813
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 50;
814
- */
815
- features?: FeatureSet;
816
- /**
817
- * The parser stores options it doesn't recognize here.
818
- * See the documentation for the "Options" section above.
819
- *
820
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
821
- */
822
- uninterpretedOption: UninterpretedOption[];
823
- }
824
- /**
825
- * Generated classes can be optimized for speed or code size.
826
- *
827
- * @generated from protobuf enum google.protobuf.FileOptions.OptimizeMode
828
- */
829
- export declare enum FileOptions_OptimizeMode {
830
- /**
831
- * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
832
- */
833
- UNSPECIFIED$ = 0,
834
- /**
835
- * Generate complete code for parsing, serialization,
836
- *
837
- * @generated from protobuf enum value: SPEED = 1;
838
- */
839
- SPEED = 1,
840
- /**
841
- * etc.
842
- *
843
- * Use ReflectionOps to implement these methods.
844
- *
845
- * @generated from protobuf enum value: CODE_SIZE = 2;
846
- */
847
- CODE_SIZE = 2,
848
- /**
849
- * Generate code using MessageLite and the lite runtime.
850
- *
851
- * @generated from protobuf enum value: LITE_RUNTIME = 3;
852
- */
853
- LITE_RUNTIME = 3
854
- }
855
- /**
856
- * @generated from protobuf message google.protobuf.MessageOptions
857
- */
858
- export interface MessageOptions {
859
- /**
860
- * Set true to use the old proto1 MessageSet wire format for extensions.
861
- * This is provided for backwards-compatibility with the MessageSet wire
862
- * format. You should not use this for any other reason: It's less
863
- * efficient, has fewer features, and is more complicated.
864
- *
865
- * The message must be defined exactly as follows:
866
- * message Foo {
867
- * option message_set_wire_format = true;
868
- * extensions 4 to max;
869
- * }
870
- * Note that the message cannot have any defined fields; MessageSets only
871
- * have extensions.
872
- *
873
- * All extensions of your type must be singular messages; e.g. they cannot
874
- * be int32s, enums, or repeated messages.
875
- *
876
- * Because this is an option, the above two restrictions are not enforced by
877
- * the protocol compiler.
878
- *
879
- * @generated from protobuf field: optional bool message_set_wire_format = 1;
880
- */
881
- messageSetWireFormat?: boolean;
882
- /**
883
- * Disables the generation of the standard "descriptor()" accessor, which can
884
- * conflict with a field of the same name. This is meant to make migration
885
- * from proto1 easier; new code should avoid fields named "descriptor".
886
- *
887
- * @generated from protobuf field: optional bool no_standard_descriptor_accessor = 2;
888
- */
889
- noStandardDescriptorAccessor?: boolean;
890
- /**
891
- * Is this message deprecated?
892
- * Depending on the target platform, this can emit Deprecated annotations
893
- * for the message, or it will be completely ignored; in the very least,
894
- * this is a formalization for deprecating messages.
895
- *
896
- * @generated from protobuf field: optional bool deprecated = 3;
897
- */
898
- deprecated?: boolean;
899
- /**
900
- * Whether the message is an automatically generated map entry type for the
901
- * maps field.
902
- *
903
- * For maps fields:
904
- * map<KeyType, ValueType> map_field = 1;
905
- * The parsed descriptor looks like:
906
- * message MapFieldEntry {
907
- * option map_entry = true;
908
- * optional KeyType key = 1;
909
- * optional ValueType value = 2;
910
- * }
911
- * repeated MapFieldEntry map_field = 1;
912
- *
913
- * Implementations may choose not to generate the map_entry=true message, but
914
- * use a native map in the target language to hold the keys and values.
915
- * The reflection APIs in such implementations still need to work as
916
- * if the field is a repeated message field.
917
- *
918
- * NOTE: Do not set the option in .proto files. Always use the maps syntax
919
- * instead. The option should only be implicitly set by the proto compiler
920
- * parser.
921
- *
922
- * @generated from protobuf field: optional bool map_entry = 7;
923
- */
924
- mapEntry?: boolean;
925
- /**
926
- * Enable the legacy handling of JSON field name conflicts. This lowercases
927
- * and strips underscored from the fields before comparison in proto3 only.
928
- * The new behavior takes `json_name` into account and applies to proto2 as
929
- * well.
930
- *
931
- * This should only be used as a temporary measure against broken builds due
932
- * to the change in behavior for JSON field name conflicts.
933
- *
934
- * TODO This is legacy behavior we plan to remove once downstream
935
- * teams have had time to migrate.
936
- *
937
- * @deprecated
938
- * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 11 [deprecated = true];
939
- */
940
- deprecatedLegacyJsonFieldConflicts?: boolean;
941
- /**
942
- * Any features defined in the specific edition.
943
- *
944
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 12;
945
- */
946
- features?: FeatureSet;
947
- /**
948
- * The parser stores options it doesn't recognize here. See above.
949
- *
950
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
951
- */
952
- uninterpretedOption: UninterpretedOption[];
953
- }
954
- /**
955
- * @generated from protobuf message google.protobuf.FieldOptions
956
- */
957
- export interface FieldOptions {
958
- /**
959
- * NOTE: ctype is deprecated. Use `features.(pb.cpp).string_type` instead.
960
- * The ctype option instructs the C++ code generator to use a different
961
- * representation of the field than it normally would. See the specific
962
- * options below. This option is only implemented to support use of
963
- * [ctype=CORD] and [ctype=STRING] (the default) on non-repeated fields of
964
- * type "bytes" in the open source release.
965
- * TODO: make ctype actually deprecated.
966
- *
967
- * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1;
968
- */
969
- ctype?: FieldOptions_CType;
970
- /**
971
- * The packed option can be enabled for repeated primitive fields to enable
972
- * a more efficient representation on the wire. Rather than repeatedly
973
- * writing the tag and type for each element, the entire array is encoded as
974
- * a single length-delimited blob. In proto3, only explicit setting it to
975
- * false will avoid using packed encoding. This option is prohibited in
976
- * Editions, but the `repeated_field_encoding` feature can be used to control
977
- * the behavior.
978
- *
979
- * @generated from protobuf field: optional bool packed = 2;
980
- */
981
- packed?: boolean;
982
- /**
983
- * The jstype option determines the JavaScript type used for values of the
984
- * field. The option is permitted only for 64 bit integral and fixed types
985
- * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
986
- * is represented as JavaScript string, which avoids loss of precision that
987
- * can happen when a large value is converted to a floating point JavaScript.
988
- * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
989
- * use the JavaScript "number" type. The behavior of the default option
990
- * JS_NORMAL is implementation dependent.
991
- *
992
- * This option is an enum to permit additional types to be added, e.g.
993
- * goog.math.Integer.
994
- *
995
- * @generated from protobuf field: optional google.protobuf.FieldOptions.JSType jstype = 6;
996
- */
997
- jstype?: FieldOptions_JSType;
998
- /**
999
- * Should this field be parsed lazily? Lazy applies only to message-type
1000
- * fields. It means that when the outer message is initially parsed, the
1001
- * inner message's contents will not be parsed but instead stored in encoded
1002
- * form. The inner message will actually be parsed when it is first accessed.
1003
- *
1004
- * This is only a hint. Implementations are free to choose whether to use
1005
- * eager or lazy parsing regardless of the value of this option. However,
1006
- * setting this option true suggests that the protocol author believes that
1007
- * using lazy parsing on this field is worth the additional bookkeeping
1008
- * overhead typically needed to implement it.
1009
- *
1010
- * This option does not affect the public interface of any generated code;
1011
- * all method signatures remain the same. Furthermore, thread-safety of the
1012
- * interface is not affected by this option; const methods remain safe to
1013
- * call from multiple threads concurrently, while non-const methods continue
1014
- * to require exclusive access.
1015
- *
1016
- * Note that lazy message fields are still eagerly verified to check
1017
- * ill-formed wireformat or missing required fields. Calling IsInitialized()
1018
- * on the outer message would fail if the inner message has missing required
1019
- * fields. Failed verification would result in parsing failure (except when
1020
- * uninitialized messages are acceptable).
1021
- *
1022
- * @generated from protobuf field: optional bool lazy = 5;
1023
- */
1024
- lazy?: boolean;
1025
- /**
1026
- * unverified_lazy does no correctness checks on the byte stream. This should
1027
- * only be used where lazy with verification is prohibitive for performance
1028
- * reasons.
1029
- *
1030
- * @generated from protobuf field: optional bool unverified_lazy = 15;
1031
- */
1032
- unverifiedLazy?: boolean;
1033
- /**
1034
- * Is this field deprecated?
1035
- * Depending on the target platform, this can emit Deprecated annotations
1036
- * for accessors, or it will be completely ignored; in the very least, this
1037
- * is a formalization for deprecating fields.
1038
- *
1039
- * @generated from protobuf field: optional bool deprecated = 3;
1040
- */
1041
- deprecated?: boolean;
1042
- /**
1043
- * For Google-internal migration only. Do not use.
1044
- *
1045
- * @generated from protobuf field: optional bool weak = 10;
1046
- */
1047
- weak?: boolean;
1048
- /**
1049
- * Indicate that the field value should not be printed out when using debug
1050
- * formats, e.g. when the field contains sensitive credentials.
1051
- *
1052
- * @generated from protobuf field: optional bool debug_redact = 16;
1053
- */
1054
- debugRedact?: boolean;
1055
- /**
1056
- * @generated from protobuf field: optional google.protobuf.FieldOptions.OptionRetention retention = 17;
1057
- */
1058
- retention?: FieldOptions_OptionRetention;
1059
- /**
1060
- * @generated from protobuf field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
1061
- */
1062
- targets: FieldOptions_OptionTargetType[];
1063
- /**
1064
- * @generated from protobuf field: repeated google.protobuf.FieldOptions.EditionDefault edition_defaults = 20;
1065
- */
1066
- editionDefaults: FieldOptions_EditionDefault[];
1067
- /**
1068
- * Any features defined in the specific edition.
1069
- *
1070
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 21;
1071
- */
1072
- features?: FeatureSet;
1073
- /**
1074
- * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 22;
1075
- */
1076
- featureSupport?: FieldOptions_FeatureSupport;
1077
- /**
1078
- * The parser stores options it doesn't recognize here. See above.
1079
- *
1080
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1081
- */
1082
- uninterpretedOption: UninterpretedOption[];
1083
- }
1084
- /**
1085
- * @generated from protobuf message google.protobuf.FieldOptions.EditionDefault
1086
- */
1087
- export interface FieldOptions_EditionDefault {
1088
- /**
1089
- * @generated from protobuf field: optional google.protobuf.Edition edition = 3;
1090
- */
1091
- edition?: Edition;
1092
- /**
1093
- * @generated from protobuf field: optional string value = 2;
1094
- */
1095
- value?: string;
1096
- }
1097
- /**
1098
- * Information about the support window of a feature.
1099
- *
1100
- * @generated from protobuf message google.protobuf.FieldOptions.FeatureSupport
1101
- */
1102
- export interface FieldOptions_FeatureSupport {
1103
- /**
1104
- * The edition that this feature was first available in. In editions
1105
- * earlier than this one, the default assigned to EDITION_LEGACY will be
1106
- * used, and proto files will not be able to override it.
1107
- *
1108
- * @generated from protobuf field: optional google.protobuf.Edition edition_introduced = 1;
1109
- */
1110
- editionIntroduced?: Edition;
1111
- /**
1112
- * The edition this feature becomes deprecated in. Using this after this
1113
- * edition may trigger warnings.
1114
- *
1115
- * @generated from protobuf field: optional google.protobuf.Edition edition_deprecated = 2;
1116
- */
1117
- editionDeprecated?: Edition;
1118
- /**
1119
- * The deprecation warning text if this feature is used after the edition it
1120
- * was marked deprecated in.
1121
- *
1122
- * @generated from protobuf field: optional string deprecation_warning = 3;
1123
- */
1124
- deprecationWarning?: string;
1125
- /**
1126
- * The edition this feature is no longer available in. In editions after
1127
- * this one, the last default assigned will be used, and proto files will
1128
- * not be able to override it.
1129
- *
1130
- * @generated from protobuf field: optional google.protobuf.Edition edition_removed = 4;
1131
- */
1132
- editionRemoved?: Edition;
1133
- }
1134
- /**
1135
- * @generated from protobuf enum google.protobuf.FieldOptions.CType
1136
- */
1137
- export declare enum FieldOptions_CType {
1138
- /**
1139
- * Default mode.
1140
- *
1141
- * @generated from protobuf enum value: STRING = 0;
1142
- */
1143
- STRING = 0,
1144
- /**
1145
- * The option [ctype=CORD] may be applied to a non-repeated field of type
1146
- * "bytes". It indicates that in C++, the data should be stored in a Cord
1147
- * instead of a string. For very large strings, this may reduce memory
1148
- * fragmentation. It may also allow better performance when parsing from a
1149
- * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
1150
- * alias the original buffer.
1151
- *
1152
- * @generated from protobuf enum value: CORD = 1;
1153
- */
1154
- CORD = 1,
1155
- /**
1156
- * @generated from protobuf enum value: STRING_PIECE = 2;
1157
- */
1158
- STRING_PIECE = 2
1159
- }
1160
- /**
1161
- * @generated from protobuf enum google.protobuf.FieldOptions.JSType
1162
- */
1163
- export declare enum FieldOptions_JSType {
1164
- /**
1165
- * Use the default type.
1166
- *
1167
- * @generated from protobuf enum value: JS_NORMAL = 0;
1168
- */
1169
- JS_NORMAL = 0,
1170
- /**
1171
- * Use JavaScript strings.
1172
- *
1173
- * @generated from protobuf enum value: JS_STRING = 1;
1174
- */
1175
- JS_STRING = 1,
1176
- /**
1177
- * Use JavaScript numbers.
1178
- *
1179
- * @generated from protobuf enum value: JS_NUMBER = 2;
1180
- */
1181
- JS_NUMBER = 2
1182
- }
1183
- /**
1184
- * If set to RETENTION_SOURCE, the option will be omitted from the binary.
1185
- *
1186
- * @generated from protobuf enum google.protobuf.FieldOptions.OptionRetention
1187
- */
1188
- export declare enum FieldOptions_OptionRetention {
1189
- /**
1190
- * @generated from protobuf enum value: RETENTION_UNKNOWN = 0;
1191
- */
1192
- RETENTION_UNKNOWN = 0,
1193
- /**
1194
- * @generated from protobuf enum value: RETENTION_RUNTIME = 1;
1195
- */
1196
- RETENTION_RUNTIME = 1,
1197
- /**
1198
- * @generated from protobuf enum value: RETENTION_SOURCE = 2;
1199
- */
1200
- RETENTION_SOURCE = 2
1201
- }
1202
- /**
1203
- * This indicates the types of entities that the field may apply to when used
1204
- * as an option. If it is unset, then the field may be freely used as an
1205
- * option on any kind of entity.
1206
- *
1207
- * @generated from protobuf enum google.protobuf.FieldOptions.OptionTargetType
1208
- */
1209
- export declare enum FieldOptions_OptionTargetType {
1210
- /**
1211
- * @generated from protobuf enum value: TARGET_TYPE_UNKNOWN = 0;
1212
- */
1213
- TARGET_TYPE_UNKNOWN = 0,
1214
- /**
1215
- * @generated from protobuf enum value: TARGET_TYPE_FILE = 1;
1216
- */
1217
- TARGET_TYPE_FILE = 1,
1218
- /**
1219
- * @generated from protobuf enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
1220
- */
1221
- TARGET_TYPE_EXTENSION_RANGE = 2,
1222
- /**
1223
- * @generated from protobuf enum value: TARGET_TYPE_MESSAGE = 3;
1224
- */
1225
- TARGET_TYPE_MESSAGE = 3,
1226
- /**
1227
- * @generated from protobuf enum value: TARGET_TYPE_FIELD = 4;
1228
- */
1229
- TARGET_TYPE_FIELD = 4,
1230
- /**
1231
- * @generated from protobuf enum value: TARGET_TYPE_ONEOF = 5;
1232
- */
1233
- TARGET_TYPE_ONEOF = 5,
1234
- /**
1235
- * @generated from protobuf enum value: TARGET_TYPE_ENUM = 6;
1236
- */
1237
- TARGET_TYPE_ENUM = 6,
1238
- /**
1239
- * @generated from protobuf enum value: TARGET_TYPE_ENUM_ENTRY = 7;
1240
- */
1241
- TARGET_TYPE_ENUM_ENTRY = 7,
1242
- /**
1243
- * @generated from protobuf enum value: TARGET_TYPE_SERVICE = 8;
1244
- */
1245
- TARGET_TYPE_SERVICE = 8,
1246
- /**
1247
- * @generated from protobuf enum value: TARGET_TYPE_METHOD = 9;
1248
- */
1249
- TARGET_TYPE_METHOD = 9
1250
- }
1251
- /**
1252
- * @generated from protobuf message google.protobuf.OneofOptions
1253
- */
1254
- export interface OneofOptions {
1255
- /**
1256
- * Any features defined in the specific edition.
1257
- *
1258
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 1;
1259
- */
1260
- features?: FeatureSet;
1261
- /**
1262
- * The parser stores options it doesn't recognize here. See above.
1263
- *
1264
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1265
- */
1266
- uninterpretedOption: UninterpretedOption[];
1267
- }
1268
- /**
1269
- * @generated from protobuf message google.protobuf.EnumOptions
1270
- */
1271
- export interface EnumOptions {
1272
- /**
1273
- * Set this option to true to allow mapping different tag names to the same
1274
- * value.
1275
- *
1276
- * @generated from protobuf field: optional bool allow_alias = 2;
1277
- */
1278
- allowAlias?: boolean;
1279
- /**
1280
- * Is this enum deprecated?
1281
- * Depending on the target platform, this can emit Deprecated annotations
1282
- * for the enum, or it will be completely ignored; in the very least, this
1283
- * is a formalization for deprecating enums.
1284
- *
1285
- * @generated from protobuf field: optional bool deprecated = 3;
1286
- */
1287
- deprecated?: boolean;
1288
- /**
1289
- * Enable the legacy handling of JSON field name conflicts. This lowercases
1290
- * and strips underscored from the fields before comparison in proto3 only.
1291
- * The new behavior takes `json_name` into account and applies to proto2 as
1292
- * well.
1293
- * TODO Remove this legacy behavior once downstream teams have
1294
- * had time to migrate.
1295
- *
1296
- * @deprecated
1297
- * @generated from protobuf field: optional bool deprecated_legacy_json_field_conflicts = 6 [deprecated = true];
1298
- */
1299
- deprecatedLegacyJsonFieldConflicts?: boolean;
1300
- /**
1301
- * Any features defined in the specific edition.
1302
- *
1303
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 7;
1304
- */
1305
- features?: FeatureSet;
1306
- /**
1307
- * The parser stores options it doesn't recognize here. See above.
1308
- *
1309
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1310
- */
1311
- uninterpretedOption: UninterpretedOption[];
1312
- }
1313
- /**
1314
- * @generated from protobuf message google.protobuf.EnumValueOptions
1315
- */
1316
- export interface EnumValueOptions {
1317
- /**
1318
- * Is this enum value deprecated?
1319
- * Depending on the target platform, this can emit Deprecated annotations
1320
- * for the enum value, or it will be completely ignored; in the very least,
1321
- * this is a formalization for deprecating enum values.
1322
- *
1323
- * @generated from protobuf field: optional bool deprecated = 1;
1324
- */
1325
- deprecated?: boolean;
1326
- /**
1327
- * Any features defined in the specific edition.
1328
- *
1329
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 2;
1330
- */
1331
- features?: FeatureSet;
1332
- /**
1333
- * Indicate that fields annotated with this enum value should not be printed
1334
- * out when using debug formats, e.g. when the field contains sensitive
1335
- * credentials.
1336
- *
1337
- * @generated from protobuf field: optional bool debug_redact = 3;
1338
- */
1339
- debugRedact?: boolean;
1340
- /**
1341
- * Information about the support window of a feature value.
1342
- *
1343
- * @generated from protobuf field: optional google.protobuf.FieldOptions.FeatureSupport feature_support = 4;
1344
- */
1345
- featureSupport?: FieldOptions_FeatureSupport;
1346
- /**
1347
- * The parser stores options it doesn't recognize here. See above.
1348
- *
1349
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1350
- */
1351
- uninterpretedOption: UninterpretedOption[];
1352
- }
1353
- /**
1354
- * @generated from protobuf message google.protobuf.ServiceOptions
1355
- */
1356
- export interface ServiceOptions {
1357
- /**
1358
- * Any features defined in the specific edition.
1359
- *
1360
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 34;
1361
- */
1362
- features?: FeatureSet;
1363
- /**
1364
- * Is this service deprecated?
1365
- * Depending on the target platform, this can emit Deprecated annotations
1366
- * for the service, or it will be completely ignored; in the very least,
1367
- * this is a formalization for deprecating services.
1368
- *
1369
- * @generated from protobuf field: optional bool deprecated = 33;
1370
- */
1371
- deprecated?: boolean;
1372
- /**
1373
- * The parser stores options it doesn't recognize here. See above.
1374
- *
1375
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1376
- */
1377
- uninterpretedOption: UninterpretedOption[];
1378
- }
1379
- /**
1380
- * @generated from protobuf message google.protobuf.MethodOptions
1381
- */
1382
- export interface MethodOptions {
1383
- /**
1384
- * Is this method deprecated?
1385
- * Depending on the target platform, this can emit Deprecated annotations
1386
- * for the method, or it will be completely ignored; in the very least,
1387
- * this is a formalization for deprecating methods.
1388
- *
1389
- * @generated from protobuf field: optional bool deprecated = 33;
1390
- */
1391
- deprecated?: boolean;
1392
- /**
1393
- * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34;
1394
- */
1395
- idempotencyLevel?: MethodOptions_IdempotencyLevel;
1396
- /**
1397
- * Any features defined in the specific edition.
1398
- *
1399
- * @generated from protobuf field: optional google.protobuf.FeatureSet features = 35;
1400
- */
1401
- features?: FeatureSet;
1402
- /**
1403
- * The parser stores options it doesn't recognize here. See above.
1404
- *
1405
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1406
- */
1407
- uninterpretedOption: UninterpretedOption[];
1408
- }
1409
- /**
1410
- * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
1411
- * or neither? HTTP based RPC implementation may choose GET verb for safe
1412
- * methods, and PUT verb for idempotent methods instead of the default POST.
1413
- *
1414
- * @generated from protobuf enum google.protobuf.MethodOptions.IdempotencyLevel
1415
- */
1416
- export declare enum MethodOptions_IdempotencyLevel {
1417
- /**
1418
- * @generated from protobuf enum value: IDEMPOTENCY_UNKNOWN = 0;
1419
- */
1420
- IDEMPOTENCY_UNKNOWN = 0,
1421
- /**
1422
- * implies idempotent
1423
- *
1424
- * @generated from protobuf enum value: NO_SIDE_EFFECTS = 1;
1425
- */
1426
- NO_SIDE_EFFECTS = 1,
1427
- /**
1428
- * idempotent, but may have side effects
1429
- *
1430
- * @generated from protobuf enum value: IDEMPOTENT = 2;
1431
- */
1432
- IDEMPOTENT = 2
1433
- }
1434
- /**
1435
- * A message representing a option the parser does not recognize. This only
1436
- * appears in options protos created by the compiler::Parser class.
1437
- * DescriptorPool resolves these when building Descriptor objects. Therefore,
1438
- * options protos in descriptor objects (e.g. returned by Descriptor::options(),
1439
- * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
1440
- * in them.
1441
- *
1442
- * @generated from protobuf message google.protobuf.UninterpretedOption
1443
- */
1444
- export interface UninterpretedOption {
1445
- /**
1446
- * @generated from protobuf field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
1447
- */
1448
- name: UninterpretedOption_NamePart[];
1449
- /**
1450
- * The value of the uninterpreted option, in whatever type the tokenizer
1451
- * identified it as during parsing. Exactly one of these should be set.
1452
- *
1453
- * @generated from protobuf field: optional string identifier_value = 3;
1454
- */
1455
- identifierValue?: string;
1456
- /**
1457
- * @generated from protobuf field: optional uint64 positive_int_value = 4;
1458
- */
1459
- positiveIntValue?: bigint;
1460
- /**
1461
- * @generated from protobuf field: optional int64 negative_int_value = 5;
1462
- */
1463
- negativeIntValue?: bigint;
1464
- /**
1465
- * @generated from protobuf field: optional double double_value = 6;
1466
- */
1467
- doubleValue?: number;
1468
- /**
1469
- * @generated from protobuf field: optional bytes string_value = 7;
1470
- */
1471
- stringValue?: Uint8Array;
1472
- /**
1473
- * @generated from protobuf field: optional string aggregate_value = 8;
1474
- */
1475
- aggregateValue?: string;
1476
- }
1477
- /**
1478
- * The name of the uninterpreted option. Each string represents a segment in
1479
- * a dot-separated name. is_extension is true iff a segment represents an
1480
- * extension (denoted with parentheses in options specs in .proto files).
1481
- * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
1482
- * "foo.(bar.baz).moo".
1483
- *
1484
- * @generated from protobuf message google.protobuf.UninterpretedOption.NamePart
1485
- */
1486
- export interface UninterpretedOption_NamePart {
1487
- /**
1488
- * @generated from protobuf field: string name_part = 1;
1489
- */
1490
- namePart: string;
1491
- /**
1492
- * @generated from protobuf field: bool is_extension = 2;
1493
- */
1494
- isExtension: boolean;
1495
- }
1496
- /**
1497
- * TODO Enums in C++ gencode (and potentially other languages) are
1498
- * not well scoped. This means that each of the feature enums below can clash
1499
- * with each other. The short names we've chosen maximize call-site
1500
- * readability, but leave us very open to this scenario. A future feature will
1501
- * be designed and implemented to handle this, hopefully before we ever hit a
1502
- * conflict here.
1503
- *
1504
- * @generated from protobuf message google.protobuf.FeatureSet
1505
- */
1506
- export interface FeatureSet {
1507
- /**
1508
- * @generated from protobuf field: optional google.protobuf.FeatureSet.FieldPresence field_presence = 1;
1509
- */
1510
- fieldPresence?: FeatureSet_FieldPresence;
1511
- /**
1512
- * @generated from protobuf field: optional google.protobuf.FeatureSet.EnumType enum_type = 2;
1513
- */
1514
- enumType?: FeatureSet_EnumType;
1515
- /**
1516
- * @generated from protobuf field: optional google.protobuf.FeatureSet.RepeatedFieldEncoding repeated_field_encoding = 3;
1517
- */
1518
- repeatedFieldEncoding?: FeatureSet_RepeatedFieldEncoding;
1519
- /**
1520
- * @generated from protobuf field: optional google.protobuf.FeatureSet.Utf8Validation utf8_validation = 4;
1521
- */
1522
- utf8Validation?: FeatureSet_Utf8Validation;
1523
- /**
1524
- * @generated from protobuf field: optional google.protobuf.FeatureSet.MessageEncoding message_encoding = 5;
1525
- */
1526
- messageEncoding?: FeatureSet_MessageEncoding;
1527
- /**
1528
- * @generated from protobuf field: optional google.protobuf.FeatureSet.JsonFormat json_format = 6;
1529
- */
1530
- jsonFormat?: FeatureSet_JsonFormat;
1531
- }
1532
- /**
1533
- * @generated from protobuf enum google.protobuf.FeatureSet.FieldPresence
1534
- */
1535
- export declare enum FeatureSet_FieldPresence {
1536
- /**
1537
- * @generated from protobuf enum value: FIELD_PRESENCE_UNKNOWN = 0;
1538
- */
1539
- FIELD_PRESENCE_UNKNOWN = 0,
1540
- /**
1541
- * @generated from protobuf enum value: EXPLICIT = 1;
1542
- */
1543
- EXPLICIT = 1,
1544
- /**
1545
- * @generated from protobuf enum value: IMPLICIT = 2;
1546
- */
1547
- IMPLICIT = 2,
1548
- /**
1549
- * @generated from protobuf enum value: LEGACY_REQUIRED = 3;
1550
- */
1551
- LEGACY_REQUIRED = 3
1552
- }
1553
- /**
1554
- * @generated from protobuf enum google.protobuf.FeatureSet.EnumType
1555
- */
1556
- export declare enum FeatureSet_EnumType {
1557
- /**
1558
- * @generated from protobuf enum value: ENUM_TYPE_UNKNOWN = 0;
1559
- */
1560
- ENUM_TYPE_UNKNOWN = 0,
1561
- /**
1562
- * @generated from protobuf enum value: OPEN = 1;
1563
- */
1564
- OPEN = 1,
1565
- /**
1566
- * @generated from protobuf enum value: CLOSED = 2;
1567
- */
1568
- CLOSED = 2
1569
- }
1570
- /**
1571
- * @generated from protobuf enum google.protobuf.FeatureSet.RepeatedFieldEncoding
1572
- */
1573
- export declare enum FeatureSet_RepeatedFieldEncoding {
1574
- /**
1575
- * @generated from protobuf enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
1576
- */
1577
- REPEATED_FIELD_ENCODING_UNKNOWN = 0,
1578
- /**
1579
- * @generated from protobuf enum value: PACKED = 1;
1580
- */
1581
- PACKED = 1,
1582
- /**
1583
- * @generated from protobuf enum value: EXPANDED = 2;
1584
- */
1585
- EXPANDED = 2
1586
- }
1587
- /**
1588
- * @generated from protobuf enum google.protobuf.FeatureSet.Utf8Validation
1589
- */
1590
- export declare enum FeatureSet_Utf8Validation {
1591
- /**
1592
- * @generated from protobuf enum value: UTF8_VALIDATION_UNKNOWN = 0;
1593
- */
1594
- UTF8_VALIDATION_UNKNOWN = 0,
1595
- /**
1596
- * @generated from protobuf enum value: VERIFY = 2;
1597
- */
1598
- VERIFY = 2,
1599
- /**
1600
- * @generated from protobuf enum value: NONE = 3;
1601
- */
1602
- NONE = 3
1603
- }
1604
- /**
1605
- * @generated from protobuf enum google.protobuf.FeatureSet.MessageEncoding
1606
- */
1607
- export declare enum FeatureSet_MessageEncoding {
1608
- /**
1609
- * @generated from protobuf enum value: MESSAGE_ENCODING_UNKNOWN = 0;
1610
- */
1611
- MESSAGE_ENCODING_UNKNOWN = 0,
1612
- /**
1613
- * @generated from protobuf enum value: LENGTH_PREFIXED = 1;
1614
- */
1615
- LENGTH_PREFIXED = 1,
1616
- /**
1617
- * @generated from protobuf enum value: DELIMITED = 2;
1618
- */
1619
- DELIMITED = 2
1620
- }
1621
- /**
1622
- * @generated from protobuf enum google.protobuf.FeatureSet.JsonFormat
1623
- */
1624
- export declare enum FeatureSet_JsonFormat {
1625
- /**
1626
- * @generated from protobuf enum value: JSON_FORMAT_UNKNOWN = 0;
1627
- */
1628
- JSON_FORMAT_UNKNOWN = 0,
1629
- /**
1630
- * @generated from protobuf enum value: ALLOW = 1;
1631
- */
1632
- ALLOW = 1,
1633
- /**
1634
- * @generated from protobuf enum value: LEGACY_BEST_EFFORT = 2;
1635
- */
1636
- LEGACY_BEST_EFFORT = 2
1637
- }
1638
- /**
1639
- * A compiled specification for the defaults of a set of features. These
1640
- * messages are generated from FeatureSet extensions and can be used to seed
1641
- * feature resolution. The resolution with this object becomes a simple search
1642
- * for the closest matching edition, followed by proto merges.
1643
- *
1644
- * @generated from protobuf message google.protobuf.FeatureSetDefaults
1645
- */
1646
- export interface FeatureSetDefaults {
1647
- /**
1648
- * @generated from protobuf field: repeated google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault defaults = 1;
1649
- */
1650
- defaults: FeatureSetDefaults_FeatureSetEditionDefault[];
1651
- /**
1652
- * The minimum supported edition (inclusive) when this was constructed.
1653
- * Editions before this will not have defaults.
1654
- *
1655
- * @generated from protobuf field: optional google.protobuf.Edition minimum_edition = 4;
1656
- */
1657
- minimumEdition?: Edition;
1658
- /**
1659
- * The maximum known edition (inclusive) when this was constructed. Editions
1660
- * after this will not have reliable defaults.
1661
- *
1662
- * @generated from protobuf field: optional google.protobuf.Edition maximum_edition = 5;
1663
- */
1664
- maximumEdition?: Edition;
1665
- }
1666
- /**
1667
- * A map from every known edition with a unique set of defaults to its
1668
- * defaults. Not all editions may be contained here. For a given edition,
1669
- * the defaults at the closest matching edition ordered at or before it should
1670
- * be used. This field must be in strict ascending order by edition.
1671
- *
1672
- * @generated from protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
1673
- */
1674
- export interface FeatureSetDefaults_FeatureSetEditionDefault {
1675
- /**
1676
- * @generated from protobuf field: optional google.protobuf.Edition edition = 3;
1677
- */
1678
- edition?: Edition;
1679
- /**
1680
- * Defaults of features that can be overridden in this edition.
1681
- *
1682
- * @generated from protobuf field: optional google.protobuf.FeatureSet overridable_features = 4;
1683
- */
1684
- overridableFeatures?: FeatureSet;
1685
- /**
1686
- * Defaults of features that can't be overridden in this edition.
1687
- *
1688
- * @generated from protobuf field: optional google.protobuf.FeatureSet fixed_features = 5;
1689
- */
1690
- fixedFeatures?: FeatureSet;
1691
- }
1692
- /**
1693
- * Encapsulates information about the original source file from which a
1694
- * FileDescriptorProto was generated.
1695
- *
1696
- * @generated from protobuf message google.protobuf.SourceCodeInfo
1697
- */
1698
- export interface SourceCodeInfo {
1699
- /**
1700
- * A Location identifies a piece of source code in a .proto file which
1701
- * corresponds to a particular definition. This information is intended
1702
- * to be useful to IDEs, code indexers, documentation generators, and similar
1703
- * tools.
1704
- *
1705
- * For example, say we have a file like:
1706
- * message Foo {
1707
- * optional string foo = 1;
1708
- * }
1709
- * Let's look at just the field definition:
1710
- * optional string foo = 1;
1711
- * ^ ^^ ^^ ^ ^^^
1712
- * a bc de f ghi
1713
- * We have the following locations:
1714
- * span path represents
1715
- * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
1716
- * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
1717
- * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
1718
- * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
1719
- * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
1720
- *
1721
- * Notes:
1722
- * - A location may refer to a repeated field itself (i.e. not to any
1723
- * particular index within it). This is used whenever a set of elements are
1724
- * logically enclosed in a single code segment. For example, an entire
1725
- * extend block (possibly containing multiple extension definitions) will
1726
- * have an outer location whose path refers to the "extensions" repeated
1727
- * field without an index.
1728
- * - Multiple locations may have the same path. This happens when a single
1729
- * logical declaration is spread out across multiple places. The most
1730
- * obvious example is the "extend" block again -- there may be multiple
1731
- * extend blocks in the same scope, each of which will have the same path.
1732
- * - A location's span is not always a subset of its parent's span. For
1733
- * example, the "extendee" of an extension declaration appears at the
1734
- * beginning of the "extend" block and is shared by all extensions within
1735
- * the block.
1736
- * - Just because a location's span is a subset of some other location's span
1737
- * does not mean that it is a descendant. For example, a "group" defines
1738
- * both a type and a field in a single declaration. Thus, the locations
1739
- * corresponding to the type and field and their components will overlap.
1740
- * - Code which tries to interpret locations should probably be designed to
1741
- * ignore those that it doesn't understand, as more types of locations could
1742
- * be recorded in the future.
1743
- *
1744
- * @generated from protobuf field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
1745
- */
1746
- location: SourceCodeInfo_Location[];
1747
- }
1748
- /**
1749
- * @generated from protobuf message google.protobuf.SourceCodeInfo.Location
1750
- */
1751
- export interface SourceCodeInfo_Location {
1752
- /**
1753
- * Identifies which part of the FileDescriptorProto was defined at this
1754
- * location.
1755
- *
1756
- * Each element is a field number or an index. They form a path from
1757
- * the root FileDescriptorProto to the place where the definition appears.
1758
- * For example, this path:
1759
- * [ 4, 3, 2, 7, 1 ]
1760
- * refers to:
1761
- * file.message_type(3) // 4, 3
1762
- * .field(7) // 2, 7
1763
- * .name() // 1
1764
- * This is because FileDescriptorProto.message_type has field number 4:
1765
- * repeated DescriptorProto message_type = 4;
1766
- * and DescriptorProto.field has field number 2:
1767
- * repeated FieldDescriptorProto field = 2;
1768
- * and FieldDescriptorProto.name has field number 1:
1769
- * optional string name = 1;
1770
- *
1771
- * Thus, the above path gives the location of a field name. If we removed
1772
- * the last element:
1773
- * [ 4, 3, 2, 7 ]
1774
- * this path refers to the whole field declaration (from the beginning
1775
- * of the label to the terminating semicolon).
1776
- *
1777
- * @generated from protobuf field: repeated int32 path = 1 [packed = true];
1778
- */
1779
- path: number[];
1780
- /**
1781
- * Always has exactly three or four elements: start line, start column,
1782
- * end line (optional, otherwise assumed same as start line), end column.
1783
- * These are packed into a single field for efficiency. Note that line
1784
- * and column numbers are zero-based -- typically you will want to add
1785
- * 1 to each before displaying to a user.
1786
- *
1787
- * @generated from protobuf field: repeated int32 span = 2 [packed = true];
1788
- */
1789
- span: number[];
1790
- /**
1791
- * If this SourceCodeInfo represents a complete declaration, these are any
1792
- * comments appearing before and after the declaration which appear to be
1793
- * attached to the declaration.
1794
- *
1795
- * A series of line comments appearing on consecutive lines, with no other
1796
- * tokens appearing on those lines, will be treated as a single comment.
1797
- *
1798
- * leading_detached_comments will keep paragraphs of comments that appear
1799
- * before (but not connected to) the current element. Each paragraph,
1800
- * separated by empty lines, will be one comment element in the repeated
1801
- * field.
1802
- *
1803
- * Only the comment content is provided; comment markers (e.g. //) are
1804
- * stripped out. For block comments, leading whitespace and an asterisk
1805
- * will be stripped from the beginning of each line other than the first.
1806
- * Newlines are included in the output.
1807
- *
1808
- * Examples:
1809
- *
1810
- * optional int32 foo = 1; // Comment attached to foo.
1811
- * // Comment attached to bar.
1812
- * optional int32 bar = 2;
1813
- *
1814
- * optional string baz = 3;
1815
- * // Comment attached to baz.
1816
- * // Another line attached to baz.
1817
- *
1818
- * // Comment attached to moo.
1819
- * //
1820
- * // Another line attached to moo.
1821
- * optional double moo = 4;
1822
- *
1823
- * // Detached comment for corge. This is not leading or trailing comments
1824
- * // to moo or corge because there are blank lines separating it from
1825
- * // both.
1826
- *
1827
- * // Detached comment for corge paragraph 2.
1828
- *
1829
- * optional string corge = 5;
1830
- * /* Block comment attached
1831
- * * to corge. Leading asterisks
1832
- * * will be removed. *\/
1833
- * /* Block comment attached to
1834
- * * grault. *\/
1835
- * optional int32 grault = 6;
1836
- *
1837
- * // ignored detached comments.
1838
- *
1839
- * @generated from protobuf field: optional string leading_comments = 3;
1840
- */
1841
- leadingComments?: string;
1842
- /**
1843
- * @generated from protobuf field: optional string trailing_comments = 4;
1844
- */
1845
- trailingComments?: string;
1846
- /**
1847
- * @generated from protobuf field: repeated string leading_detached_comments = 6;
1848
- */
1849
- leadingDetachedComments: string[];
1850
- }
1851
- /**
1852
- * Describes the relationship between generated code and its original source
1853
- * file. A GeneratedCodeInfo message is associated with only one generated
1854
- * source file, but may contain references to different source .proto files.
1855
- *
1856
- * @generated from protobuf message google.protobuf.GeneratedCodeInfo
1857
- */
1858
- export interface GeneratedCodeInfo {
1859
- /**
1860
- * An Annotation connects some span of text in generated code to an element
1861
- * of its generating .proto file.
1862
- *
1863
- * @generated from protobuf field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
1864
- */
1865
- annotation: GeneratedCodeInfo_Annotation[];
1866
- }
1867
- /**
1868
- * @generated from protobuf message google.protobuf.GeneratedCodeInfo.Annotation
1869
- */
1870
- export interface GeneratedCodeInfo_Annotation {
1871
- /**
1872
- * Identifies the element in the original source .proto file. This field
1873
- * is formatted the same as SourceCodeInfo.Location.path.
1874
- *
1875
- * @generated from protobuf field: repeated int32 path = 1 [packed = true];
1876
- */
1877
- path: number[];
1878
- /**
1879
- * Identifies the filesystem path to the original source .proto.
1880
- *
1881
- * @generated from protobuf field: optional string source_file = 2;
1882
- */
1883
- sourceFile?: string;
1884
- /**
1885
- * Identifies the starting offset in bytes in the generated code
1886
- * that relates to the identified object.
1887
- *
1888
- * @generated from protobuf field: optional int32 begin = 3;
1889
- */
1890
- begin?: number;
1891
- /**
1892
- * Identifies the ending offset in bytes in the generated code that
1893
- * relates to the identified object. The end offset should be one past
1894
- * the last relevant byte (so the length of the text = end - begin).
1895
- *
1896
- * @generated from protobuf field: optional int32 end = 4;
1897
- */
1898
- end?: number;
1899
- /**
1900
- * @generated from protobuf field: optional google.protobuf.GeneratedCodeInfo.Annotation.Semantic semantic = 5;
1901
- */
1902
- semantic?: GeneratedCodeInfo_Annotation_Semantic;
1903
- }
1904
- /**
1905
- * Represents the identified object's effect on the element in the original
1906
- * .proto file.
1907
- *
1908
- * @generated from protobuf enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
1909
- */
1910
- export declare enum GeneratedCodeInfo_Annotation_Semantic {
1911
- /**
1912
- * There is no effect or the effect is indescribable.
1913
- *
1914
- * @generated from protobuf enum value: NONE = 0;
1915
- */
1916
- NONE = 0,
1917
- /**
1918
- * The element is set or otherwise mutated.
1919
- *
1920
- * @generated from protobuf enum value: SET = 1;
1921
- */
1922
- SET = 1,
1923
- /**
1924
- * An alias to the element is returned.
1925
- *
1926
- * @generated from protobuf enum value: ALIAS = 2;
1927
- */
1928
- ALIAS = 2
1929
- }
1930
- /**
1931
- * The full set of known editions.
1932
- *
1933
- * @generated from protobuf enum google.protobuf.Edition
1934
- */
1935
- export declare enum Edition {
1936
- /**
1937
- * A placeholder for an unknown edition value.
1938
- *
1939
- * @generated from protobuf enum value: EDITION_UNKNOWN = 0;
1940
- */
1941
- EDITION_UNKNOWN = 0,
1942
- /**
1943
- * A placeholder edition for specifying default behaviors *before* a feature
1944
- * was first introduced. This is effectively an "infinite past".
1945
- *
1946
- * @generated from protobuf enum value: EDITION_LEGACY = 900;
1947
- */
1948
- EDITION_LEGACY = 900,
1949
- /**
1950
- * Legacy syntax "editions". These pre-date editions, but behave much like
1951
- * distinct editions. These can't be used to specify the edition of proto
1952
- * files, but feature definitions must supply proto2/proto3 defaults for
1953
- * backwards compatibility.
1954
- *
1955
- * @generated from protobuf enum value: EDITION_PROTO2 = 998;
1956
- */
1957
- EDITION_PROTO2 = 998,
1958
- /**
1959
- * @generated from protobuf enum value: EDITION_PROTO3 = 999;
1960
- */
1961
- EDITION_PROTO3 = 999,
1962
- /**
1963
- * Editions that have been released. The specific values are arbitrary and
1964
- * should not be depended on, but they will always be time-ordered for easy
1965
- * comparison.
1966
- *
1967
- * @generated from protobuf enum value: EDITION_2023 = 1000;
1968
- */
1969
- EDITION_2023 = 1000,
1970
- /**
1971
- * @generated from protobuf enum value: EDITION_2024 = 1001;
1972
- */
1973
- EDITION_2024 = 1001,
1974
- /**
1975
- * Placeholder editions for testing feature resolution. These should not be
1976
- * used or relied on outside of tests.
1977
- *
1978
- * @generated from protobuf enum value: EDITION_1_TEST_ONLY = 1;
1979
- */
1980
- EDITION_1_TEST_ONLY = 1,
1981
- /**
1982
- * @generated from protobuf enum value: EDITION_2_TEST_ONLY = 2;
1983
- */
1984
- EDITION_2_TEST_ONLY = 2,
1985
- /**
1986
- * @generated from protobuf enum value: EDITION_99997_TEST_ONLY = 99997;
1987
- */
1988
- EDITION_99997_TEST_ONLY = 99997,
1989
- /**
1990
- * @generated from protobuf enum value: EDITION_99998_TEST_ONLY = 99998;
1991
- */
1992
- EDITION_99998_TEST_ONLY = 99998,
1993
- /**
1994
- * @generated from protobuf enum value: EDITION_99999_TEST_ONLY = 99999;
1995
- */
1996
- EDITION_99999_TEST_ONLY = 99999,
1997
- /**
1998
- * Placeholder for specifying unbounded edition support. This should only
1999
- * ever be used by plugins that can expect to never require any changes to
2000
- * support a new edition.
2001
- *
2002
- * @generated from protobuf enum value: EDITION_MAX = 2147483647;
2003
- */
2004
- EDITION_MAX = 2147483647
2005
- }
2006
- declare class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
2007
- constructor();
2008
- create(value?: PartialMessage<FileDescriptorSet>): FileDescriptorSet;
2009
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorSet): FileDescriptorSet;
2010
- internalBinaryWrite(message: FileDescriptorSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2011
- }
2012
- /**
2013
- * @generated MessageType for protobuf message google.protobuf.FileDescriptorSet
2014
- */
2015
- export declare const FileDescriptorSet: FileDescriptorSet$Type;
2016
- declare class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
2017
- constructor();
2018
- create(value?: PartialMessage<FileDescriptorProto>): FileDescriptorProto;
2019
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorProto): FileDescriptorProto;
2020
- internalBinaryWrite(message: FileDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2021
- }
2022
- /**
2023
- * @generated MessageType for protobuf message google.protobuf.FileDescriptorProto
2024
- */
2025
- export declare const FileDescriptorProto: FileDescriptorProto$Type;
2026
- declare class DescriptorProto$Type extends MessageType<DescriptorProto> {
2027
- constructor();
2028
- create(value?: PartialMessage<DescriptorProto>): DescriptorProto;
2029
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto): DescriptorProto;
2030
- internalBinaryWrite(message: DescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2031
- }
2032
- /**
2033
- * @generated MessageType for protobuf message google.protobuf.DescriptorProto
2034
- */
2035
- export declare const DescriptorProto: DescriptorProto$Type;
2036
- declare class DescriptorProto_ExtensionRange$Type extends MessageType<DescriptorProto_ExtensionRange> {
2037
- constructor();
2038
- create(value?: PartialMessage<DescriptorProto_ExtensionRange>): DescriptorProto_ExtensionRange;
2039
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRange;
2040
- internalBinaryWrite(message: DescriptorProto_ExtensionRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2041
- }
2042
- /**
2043
- * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ExtensionRange
2044
- */
2045
- export declare const DescriptorProto_ExtensionRange: DescriptorProto_ExtensionRange$Type;
2046
- declare class DescriptorProto_ReservedRange$Type extends MessageType<DescriptorProto_ReservedRange> {
2047
- constructor();
2048
- create(value?: PartialMessage<DescriptorProto_ReservedRange>): DescriptorProto_ReservedRange;
2049
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ReservedRange): DescriptorProto_ReservedRange;
2050
- internalBinaryWrite(message: DescriptorProto_ReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2051
- }
2052
- /**
2053
- * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
2054
- */
2055
- export declare const DescriptorProto_ReservedRange: DescriptorProto_ReservedRange$Type;
2056
- declare class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
2057
- constructor();
2058
- create(value?: PartialMessage<ExtensionRangeOptions>): ExtensionRangeOptions;
2059
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions): ExtensionRangeOptions;
2060
- internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2061
- }
2062
- /**
2063
- * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
2064
- */
2065
- export declare const ExtensionRangeOptions: ExtensionRangeOptions$Type;
2066
- declare class ExtensionRangeOptions_Declaration$Type extends MessageType<ExtensionRangeOptions_Declaration> {
2067
- constructor();
2068
- create(value?: PartialMessage<ExtensionRangeOptions_Declaration>): ExtensionRangeOptions_Declaration;
2069
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions_Declaration): ExtensionRangeOptions_Declaration;
2070
- internalBinaryWrite(message: ExtensionRangeOptions_Declaration, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2071
- }
2072
- /**
2073
- * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions.Declaration
2074
- */
2075
- export declare const ExtensionRangeOptions_Declaration: ExtensionRangeOptions_Declaration$Type;
2076
- declare class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
2077
- constructor();
2078
- create(value?: PartialMessage<FieldDescriptorProto>): FieldDescriptorProto;
2079
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldDescriptorProto): FieldDescriptorProto;
2080
- internalBinaryWrite(message: FieldDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2081
- }
2082
- /**
2083
- * @generated MessageType for protobuf message google.protobuf.FieldDescriptorProto
2084
- */
2085
- export declare const FieldDescriptorProto: FieldDescriptorProto$Type;
2086
- declare class OneofDescriptorProto$Type extends MessageType<OneofDescriptorProto> {
2087
- constructor();
2088
- create(value?: PartialMessage<OneofDescriptorProto>): OneofDescriptorProto;
2089
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofDescriptorProto): OneofDescriptorProto;
2090
- internalBinaryWrite(message: OneofDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2091
- }
2092
- /**
2093
- * @generated MessageType for protobuf message google.protobuf.OneofDescriptorProto
2094
- */
2095
- export declare const OneofDescriptorProto: OneofDescriptorProto$Type;
2096
- declare class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
2097
- constructor();
2098
- create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto;
2099
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto): EnumDescriptorProto;
2100
- internalBinaryWrite(message: EnumDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2101
- }
2102
- /**
2103
- * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto
2104
- */
2105
- export declare const EnumDescriptorProto: EnumDescriptorProto$Type;
2106
- declare class EnumDescriptorProto_EnumReservedRange$Type extends MessageType<EnumDescriptorProto_EnumReservedRange> {
2107
- constructor();
2108
- create(value?: PartialMessage<EnumDescriptorProto_EnumReservedRange>): EnumDescriptorProto_EnumReservedRange;
2109
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRange;
2110
- internalBinaryWrite(message: EnumDescriptorProto_EnumReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2111
- }
2112
- /**
2113
- * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
2114
- */
2115
- export declare const EnumDescriptorProto_EnumReservedRange: EnumDescriptorProto_EnumReservedRange$Type;
2116
- declare class EnumValueDescriptorProto$Type extends MessageType<EnumValueDescriptorProto> {
2117
- constructor();
2118
- create(value?: PartialMessage<EnumValueDescriptorProto>): EnumValueDescriptorProto;
2119
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueDescriptorProto): EnumValueDescriptorProto;
2120
- internalBinaryWrite(message: EnumValueDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2121
- }
2122
- /**
2123
- * @generated MessageType for protobuf message google.protobuf.EnumValueDescriptorProto
2124
- */
2125
- export declare const EnumValueDescriptorProto: EnumValueDescriptorProto$Type;
2126
- declare class ServiceDescriptorProto$Type extends MessageType<ServiceDescriptorProto> {
2127
- constructor();
2128
- create(value?: PartialMessage<ServiceDescriptorProto>): ServiceDescriptorProto;
2129
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceDescriptorProto): ServiceDescriptorProto;
2130
- internalBinaryWrite(message: ServiceDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2131
- }
2132
- /**
2133
- * @generated MessageType for protobuf message google.protobuf.ServiceDescriptorProto
2134
- */
2135
- export declare const ServiceDescriptorProto: ServiceDescriptorProto$Type;
2136
- declare class MethodDescriptorProto$Type extends MessageType<MethodDescriptorProto> {
2137
- constructor();
2138
- create(value?: PartialMessage<MethodDescriptorProto>): MethodDescriptorProto;
2139
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodDescriptorProto): MethodDescriptorProto;
2140
- internalBinaryWrite(message: MethodDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2141
- }
2142
- /**
2143
- * @generated MessageType for protobuf message google.protobuf.MethodDescriptorProto
2144
- */
2145
- export declare const MethodDescriptorProto: MethodDescriptorProto$Type;
2146
- declare class FileOptions$Type extends MessageType<FileOptions> {
2147
- constructor();
2148
- create(value?: PartialMessage<FileOptions>): FileOptions;
2149
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileOptions): FileOptions;
2150
- internalBinaryWrite(message: FileOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2151
- }
2152
- /**
2153
- * @generated MessageType for protobuf message google.protobuf.FileOptions
2154
- */
2155
- export declare const FileOptions: FileOptions$Type;
2156
- declare class MessageOptions$Type extends MessageType<MessageOptions> {
2157
- constructor();
2158
- create(value?: PartialMessage<MessageOptions>): MessageOptions;
2159
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MessageOptions): MessageOptions;
2160
- internalBinaryWrite(message: MessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2161
- }
2162
- /**
2163
- * @generated MessageType for protobuf message google.protobuf.MessageOptions
2164
- */
2165
- export declare const MessageOptions: MessageOptions$Type;
2166
- declare class FieldOptions$Type extends MessageType<FieldOptions> {
2167
- constructor();
2168
- create(value?: PartialMessage<FieldOptions>): FieldOptions;
2169
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions): FieldOptions;
2170
- internalBinaryWrite(message: FieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2171
- }
2172
- /**
2173
- * @generated MessageType for protobuf message google.protobuf.FieldOptions
2174
- */
2175
- export declare const FieldOptions: FieldOptions$Type;
2176
- declare class FieldOptions_EditionDefault$Type extends MessageType<FieldOptions_EditionDefault> {
2177
- constructor();
2178
- create(value?: PartialMessage<FieldOptions_EditionDefault>): FieldOptions_EditionDefault;
2179
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_EditionDefault): FieldOptions_EditionDefault;
2180
- internalBinaryWrite(message: FieldOptions_EditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2181
- }
2182
- /**
2183
- * @generated MessageType for protobuf message google.protobuf.FieldOptions.EditionDefault
2184
- */
2185
- export declare const FieldOptions_EditionDefault: FieldOptions_EditionDefault$Type;
2186
- declare class FieldOptions_FeatureSupport$Type extends MessageType<FieldOptions_FeatureSupport> {
2187
- constructor();
2188
- create(value?: PartialMessage<FieldOptions_FeatureSupport>): FieldOptions_FeatureSupport;
2189
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions_FeatureSupport): FieldOptions_FeatureSupport;
2190
- internalBinaryWrite(message: FieldOptions_FeatureSupport, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2191
- }
2192
- /**
2193
- * @generated MessageType for protobuf message google.protobuf.FieldOptions.FeatureSupport
2194
- */
2195
- export declare const FieldOptions_FeatureSupport: FieldOptions_FeatureSupport$Type;
2196
- declare class OneofOptions$Type extends MessageType<OneofOptions> {
2197
- constructor();
2198
- create(value?: PartialMessage<OneofOptions>): OneofOptions;
2199
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofOptions): OneofOptions;
2200
- internalBinaryWrite(message: OneofOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2201
- }
2202
- /**
2203
- * @generated MessageType for protobuf message google.protobuf.OneofOptions
2204
- */
2205
- export declare const OneofOptions: OneofOptions$Type;
2206
- declare class EnumOptions$Type extends MessageType<EnumOptions> {
2207
- constructor();
2208
- create(value?: PartialMessage<EnumOptions>): EnumOptions;
2209
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumOptions): EnumOptions;
2210
- internalBinaryWrite(message: EnumOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2211
- }
2212
- /**
2213
- * @generated MessageType for protobuf message google.protobuf.EnumOptions
2214
- */
2215
- export declare const EnumOptions: EnumOptions$Type;
2216
- declare class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
2217
- constructor();
2218
- create(value?: PartialMessage<EnumValueOptions>): EnumValueOptions;
2219
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueOptions): EnumValueOptions;
2220
- internalBinaryWrite(message: EnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2221
- }
2222
- /**
2223
- * @generated MessageType for protobuf message google.protobuf.EnumValueOptions
2224
- */
2225
- export declare const EnumValueOptions: EnumValueOptions$Type;
2226
- declare class ServiceOptions$Type extends MessageType<ServiceOptions> {
2227
- constructor();
2228
- create(value?: PartialMessage<ServiceOptions>): ServiceOptions;
2229
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceOptions): ServiceOptions;
2230
- internalBinaryWrite(message: ServiceOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2231
- }
2232
- /**
2233
- * @generated MessageType for protobuf message google.protobuf.ServiceOptions
2234
- */
2235
- export declare const ServiceOptions: ServiceOptions$Type;
2236
- declare class MethodOptions$Type extends MessageType<MethodOptions> {
2237
- constructor();
2238
- create(value?: PartialMessage<MethodOptions>): MethodOptions;
2239
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodOptions): MethodOptions;
2240
- internalBinaryWrite(message: MethodOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2241
- }
2242
- /**
2243
- * @generated MessageType for protobuf message google.protobuf.MethodOptions
2244
- */
2245
- export declare const MethodOptions: MethodOptions$Type;
2246
- declare class UninterpretedOption$Type extends MessageType<UninterpretedOption> {
2247
- constructor();
2248
- create(value?: PartialMessage<UninterpretedOption>): UninterpretedOption;
2249
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption): UninterpretedOption;
2250
- internalBinaryWrite(message: UninterpretedOption, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2251
- }
2252
- /**
2253
- * @generated MessageType for protobuf message google.protobuf.UninterpretedOption
2254
- */
2255
- export declare const UninterpretedOption: UninterpretedOption$Type;
2256
- declare class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_NamePart> {
2257
- constructor();
2258
- create(value?: PartialMessage<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
2259
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption_NamePart): UninterpretedOption_NamePart;
2260
- internalBinaryWrite(message: UninterpretedOption_NamePart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2261
- }
2262
- /**
2263
- * @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
2264
- */
2265
- export declare const UninterpretedOption_NamePart: UninterpretedOption_NamePart$Type;
2266
- declare class FeatureSet$Type extends MessageType<FeatureSet> {
2267
- constructor();
2268
- create(value?: PartialMessage<FeatureSet>): FeatureSet;
2269
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSet): FeatureSet;
2270
- internalBinaryWrite(message: FeatureSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2271
- }
2272
- /**
2273
- * @generated MessageType for protobuf message google.protobuf.FeatureSet
2274
- */
2275
- export declare const FeatureSet: FeatureSet$Type;
2276
- declare class FeatureSetDefaults$Type extends MessageType<FeatureSetDefaults> {
2277
- constructor();
2278
- create(value?: PartialMessage<FeatureSetDefaults>): FeatureSetDefaults;
2279
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults): FeatureSetDefaults;
2280
- internalBinaryWrite(message: FeatureSetDefaults, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2281
- }
2282
- /**
2283
- * @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults
2284
- */
2285
- export declare const FeatureSetDefaults: FeatureSetDefaults$Type;
2286
- declare class FeatureSetDefaults_FeatureSetEditionDefault$Type extends MessageType<FeatureSetDefaults_FeatureSetEditionDefault> {
2287
- constructor();
2288
- create(value?: PartialMessage<FeatureSetDefaults_FeatureSetEditionDefault>): FeatureSetDefaults_FeatureSetEditionDefault;
2289
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FeatureSetDefaults_FeatureSetEditionDefault): FeatureSetDefaults_FeatureSetEditionDefault;
2290
- internalBinaryWrite(message: FeatureSetDefaults_FeatureSetEditionDefault, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2291
- }
2292
- /**
2293
- * @generated MessageType for protobuf message google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
2294
- */
2295
- export declare const FeatureSetDefaults_FeatureSetEditionDefault: FeatureSetDefaults_FeatureSetEditionDefault$Type;
2296
- declare class SourceCodeInfo$Type extends MessageType<SourceCodeInfo> {
2297
- constructor();
2298
- create(value?: PartialMessage<SourceCodeInfo>): SourceCodeInfo;
2299
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo): SourceCodeInfo;
2300
- internalBinaryWrite(message: SourceCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2301
- }
2302
- /**
2303
- * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo
2304
- */
2305
- export declare const SourceCodeInfo: SourceCodeInfo$Type;
2306
- declare class SourceCodeInfo_Location$Type extends MessageType<SourceCodeInfo_Location> {
2307
- constructor();
2308
- create(value?: PartialMessage<SourceCodeInfo_Location>): SourceCodeInfo_Location;
2309
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo_Location): SourceCodeInfo_Location;
2310
- internalBinaryWrite(message: SourceCodeInfo_Location, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2311
- }
2312
- /**
2313
- * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo.Location
2314
- */
2315
- export declare const SourceCodeInfo_Location: SourceCodeInfo_Location$Type;
2316
- declare class GeneratedCodeInfo$Type extends MessageType<GeneratedCodeInfo> {
2317
- constructor();
2318
- create(value?: PartialMessage<GeneratedCodeInfo>): GeneratedCodeInfo;
2319
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo): GeneratedCodeInfo;
2320
- internalBinaryWrite(message: GeneratedCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2321
- }
2322
- /**
2323
- * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo
2324
- */
2325
- export declare const GeneratedCodeInfo: GeneratedCodeInfo$Type;
2326
- declare class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_Annotation> {
2327
- constructor();
2328
- create(value?: PartialMessage<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation;
2329
- internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_Annotation;
2330
- internalBinaryWrite(message: GeneratedCodeInfo_Annotation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
2331
- }
2332
- /**
2333
- * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo.Annotation
2334
- */
2335
- export declare const GeneratedCodeInfo_Annotation: GeneratedCodeInfo_Annotation$Type;
2336
- export {};
2337
- //# sourceMappingURL=descriptor.d.ts.map