@finam/grpc-tradeapi 2.14.0

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