@milaboratories/pl-drivers 1.2.16

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 (117) hide show
  1. package/README.md +18 -0
  2. package/dist/clients/download.d.ts +30 -0
  3. package/dist/clients/download.d.ts.map +1 -0
  4. package/dist/clients/helpers.d.ts +14 -0
  5. package/dist/clients/helpers.d.ts.map +1 -0
  6. package/dist/clients/logs.d.ts +26 -0
  7. package/dist/clients/logs.d.ts.map +1 -0
  8. package/dist/clients/ls_api.d.ts +13 -0
  9. package/dist/clients/ls_api.d.ts.map +1 -0
  10. package/dist/clients/progress.d.ts +25 -0
  11. package/dist/clients/progress.d.ts.map +1 -0
  12. package/dist/clients/upload.d.ts +38 -0
  13. package/dist/clients/upload.d.ts.map +1 -0
  14. package/dist/drivers/download_and_logs_blob.d.ts +106 -0
  15. package/dist/drivers/download_and_logs_blob.d.ts.map +1 -0
  16. package/dist/drivers/download_url.d.ts +70 -0
  17. package/dist/drivers/download_url.d.ts.map +1 -0
  18. package/dist/drivers/helpers/files_cache.d.ts +28 -0
  19. package/dist/drivers/helpers/files_cache.d.ts.map +1 -0
  20. package/dist/drivers/helpers/helpers.d.ts +34 -0
  21. package/dist/drivers/helpers/helpers.d.ts.map +1 -0
  22. package/dist/drivers/helpers/ls_list_entry.d.ts +49 -0
  23. package/dist/drivers/helpers/ls_list_entry.d.ts.map +1 -0
  24. package/dist/drivers/helpers/ls_storage_entry.d.ts +25 -0
  25. package/dist/drivers/helpers/ls_storage_entry.d.ts.map +1 -0
  26. package/dist/drivers/helpers/polling_ops.d.ts +8 -0
  27. package/dist/drivers/helpers/polling_ops.d.ts.map +1 -0
  28. package/dist/drivers/helpers/test_helpers.d.ts +2 -0
  29. package/dist/drivers/helpers/test_helpers.d.ts.map +1 -0
  30. package/dist/drivers/logs.d.ts +29 -0
  31. package/dist/drivers/logs.d.ts.map +1 -0
  32. package/dist/drivers/logs_stream.d.ts +50 -0
  33. package/dist/drivers/logs_stream.d.ts.map +1 -0
  34. package/dist/drivers/ls.d.ts +30 -0
  35. package/dist/drivers/ls.d.ts.map +1 -0
  36. package/dist/drivers/upload.d.ts +87 -0
  37. package/dist/drivers/upload.d.ts.map +1 -0
  38. package/dist/helpers/download.d.ts +15 -0
  39. package/dist/helpers/download.d.ts.map +1 -0
  40. package/dist/index.cjs +2 -0
  41. package/dist/index.cjs.map +1 -0
  42. package/dist/index.d.ts +15 -0
  43. package/dist/index.d.ts.map +1 -0
  44. package/dist/index.js +4627 -0
  45. package/dist/index.js.map +1 -0
  46. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts +36 -0
  47. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.d.ts.map +1 -0
  48. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts +103 -0
  49. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.d.ts.map +1 -0
  50. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts +42 -0
  51. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.d.ts.map +1 -0
  52. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts +165 -0
  53. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.d.ts.map +1 -0
  54. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts +44 -0
  55. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.d.ts.map +1 -0
  56. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts +171 -0
  57. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.d.ts.map +1 -0
  58. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts +122 -0
  59. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.d.ts.map +1 -0
  60. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts +315 -0
  61. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.d.ts.map +1 -0
  62. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts +98 -0
  63. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.d.ts.map +1 -0
  64. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts +337 -0
  65. package/dist/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.d.ts.map +1 -0
  66. package/dist/proto/google/api/http.d.ts +451 -0
  67. package/dist/proto/google/api/http.d.ts.map +1 -0
  68. package/dist/proto/google/protobuf/descriptor.d.ts +1646 -0
  69. package/dist/proto/google/protobuf/descriptor.d.ts.map +1 -0
  70. package/dist/proto/google/protobuf/duration.d.ts +106 -0
  71. package/dist/proto/google/protobuf/duration.d.ts.map +1 -0
  72. package/dist/proto/google/protobuf/timestamp.d.ts +151 -0
  73. package/dist/proto/google/protobuf/timestamp.d.ts.map +1 -0
  74. package/package.json +47 -0
  75. package/src/clients/download.test.ts +45 -0
  76. package/src/clients/download.ts +106 -0
  77. package/src/clients/helpers.ts +84 -0
  78. package/src/clients/logs.ts +68 -0
  79. package/src/clients/ls_api.ts +34 -0
  80. package/src/clients/progress.ts +86 -0
  81. package/src/clients/upload.test.ts +30 -0
  82. package/src/clients/upload.ts +199 -0
  83. package/src/drivers/download_and_logs_blob.ts +801 -0
  84. package/src/drivers/download_blob.test.ts +223 -0
  85. package/src/drivers/download_url.test.ts +90 -0
  86. package/src/drivers/download_url.ts +314 -0
  87. package/src/drivers/helpers/files_cache.test.ts +79 -0
  88. package/src/drivers/helpers/files_cache.ts +74 -0
  89. package/src/drivers/helpers/helpers.ts +136 -0
  90. package/src/drivers/helpers/ls_list_entry.test.ts +57 -0
  91. package/src/drivers/helpers/ls_list_entry.ts +152 -0
  92. package/src/drivers/helpers/ls_storage_entry.ts +135 -0
  93. package/src/drivers/helpers/polling_ops.ts +7 -0
  94. package/src/drivers/helpers/test_helpers.ts +5 -0
  95. package/src/drivers/logs.test.ts +337 -0
  96. package/src/drivers/logs.ts +214 -0
  97. package/src/drivers/logs_stream.ts +399 -0
  98. package/src/drivers/ls.test.ts +90 -0
  99. package/src/drivers/ls.ts +147 -0
  100. package/src/drivers/upload.test.ts +454 -0
  101. package/src/drivers/upload.ts +499 -0
  102. package/src/helpers/download.ts +43 -0
  103. package/src/index.ts +15 -0
  104. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.client.ts +60 -0
  105. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/downloadapi/protocol.ts +442 -0
  106. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.client.ts +63 -0
  107. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/lsapi/protocol.ts +503 -0
  108. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.client.ts +84 -0
  109. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/progressapi/protocol.ts +697 -0
  110. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.client.ts +212 -0
  111. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/streamingapi/protocol.ts +1036 -0
  112. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.client.ts +170 -0
  113. package/src/proto/github.com/milaboratory/pl/controllers/shared/grpc/uploadapi/protocol.ts +1201 -0
  114. package/src/proto/google/api/http.ts +838 -0
  115. package/src/proto/google/protobuf/descriptor.ts +5173 -0
  116. package/src/proto/google/protobuf/duration.ts +272 -0
  117. package/src/proto/google/protobuf/timestamp.ts +354 -0
@@ -0,0 +1,1646 @@
1
+ import { BinaryWriteOptions, IBinaryWriter, BinaryReadOptions, IBinaryReader, PartialMessage, MessageType } from '@protobuf-ts/runtime';
2
+ /**
3
+ * The protocol compiler can output a FileDescriptorSet containing the .proto
4
+ * files it parses.
5
+ *
6
+ * @generated from protobuf message google.protobuf.FileDescriptorSet
7
+ */
8
+ export interface FileDescriptorSet {
9
+ /**
10
+ * @generated from protobuf field: repeated google.protobuf.FileDescriptorProto file = 1;
11
+ */
12
+ file: FileDescriptorProto[];
13
+ }
14
+ /**
15
+ * Describes a complete .proto file.
16
+ *
17
+ * @generated from protobuf message google.protobuf.FileDescriptorProto
18
+ */
19
+ export interface FileDescriptorProto {
20
+ /**
21
+ * @generated from protobuf field: optional string name = 1;
22
+ */
23
+ name?: string;
24
+ /**
25
+ * @generated from protobuf field: optional string package = 2;
26
+ */
27
+ package?: string;
28
+ /**
29
+ * Names of files imported by this file.
30
+ *
31
+ * @generated from protobuf field: repeated string dependency = 3;
32
+ */
33
+ dependency: string[];
34
+ /**
35
+ * Indexes of the public imported files in the dependency list above.
36
+ *
37
+ * @generated from protobuf field: repeated int32 public_dependency = 10;
38
+ */
39
+ publicDependency: number[];
40
+ /**
41
+ * Indexes of the weak imported files in the dependency list.
42
+ * For Google-internal migration only. Do not use.
43
+ *
44
+ * @generated from protobuf field: repeated int32 weak_dependency = 11;
45
+ */
46
+ weakDependency: number[];
47
+ /**
48
+ * All top-level definitions in this file.
49
+ *
50
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto message_type = 4;
51
+ */
52
+ messageType: DescriptorProto[];
53
+ /**
54
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 5;
55
+ */
56
+ enumType: EnumDescriptorProto[];
57
+ /**
58
+ * @generated from protobuf field: repeated google.protobuf.ServiceDescriptorProto service = 6;
59
+ */
60
+ service: ServiceDescriptorProto[];
61
+ /**
62
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 7;
63
+ */
64
+ extension: FieldDescriptorProto[];
65
+ /**
66
+ * @generated from protobuf field: optional google.protobuf.FileOptions options = 8;
67
+ */
68
+ options?: FileOptions;
69
+ /**
70
+ * This field contains optional information about the original source code.
71
+ * You may safely remove this entire field without harming runtime
72
+ * functionality of the descriptors -- the information is needed only by
73
+ * development tools.
74
+ *
75
+ * @generated from protobuf field: optional google.protobuf.SourceCodeInfo source_code_info = 9;
76
+ */
77
+ sourceCodeInfo?: SourceCodeInfo;
78
+ /**
79
+ * The syntax of the proto file.
80
+ * The supported values are "proto2" and "proto3".
81
+ *
82
+ * @generated from protobuf field: optional string syntax = 12;
83
+ */
84
+ syntax?: string;
85
+ }
86
+ /**
87
+ * Describes a message type.
88
+ *
89
+ * @generated from protobuf message google.protobuf.DescriptorProto
90
+ */
91
+ export interface DescriptorProto {
92
+ /**
93
+ * @generated from protobuf field: optional string name = 1;
94
+ */
95
+ name?: string;
96
+ /**
97
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto field = 2;
98
+ */
99
+ field: FieldDescriptorProto[];
100
+ /**
101
+ * @generated from protobuf field: repeated google.protobuf.FieldDescriptorProto extension = 6;
102
+ */
103
+ extension: FieldDescriptorProto[];
104
+ /**
105
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto nested_type = 3;
106
+ */
107
+ nestedType: DescriptorProto[];
108
+ /**
109
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto enum_type = 4;
110
+ */
111
+ enumType: EnumDescriptorProto[];
112
+ /**
113
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ExtensionRange extension_range = 5;
114
+ */
115
+ extensionRange: DescriptorProto_ExtensionRange[];
116
+ /**
117
+ * @generated from protobuf field: repeated google.protobuf.OneofDescriptorProto oneof_decl = 8;
118
+ */
119
+ oneofDecl: OneofDescriptorProto[];
120
+ /**
121
+ * @generated from protobuf field: optional google.protobuf.MessageOptions options = 7;
122
+ */
123
+ options?: MessageOptions;
124
+ /**
125
+ * @generated from protobuf field: repeated google.protobuf.DescriptorProto.ReservedRange reserved_range = 9;
126
+ */
127
+ reservedRange: DescriptorProto_ReservedRange[];
128
+ /**
129
+ * Reserved field names, which may not be used by fields in the same message.
130
+ * A given name may only be reserved once.
131
+ *
132
+ * @generated from protobuf field: repeated string reserved_name = 10;
133
+ */
134
+ reservedName: string[];
135
+ }
136
+ /**
137
+ * @generated from protobuf message google.protobuf.DescriptorProto.ExtensionRange
138
+ */
139
+ export interface DescriptorProto_ExtensionRange {
140
+ /**
141
+ * @generated from protobuf field: optional int32 start = 1;
142
+ */
143
+ start?: number;
144
+ /**
145
+ * @generated from protobuf field: optional int32 end = 2;
146
+ */
147
+ end?: number;
148
+ /**
149
+ * @generated from protobuf field: optional google.protobuf.ExtensionRangeOptions options = 3;
150
+ */
151
+ options?: ExtensionRangeOptions;
152
+ }
153
+ /**
154
+ * Range of reserved tag numbers. Reserved tag numbers may not be used by
155
+ * fields or extension ranges in the same message. Reserved ranges may
156
+ * not overlap.
157
+ *
158
+ * @generated from protobuf message google.protobuf.DescriptorProto.ReservedRange
159
+ */
160
+ export interface DescriptorProto_ReservedRange {
161
+ /**
162
+ * @generated from protobuf field: optional int32 start = 1;
163
+ */
164
+ start?: number;
165
+ /**
166
+ * @generated from protobuf field: optional int32 end = 2;
167
+ */
168
+ end?: number;
169
+ }
170
+ /**
171
+ * @generated from protobuf message google.protobuf.ExtensionRangeOptions
172
+ */
173
+ export interface ExtensionRangeOptions {
174
+ /**
175
+ * The parser stores options it doesn't recognize here. See above.
176
+ *
177
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
178
+ */
179
+ uninterpretedOption: UninterpretedOption[];
180
+ }
181
+ /**
182
+ * Describes a field within a message.
183
+ *
184
+ * @generated from protobuf message google.protobuf.FieldDescriptorProto
185
+ */
186
+ export interface FieldDescriptorProto {
187
+ /**
188
+ * @generated from protobuf field: optional string name = 1;
189
+ */
190
+ name?: string;
191
+ /**
192
+ * @generated from protobuf field: optional int32 number = 3;
193
+ */
194
+ number?: number;
195
+ /**
196
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Label label = 4;
197
+ */
198
+ label?: FieldDescriptorProto_Label;
199
+ /**
200
+ * If type_name is set, this need not be set. If both this and type_name
201
+ * are set, this must be one of TYPE_ENUM, TYPE_MESSAGE or TYPE_GROUP.
202
+ *
203
+ * @generated from protobuf field: optional google.protobuf.FieldDescriptorProto.Type type = 5;
204
+ */
205
+ type?: FieldDescriptorProto_Type;
206
+ /**
207
+ * For message and enum types, this is the name of the type. If the name
208
+ * starts with a '.', it is fully-qualified. Otherwise, C++-like scoping
209
+ * rules are used to find the type (i.e. first the nested types within this
210
+ * message are searched, then within the parent, on up to the root
211
+ * namespace).
212
+ *
213
+ * @generated from protobuf field: optional string type_name = 6;
214
+ */
215
+ typeName?: string;
216
+ /**
217
+ * For extensions, this is the name of the type being extended. It is
218
+ * resolved in the same manner as type_name.
219
+ *
220
+ * @generated from protobuf field: optional string extendee = 2;
221
+ */
222
+ extendee?: string;
223
+ /**
224
+ * For numeric types, contains the original text representation of the value.
225
+ * For booleans, "true" or "false".
226
+ * For strings, contains the default text contents (not escaped in any way).
227
+ * For bytes, contains the C escaped value. All bytes >= 128 are escaped.
228
+ *
229
+ * @generated from protobuf field: optional string default_value = 7;
230
+ */
231
+ defaultValue?: string;
232
+ /**
233
+ * If set, gives the index of a oneof in the containing type's oneof_decl
234
+ * list. This field is a member of that oneof.
235
+ *
236
+ * @generated from protobuf field: optional int32 oneof_index = 9;
237
+ */
238
+ oneofIndex?: number;
239
+ /**
240
+ * JSON name of this field. The value is set by protocol compiler. If the
241
+ * user has set a "json_name" option on this field, that option's value
242
+ * will be used. Otherwise, it's deduced from the field's name by converting
243
+ * it to camelCase.
244
+ *
245
+ * @generated from protobuf field: optional string json_name = 10;
246
+ */
247
+ jsonName?: string;
248
+ /**
249
+ * @generated from protobuf field: optional google.protobuf.FieldOptions options = 8;
250
+ */
251
+ options?: FieldOptions;
252
+ /**
253
+ * If true, this is a proto3 "optional". When a proto3 field is optional, it
254
+ * tracks presence regardless of field type.
255
+ *
256
+ * When proto3_optional is true, this field must be belong to a oneof to
257
+ * signal to old proto3 clients that presence is tracked for this field. This
258
+ * oneof is known as a "synthetic" oneof, and this field must be its sole
259
+ * member (each proto3 optional field gets its own synthetic oneof). Synthetic
260
+ * oneofs exist in the descriptor only, and do not generate any API. Synthetic
261
+ * oneofs must be ordered after all "real" oneofs.
262
+ *
263
+ * For message fields, proto3_optional doesn't create any semantic change,
264
+ * since non-repeated message fields always track presence. However it still
265
+ * indicates the semantic detail of whether the user wrote "optional" or not.
266
+ * This can be useful for round-tripping the .proto file. For consistency we
267
+ * give message fields a synthetic oneof also, even though it is not required
268
+ * to track presence. This is especially important because the parser can't
269
+ * tell if a field is a message or an enum, so it must always create a
270
+ * synthetic oneof.
271
+ *
272
+ * Proto2 optional fields do not set this flag, because they already indicate
273
+ * optional with `LABEL_OPTIONAL`.
274
+ *
275
+ * @generated from protobuf field: optional bool proto3_optional = 17;
276
+ */
277
+ proto3Optional?: boolean;
278
+ }
279
+ /**
280
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Type
281
+ */
282
+ export declare enum FieldDescriptorProto_Type {
283
+ /**
284
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
285
+ */
286
+ UNSPECIFIED$ = 0,
287
+ /**
288
+ * 0 is reserved for errors.
289
+ * Order is weird for historical reasons.
290
+ *
291
+ * @generated from protobuf enum value: TYPE_DOUBLE = 1;
292
+ */
293
+ DOUBLE = 1,
294
+ /**
295
+ * @generated from protobuf enum value: TYPE_FLOAT = 2;
296
+ */
297
+ FLOAT = 2,
298
+ /**
299
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
300
+ * negative values are likely.
301
+ *
302
+ * @generated from protobuf enum value: TYPE_INT64 = 3;
303
+ */
304
+ INT64 = 3,
305
+ /**
306
+ * @generated from protobuf enum value: TYPE_UINT64 = 4;
307
+ */
308
+ UINT64 = 4,
309
+ /**
310
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
311
+ * negative values are likely.
312
+ *
313
+ * @generated from protobuf enum value: TYPE_INT32 = 5;
314
+ */
315
+ INT32 = 5,
316
+ /**
317
+ * @generated from protobuf enum value: TYPE_FIXED64 = 6;
318
+ */
319
+ FIXED64 = 6,
320
+ /**
321
+ * @generated from protobuf enum value: TYPE_FIXED32 = 7;
322
+ */
323
+ FIXED32 = 7,
324
+ /**
325
+ * @generated from protobuf enum value: TYPE_BOOL = 8;
326
+ */
327
+ BOOL = 8,
328
+ /**
329
+ * @generated from protobuf enum value: TYPE_STRING = 9;
330
+ */
331
+ STRING = 9,
332
+ /**
333
+ * Tag-delimited aggregate.
334
+ * Group type is deprecated and not supported in proto3. However, Proto3
335
+ * implementations should still be able to parse the group wire format and
336
+ * treat group fields as unknown fields.
337
+ *
338
+ * @generated from protobuf enum value: TYPE_GROUP = 10;
339
+ */
340
+ GROUP = 10,
341
+ /**
342
+ * Length-delimited aggregate.
343
+ *
344
+ * @generated from protobuf enum value: TYPE_MESSAGE = 11;
345
+ */
346
+ MESSAGE = 11,
347
+ /**
348
+ * New in version 2.
349
+ *
350
+ * @generated from protobuf enum value: TYPE_BYTES = 12;
351
+ */
352
+ BYTES = 12,
353
+ /**
354
+ * @generated from protobuf enum value: TYPE_UINT32 = 13;
355
+ */
356
+ UINT32 = 13,
357
+ /**
358
+ * @generated from protobuf enum value: TYPE_ENUM = 14;
359
+ */
360
+ ENUM = 14,
361
+ /**
362
+ * @generated from protobuf enum value: TYPE_SFIXED32 = 15;
363
+ */
364
+ SFIXED32 = 15,
365
+ /**
366
+ * @generated from protobuf enum value: TYPE_SFIXED64 = 16;
367
+ */
368
+ SFIXED64 = 16,
369
+ /**
370
+ * Uses ZigZag encoding.
371
+ *
372
+ * @generated from protobuf enum value: TYPE_SINT32 = 17;
373
+ */
374
+ SINT32 = 17,
375
+ /**
376
+ * Uses ZigZag encoding.
377
+ *
378
+ * @generated from protobuf enum value: TYPE_SINT64 = 18;
379
+ */
380
+ SINT64 = 18
381
+ }
382
+ /**
383
+ * @generated from protobuf enum google.protobuf.FieldDescriptorProto.Label
384
+ */
385
+ export declare enum FieldDescriptorProto_Label {
386
+ /**
387
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
388
+ */
389
+ UNSPECIFIED$ = 0,
390
+ /**
391
+ * 0 is reserved for errors
392
+ *
393
+ * @generated from protobuf enum value: LABEL_OPTIONAL = 1;
394
+ */
395
+ OPTIONAL = 1,
396
+ /**
397
+ * @generated from protobuf enum value: LABEL_REQUIRED = 2;
398
+ */
399
+ REQUIRED = 2,
400
+ /**
401
+ * @generated from protobuf enum value: LABEL_REPEATED = 3;
402
+ */
403
+ REPEATED = 3
404
+ }
405
+ /**
406
+ * Describes a oneof.
407
+ *
408
+ * @generated from protobuf message google.protobuf.OneofDescriptorProto
409
+ */
410
+ export interface OneofDescriptorProto {
411
+ /**
412
+ * @generated from protobuf field: optional string name = 1;
413
+ */
414
+ name?: string;
415
+ /**
416
+ * @generated from protobuf field: optional google.protobuf.OneofOptions options = 2;
417
+ */
418
+ options?: OneofOptions;
419
+ }
420
+ /**
421
+ * Describes an enum type.
422
+ *
423
+ * @generated from protobuf message google.protobuf.EnumDescriptorProto
424
+ */
425
+ export interface EnumDescriptorProto {
426
+ /**
427
+ * @generated from protobuf field: optional string name = 1;
428
+ */
429
+ name?: string;
430
+ /**
431
+ * @generated from protobuf field: repeated google.protobuf.EnumValueDescriptorProto value = 2;
432
+ */
433
+ value: EnumValueDescriptorProto[];
434
+ /**
435
+ * @generated from protobuf field: optional google.protobuf.EnumOptions options = 3;
436
+ */
437
+ options?: EnumOptions;
438
+ /**
439
+ * Range of reserved numeric values. Reserved numeric values may not be used
440
+ * by enum values in the same enum declaration. Reserved ranges may not
441
+ * overlap.
442
+ *
443
+ * @generated from protobuf field: repeated google.protobuf.EnumDescriptorProto.EnumReservedRange reserved_range = 4;
444
+ */
445
+ reservedRange: EnumDescriptorProto_EnumReservedRange[];
446
+ /**
447
+ * Reserved enum value names, which may not be reused. A given name may only
448
+ * be reserved once.
449
+ *
450
+ * @generated from protobuf field: repeated string reserved_name = 5;
451
+ */
452
+ reservedName: string[];
453
+ }
454
+ /**
455
+ * Range of reserved numeric values. Reserved values may not be used by
456
+ * entries in the same enum. Reserved ranges may not overlap.
457
+ *
458
+ * Note that this is distinct from DescriptorProto.ReservedRange in that it
459
+ * is inclusive such that it can appropriately represent the entire int32
460
+ * domain.
461
+ *
462
+ * @generated from protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
463
+ */
464
+ export interface EnumDescriptorProto_EnumReservedRange {
465
+ /**
466
+ * @generated from protobuf field: optional int32 start = 1;
467
+ */
468
+ start?: number;
469
+ /**
470
+ * @generated from protobuf field: optional int32 end = 2;
471
+ */
472
+ end?: number;
473
+ }
474
+ /**
475
+ * Describes a value within an enum.
476
+ *
477
+ * @generated from protobuf message google.protobuf.EnumValueDescriptorProto
478
+ */
479
+ export interface EnumValueDescriptorProto {
480
+ /**
481
+ * @generated from protobuf field: optional string name = 1;
482
+ */
483
+ name?: string;
484
+ /**
485
+ * @generated from protobuf field: optional int32 number = 2;
486
+ */
487
+ number?: number;
488
+ /**
489
+ * @generated from protobuf field: optional google.protobuf.EnumValueOptions options = 3;
490
+ */
491
+ options?: EnumValueOptions;
492
+ }
493
+ /**
494
+ * Describes a service.
495
+ *
496
+ * @generated from protobuf message google.protobuf.ServiceDescriptorProto
497
+ */
498
+ export interface ServiceDescriptorProto {
499
+ /**
500
+ * @generated from protobuf field: optional string name = 1;
501
+ */
502
+ name?: string;
503
+ /**
504
+ * @generated from protobuf field: repeated google.protobuf.MethodDescriptorProto method = 2;
505
+ */
506
+ method: MethodDescriptorProto[];
507
+ /**
508
+ * @generated from protobuf field: optional google.protobuf.ServiceOptions options = 3;
509
+ */
510
+ options?: ServiceOptions;
511
+ }
512
+ /**
513
+ * Describes a method of a service.
514
+ *
515
+ * @generated from protobuf message google.protobuf.MethodDescriptorProto
516
+ */
517
+ export interface MethodDescriptorProto {
518
+ /**
519
+ * @generated from protobuf field: optional string name = 1;
520
+ */
521
+ name?: string;
522
+ /**
523
+ * Input and output type names. These are resolved in the same way as
524
+ * FieldDescriptorProto.type_name, but must refer to a message type.
525
+ *
526
+ * @generated from protobuf field: optional string input_type = 2;
527
+ */
528
+ inputType?: string;
529
+ /**
530
+ * @generated from protobuf field: optional string output_type = 3;
531
+ */
532
+ outputType?: string;
533
+ /**
534
+ * @generated from protobuf field: optional google.protobuf.MethodOptions options = 4;
535
+ */
536
+ options?: MethodOptions;
537
+ /**
538
+ * Identifies if client streams multiple client messages
539
+ *
540
+ * @generated from protobuf field: optional bool client_streaming = 5;
541
+ */
542
+ clientStreaming?: boolean;
543
+ /**
544
+ * Identifies if server streams multiple server messages
545
+ *
546
+ * @generated from protobuf field: optional bool server_streaming = 6;
547
+ */
548
+ serverStreaming?: boolean;
549
+ }
550
+ /**
551
+ * @generated from protobuf message google.protobuf.FileOptions
552
+ */
553
+ export interface FileOptions {
554
+ /**
555
+ * Sets the Java package where classes generated from this .proto will be
556
+ * placed. By default, the proto package is used, but this is often
557
+ * inappropriate because proto packages do not normally start with backwards
558
+ * domain names.
559
+ *
560
+ * @generated from protobuf field: optional string java_package = 1;
561
+ */
562
+ javaPackage?: string;
563
+ /**
564
+ * Controls the name of the wrapper Java class generated for the .proto file.
565
+ * That class will always contain the .proto file's getDescriptor() method as
566
+ * well as any top-level extensions defined in the .proto file.
567
+ * If java_multiple_files is disabled, then all the other classes from the
568
+ * .proto file will be nested inside the single wrapper outer class.
569
+ *
570
+ * @generated from protobuf field: optional string java_outer_classname = 8;
571
+ */
572
+ javaOuterClassname?: string;
573
+ /**
574
+ * If enabled, then the Java code generator will generate a separate .java
575
+ * file for each top-level message, enum, and service defined in the .proto
576
+ * file. Thus, these types will *not* be nested inside the wrapper class
577
+ * named by java_outer_classname. However, the wrapper class will still be
578
+ * generated to contain the file's getDescriptor() method as well as any
579
+ * top-level extensions defined in the file.
580
+ *
581
+ * @generated from protobuf field: optional bool java_multiple_files = 10;
582
+ */
583
+ javaMultipleFiles?: boolean;
584
+ /**
585
+ * This option does nothing.
586
+ *
587
+ * @deprecated
588
+ * @generated from protobuf field: optional bool java_generate_equals_and_hash = 20 [deprecated = true];
589
+ */
590
+ javaGenerateEqualsAndHash?: boolean;
591
+ /**
592
+ * If set true, then the Java2 code generator will generate code that
593
+ * throws an exception whenever an attempt is made to assign a non-UTF-8
594
+ * byte sequence to a string field.
595
+ * Message reflection will do the same.
596
+ * However, an extension field still accepts non-UTF-8 byte sequences.
597
+ * This option has no effect on when used with the lite runtime.
598
+ *
599
+ * @generated from protobuf field: optional bool java_string_check_utf8 = 27;
600
+ */
601
+ javaStringCheckUtf8?: boolean;
602
+ /**
603
+ * @generated from protobuf field: optional google.protobuf.FileOptions.OptimizeMode optimize_for = 9;
604
+ */
605
+ optimizeFor?: FileOptions_OptimizeMode;
606
+ /**
607
+ * Sets the Go package where structs generated from this .proto will be
608
+ * placed. If omitted, the Go package will be derived from the following:
609
+ * - The basename of the package import path, if provided.
610
+ * - Otherwise, the package statement in the .proto file, if present.
611
+ * - Otherwise, the basename of the .proto file, without extension.
612
+ *
613
+ * @generated from protobuf field: optional string go_package = 11;
614
+ */
615
+ goPackage?: string;
616
+ /**
617
+ * Should generic services be generated in each language? "Generic" services
618
+ * are not specific to any particular RPC system. They are generated by the
619
+ * main code generators in each language (without additional plugins).
620
+ * Generic services were the only kind of service generation supported by
621
+ * early versions of google.protobuf.
622
+ *
623
+ * Generic services are now considered deprecated in favor of using plugins
624
+ * that generate code specific to your particular RPC system. Therefore,
625
+ * these default to false. Old code which depends on generic services should
626
+ * explicitly set them to true.
627
+ *
628
+ * @generated from protobuf field: optional bool cc_generic_services = 16;
629
+ */
630
+ ccGenericServices?: boolean;
631
+ /**
632
+ * @generated from protobuf field: optional bool java_generic_services = 17;
633
+ */
634
+ javaGenericServices?: boolean;
635
+ /**
636
+ * @generated from protobuf field: optional bool py_generic_services = 18;
637
+ */
638
+ pyGenericServices?: boolean;
639
+ /**
640
+ * @generated from protobuf field: optional bool php_generic_services = 42;
641
+ */
642
+ phpGenericServices?: boolean;
643
+ /**
644
+ * Is this file deprecated?
645
+ * Depending on the target platform, this can emit Deprecated annotations
646
+ * for everything in the file, or it will be completely ignored; in the very
647
+ * least, this is a formalization for deprecating files.
648
+ *
649
+ * @generated from protobuf field: optional bool deprecated = 23;
650
+ */
651
+ deprecated?: boolean;
652
+ /**
653
+ * Enables the use of arenas for the proto messages in this file. This applies
654
+ * only to generated classes for C++.
655
+ *
656
+ * @generated from protobuf field: optional bool cc_enable_arenas = 31;
657
+ */
658
+ ccEnableArenas?: boolean;
659
+ /**
660
+ * Sets the objective c class prefix which is prepended to all objective c
661
+ * generated classes from this .proto. There is no default.
662
+ *
663
+ * @generated from protobuf field: optional string objc_class_prefix = 36;
664
+ */
665
+ objcClassPrefix?: string;
666
+ /**
667
+ * Namespace for generated classes; defaults to the package.
668
+ *
669
+ * @generated from protobuf field: optional string csharp_namespace = 37;
670
+ */
671
+ csharpNamespace?: string;
672
+ /**
673
+ * By default Swift generators will take the proto package and CamelCase it
674
+ * replacing '.' with underscore and use that to prefix the types/symbols
675
+ * defined. When this options is provided, they will use this value instead
676
+ * to prefix the types/symbols defined.
677
+ *
678
+ * @generated from protobuf field: optional string swift_prefix = 39;
679
+ */
680
+ swiftPrefix?: string;
681
+ /**
682
+ * Sets the php class prefix which is prepended to all php generated classes
683
+ * from this .proto. Default is empty.
684
+ *
685
+ * @generated from protobuf field: optional string php_class_prefix = 40;
686
+ */
687
+ phpClassPrefix?: string;
688
+ /**
689
+ * Use this option to change the namespace of php generated classes. Default
690
+ * is empty. When this option is empty, the package name will be used for
691
+ * determining the namespace.
692
+ *
693
+ * @generated from protobuf field: optional string php_namespace = 41;
694
+ */
695
+ phpNamespace?: string;
696
+ /**
697
+ * Use this option to change the namespace of php generated metadata classes.
698
+ * Default is empty. When this option is empty, the proto file name will be
699
+ * used for determining the namespace.
700
+ *
701
+ * @generated from protobuf field: optional string php_metadata_namespace = 44;
702
+ */
703
+ phpMetadataNamespace?: string;
704
+ /**
705
+ * Use this option to change the package of ruby generated classes. Default
706
+ * is empty. When this option is not set, the package name will be used for
707
+ * determining the ruby package.
708
+ *
709
+ * @generated from protobuf field: optional string ruby_package = 45;
710
+ */
711
+ rubyPackage?: string;
712
+ /**
713
+ * The parser stores options it doesn't recognize here.
714
+ * See the documentation for the "Options" section above.
715
+ *
716
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
717
+ */
718
+ uninterpretedOption: UninterpretedOption[];
719
+ }
720
+ /**
721
+ * Generated classes can be optimized for speed or code size.
722
+ *
723
+ * @generated from protobuf enum google.protobuf.FileOptions.OptimizeMode
724
+ */
725
+ export declare enum FileOptions_OptimizeMode {
726
+ /**
727
+ * @generated synthetic value - protobuf-ts requires all enums to have a 0 value
728
+ */
729
+ UNSPECIFIED$ = 0,
730
+ /**
731
+ * Generate complete code for parsing, serialization,
732
+ *
733
+ * @generated from protobuf enum value: SPEED = 1;
734
+ */
735
+ SPEED = 1,
736
+ /**
737
+ * etc.
738
+ *
739
+ * Use ReflectionOps to implement these methods.
740
+ *
741
+ * @generated from protobuf enum value: CODE_SIZE = 2;
742
+ */
743
+ CODE_SIZE = 2,
744
+ /**
745
+ * Generate code using MessageLite and the lite runtime.
746
+ *
747
+ * @generated from protobuf enum value: LITE_RUNTIME = 3;
748
+ */
749
+ LITE_RUNTIME = 3
750
+ }
751
+ /**
752
+ * @generated from protobuf message google.protobuf.MessageOptions
753
+ */
754
+ export interface MessageOptions {
755
+ /**
756
+ * Set true to use the old proto1 MessageSet wire format for extensions.
757
+ * This is provided for backwards-compatibility with the MessageSet wire
758
+ * format. You should not use this for any other reason: It's less
759
+ * efficient, has fewer features, and is more complicated.
760
+ *
761
+ * The message must be defined exactly as follows:
762
+ * message Foo {
763
+ * option message_set_wire_format = true;
764
+ * extensions 4 to max;
765
+ * }
766
+ * Note that the message cannot have any defined fields; MessageSets only
767
+ * have extensions.
768
+ *
769
+ * All extensions of your type must be singular messages; e.g. they cannot
770
+ * be int32s, enums, or repeated messages.
771
+ *
772
+ * Because this is an option, the above two restrictions are not enforced by
773
+ * the protocol compiler.
774
+ *
775
+ * @generated from protobuf field: optional bool message_set_wire_format = 1;
776
+ */
777
+ messageSetWireFormat?: boolean;
778
+ /**
779
+ * Disables the generation of the standard "descriptor()" accessor, which can
780
+ * conflict with a field of the same name. This is meant to make migration
781
+ * from proto1 easier; new code should avoid fields named "descriptor".
782
+ *
783
+ * @generated from protobuf field: optional bool no_standard_descriptor_accessor = 2;
784
+ */
785
+ noStandardDescriptorAccessor?: boolean;
786
+ /**
787
+ * Is this message deprecated?
788
+ * Depending on the target platform, this can emit Deprecated annotations
789
+ * for the message, or it will be completely ignored; in the very least,
790
+ * this is a formalization for deprecating messages.
791
+ *
792
+ * @generated from protobuf field: optional bool deprecated = 3;
793
+ */
794
+ deprecated?: boolean;
795
+ /**
796
+ * Whether the message is an automatically generated map entry type for the
797
+ * maps field.
798
+ *
799
+ * For maps fields:
800
+ * map<KeyType, ValueType> map_field = 1;
801
+ * The parsed descriptor looks like:
802
+ * message MapFieldEntry {
803
+ * option map_entry = true;
804
+ * optional KeyType key = 1;
805
+ * optional ValueType value = 2;
806
+ * }
807
+ * repeated MapFieldEntry map_field = 1;
808
+ *
809
+ * Implementations may choose not to generate the map_entry=true message, but
810
+ * use a native map in the target language to hold the keys and values.
811
+ * The reflection APIs in such implementations still need to work as
812
+ * if the field is a repeated message field.
813
+ *
814
+ * NOTE: Do not set the option in .proto files. Always use the maps syntax
815
+ * instead. The option should only be implicitly set by the proto compiler
816
+ * parser.
817
+ *
818
+ * @generated from protobuf field: optional bool map_entry = 7;
819
+ */
820
+ mapEntry?: boolean;
821
+ /**
822
+ * The parser stores options it doesn't recognize here. See above.
823
+ *
824
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
825
+ */
826
+ uninterpretedOption: UninterpretedOption[];
827
+ }
828
+ /**
829
+ * @generated from protobuf message google.protobuf.FieldOptions
830
+ */
831
+ export interface FieldOptions {
832
+ /**
833
+ * The ctype option instructs the C++ code generator to use a different
834
+ * representation of the field than it normally would. See the specific
835
+ * options below. This option is not yet implemented in the open source
836
+ * release -- sorry, we'll try to include it in a future version!
837
+ *
838
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.CType ctype = 1;
839
+ */
840
+ ctype?: FieldOptions_CType;
841
+ /**
842
+ * The packed option can be enabled for repeated primitive fields to enable
843
+ * a more efficient representation on the wire. Rather than repeatedly
844
+ * writing the tag and type for each element, the entire array is encoded as
845
+ * a single length-delimited blob. In proto3, only explicit setting it to
846
+ * false will avoid using packed encoding.
847
+ *
848
+ * @generated from protobuf field: optional bool packed = 2;
849
+ */
850
+ packed?: boolean;
851
+ /**
852
+ * The jstype option determines the JavaScript type used for values of the
853
+ * field. The option is permitted only for 64 bit integral and fixed types
854
+ * (int64, uint64, sint64, fixed64, sfixed64). A field with jstype JS_STRING
855
+ * is represented as JavaScript string, which avoids loss of precision that
856
+ * can happen when a large value is converted to a floating point JavaScript.
857
+ * Specifying JS_NUMBER for the jstype causes the generated JavaScript code to
858
+ * use the JavaScript "number" type. The behavior of the default option
859
+ * JS_NORMAL is implementation dependent.
860
+ *
861
+ * This option is an enum to permit additional types to be added, e.g.
862
+ * goog.math.Integer.
863
+ *
864
+ * @generated from protobuf field: optional google.protobuf.FieldOptions.JSType jstype = 6;
865
+ */
866
+ jstype?: FieldOptions_JSType;
867
+ /**
868
+ * Should this field be parsed lazily? Lazy applies only to message-type
869
+ * fields. It means that when the outer message is initially parsed, the
870
+ * inner message's contents will not be parsed but instead stored in encoded
871
+ * form. The inner message will actually be parsed when it is first accessed.
872
+ *
873
+ * This is only a hint. Implementations are free to choose whether to use
874
+ * eager or lazy parsing regardless of the value of this option. However,
875
+ * setting this option true suggests that the protocol author believes that
876
+ * using lazy parsing on this field is worth the additional bookkeeping
877
+ * overhead typically needed to implement it.
878
+ *
879
+ * This option does not affect the public interface of any generated code;
880
+ * all method signatures remain the same. Furthermore, thread-safety of the
881
+ * interface is not affected by this option; const methods remain safe to
882
+ * call from multiple threads concurrently, while non-const methods continue
883
+ * to require exclusive access.
884
+ *
885
+ *
886
+ * Note that implementations may choose not to check required fields within
887
+ * a lazy sub-message. That is, calling IsInitialized() on the outer message
888
+ * may return true even if the inner message has missing required fields.
889
+ * This is necessary because otherwise the inner message would have to be
890
+ * parsed in order to perform the check, defeating the purpose of lazy
891
+ * parsing. An implementation which chooses not to check required fields
892
+ * must be consistent about it. That is, for any particular sub-message, the
893
+ * implementation must either *always* check its required fields, or *never*
894
+ * check its required fields, regardless of whether or not the message has
895
+ * been parsed.
896
+ *
897
+ * As of 2021, lazy does no correctness checks on the byte stream during
898
+ * parsing. This may lead to crashes if and when an invalid byte stream is
899
+ * finally parsed upon access.
900
+ *
901
+ * TODO(b/211906113): Enable validation on lazy fields.
902
+ *
903
+ * @generated from protobuf field: optional bool lazy = 5;
904
+ */
905
+ lazy?: boolean;
906
+ /**
907
+ * unverified_lazy does no correctness checks on the byte stream. This should
908
+ * only be used where lazy with verification is prohibitive for performance
909
+ * reasons.
910
+ *
911
+ * @generated from protobuf field: optional bool unverified_lazy = 15;
912
+ */
913
+ unverifiedLazy?: boolean;
914
+ /**
915
+ * Is this field deprecated?
916
+ * Depending on the target platform, this can emit Deprecated annotations
917
+ * for accessors, or it will be completely ignored; in the very least, this
918
+ * is a formalization for deprecating fields.
919
+ *
920
+ * @generated from protobuf field: optional bool deprecated = 3;
921
+ */
922
+ deprecated?: boolean;
923
+ /**
924
+ * For Google-internal migration only. Do not use.
925
+ *
926
+ * @generated from protobuf field: optional bool weak = 10;
927
+ */
928
+ weak?: boolean;
929
+ /**
930
+ * The parser stores options it doesn't recognize here. See above.
931
+ *
932
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
933
+ */
934
+ uninterpretedOption: UninterpretedOption[];
935
+ }
936
+ /**
937
+ * @generated from protobuf enum google.protobuf.FieldOptions.CType
938
+ */
939
+ export declare enum FieldOptions_CType {
940
+ /**
941
+ * Default mode.
942
+ *
943
+ * @generated from protobuf enum value: STRING = 0;
944
+ */
945
+ STRING = 0,
946
+ /**
947
+ * @generated from protobuf enum value: CORD = 1;
948
+ */
949
+ CORD = 1,
950
+ /**
951
+ * @generated from protobuf enum value: STRING_PIECE = 2;
952
+ */
953
+ STRING_PIECE = 2
954
+ }
955
+ /**
956
+ * @generated from protobuf enum google.protobuf.FieldOptions.JSType
957
+ */
958
+ export declare enum FieldOptions_JSType {
959
+ /**
960
+ * Use the default type.
961
+ *
962
+ * @generated from protobuf enum value: JS_NORMAL = 0;
963
+ */
964
+ JS_NORMAL = 0,
965
+ /**
966
+ * Use JavaScript strings.
967
+ *
968
+ * @generated from protobuf enum value: JS_STRING = 1;
969
+ */
970
+ JS_STRING = 1,
971
+ /**
972
+ * Use JavaScript numbers.
973
+ *
974
+ * @generated from protobuf enum value: JS_NUMBER = 2;
975
+ */
976
+ JS_NUMBER = 2
977
+ }
978
+ /**
979
+ * @generated from protobuf message google.protobuf.OneofOptions
980
+ */
981
+ export interface OneofOptions {
982
+ /**
983
+ * The parser stores options it doesn't recognize here. See above.
984
+ *
985
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
986
+ */
987
+ uninterpretedOption: UninterpretedOption[];
988
+ }
989
+ /**
990
+ * @generated from protobuf message google.protobuf.EnumOptions
991
+ */
992
+ export interface EnumOptions {
993
+ /**
994
+ * Set this option to true to allow mapping different tag names to the same
995
+ * value.
996
+ *
997
+ * @generated from protobuf field: optional bool allow_alias = 2;
998
+ */
999
+ allowAlias?: boolean;
1000
+ /**
1001
+ * Is this enum deprecated?
1002
+ * Depending on the target platform, this can emit Deprecated annotations
1003
+ * for the enum, or it will be completely ignored; in the very least, this
1004
+ * is a formalization for deprecating enums.
1005
+ *
1006
+ * @generated from protobuf field: optional bool deprecated = 3;
1007
+ */
1008
+ deprecated?: boolean;
1009
+ /**
1010
+ * The parser stores options it doesn't recognize here. See above.
1011
+ *
1012
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1013
+ */
1014
+ uninterpretedOption: UninterpretedOption[];
1015
+ }
1016
+ /**
1017
+ * @generated from protobuf message google.protobuf.EnumValueOptions
1018
+ */
1019
+ export interface EnumValueOptions {
1020
+ /**
1021
+ * Is this enum value deprecated?
1022
+ * Depending on the target platform, this can emit Deprecated annotations
1023
+ * for the enum value, or it will be completely ignored; in the very least,
1024
+ * this is a formalization for deprecating enum values.
1025
+ *
1026
+ * @generated from protobuf field: optional bool deprecated = 1;
1027
+ */
1028
+ deprecated?: boolean;
1029
+ /**
1030
+ * The parser stores options it doesn't recognize here. See above.
1031
+ *
1032
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1033
+ */
1034
+ uninterpretedOption: UninterpretedOption[];
1035
+ }
1036
+ /**
1037
+ * @generated from protobuf message google.protobuf.ServiceOptions
1038
+ */
1039
+ export interface ServiceOptions {
1040
+ /**
1041
+ * Is this service deprecated?
1042
+ * Depending on the target platform, this can emit Deprecated annotations
1043
+ * for the service, or it will be completely ignored; in the very least,
1044
+ * this is a formalization for deprecating services.
1045
+ *
1046
+ * @generated from protobuf field: optional bool deprecated = 33;
1047
+ */
1048
+ deprecated?: boolean;
1049
+ /**
1050
+ * The parser stores options it doesn't recognize here. See above.
1051
+ *
1052
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1053
+ */
1054
+ uninterpretedOption: UninterpretedOption[];
1055
+ }
1056
+ /**
1057
+ * @generated from protobuf message google.protobuf.MethodOptions
1058
+ */
1059
+ export interface MethodOptions {
1060
+ /**
1061
+ * Is this method deprecated?
1062
+ * Depending on the target platform, this can emit Deprecated annotations
1063
+ * for the method, or it will be completely ignored; in the very least,
1064
+ * this is a formalization for deprecating methods.
1065
+ *
1066
+ * @generated from protobuf field: optional bool deprecated = 33;
1067
+ */
1068
+ deprecated?: boolean;
1069
+ /**
1070
+ * @generated from protobuf field: optional google.protobuf.MethodOptions.IdempotencyLevel idempotency_level = 34;
1071
+ */
1072
+ idempotencyLevel?: MethodOptions_IdempotencyLevel;
1073
+ /**
1074
+ * The parser stores options it doesn't recognize here. See above.
1075
+ *
1076
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
1077
+ */
1078
+ uninterpretedOption: UninterpretedOption[];
1079
+ }
1080
+ /**
1081
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
1082
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
1083
+ * methods, and PUT verb for idempotent methods instead of the default POST.
1084
+ *
1085
+ * @generated from protobuf enum google.protobuf.MethodOptions.IdempotencyLevel
1086
+ */
1087
+ export declare enum MethodOptions_IdempotencyLevel {
1088
+ /**
1089
+ * @generated from protobuf enum value: IDEMPOTENCY_UNKNOWN = 0;
1090
+ */
1091
+ IDEMPOTENCY_UNKNOWN = 0,
1092
+ /**
1093
+ * implies idempotent
1094
+ *
1095
+ * @generated from protobuf enum value: NO_SIDE_EFFECTS = 1;
1096
+ */
1097
+ NO_SIDE_EFFECTS = 1,
1098
+ /**
1099
+ * idempotent, but may have side effects
1100
+ *
1101
+ * @generated from protobuf enum value: IDEMPOTENT = 2;
1102
+ */
1103
+ IDEMPOTENT = 2
1104
+ }
1105
+ /**
1106
+ * A message representing a option the parser does not recognize. This only
1107
+ * appears in options protos created by the compiler::Parser class.
1108
+ * DescriptorPool resolves these when building Descriptor objects. Therefore,
1109
+ * options protos in descriptor objects (e.g. returned by Descriptor::options(),
1110
+ * or produced by Descriptor::CopyTo()) will never have UninterpretedOptions
1111
+ * in them.
1112
+ *
1113
+ * @generated from protobuf message google.protobuf.UninterpretedOption
1114
+ */
1115
+ export interface UninterpretedOption {
1116
+ /**
1117
+ * @generated from protobuf field: repeated google.protobuf.UninterpretedOption.NamePart name = 2;
1118
+ */
1119
+ name: UninterpretedOption_NamePart[];
1120
+ /**
1121
+ * The value of the uninterpreted option, in whatever type the tokenizer
1122
+ * identified it as during parsing. Exactly one of these should be set.
1123
+ *
1124
+ * @generated from protobuf field: optional string identifier_value = 3;
1125
+ */
1126
+ identifierValue?: string;
1127
+ /**
1128
+ * @generated from protobuf field: optional uint64 positive_int_value = 4;
1129
+ */
1130
+ positiveIntValue?: bigint;
1131
+ /**
1132
+ * @generated from protobuf field: optional int64 negative_int_value = 5;
1133
+ */
1134
+ negativeIntValue?: bigint;
1135
+ /**
1136
+ * @generated from protobuf field: optional double double_value = 6;
1137
+ */
1138
+ doubleValue?: number;
1139
+ /**
1140
+ * @generated from protobuf field: optional bytes string_value = 7;
1141
+ */
1142
+ stringValue?: Uint8Array;
1143
+ /**
1144
+ * @generated from protobuf field: optional string aggregate_value = 8;
1145
+ */
1146
+ aggregateValue?: string;
1147
+ }
1148
+ /**
1149
+ * The name of the uninterpreted option. Each string represents a segment in
1150
+ * a dot-separated name. is_extension is true iff a segment represents an
1151
+ * extension (denoted with parentheses in options specs in .proto files).
1152
+ * E.g.,{ ["foo", false], ["bar.baz", true], ["moo", false] } represents
1153
+ * "foo.(bar.baz).moo".
1154
+ *
1155
+ * @generated from protobuf message google.protobuf.UninterpretedOption.NamePart
1156
+ */
1157
+ export interface UninterpretedOption_NamePart {
1158
+ /**
1159
+ * @generated from protobuf field: string name_part = 1;
1160
+ */
1161
+ namePart: string;
1162
+ /**
1163
+ * @generated from protobuf field: bool is_extension = 2;
1164
+ */
1165
+ isExtension: boolean;
1166
+ }
1167
+ /**
1168
+ * Encapsulates information about the original source file from which a
1169
+ * FileDescriptorProto was generated.
1170
+ *
1171
+ * @generated from protobuf message google.protobuf.SourceCodeInfo
1172
+ */
1173
+ export interface SourceCodeInfo {
1174
+ /**
1175
+ * A Location identifies a piece of source code in a .proto file which
1176
+ * corresponds to a particular definition. This information is intended
1177
+ * to be useful to IDEs, code indexers, documentation generators, and similar
1178
+ * tools.
1179
+ *
1180
+ * For example, say we have a file like:
1181
+ * message Foo {
1182
+ * optional string foo = 1;
1183
+ * }
1184
+ * Let's look at just the field definition:
1185
+ * optional string foo = 1;
1186
+ * ^ ^^ ^^ ^ ^^^
1187
+ * a bc de f ghi
1188
+ * We have the following locations:
1189
+ * span path represents
1190
+ * [a,i) [ 4, 0, 2, 0 ] The whole field definition.
1191
+ * [a,b) [ 4, 0, 2, 0, 4 ] The label (optional).
1192
+ * [c,d) [ 4, 0, 2, 0, 5 ] The type (string).
1193
+ * [e,f) [ 4, 0, 2, 0, 1 ] The name (foo).
1194
+ * [g,h) [ 4, 0, 2, 0, 3 ] The number (1).
1195
+ *
1196
+ * Notes:
1197
+ * - A location may refer to a repeated field itself (i.e. not to any
1198
+ * particular index within it). This is used whenever a set of elements are
1199
+ * logically enclosed in a single code segment. For example, an entire
1200
+ * extend block (possibly containing multiple extension definitions) will
1201
+ * have an outer location whose path refers to the "extensions" repeated
1202
+ * field without an index.
1203
+ * - Multiple locations may have the same path. This happens when a single
1204
+ * logical declaration is spread out across multiple places. The most
1205
+ * obvious example is the "extend" block again -- there may be multiple
1206
+ * extend blocks in the same scope, each of which will have the same path.
1207
+ * - A location's span is not always a subset of its parent's span. For
1208
+ * example, the "extendee" of an extension declaration appears at the
1209
+ * beginning of the "extend" block and is shared by all extensions within
1210
+ * the block.
1211
+ * - Just because a location's span is a subset of some other location's span
1212
+ * does not mean that it is a descendant. For example, a "group" defines
1213
+ * both a type and a field in a single declaration. Thus, the locations
1214
+ * corresponding to the type and field and their components will overlap.
1215
+ * - Code which tries to interpret locations should probably be designed to
1216
+ * ignore those that it doesn't understand, as more types of locations could
1217
+ * be recorded in the future.
1218
+ *
1219
+ * @generated from protobuf field: repeated google.protobuf.SourceCodeInfo.Location location = 1;
1220
+ */
1221
+ location: SourceCodeInfo_Location[];
1222
+ }
1223
+ /**
1224
+ * @generated from protobuf message google.protobuf.SourceCodeInfo.Location
1225
+ */
1226
+ export interface SourceCodeInfo_Location {
1227
+ /**
1228
+ * Identifies which part of the FileDescriptorProto was defined at this
1229
+ * location.
1230
+ *
1231
+ * Each element is a field number or an index. They form a path from
1232
+ * the root FileDescriptorProto to the place where the definition occurs.
1233
+ * For example, this path:
1234
+ * [ 4, 3, 2, 7, 1 ]
1235
+ * refers to:
1236
+ * file.message_type(3) // 4, 3
1237
+ * .field(7) // 2, 7
1238
+ * .name() // 1
1239
+ * This is because FileDescriptorProto.message_type has field number 4:
1240
+ * repeated DescriptorProto message_type = 4;
1241
+ * and DescriptorProto.field has field number 2:
1242
+ * repeated FieldDescriptorProto field = 2;
1243
+ * and FieldDescriptorProto.name has field number 1:
1244
+ * optional string name = 1;
1245
+ *
1246
+ * Thus, the above path gives the location of a field name. If we removed
1247
+ * the last element:
1248
+ * [ 4, 3, 2, 7 ]
1249
+ * this path refers to the whole field declaration (from the beginning
1250
+ * of the label to the terminating semicolon).
1251
+ *
1252
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true];
1253
+ */
1254
+ path: number[];
1255
+ /**
1256
+ * Always has exactly three or four elements: start line, start column,
1257
+ * end line (optional, otherwise assumed same as start line), end column.
1258
+ * These are packed into a single field for efficiency. Note that line
1259
+ * and column numbers are zero-based -- typically you will want to add
1260
+ * 1 to each before displaying to a user.
1261
+ *
1262
+ * @generated from protobuf field: repeated int32 span = 2 [packed = true];
1263
+ */
1264
+ span: number[];
1265
+ /**
1266
+ * If this SourceCodeInfo represents a complete declaration, these are any
1267
+ * comments appearing before and after the declaration which appear to be
1268
+ * attached to the declaration.
1269
+ *
1270
+ * A series of line comments appearing on consecutive lines, with no other
1271
+ * tokens appearing on those lines, will be treated as a single comment.
1272
+ *
1273
+ * leading_detached_comments will keep paragraphs of comments that appear
1274
+ * before (but not connected to) the current element. Each paragraph,
1275
+ * separated by empty lines, will be one comment element in the repeated
1276
+ * field.
1277
+ *
1278
+ * Only the comment content is provided; comment markers (e.g. //) are
1279
+ * stripped out. For block comments, leading whitespace and an asterisk
1280
+ * will be stripped from the beginning of each line other than the first.
1281
+ * Newlines are included in the output.
1282
+ *
1283
+ * Examples:
1284
+ *
1285
+ * optional int32 foo = 1; // Comment attached to foo.
1286
+ * // Comment attached to bar.
1287
+ * optional int32 bar = 2;
1288
+ *
1289
+ * optional string baz = 3;
1290
+ * // Comment attached to baz.
1291
+ * // Another line attached to baz.
1292
+ *
1293
+ * // Comment attached to moo.
1294
+ * //
1295
+ * // Another line attached to moo.
1296
+ * optional double moo = 4;
1297
+ *
1298
+ * // Detached comment for corge. This is not leading or trailing comments
1299
+ * // to moo or corge because there are blank lines separating it from
1300
+ * // both.
1301
+ *
1302
+ * // Detached comment for corge paragraph 2.
1303
+ *
1304
+ * optional string corge = 5;
1305
+ * /* Block comment attached
1306
+ * * to corge. Leading asterisks
1307
+ * * will be removed. *\/
1308
+ * /* Block comment attached to
1309
+ * * grault. *\/
1310
+ * optional int32 grault = 6;
1311
+ *
1312
+ * // ignored detached comments.
1313
+ *
1314
+ * @generated from protobuf field: optional string leading_comments = 3;
1315
+ */
1316
+ leadingComments?: string;
1317
+ /**
1318
+ * @generated from protobuf field: optional string trailing_comments = 4;
1319
+ */
1320
+ trailingComments?: string;
1321
+ /**
1322
+ * @generated from protobuf field: repeated string leading_detached_comments = 6;
1323
+ */
1324
+ leadingDetachedComments: string[];
1325
+ }
1326
+ /**
1327
+ * Describes the relationship between generated code and its original source
1328
+ * file. A GeneratedCodeInfo message is associated with only one generated
1329
+ * source file, but may contain references to different source .proto files.
1330
+ *
1331
+ * @generated from protobuf message google.protobuf.GeneratedCodeInfo
1332
+ */
1333
+ export interface GeneratedCodeInfo {
1334
+ /**
1335
+ * An Annotation connects some span of text in generated code to an element
1336
+ * of its generating .proto file.
1337
+ *
1338
+ * @generated from protobuf field: repeated google.protobuf.GeneratedCodeInfo.Annotation annotation = 1;
1339
+ */
1340
+ annotation: GeneratedCodeInfo_Annotation[];
1341
+ }
1342
+ /**
1343
+ * @generated from protobuf message google.protobuf.GeneratedCodeInfo.Annotation
1344
+ */
1345
+ export interface GeneratedCodeInfo_Annotation {
1346
+ /**
1347
+ * Identifies the element in the original source .proto file. This field
1348
+ * is formatted the same as SourceCodeInfo.Location.path.
1349
+ *
1350
+ * @generated from protobuf field: repeated int32 path = 1 [packed = true];
1351
+ */
1352
+ path: number[];
1353
+ /**
1354
+ * Identifies the filesystem path to the original source .proto.
1355
+ *
1356
+ * @generated from protobuf field: optional string source_file = 2;
1357
+ */
1358
+ sourceFile?: string;
1359
+ /**
1360
+ * Identifies the starting offset in bytes in the generated code
1361
+ * that relates to the identified object.
1362
+ *
1363
+ * @generated from protobuf field: optional int32 begin = 3;
1364
+ */
1365
+ begin?: number;
1366
+ /**
1367
+ * Identifies the ending offset in bytes in the generated code that
1368
+ * relates to the identified offset. The end offset should be one past
1369
+ * the last relevant byte (so the length of the text = end - begin).
1370
+ *
1371
+ * @generated from protobuf field: optional int32 end = 4;
1372
+ */
1373
+ end?: number;
1374
+ }
1375
+ declare class FileDescriptorSet$Type extends MessageType<FileDescriptorSet> {
1376
+ constructor();
1377
+ create(value?: PartialMessage<FileDescriptorSet>): FileDescriptorSet;
1378
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorSet): FileDescriptorSet;
1379
+ internalBinaryWrite(message: FileDescriptorSet, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1380
+ }
1381
+ /**
1382
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorSet
1383
+ */
1384
+ export declare const FileDescriptorSet: FileDescriptorSet$Type;
1385
+ declare class FileDescriptorProto$Type extends MessageType<FileDescriptorProto> {
1386
+ constructor();
1387
+ create(value?: PartialMessage<FileDescriptorProto>): FileDescriptorProto;
1388
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileDescriptorProto): FileDescriptorProto;
1389
+ internalBinaryWrite(message: FileDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1390
+ }
1391
+ /**
1392
+ * @generated MessageType for protobuf message google.protobuf.FileDescriptorProto
1393
+ */
1394
+ export declare const FileDescriptorProto: FileDescriptorProto$Type;
1395
+ declare class DescriptorProto$Type extends MessageType<DescriptorProto> {
1396
+ constructor();
1397
+ create(value?: PartialMessage<DescriptorProto>): DescriptorProto;
1398
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto): DescriptorProto;
1399
+ internalBinaryWrite(message: DescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1400
+ }
1401
+ /**
1402
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto
1403
+ */
1404
+ export declare const DescriptorProto: DescriptorProto$Type;
1405
+ declare class DescriptorProto_ExtensionRange$Type extends MessageType<DescriptorProto_ExtensionRange> {
1406
+ constructor();
1407
+ create(value?: PartialMessage<DescriptorProto_ExtensionRange>): DescriptorProto_ExtensionRange;
1408
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ExtensionRange): DescriptorProto_ExtensionRange;
1409
+ internalBinaryWrite(message: DescriptorProto_ExtensionRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1410
+ }
1411
+ /**
1412
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ExtensionRange
1413
+ */
1414
+ export declare const DescriptorProto_ExtensionRange: DescriptorProto_ExtensionRange$Type;
1415
+ declare class DescriptorProto_ReservedRange$Type extends MessageType<DescriptorProto_ReservedRange> {
1416
+ constructor();
1417
+ create(value?: PartialMessage<DescriptorProto_ReservedRange>): DescriptorProto_ReservedRange;
1418
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: DescriptorProto_ReservedRange): DescriptorProto_ReservedRange;
1419
+ internalBinaryWrite(message: DescriptorProto_ReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1420
+ }
1421
+ /**
1422
+ * @generated MessageType for protobuf message google.protobuf.DescriptorProto.ReservedRange
1423
+ */
1424
+ export declare const DescriptorProto_ReservedRange: DescriptorProto_ReservedRange$Type;
1425
+ declare class ExtensionRangeOptions$Type extends MessageType<ExtensionRangeOptions> {
1426
+ constructor();
1427
+ create(value?: PartialMessage<ExtensionRangeOptions>): ExtensionRangeOptions;
1428
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ExtensionRangeOptions): ExtensionRangeOptions;
1429
+ internalBinaryWrite(message: ExtensionRangeOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1430
+ }
1431
+ /**
1432
+ * @generated MessageType for protobuf message google.protobuf.ExtensionRangeOptions
1433
+ */
1434
+ export declare const ExtensionRangeOptions: ExtensionRangeOptions$Type;
1435
+ declare class FieldDescriptorProto$Type extends MessageType<FieldDescriptorProto> {
1436
+ constructor();
1437
+ create(value?: PartialMessage<FieldDescriptorProto>): FieldDescriptorProto;
1438
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldDescriptorProto): FieldDescriptorProto;
1439
+ internalBinaryWrite(message: FieldDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1440
+ }
1441
+ /**
1442
+ * @generated MessageType for protobuf message google.protobuf.FieldDescriptorProto
1443
+ */
1444
+ export declare const FieldDescriptorProto: FieldDescriptorProto$Type;
1445
+ declare class OneofDescriptorProto$Type extends MessageType<OneofDescriptorProto> {
1446
+ constructor();
1447
+ create(value?: PartialMessage<OneofDescriptorProto>): OneofDescriptorProto;
1448
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofDescriptorProto): OneofDescriptorProto;
1449
+ internalBinaryWrite(message: OneofDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1450
+ }
1451
+ /**
1452
+ * @generated MessageType for protobuf message google.protobuf.OneofDescriptorProto
1453
+ */
1454
+ export declare const OneofDescriptorProto: OneofDescriptorProto$Type;
1455
+ declare class EnumDescriptorProto$Type extends MessageType<EnumDescriptorProto> {
1456
+ constructor();
1457
+ create(value?: PartialMessage<EnumDescriptorProto>): EnumDescriptorProto;
1458
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto): EnumDescriptorProto;
1459
+ internalBinaryWrite(message: EnumDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1460
+ }
1461
+ /**
1462
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto
1463
+ */
1464
+ export declare const EnumDescriptorProto: EnumDescriptorProto$Type;
1465
+ declare class EnumDescriptorProto_EnumReservedRange$Type extends MessageType<EnumDescriptorProto_EnumReservedRange> {
1466
+ constructor();
1467
+ create(value?: PartialMessage<EnumDescriptorProto_EnumReservedRange>): EnumDescriptorProto_EnumReservedRange;
1468
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumDescriptorProto_EnumReservedRange): EnumDescriptorProto_EnumReservedRange;
1469
+ internalBinaryWrite(message: EnumDescriptorProto_EnumReservedRange, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1470
+ }
1471
+ /**
1472
+ * @generated MessageType for protobuf message google.protobuf.EnumDescriptorProto.EnumReservedRange
1473
+ */
1474
+ export declare const EnumDescriptorProto_EnumReservedRange: EnumDescriptorProto_EnumReservedRange$Type;
1475
+ declare class EnumValueDescriptorProto$Type extends MessageType<EnumValueDescriptorProto> {
1476
+ constructor();
1477
+ create(value?: PartialMessage<EnumValueDescriptorProto>): EnumValueDescriptorProto;
1478
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueDescriptorProto): EnumValueDescriptorProto;
1479
+ internalBinaryWrite(message: EnumValueDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1480
+ }
1481
+ /**
1482
+ * @generated MessageType for protobuf message google.protobuf.EnumValueDescriptorProto
1483
+ */
1484
+ export declare const EnumValueDescriptorProto: EnumValueDescriptorProto$Type;
1485
+ declare class ServiceDescriptorProto$Type extends MessageType<ServiceDescriptorProto> {
1486
+ constructor();
1487
+ create(value?: PartialMessage<ServiceDescriptorProto>): ServiceDescriptorProto;
1488
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceDescriptorProto): ServiceDescriptorProto;
1489
+ internalBinaryWrite(message: ServiceDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1490
+ }
1491
+ /**
1492
+ * @generated MessageType for protobuf message google.protobuf.ServiceDescriptorProto
1493
+ */
1494
+ export declare const ServiceDescriptorProto: ServiceDescriptorProto$Type;
1495
+ declare class MethodDescriptorProto$Type extends MessageType<MethodDescriptorProto> {
1496
+ constructor();
1497
+ create(value?: PartialMessage<MethodDescriptorProto>): MethodDescriptorProto;
1498
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodDescriptorProto): MethodDescriptorProto;
1499
+ internalBinaryWrite(message: MethodDescriptorProto, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1500
+ }
1501
+ /**
1502
+ * @generated MessageType for protobuf message google.protobuf.MethodDescriptorProto
1503
+ */
1504
+ export declare const MethodDescriptorProto: MethodDescriptorProto$Type;
1505
+ declare class FileOptions$Type extends MessageType<FileOptions> {
1506
+ constructor();
1507
+ create(value?: PartialMessage<FileOptions>): FileOptions;
1508
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FileOptions): FileOptions;
1509
+ internalBinaryWrite(message: FileOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1510
+ }
1511
+ /**
1512
+ * @generated MessageType for protobuf message google.protobuf.FileOptions
1513
+ */
1514
+ export declare const FileOptions: FileOptions$Type;
1515
+ declare class MessageOptions$Type extends MessageType<MessageOptions> {
1516
+ constructor();
1517
+ create(value?: PartialMessage<MessageOptions>): MessageOptions;
1518
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MessageOptions): MessageOptions;
1519
+ internalBinaryWrite(message: MessageOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1520
+ }
1521
+ /**
1522
+ * @generated MessageType for protobuf message google.protobuf.MessageOptions
1523
+ */
1524
+ export declare const MessageOptions: MessageOptions$Type;
1525
+ declare class FieldOptions$Type extends MessageType<FieldOptions> {
1526
+ constructor();
1527
+ create(value?: PartialMessage<FieldOptions>): FieldOptions;
1528
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: FieldOptions): FieldOptions;
1529
+ internalBinaryWrite(message: FieldOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1530
+ }
1531
+ /**
1532
+ * @generated MessageType for protobuf message google.protobuf.FieldOptions
1533
+ */
1534
+ export declare const FieldOptions: FieldOptions$Type;
1535
+ declare class OneofOptions$Type extends MessageType<OneofOptions> {
1536
+ constructor();
1537
+ create(value?: PartialMessage<OneofOptions>): OneofOptions;
1538
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: OneofOptions): OneofOptions;
1539
+ internalBinaryWrite(message: OneofOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1540
+ }
1541
+ /**
1542
+ * @generated MessageType for protobuf message google.protobuf.OneofOptions
1543
+ */
1544
+ export declare const OneofOptions: OneofOptions$Type;
1545
+ declare class EnumOptions$Type extends MessageType<EnumOptions> {
1546
+ constructor();
1547
+ create(value?: PartialMessage<EnumOptions>): EnumOptions;
1548
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumOptions): EnumOptions;
1549
+ internalBinaryWrite(message: EnumOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1550
+ }
1551
+ /**
1552
+ * @generated MessageType for protobuf message google.protobuf.EnumOptions
1553
+ */
1554
+ export declare const EnumOptions: EnumOptions$Type;
1555
+ declare class EnumValueOptions$Type extends MessageType<EnumValueOptions> {
1556
+ constructor();
1557
+ create(value?: PartialMessage<EnumValueOptions>): EnumValueOptions;
1558
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: EnumValueOptions): EnumValueOptions;
1559
+ internalBinaryWrite(message: EnumValueOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1560
+ }
1561
+ /**
1562
+ * @generated MessageType for protobuf message google.protobuf.EnumValueOptions
1563
+ */
1564
+ export declare const EnumValueOptions: EnumValueOptions$Type;
1565
+ declare class ServiceOptions$Type extends MessageType<ServiceOptions> {
1566
+ constructor();
1567
+ create(value?: PartialMessage<ServiceOptions>): ServiceOptions;
1568
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: ServiceOptions): ServiceOptions;
1569
+ internalBinaryWrite(message: ServiceOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1570
+ }
1571
+ /**
1572
+ * @generated MessageType for protobuf message google.protobuf.ServiceOptions
1573
+ */
1574
+ export declare const ServiceOptions: ServiceOptions$Type;
1575
+ declare class MethodOptions$Type extends MessageType<MethodOptions> {
1576
+ constructor();
1577
+ create(value?: PartialMessage<MethodOptions>): MethodOptions;
1578
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: MethodOptions): MethodOptions;
1579
+ internalBinaryWrite(message: MethodOptions, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1580
+ }
1581
+ /**
1582
+ * @generated MessageType for protobuf message google.protobuf.MethodOptions
1583
+ */
1584
+ export declare const MethodOptions: MethodOptions$Type;
1585
+ declare class UninterpretedOption$Type extends MessageType<UninterpretedOption> {
1586
+ constructor();
1587
+ create(value?: PartialMessage<UninterpretedOption>): UninterpretedOption;
1588
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption): UninterpretedOption;
1589
+ internalBinaryWrite(message: UninterpretedOption, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1590
+ }
1591
+ /**
1592
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption
1593
+ */
1594
+ export declare const UninterpretedOption: UninterpretedOption$Type;
1595
+ declare class UninterpretedOption_NamePart$Type extends MessageType<UninterpretedOption_NamePart> {
1596
+ constructor();
1597
+ create(value?: PartialMessage<UninterpretedOption_NamePart>): UninterpretedOption_NamePart;
1598
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: UninterpretedOption_NamePart): UninterpretedOption_NamePart;
1599
+ internalBinaryWrite(message: UninterpretedOption_NamePart, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1600
+ }
1601
+ /**
1602
+ * @generated MessageType for protobuf message google.protobuf.UninterpretedOption.NamePart
1603
+ */
1604
+ export declare const UninterpretedOption_NamePart: UninterpretedOption_NamePart$Type;
1605
+ declare class SourceCodeInfo$Type extends MessageType<SourceCodeInfo> {
1606
+ constructor();
1607
+ create(value?: PartialMessage<SourceCodeInfo>): SourceCodeInfo;
1608
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo): SourceCodeInfo;
1609
+ internalBinaryWrite(message: SourceCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1610
+ }
1611
+ /**
1612
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo
1613
+ */
1614
+ export declare const SourceCodeInfo: SourceCodeInfo$Type;
1615
+ declare class SourceCodeInfo_Location$Type extends MessageType<SourceCodeInfo_Location> {
1616
+ constructor();
1617
+ create(value?: PartialMessage<SourceCodeInfo_Location>): SourceCodeInfo_Location;
1618
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: SourceCodeInfo_Location): SourceCodeInfo_Location;
1619
+ internalBinaryWrite(message: SourceCodeInfo_Location, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1620
+ }
1621
+ /**
1622
+ * @generated MessageType for protobuf message google.protobuf.SourceCodeInfo.Location
1623
+ */
1624
+ export declare const SourceCodeInfo_Location: SourceCodeInfo_Location$Type;
1625
+ declare class GeneratedCodeInfo$Type extends MessageType<GeneratedCodeInfo> {
1626
+ constructor();
1627
+ create(value?: PartialMessage<GeneratedCodeInfo>): GeneratedCodeInfo;
1628
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo): GeneratedCodeInfo;
1629
+ internalBinaryWrite(message: GeneratedCodeInfo, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1630
+ }
1631
+ /**
1632
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo
1633
+ */
1634
+ export declare const GeneratedCodeInfo: GeneratedCodeInfo$Type;
1635
+ declare class GeneratedCodeInfo_Annotation$Type extends MessageType<GeneratedCodeInfo_Annotation> {
1636
+ constructor();
1637
+ create(value?: PartialMessage<GeneratedCodeInfo_Annotation>): GeneratedCodeInfo_Annotation;
1638
+ internalBinaryRead(reader: IBinaryReader, length: number, options: BinaryReadOptions, target?: GeneratedCodeInfo_Annotation): GeneratedCodeInfo_Annotation;
1639
+ internalBinaryWrite(message: GeneratedCodeInfo_Annotation, writer: IBinaryWriter, options: BinaryWriteOptions): IBinaryWriter;
1640
+ }
1641
+ /**
1642
+ * @generated MessageType for protobuf message google.protobuf.GeneratedCodeInfo.Annotation
1643
+ */
1644
+ export declare const GeneratedCodeInfo_Annotation: GeneratedCodeInfo_Annotation$Type;
1645
+ export {};
1646
+ //# sourceMappingURL=descriptor.d.ts.map