@aptre/protobuf-es-lite 0.2.6 → 0.2.8

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 (121) hide show
  1. package/.ignore +1 -0
  2. package/README.md +25 -24
  3. package/bin/protoc-gen-es-lite +3 -3
  4. package/dist/binary-encoding.d.ts +420 -0
  5. package/dist/binary-encoding.js +437 -0
  6. package/dist/binary.d.ts +35 -2
  7. package/dist/binary.js +69 -66
  8. package/dist/codegen-info.d.ts +43 -0
  9. package/dist/codegen-info.js +72 -0
  10. package/dist/create-descriptor-set.d.ts +36 -0
  11. package/dist/create-descriptor-set.js +936 -0
  12. package/dist/descriptor-set.d.ts +672 -0
  13. package/dist/{editions.js → descriptor-set.js} +0 -11
  14. package/dist/enum.d.ts +35 -1
  15. package/dist/feature-set.d.ts +19 -0
  16. package/dist/feature-set.js +103 -0
  17. package/dist/field-wrapper.d.ts +7 -3
  18. package/dist/field-wrapper.js +30 -1
  19. package/dist/field.d.ts +8 -19
  20. package/dist/field.js +15 -117
  21. package/dist/google/index.d.ts +9 -0
  22. package/dist/google/index.js +41 -0
  23. package/dist/google/protobuf/any.pb.d.ts +139 -0
  24. package/dist/google/protobuf/any.pb.js +42 -0
  25. package/dist/google/protobuf/api.pb.d.ts +252 -0
  26. package/dist/google/protobuf/api.pb.js +70 -0
  27. package/dist/google/protobuf/compiler/plugin.pb.d.ts +240 -0
  28. package/dist/google/protobuf/compiler/plugin.pb.js +203 -0
  29. package/dist/google/protobuf/descriptor.pb.d.ts +2132 -0
  30. package/dist/google/protobuf/descriptor.pb.js +1080 -0
  31. package/dist/google/protobuf/duration.pb.d.ts +92 -0
  32. package/dist/google/protobuf/duration.pb.js +42 -0
  33. package/dist/google/protobuf/empty.pb.d.ts +18 -0
  34. package/dist/google/protobuf/empty.pb.js +39 -0
  35. package/dist/google/protobuf/source_context.pb.d.ts +21 -0
  36. package/dist/google/protobuf/source_context.pb.js +41 -0
  37. package/dist/google/protobuf/struct.pb.d.ts +121 -0
  38. package/dist/google/protobuf/struct.pb.js +83 -0
  39. package/dist/google/protobuf/timestamp.pb.d.ts +121 -0
  40. package/dist/google/protobuf/timestamp.pb.js +42 -0
  41. package/dist/google/protobuf/type.pb.d.ts +464 -0
  42. package/dist/google/protobuf/type.pb.js +338 -0
  43. package/dist/google/protobuf/wrappers.pb.d.ts +183 -0
  44. package/dist/google/protobuf/wrappers.pb.js +107 -0
  45. package/dist/index.d.ts +8 -3
  46. package/dist/index.js +38 -8
  47. package/dist/is-message.d.ts +10 -2
  48. package/dist/is-message.js +76 -3
  49. package/dist/json.d.ts +68 -1
  50. package/dist/json.js +60 -81
  51. package/dist/message.d.ts +30 -61
  52. package/dist/message.js +63 -18
  53. package/dist/names.d.ts +43 -0
  54. package/dist/names.js +276 -0
  55. package/dist/partial.js +19 -16
  56. package/dist/proto-base64.d.ts +18 -0
  57. package/dist/proto-base64.js +128 -0
  58. package/dist/proto-double.d.ts +5 -0
  59. package/dist/proto-double.js +29 -0
  60. package/dist/proto-int64.d.ts +95 -0
  61. package/dist/proto-int64.js +116 -0
  62. package/dist/protoc-gen-es-lite/protoc-gen-es-lite-plugin.d.ts +1 -0
  63. package/dist/{protoc-gen-es-lite-plugin.js → protoc-gen-es-lite/protoc-gen-es-lite-plugin.js} +2 -2
  64. package/dist/{typescript.d.ts → protoc-gen-es-lite/typescript.d.ts} +3 -2
  65. package/dist/{typescript.js → protoc-gen-es-lite/typescript.js} +48 -36
  66. package/dist/protoplugin/create-es-plugin.d.ts +83 -0
  67. package/dist/protoplugin/create-es-plugin.js +119 -0
  68. package/dist/protoplugin/ecmascript/file-preamble.d.ts +2 -0
  69. package/dist/protoplugin/ecmascript/file-preamble.js +74 -0
  70. package/dist/protoplugin/ecmascript/generated-file.d.ts +116 -0
  71. package/dist/protoplugin/ecmascript/generated-file.js +407 -0
  72. package/dist/protoplugin/ecmascript/import-path.d.ts +65 -0
  73. package/dist/protoplugin/ecmascript/import-path.js +156 -0
  74. package/dist/protoplugin/ecmascript/import-symbol.d.ts +39 -0
  75. package/dist/protoplugin/ecmascript/import-symbol.js +37 -0
  76. package/dist/protoplugin/ecmascript/index.d.ts +7 -0
  77. package/dist/protoplugin/ecmascript/index.js +20 -0
  78. package/dist/protoplugin/ecmascript/jsdoc.d.ts +14 -0
  79. package/dist/protoplugin/ecmascript/jsdoc.js +93 -0
  80. package/dist/protoplugin/ecmascript/opaque-printables.d.ts +27 -0
  81. package/dist/protoplugin/ecmascript/opaque-printables.js +15 -0
  82. package/dist/protoplugin/ecmascript/parameter.d.ts +13 -0
  83. package/dist/protoplugin/ecmascript/parameter.js +161 -0
  84. package/dist/protoplugin/ecmascript/reify-wkt.d.ts +100 -0
  85. package/dist/protoplugin/ecmascript/reify-wkt.js +170 -0
  86. package/dist/protoplugin/ecmascript/runtime-imports.d.ts +6 -0
  87. package/dist/protoplugin/ecmascript/runtime-imports.js +28 -0
  88. package/dist/protoplugin/ecmascript/schema.d.ts +43 -0
  89. package/dist/protoplugin/ecmascript/schema.js +73 -0
  90. package/dist/protoplugin/ecmascript/target.d.ts +4 -0
  91. package/dist/protoplugin/ecmascript/target.js +15 -0
  92. package/dist/protoplugin/ecmascript/transpile.d.ts +2 -0
  93. package/dist/protoplugin/ecmascript/transpile.js +149 -0
  94. package/dist/protoplugin/error.d.ts +6 -0
  95. package/dist/protoplugin/error.js +43 -0
  96. package/dist/protoplugin/index.d.ts +8 -0
  97. package/dist/protoplugin/index.js +20 -0
  98. package/dist/protoplugin/plugin.d.ts +18 -0
  99. package/dist/protoplugin/plugin.js +15 -0
  100. package/dist/protoplugin/run-node.d.ts +12 -0
  101. package/dist/protoplugin/run-node.js +83 -0
  102. package/dist/scalar.d.ts +53 -1
  103. package/dist/scalar.js +87 -22
  104. package/dist/service-type.d.ts +95 -0
  105. package/dist/service-type.js +53 -0
  106. package/dist/text-format.d.ts +4 -0
  107. package/dist/text-format.js +189 -0
  108. package/dist/type-registry.d.ts +43 -0
  109. package/dist/type-registry.js +15 -0
  110. package/dist/unknown.d.ts +1 -1
  111. package/dist/util.d.ts +2 -2
  112. package/dist/util.js +46 -44
  113. package/dist/varint.d.ts +70 -0
  114. package/dist/varint.js +324 -0
  115. package/example/example.pb.ts +87 -0
  116. package/example/example.proto +1 -0
  117. package/example/tsconfig.json +8 -2
  118. package/package.json +19 -12
  119. package/tsconfig.json +4 -4
  120. package/dist/editions.d.ts +0 -6
  121. package/dist/protoc-gen-es-lite-plugin.d.ts +0 -1
@@ -0,0 +1,1080 @@
1
+ "use strict";
2
+ // Protocol Buffers - Google's data interchange format
3
+ // Copyright 2008 Google Inc. All rights reserved.
4
+ // https://developers.google.com/protocol-buffers/
5
+ //
6
+ // Redistribution and use in source and binary forms, with or without
7
+ // modification, are permitted provided that the following conditions are
8
+ // met:
9
+ //
10
+ // * Redistributions of source code must retain the above copyright
11
+ // notice, this list of conditions and the following disclaimer.
12
+ // * Redistributions in binary form must reproduce the above
13
+ // copyright notice, this list of conditions and the following disclaimer
14
+ // in the documentation and/or other materials provided with the
15
+ // distribution.
16
+ // * Neither the name of Google Inc. nor the names of its
17
+ // contributors may be used to endorse or promote products derived from
18
+ // this software without specific prior written permission.
19
+ //
20
+ // THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
21
+ // "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
22
+ // LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
23
+ // A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
24
+ // OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
25
+ // SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
26
+ // LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
27
+ // DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
28
+ // THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
29
+ // (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
30
+ // OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
31
+ Object.defineProperty(exports, "__esModule", { value: true });
32
+ exports.OneofOptions = exports.DescriptorProto_ExtensionRange = exports.ExtensionRangeOptions = exports.ExtensionRangeOptions_Declaration = exports.EnumDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumOptions = exports.EnumValueDescriptorProto = exports.EnumValueOptions = exports.FieldDescriptorProto = exports.FieldOptions = exports.UninterpretedOption = exports.UninterpretedOption_NamePart = exports.FeatureSet = exports.FieldOptions_EditionDefault = exports.GeneratedCodeInfo_Annotation_Semantic_Enum = exports.GeneratedCodeInfo_Annotation_Semantic = exports.FeatureSet_JsonFormat_Enum = exports.FeatureSet_JsonFormat = exports.FeatureSet_MessageEncoding_Enum = exports.FeatureSet_MessageEncoding = exports.FeatureSet_Utf8Validation_Enum = exports.FeatureSet_Utf8Validation = exports.FeatureSet_RepeatedFieldEncoding_Enum = exports.FeatureSet_RepeatedFieldEncoding = exports.FeatureSet_EnumType_Enum = exports.FeatureSet_EnumType = exports.FeatureSet_FieldPresence_Enum = exports.FeatureSet_FieldPresence = exports.MethodOptions_IdempotencyLevel_Enum = exports.MethodOptions_IdempotencyLevel = exports.FieldOptions_OptionTargetType_Enum = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention_Enum = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType_Enum = exports.FieldOptions_JSType = exports.FieldOptions_CType_Enum = exports.FieldOptions_CType = exports.FileOptions_OptimizeMode_Enum = exports.FileOptions_OptimizeMode = exports.FieldDescriptorProto_Label_Enum = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type_Enum = exports.FieldDescriptorProto_Type = exports.ExtensionRangeOptions_VerificationState_Enum = exports.ExtensionRangeOptions_VerificationState = exports.Edition_Enum = exports.Edition = exports.protobufPackage = void 0;
33
+ exports.GeneratedCodeInfo = exports.GeneratedCodeInfo_Annotation = exports.FeatureSetDefaults = exports.FeatureSetDefaults_FeatureSetEditionDefault = exports.FileDescriptorSet = exports.FileDescriptorProto = exports.SourceCodeInfo = exports.SourceCodeInfo_Location = exports.FileOptions = exports.ServiceDescriptorProto = exports.ServiceOptions = exports.MethodDescriptorProto = exports.MethodOptions = exports.DescriptorProto = exports.DescriptorProto_ReservedRange = exports.MessageOptions = exports.OneofDescriptorProto = void 0;
34
+ const __1 = require("../../");
35
+ exports.protobufPackage = "google.protobuf";
36
+ /**
37
+ * The full set of known editions.
38
+ *
39
+ *
40
+ * @generated from enum google.protobuf.Edition
41
+ */
42
+ var Edition;
43
+ (function (Edition) {
44
+ /**
45
+ * A placeholder for an unknown edition value.
46
+ *
47
+ *
48
+ * @generated from enum value: EDITION_UNKNOWN = 0;
49
+ */
50
+ Edition[Edition["EDITION_UNKNOWN"] = 0] = "EDITION_UNKNOWN";
51
+ /**
52
+ * Legacy syntax "editions". These pre-date editions, but behave much like
53
+ * distinct editions. These can't be used to specify the edition of proto
54
+ * files, but feature definitions must supply proto2/proto3 defaults for
55
+ * backwards compatibility.
56
+ *
57
+ *
58
+ * @generated from enum value: EDITION_PROTO2 = 998;
59
+ */
60
+ Edition[Edition["EDITION_PROTO2"] = 998] = "EDITION_PROTO2";
61
+ /**
62
+ * @generated from enum value: EDITION_PROTO3 = 999;
63
+ */
64
+ Edition[Edition["EDITION_PROTO3"] = 999] = "EDITION_PROTO3";
65
+ /**
66
+ * Editions that have been released. The specific values are arbitrary and
67
+ * should not be depended on, but they will always be time-ordered for easy
68
+ * comparison.
69
+ *
70
+ *
71
+ * @generated from enum value: EDITION_2023 = 1000;
72
+ */
73
+ Edition[Edition["EDITION_2023"] = 1000] = "EDITION_2023";
74
+ /**
75
+ * @generated from enum value: EDITION_2024 = 1001;
76
+ */
77
+ Edition[Edition["EDITION_2024"] = 1001] = "EDITION_2024";
78
+ /**
79
+ * Placeholder editions for testing feature resolution. These should not be
80
+ * used or relyed on outside of tests.
81
+ *
82
+ *
83
+ * @generated from enum value: EDITION_1_TEST_ONLY = 1;
84
+ */
85
+ Edition[Edition["EDITION_1_TEST_ONLY"] = 1] = "EDITION_1_TEST_ONLY";
86
+ /**
87
+ * @generated from enum value: EDITION_2_TEST_ONLY = 2;
88
+ */
89
+ Edition[Edition["EDITION_2_TEST_ONLY"] = 2] = "EDITION_2_TEST_ONLY";
90
+ /**
91
+ * @generated from enum value: EDITION_99997_TEST_ONLY = 99997;
92
+ */
93
+ Edition[Edition["EDITION_99997_TEST_ONLY"] = 99997] = "EDITION_99997_TEST_ONLY";
94
+ /**
95
+ * @generated from enum value: EDITION_99998_TEST_ONLY = 99998;
96
+ */
97
+ Edition[Edition["EDITION_99998_TEST_ONLY"] = 99998] = "EDITION_99998_TEST_ONLY";
98
+ /**
99
+ * @generated from enum value: EDITION_99999_TEST_ONLY = 99999;
100
+ */
101
+ Edition[Edition["EDITION_99999_TEST_ONLY"] = 99999] = "EDITION_99999_TEST_ONLY";
102
+ /**
103
+ * Placeholder for specifying unbounded edition support. This should only
104
+ * ever be used by plugins that can expect to never require any changes to
105
+ * support a new edition.
106
+ *
107
+ *
108
+ * @generated from enum value: EDITION_MAX = 2147483647;
109
+ */
110
+ Edition[Edition["EDITION_MAX"] = 2147483647] = "EDITION_MAX";
111
+ })(Edition || (exports.Edition = Edition = {}));
112
+ // Edition_Enum is the enum type for Edition.
113
+ exports.Edition_Enum = (0, __1.createEnumType)("google.protobuf.Edition", [
114
+ { no: 0, name: "EDITION_UNKNOWN" },
115
+ { no: 998, name: "EDITION_PROTO2" },
116
+ { no: 999, name: "EDITION_PROTO3" },
117
+ { no: 1000, name: "EDITION_2023" },
118
+ { no: 1001, name: "EDITION_2024" },
119
+ { no: 1, name: "EDITION_1_TEST_ONLY" },
120
+ { no: 2, name: "EDITION_2_TEST_ONLY" },
121
+ { no: 99997, name: "EDITION_99997_TEST_ONLY" },
122
+ { no: 99998, name: "EDITION_99998_TEST_ONLY" },
123
+ { no: 99999, name: "EDITION_99999_TEST_ONLY" },
124
+ { no: 2147483647, name: "EDITION_MAX" },
125
+ ]);
126
+ /**
127
+ * The verification state of the extension range.
128
+ *
129
+ *
130
+ * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
131
+ */
132
+ var ExtensionRangeOptions_VerificationState;
133
+ (function (ExtensionRangeOptions_VerificationState) {
134
+ /**
135
+ * All the extensions of the range must be declared.
136
+ *
137
+ *
138
+ * @generated from enum value: DECLARATION = 0;
139
+ */
140
+ ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION";
141
+ /**
142
+ * @generated from enum value: UNVERIFIED = 1;
143
+ */
144
+ ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED";
145
+ })(ExtensionRangeOptions_VerificationState || (exports.ExtensionRangeOptions_VerificationState = ExtensionRangeOptions_VerificationState = {}));
146
+ // ExtensionRangeOptions_VerificationState_Enum is the enum type for ExtensionRangeOptions_VerificationState.
147
+ exports.ExtensionRangeOptions_VerificationState_Enum = (0, __1.createEnumType)("google.protobuf.ExtensionRangeOptions.VerificationState", [
148
+ { no: 0, name: "DECLARATION" },
149
+ { no: 1, name: "UNVERIFIED" },
150
+ ]);
151
+ /**
152
+ * @generated from enum google.protobuf.FieldDescriptorProto.Type
153
+ */
154
+ var FieldDescriptorProto_Type;
155
+ (function (FieldDescriptorProto_Type) {
156
+ /**
157
+ * 0 is reserved for errors.
158
+ * Order is weird for historical reasons.
159
+ *
160
+ *
161
+ * @generated from enum value: TYPE_DOUBLE = 1;
162
+ */
163
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["DOUBLE"] = 1] = "DOUBLE";
164
+ /**
165
+ * @generated from enum value: TYPE_FLOAT = 2;
166
+ */
167
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FLOAT"] = 2] = "FLOAT";
168
+ /**
169
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT64 if
170
+ * negative values are likely.
171
+ *
172
+ *
173
+ * @generated from enum value: TYPE_INT64 = 3;
174
+ */
175
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT64"] = 3] = "INT64";
176
+ /**
177
+ * @generated from enum value: TYPE_UINT64 = 4;
178
+ */
179
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT64"] = 4] = "UINT64";
180
+ /**
181
+ * Not ZigZag encoded. Negative numbers take 10 bytes. Use TYPE_SINT32 if
182
+ * negative values are likely.
183
+ *
184
+ *
185
+ * @generated from enum value: TYPE_INT32 = 5;
186
+ */
187
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["INT32"] = 5] = "INT32";
188
+ /**
189
+ * @generated from enum value: TYPE_FIXED64 = 6;
190
+ */
191
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED64"] = 6] = "FIXED64";
192
+ /**
193
+ * @generated from enum value: TYPE_FIXED32 = 7;
194
+ */
195
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["FIXED32"] = 7] = "FIXED32";
196
+ /**
197
+ * @generated from enum value: TYPE_BOOL = 8;
198
+ */
199
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["BOOL"] = 8] = "BOOL";
200
+ /**
201
+ * @generated from enum value: TYPE_STRING = 9;
202
+ */
203
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["STRING"] = 9] = "STRING";
204
+ /**
205
+ * Tag-delimited aggregate.
206
+ * Group type is deprecated and not supported after google.protobuf. However, Proto3
207
+ * implementations should still be able to parse the group wire format and
208
+ * treat group fields as unknown fields. In Editions, the group wire format
209
+ * can be enabled via the `message_encoding` feature.
210
+ *
211
+ *
212
+ * @generated from enum value: TYPE_GROUP = 10;
213
+ */
214
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["GROUP"] = 10] = "GROUP";
215
+ /**
216
+ * Length-delimited aggregate.
217
+ *
218
+ * @generated from enum value: TYPE_MESSAGE = 11;
219
+ */
220
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["MESSAGE"] = 11] = "MESSAGE";
221
+ /**
222
+ * New in version 2.
223
+ *
224
+ *
225
+ * @generated from enum value: TYPE_BYTES = 12;
226
+ */
227
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["BYTES"] = 12] = "BYTES";
228
+ /**
229
+ * @generated from enum value: TYPE_UINT32 = 13;
230
+ */
231
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["UINT32"] = 13] = "UINT32";
232
+ /**
233
+ * @generated from enum value: TYPE_ENUM = 14;
234
+ */
235
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["ENUM"] = 14] = "ENUM";
236
+ /**
237
+ * @generated from enum value: TYPE_SFIXED32 = 15;
238
+ */
239
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED32"] = 15] = "SFIXED32";
240
+ /**
241
+ * @generated from enum value: TYPE_SFIXED64 = 16;
242
+ */
243
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SFIXED64"] = 16] = "SFIXED64";
244
+ /**
245
+ * Uses ZigZag encoding.
246
+ *
247
+ * @generated from enum value: TYPE_SINT32 = 17;
248
+ */
249
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT32"] = 17] = "SINT32";
250
+ /**
251
+ * Uses ZigZag encoding.
252
+ *
253
+ * @generated from enum value: TYPE_SINT64 = 18;
254
+ */
255
+ FieldDescriptorProto_Type[FieldDescriptorProto_Type["SINT64"] = 18] = "SINT64";
256
+ })(FieldDescriptorProto_Type || (exports.FieldDescriptorProto_Type = FieldDescriptorProto_Type = {}));
257
+ // FieldDescriptorProto_Type_Enum is the enum type for FieldDescriptorProto_Type.
258
+ exports.FieldDescriptorProto_Type_Enum = (0, __1.createEnumType)("google.protobuf.FieldDescriptorProto.Type", [
259
+ { no: 1, name: "TYPE_DOUBLE" },
260
+ { no: 2, name: "TYPE_FLOAT" },
261
+ { no: 3, name: "TYPE_INT64" },
262
+ { no: 4, name: "TYPE_UINT64" },
263
+ { no: 5, name: "TYPE_INT32" },
264
+ { no: 6, name: "TYPE_FIXED64" },
265
+ { no: 7, name: "TYPE_FIXED32" },
266
+ { no: 8, name: "TYPE_BOOL" },
267
+ { no: 9, name: "TYPE_STRING" },
268
+ { no: 10, name: "TYPE_GROUP" },
269
+ { no: 11, name: "TYPE_MESSAGE" },
270
+ { no: 12, name: "TYPE_BYTES" },
271
+ { no: 13, name: "TYPE_UINT32" },
272
+ { no: 14, name: "TYPE_ENUM" },
273
+ { no: 15, name: "TYPE_SFIXED32" },
274
+ { no: 16, name: "TYPE_SFIXED64" },
275
+ { no: 17, name: "TYPE_SINT32" },
276
+ { no: 18, name: "TYPE_SINT64" },
277
+ ]);
278
+ /**
279
+ * @generated from enum google.protobuf.FieldDescriptorProto.Label
280
+ */
281
+ var FieldDescriptorProto_Label;
282
+ (function (FieldDescriptorProto_Label) {
283
+ /**
284
+ * 0 is reserved for errors
285
+ *
286
+ *
287
+ * @generated from enum value: LABEL_OPTIONAL = 1;
288
+ */
289
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["OPTIONAL"] = 1] = "OPTIONAL";
290
+ /**
291
+ * @generated from enum value: LABEL_REPEATED = 3;
292
+ */
293
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["REPEATED"] = 3] = "REPEATED";
294
+ /**
295
+ * The required label is only allowed in google.protobuf. In proto3 and Editions
296
+ * it's explicitly prohibited. In Editions, the `field_presence` feature
297
+ * can be used to get this behavior.
298
+ *
299
+ *
300
+ * @generated from enum value: LABEL_REQUIRED = 2;
301
+ */
302
+ FieldDescriptorProto_Label[FieldDescriptorProto_Label["REQUIRED"] = 2] = "REQUIRED";
303
+ })(FieldDescriptorProto_Label || (exports.FieldDescriptorProto_Label = FieldDescriptorProto_Label = {}));
304
+ // FieldDescriptorProto_Label_Enum is the enum type for FieldDescriptorProto_Label.
305
+ exports.FieldDescriptorProto_Label_Enum = (0, __1.createEnumType)("google.protobuf.FieldDescriptorProto.Label", [
306
+ { no: 1, name: "LABEL_OPTIONAL" },
307
+ { no: 3, name: "LABEL_REPEATED" },
308
+ { no: 2, name: "LABEL_REQUIRED" },
309
+ ]);
310
+ /**
311
+ * Generated classes can be optimized for speed or code size.
312
+ *
313
+ *
314
+ * @generated from enum google.protobuf.FileOptions.OptimizeMode
315
+ */
316
+ var FileOptions_OptimizeMode;
317
+ (function (FileOptions_OptimizeMode) {
318
+ /**
319
+ * Generate complete code for parsing, serialization,
320
+ *
321
+ * @generated from enum value: SPEED = 1;
322
+ */
323
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["SPEED"] = 1] = "SPEED";
324
+ /**
325
+ * etc.
326
+ *
327
+ * Use ReflectionOps to implement these methods.
328
+ *
329
+ * @generated from enum value: CODE_SIZE = 2;
330
+ */
331
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["CODE_SIZE"] = 2] = "CODE_SIZE";
332
+ /**
333
+ * Generate code using MessageLite and the lite runtime.
334
+ *
335
+ * @generated from enum value: LITE_RUNTIME = 3;
336
+ */
337
+ FileOptions_OptimizeMode[FileOptions_OptimizeMode["LITE_RUNTIME"] = 3] = "LITE_RUNTIME";
338
+ })(FileOptions_OptimizeMode || (exports.FileOptions_OptimizeMode = FileOptions_OptimizeMode = {}));
339
+ // FileOptions_OptimizeMode_Enum is the enum type for FileOptions_OptimizeMode.
340
+ exports.FileOptions_OptimizeMode_Enum = (0, __1.createEnumType)("google.protobuf.FileOptions.OptimizeMode", [
341
+ { no: 1, name: "SPEED" },
342
+ { no: 2, name: "CODE_SIZE" },
343
+ { no: 3, name: "LITE_RUNTIME" },
344
+ ]);
345
+ /**
346
+ * @generated from enum google.protobuf.FieldOptions.CType
347
+ */
348
+ var FieldOptions_CType;
349
+ (function (FieldOptions_CType) {
350
+ /**
351
+ * Default mode.
352
+ *
353
+ *
354
+ * @generated from enum value: STRING = 0;
355
+ */
356
+ FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
357
+ /**
358
+ * The option [ctype=CORD] may be applied to a non-repeated field of type
359
+ * "bytes". It indicates that in C++, the data should be stored in a Cord
360
+ * instead of a string. For very large strings, this may reduce memory
361
+ * fragmentation. It may also allow better performance when parsing from a
362
+ * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
363
+ * alias the original buffer.
364
+ *
365
+ *
366
+ * @generated from enum value: CORD = 1;
367
+ */
368
+ FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
369
+ /**
370
+ * @generated from enum value: STRING_PIECE = 2;
371
+ */
372
+ FieldOptions_CType[FieldOptions_CType["STRING_PIECE"] = 2] = "STRING_PIECE";
373
+ })(FieldOptions_CType || (exports.FieldOptions_CType = FieldOptions_CType = {}));
374
+ // FieldOptions_CType_Enum is the enum type for FieldOptions_CType.
375
+ exports.FieldOptions_CType_Enum = (0, __1.createEnumType)("google.protobuf.FieldOptions.CType", [
376
+ { no: 0, name: "STRING" },
377
+ { no: 1, name: "CORD" },
378
+ { no: 2, name: "STRING_PIECE" },
379
+ ]);
380
+ /**
381
+ * @generated from enum google.protobuf.FieldOptions.JSType
382
+ */
383
+ var FieldOptions_JSType;
384
+ (function (FieldOptions_JSType) {
385
+ /**
386
+ * Use the default type.
387
+ *
388
+ *
389
+ * @generated from enum value: JS_NORMAL = 0;
390
+ */
391
+ FieldOptions_JSType[FieldOptions_JSType["JS_NORMAL"] = 0] = "JS_NORMAL";
392
+ /**
393
+ * Use JavaScript strings.
394
+ *
395
+ *
396
+ * @generated from enum value: JS_STRING = 1;
397
+ */
398
+ FieldOptions_JSType[FieldOptions_JSType["JS_STRING"] = 1] = "JS_STRING";
399
+ /**
400
+ * Use JavaScript numbers.
401
+ *
402
+ *
403
+ * @generated from enum value: JS_NUMBER = 2;
404
+ */
405
+ FieldOptions_JSType[FieldOptions_JSType["JS_NUMBER"] = 2] = "JS_NUMBER";
406
+ })(FieldOptions_JSType || (exports.FieldOptions_JSType = FieldOptions_JSType = {}));
407
+ // FieldOptions_JSType_Enum is the enum type for FieldOptions_JSType.
408
+ exports.FieldOptions_JSType_Enum = (0, __1.createEnumType)("google.protobuf.FieldOptions.JSType", [
409
+ { no: 0, name: "JS_NORMAL" },
410
+ { no: 1, name: "JS_STRING" },
411
+ { no: 2, name: "JS_NUMBER" },
412
+ ]);
413
+ /**
414
+ * If set to RETENTION_SOURCE, the option will be omitted from the binary.
415
+ * Note: as of January 2023, support for this is in progress and does not yet
416
+ * have an effect (b/264593489).
417
+ *
418
+ *
419
+ * @generated from enum google.protobuf.FieldOptions.OptionRetention
420
+ */
421
+ var FieldOptions_OptionRetention;
422
+ (function (FieldOptions_OptionRetention) {
423
+ /**
424
+ * @generated from enum value: RETENTION_UNKNOWN = 0;
425
+ */
426
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_UNKNOWN"] = 0] = "RETENTION_UNKNOWN";
427
+ /**
428
+ * @generated from enum value: RETENTION_RUNTIME = 1;
429
+ */
430
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_RUNTIME"] = 1] = "RETENTION_RUNTIME";
431
+ /**
432
+ * @generated from enum value: RETENTION_SOURCE = 2;
433
+ */
434
+ FieldOptions_OptionRetention[FieldOptions_OptionRetention["RETENTION_SOURCE"] = 2] = "RETENTION_SOURCE";
435
+ })(FieldOptions_OptionRetention || (exports.FieldOptions_OptionRetention = FieldOptions_OptionRetention = {}));
436
+ // FieldOptions_OptionRetention_Enum is the enum type for FieldOptions_OptionRetention.
437
+ exports.FieldOptions_OptionRetention_Enum = (0, __1.createEnumType)("google.protobuf.FieldOptions.OptionRetention", [
438
+ { no: 0, name: "RETENTION_UNKNOWN" },
439
+ { no: 1, name: "RETENTION_RUNTIME" },
440
+ { no: 2, name: "RETENTION_SOURCE" },
441
+ ]);
442
+ /**
443
+ * This indicates the types of entities that the field may apply to when used
444
+ * as an option. If it is unset, then the field may be freely used as an
445
+ * option on any kind of entity. Note: as of January 2023, support for this is
446
+ * in progress and does not yet have an effect (b/264593489).
447
+ *
448
+ *
449
+ * @generated from enum google.protobuf.FieldOptions.OptionTargetType
450
+ */
451
+ var FieldOptions_OptionTargetType;
452
+ (function (FieldOptions_OptionTargetType) {
453
+ /**
454
+ * @generated from enum value: TARGET_TYPE_UNKNOWN = 0;
455
+ */
456
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_UNKNOWN"] = 0] = "TARGET_TYPE_UNKNOWN";
457
+ /**
458
+ * @generated from enum value: TARGET_TYPE_FILE = 1;
459
+ */
460
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FILE"] = 1] = "TARGET_TYPE_FILE";
461
+ /**
462
+ * @generated from enum value: TARGET_TYPE_EXTENSION_RANGE = 2;
463
+ */
464
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_EXTENSION_RANGE"] = 2] = "TARGET_TYPE_EXTENSION_RANGE";
465
+ /**
466
+ * @generated from enum value: TARGET_TYPE_MESSAGE = 3;
467
+ */
468
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_MESSAGE"] = 3] = "TARGET_TYPE_MESSAGE";
469
+ /**
470
+ * @generated from enum value: TARGET_TYPE_FIELD = 4;
471
+ */
472
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_FIELD"] = 4] = "TARGET_TYPE_FIELD";
473
+ /**
474
+ * @generated from enum value: TARGET_TYPE_ONEOF = 5;
475
+ */
476
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ONEOF"] = 5] = "TARGET_TYPE_ONEOF";
477
+ /**
478
+ * @generated from enum value: TARGET_TYPE_ENUM = 6;
479
+ */
480
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM"] = 6] = "TARGET_TYPE_ENUM";
481
+ /**
482
+ * @generated from enum value: TARGET_TYPE_ENUM_ENTRY = 7;
483
+ */
484
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_ENUM_ENTRY"] = 7] = "TARGET_TYPE_ENUM_ENTRY";
485
+ /**
486
+ * @generated from enum value: TARGET_TYPE_SERVICE = 8;
487
+ */
488
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_SERVICE"] = 8] = "TARGET_TYPE_SERVICE";
489
+ /**
490
+ * @generated from enum value: TARGET_TYPE_METHOD = 9;
491
+ */
492
+ FieldOptions_OptionTargetType[FieldOptions_OptionTargetType["TARGET_TYPE_METHOD"] = 9] = "TARGET_TYPE_METHOD";
493
+ })(FieldOptions_OptionTargetType || (exports.FieldOptions_OptionTargetType = FieldOptions_OptionTargetType = {}));
494
+ // FieldOptions_OptionTargetType_Enum is the enum type for FieldOptions_OptionTargetType.
495
+ exports.FieldOptions_OptionTargetType_Enum = (0, __1.createEnumType)("google.protobuf.FieldOptions.OptionTargetType", [
496
+ { no: 0, name: "TARGET_TYPE_UNKNOWN" },
497
+ { no: 1, name: "TARGET_TYPE_FILE" },
498
+ { no: 2, name: "TARGET_TYPE_EXTENSION_RANGE" },
499
+ { no: 3, name: "TARGET_TYPE_MESSAGE" },
500
+ { no: 4, name: "TARGET_TYPE_FIELD" },
501
+ { no: 5, name: "TARGET_TYPE_ONEOF" },
502
+ { no: 6, name: "TARGET_TYPE_ENUM" },
503
+ { no: 7, name: "TARGET_TYPE_ENUM_ENTRY" },
504
+ { no: 8, name: "TARGET_TYPE_SERVICE" },
505
+ { no: 9, name: "TARGET_TYPE_METHOD" },
506
+ ]);
507
+ /**
508
+ * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
509
+ * or neither? HTTP based RPC implementation may choose GET verb for safe
510
+ * methods, and PUT verb for idempotent methods instead of the default POST.
511
+ *
512
+ *
513
+ * @generated from enum google.protobuf.MethodOptions.IdempotencyLevel
514
+ */
515
+ var MethodOptions_IdempotencyLevel;
516
+ (function (MethodOptions_IdempotencyLevel) {
517
+ /**
518
+ * @generated from enum value: IDEMPOTENCY_UNKNOWN = 0;
519
+ */
520
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENCY_UNKNOWN"] = 0] = "IDEMPOTENCY_UNKNOWN";
521
+ /**
522
+ * implies idempotent
523
+ *
524
+ * @generated from enum value: NO_SIDE_EFFECTS = 1;
525
+ */
526
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["NO_SIDE_EFFECTS"] = 1] = "NO_SIDE_EFFECTS";
527
+ /**
528
+ * idempotent, but may have side effects
529
+ *
530
+ * @generated from enum value: IDEMPOTENT = 2;
531
+ */
532
+ MethodOptions_IdempotencyLevel[MethodOptions_IdempotencyLevel["IDEMPOTENT"] = 2] = "IDEMPOTENT";
533
+ })(MethodOptions_IdempotencyLevel || (exports.MethodOptions_IdempotencyLevel = MethodOptions_IdempotencyLevel = {}));
534
+ // MethodOptions_IdempotencyLevel_Enum is the enum type for MethodOptions_IdempotencyLevel.
535
+ exports.MethodOptions_IdempotencyLevel_Enum = (0, __1.createEnumType)("google.protobuf.MethodOptions.IdempotencyLevel", [
536
+ { no: 0, name: "IDEMPOTENCY_UNKNOWN" },
537
+ { no: 1, name: "NO_SIDE_EFFECTS" },
538
+ { no: 2, name: "IDEMPOTENT" },
539
+ ]);
540
+ /**
541
+ * @generated from enum google.protobuf.FeatureSet.FieldPresence
542
+ */
543
+ var FeatureSet_FieldPresence;
544
+ (function (FeatureSet_FieldPresence) {
545
+ /**
546
+ * @generated from enum value: FIELD_PRESENCE_UNKNOWN = 0;
547
+ */
548
+ FeatureSet_FieldPresence[FeatureSet_FieldPresence["FIELD_PRESENCE_UNKNOWN"] = 0] = "FIELD_PRESENCE_UNKNOWN";
549
+ /**
550
+ * @generated from enum value: EXPLICIT = 1;
551
+ */
552
+ FeatureSet_FieldPresence[FeatureSet_FieldPresence["EXPLICIT"] = 1] = "EXPLICIT";
553
+ /**
554
+ * @generated from enum value: IMPLICIT = 2;
555
+ */
556
+ FeatureSet_FieldPresence[FeatureSet_FieldPresence["IMPLICIT"] = 2] = "IMPLICIT";
557
+ /**
558
+ * @generated from enum value: LEGACY_REQUIRED = 3;
559
+ */
560
+ FeatureSet_FieldPresence[FeatureSet_FieldPresence["LEGACY_REQUIRED"] = 3] = "LEGACY_REQUIRED";
561
+ })(FeatureSet_FieldPresence || (exports.FeatureSet_FieldPresence = FeatureSet_FieldPresence = {}));
562
+ // FeatureSet_FieldPresence_Enum is the enum type for FeatureSet_FieldPresence.
563
+ exports.FeatureSet_FieldPresence_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.FieldPresence", [
564
+ { no: 0, name: "FIELD_PRESENCE_UNKNOWN" },
565
+ { no: 1, name: "EXPLICIT" },
566
+ { no: 2, name: "IMPLICIT" },
567
+ { no: 3, name: "LEGACY_REQUIRED" },
568
+ ]);
569
+ /**
570
+ * @generated from enum google.protobuf.FeatureSet.EnumType
571
+ */
572
+ var FeatureSet_EnumType;
573
+ (function (FeatureSet_EnumType) {
574
+ /**
575
+ * @generated from enum value: ENUM_TYPE_UNKNOWN = 0;
576
+ */
577
+ FeatureSet_EnumType[FeatureSet_EnumType["ENUM_TYPE_UNKNOWN"] = 0] = "ENUM_TYPE_UNKNOWN";
578
+ /**
579
+ * @generated from enum value: OPEN = 1;
580
+ */
581
+ FeatureSet_EnumType[FeatureSet_EnumType["OPEN"] = 1] = "OPEN";
582
+ /**
583
+ * @generated from enum value: CLOSED = 2;
584
+ */
585
+ FeatureSet_EnumType[FeatureSet_EnumType["CLOSED"] = 2] = "CLOSED";
586
+ })(FeatureSet_EnumType || (exports.FeatureSet_EnumType = FeatureSet_EnumType = {}));
587
+ // FeatureSet_EnumType_Enum is the enum type for FeatureSet_EnumType.
588
+ exports.FeatureSet_EnumType_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.EnumType", [
589
+ { no: 0, name: "ENUM_TYPE_UNKNOWN" },
590
+ { no: 1, name: "OPEN" },
591
+ { no: 2, name: "CLOSED" },
592
+ ]);
593
+ /**
594
+ * @generated from enum google.protobuf.FeatureSet.RepeatedFieldEncoding
595
+ */
596
+ var FeatureSet_RepeatedFieldEncoding;
597
+ (function (FeatureSet_RepeatedFieldEncoding) {
598
+ /**
599
+ * @generated from enum value: REPEATED_FIELD_ENCODING_UNKNOWN = 0;
600
+ */
601
+ FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["REPEATED_FIELD_ENCODING_UNKNOWN"] = 0] = "REPEATED_FIELD_ENCODING_UNKNOWN";
602
+ /**
603
+ * @generated from enum value: PACKED = 1;
604
+ */
605
+ FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["PACKED"] = 1] = "PACKED";
606
+ /**
607
+ * @generated from enum value: EXPANDED = 2;
608
+ */
609
+ FeatureSet_RepeatedFieldEncoding[FeatureSet_RepeatedFieldEncoding["EXPANDED"] = 2] = "EXPANDED";
610
+ })(FeatureSet_RepeatedFieldEncoding || (exports.FeatureSet_RepeatedFieldEncoding = FeatureSet_RepeatedFieldEncoding = {}));
611
+ // FeatureSet_RepeatedFieldEncoding_Enum is the enum type for FeatureSet_RepeatedFieldEncoding.
612
+ exports.FeatureSet_RepeatedFieldEncoding_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.RepeatedFieldEncoding", [
613
+ { no: 0, name: "REPEATED_FIELD_ENCODING_UNKNOWN" },
614
+ { no: 1, name: "PACKED" },
615
+ { no: 2, name: "EXPANDED" },
616
+ ]);
617
+ /**
618
+ * @generated from enum google.protobuf.FeatureSet.Utf8Validation
619
+ */
620
+ var FeatureSet_Utf8Validation;
621
+ (function (FeatureSet_Utf8Validation) {
622
+ /**
623
+ * @generated from enum value: UTF8_VALIDATION_UNKNOWN = 0;
624
+ */
625
+ FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["UTF8_VALIDATION_UNKNOWN"] = 0] = "UTF8_VALIDATION_UNKNOWN";
626
+ /**
627
+ * @generated from enum value: VERIFY = 2;
628
+ */
629
+ FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["VERIFY"] = 2] = "VERIFY";
630
+ /**
631
+ * @generated from enum value: NONE = 3;
632
+ */
633
+ FeatureSet_Utf8Validation[FeatureSet_Utf8Validation["NONE"] = 3] = "NONE";
634
+ })(FeatureSet_Utf8Validation || (exports.FeatureSet_Utf8Validation = FeatureSet_Utf8Validation = {}));
635
+ // FeatureSet_Utf8Validation_Enum is the enum type for FeatureSet_Utf8Validation.
636
+ exports.FeatureSet_Utf8Validation_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.Utf8Validation", [
637
+ { no: 0, name: "UTF8_VALIDATION_UNKNOWN" },
638
+ { no: 2, name: "VERIFY" },
639
+ { no: 3, name: "NONE" },
640
+ ]);
641
+ /**
642
+ * @generated from enum google.protobuf.FeatureSet.MessageEncoding
643
+ */
644
+ var FeatureSet_MessageEncoding;
645
+ (function (FeatureSet_MessageEncoding) {
646
+ /**
647
+ * @generated from enum value: MESSAGE_ENCODING_UNKNOWN = 0;
648
+ */
649
+ FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["MESSAGE_ENCODING_UNKNOWN"] = 0] = "MESSAGE_ENCODING_UNKNOWN";
650
+ /**
651
+ * @generated from enum value: LENGTH_PREFIXED = 1;
652
+ */
653
+ FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["LENGTH_PREFIXED"] = 1] = "LENGTH_PREFIXED";
654
+ /**
655
+ * @generated from enum value: DELIMITED = 2;
656
+ */
657
+ FeatureSet_MessageEncoding[FeatureSet_MessageEncoding["DELIMITED"] = 2] = "DELIMITED";
658
+ })(FeatureSet_MessageEncoding || (exports.FeatureSet_MessageEncoding = FeatureSet_MessageEncoding = {}));
659
+ // FeatureSet_MessageEncoding_Enum is the enum type for FeatureSet_MessageEncoding.
660
+ exports.FeatureSet_MessageEncoding_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.MessageEncoding", [
661
+ { no: 0, name: "MESSAGE_ENCODING_UNKNOWN" },
662
+ { no: 1, name: "LENGTH_PREFIXED" },
663
+ { no: 2, name: "DELIMITED" },
664
+ ]);
665
+ /**
666
+ * @generated from enum google.protobuf.FeatureSet.JsonFormat
667
+ */
668
+ var FeatureSet_JsonFormat;
669
+ (function (FeatureSet_JsonFormat) {
670
+ /**
671
+ * @generated from enum value: JSON_FORMAT_UNKNOWN = 0;
672
+ */
673
+ FeatureSet_JsonFormat[FeatureSet_JsonFormat["JSON_FORMAT_UNKNOWN"] = 0] = "JSON_FORMAT_UNKNOWN";
674
+ /**
675
+ * @generated from enum value: ALLOW = 1;
676
+ */
677
+ FeatureSet_JsonFormat[FeatureSet_JsonFormat["ALLOW"] = 1] = "ALLOW";
678
+ /**
679
+ * @generated from enum value: LEGACY_BEST_EFFORT = 2;
680
+ */
681
+ FeatureSet_JsonFormat[FeatureSet_JsonFormat["LEGACY_BEST_EFFORT"] = 2] = "LEGACY_BEST_EFFORT";
682
+ })(FeatureSet_JsonFormat || (exports.FeatureSet_JsonFormat = FeatureSet_JsonFormat = {}));
683
+ // FeatureSet_JsonFormat_Enum is the enum type for FeatureSet_JsonFormat.
684
+ exports.FeatureSet_JsonFormat_Enum = (0, __1.createEnumType)("google.protobuf.FeatureSet.JsonFormat", [
685
+ { no: 0, name: "JSON_FORMAT_UNKNOWN" },
686
+ { no: 1, name: "ALLOW" },
687
+ { no: 2, name: "LEGACY_BEST_EFFORT" },
688
+ ]);
689
+ /**
690
+ * Represents the identified object's effect on the element in the original
691
+ * .proto file.
692
+ *
693
+ *
694
+ * @generated from enum google.protobuf.GeneratedCodeInfo.Annotation.Semantic
695
+ */
696
+ var GeneratedCodeInfo_Annotation_Semantic;
697
+ (function (GeneratedCodeInfo_Annotation_Semantic) {
698
+ /**
699
+ * There is no effect or the effect is indescribable.
700
+ *
701
+ *
702
+ * @generated from enum value: NONE = 0;
703
+ */
704
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["NONE"] = 0] = "NONE";
705
+ /**
706
+ * The element is set or otherwise mutated.
707
+ *
708
+ *
709
+ * @generated from enum value: SET = 1;
710
+ */
711
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["SET"] = 1] = "SET";
712
+ /**
713
+ * An alias to the element is returned.
714
+ *
715
+ *
716
+ * @generated from enum value: ALIAS = 2;
717
+ */
718
+ GeneratedCodeInfo_Annotation_Semantic[GeneratedCodeInfo_Annotation_Semantic["ALIAS"] = 2] = "ALIAS";
719
+ })(GeneratedCodeInfo_Annotation_Semantic || (exports.GeneratedCodeInfo_Annotation_Semantic = GeneratedCodeInfo_Annotation_Semantic = {}));
720
+ // GeneratedCodeInfo_Annotation_Semantic_Enum is the enum type for GeneratedCodeInfo_Annotation_Semantic.
721
+ exports.GeneratedCodeInfo_Annotation_Semantic_Enum = (0, __1.createEnumType)("google.protobuf.GeneratedCodeInfo.Annotation.Semantic", [
722
+ { no: 0, name: "NONE" },
723
+ { no: 1, name: "SET" },
724
+ { no: 2, name: "ALIAS" },
725
+ ]);
726
+ exports.FieldOptions_EditionDefault = (0, __1.createMessageType)({
727
+ typeName: "google.protobuf.FieldOptions.EditionDefault",
728
+ fields: [
729
+ { no: 3, name: "edition", kind: "enum", T: exports.Edition_Enum },
730
+ { no: 2, name: "value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
731
+ ],
732
+ packedByDefault: false,
733
+ });
734
+ exports.FeatureSet = (0, __1.createMessageType)({
735
+ typeName: "google.protobuf.FeatureSet",
736
+ fields: [
737
+ { no: 1, name: "field_presence", kind: "enum", T: exports.FeatureSet_FieldPresence_Enum },
738
+ { no: 2, name: "enum_type", kind: "enum", T: exports.FeatureSet_EnumType_Enum },
739
+ { no: 3, name: "repeated_field_encoding", kind: "enum", T: exports.FeatureSet_RepeatedFieldEncoding_Enum },
740
+ { no: 4, name: "utf8_validation", kind: "enum", T: exports.FeatureSet_Utf8Validation_Enum },
741
+ { no: 5, name: "message_encoding", kind: "enum", T: exports.FeatureSet_MessageEncoding_Enum },
742
+ { no: 6, name: "json_format", kind: "enum", T: exports.FeatureSet_JsonFormat_Enum },
743
+ ],
744
+ packedByDefault: false,
745
+ });
746
+ exports.UninterpretedOption_NamePart = (0, __1.createMessageType)({
747
+ typeName: "google.protobuf.UninterpretedOption.NamePart",
748
+ fields: [
749
+ { no: 1, name: "name_part", kind: "scalar", T: 9 /* ScalarType.STRING */, req: true },
750
+ { no: 2, name: "is_extension", kind: "scalar", T: 8 /* ScalarType.BOOL */, req: true },
751
+ ],
752
+ packedByDefault: false,
753
+ });
754
+ exports.UninterpretedOption = (0, __1.createMessageType)({
755
+ typeName: "google.protobuf.UninterpretedOption",
756
+ fields: [
757
+ { no: 2, name: "name", kind: "message", T: () => exports.UninterpretedOption_NamePart, repeated: true },
758
+ { no: 3, name: "identifier_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
759
+ { no: 4, name: "positive_int_value", kind: "scalar", T: 4 /* ScalarType.UINT64 */ },
760
+ { no: 5, name: "negative_int_value", kind: "scalar", T: 3 /* ScalarType.INT64 */ },
761
+ { no: 6, name: "double_value", kind: "scalar", T: 1 /* ScalarType.DOUBLE */ },
762
+ { no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
763
+ { no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
764
+ ],
765
+ packedByDefault: false,
766
+ });
767
+ exports.FieldOptions = (0, __1.createMessageType)({
768
+ typeName: "google.protobuf.FieldOptions",
769
+ fields: [
770
+ { no: 1, name: "ctype", kind: "enum", T: exports.FieldOptions_CType_Enum, default: FieldOptions_CType.STRING },
771
+ { no: 2, name: "packed", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
772
+ { no: 6, name: "jstype", kind: "enum", T: exports.FieldOptions_JSType_Enum, default: FieldOptions_JSType.JS_NORMAL },
773
+ { no: 5, name: "lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
774
+ { no: 15, name: "unverified_lazy", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
775
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
776
+ { no: 10, name: "weak", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
777
+ { no: 16, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
778
+ { no: 17, name: "retention", kind: "enum", T: exports.FieldOptions_OptionRetention_Enum },
779
+ { no: 19, name: "targets", kind: "enum", T: exports.FieldOptions_OptionTargetType_Enum, repeated: true },
780
+ { no: 20, name: "edition_defaults", kind: "message", T: () => exports.FieldOptions_EditionDefault, repeated: true },
781
+ { no: 21, name: "features", kind: "message", T: () => exports.FeatureSet },
782
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
783
+ ],
784
+ packedByDefault: false,
785
+ });
786
+ exports.FieldDescriptorProto = (0, __1.createMessageType)({
787
+ typeName: "google.protobuf.FieldDescriptorProto",
788
+ fields: [
789
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
790
+ { no: 3, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
791
+ { no: 4, name: "label", kind: "enum", T: exports.FieldDescriptorProto_Label_Enum },
792
+ { no: 5, name: "type", kind: "enum", T: exports.FieldDescriptorProto_Type_Enum },
793
+ { no: 6, name: "type_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
794
+ { no: 2, name: "extendee", kind: "scalar", T: 9 /* ScalarType.STRING */ },
795
+ { no: 7, name: "default_value", kind: "scalar", T: 9 /* ScalarType.STRING */ },
796
+ { no: 9, name: "oneof_index", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
797
+ { no: 10, name: "json_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
798
+ { no: 8, name: "options", kind: "message", T: () => exports.FieldOptions },
799
+ { no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
800
+ ],
801
+ packedByDefault: false,
802
+ });
803
+ exports.EnumValueOptions = (0, __1.createMessageType)({
804
+ typeName: "google.protobuf.EnumValueOptions",
805
+ fields: [
806
+ { no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
807
+ { no: 2, name: "features", kind: "message", T: () => exports.FeatureSet },
808
+ { no: 3, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
809
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
810
+ ],
811
+ packedByDefault: false,
812
+ });
813
+ exports.EnumValueDescriptorProto = (0, __1.createMessageType)({
814
+ typeName: "google.protobuf.EnumValueDescriptorProto",
815
+ fields: [
816
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
817
+ { no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
818
+ { no: 3, name: "options", kind: "message", T: () => exports.EnumValueOptions },
819
+ ],
820
+ packedByDefault: false,
821
+ });
822
+ exports.EnumOptions = (0, __1.createMessageType)({
823
+ typeName: "google.protobuf.EnumOptions",
824
+ fields: [
825
+ { no: 2, name: "allow_alias", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
826
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
827
+ { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
828
+ { no: 7, name: "features", kind: "message", T: () => exports.FeatureSet },
829
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
830
+ ],
831
+ packedByDefault: false,
832
+ });
833
+ exports.EnumDescriptorProto_EnumReservedRange = (0, __1.createMessageType)({
834
+ typeName: "google.protobuf.EnumDescriptorProto.EnumReservedRange",
835
+ fields: [
836
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
837
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
838
+ ],
839
+ packedByDefault: false,
840
+ });
841
+ exports.EnumDescriptorProto = (0, __1.createMessageType)({
842
+ typeName: "google.protobuf.EnumDescriptorProto",
843
+ fields: [
844
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
845
+ { no: 2, name: "value", kind: "message", T: () => exports.EnumValueDescriptorProto, repeated: true },
846
+ { no: 3, name: "options", kind: "message", T: () => exports.EnumOptions },
847
+ { no: 4, name: "reserved_range", kind: "message", T: () => exports.EnumDescriptorProto_EnumReservedRange, repeated: true },
848
+ { no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
849
+ ],
850
+ packedByDefault: false,
851
+ });
852
+ exports.ExtensionRangeOptions_Declaration = (0, __1.createMessageType)({
853
+ typeName: "google.protobuf.ExtensionRangeOptions.Declaration",
854
+ fields: [
855
+ { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
856
+ { no: 2, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
857
+ { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
858
+ { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
859
+ { no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
860
+ ],
861
+ packedByDefault: false,
862
+ });
863
+ exports.ExtensionRangeOptions = (0, __1.createMessageType)({
864
+ typeName: "google.protobuf.ExtensionRangeOptions",
865
+ fields: [
866
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
867
+ { no: 2, name: "declaration", kind: "message", T: () => exports.ExtensionRangeOptions_Declaration, repeated: true },
868
+ { no: 50, name: "features", kind: "message", T: () => exports.FeatureSet },
869
+ { no: 3, name: "verification", kind: "enum", T: exports.ExtensionRangeOptions_VerificationState_Enum, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
870
+ ],
871
+ packedByDefault: false,
872
+ });
873
+ exports.DescriptorProto_ExtensionRange = (0, __1.createMessageType)({
874
+ typeName: "google.protobuf.DescriptorProto.ExtensionRange",
875
+ fields: [
876
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
877
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
878
+ { no: 3, name: "options", kind: "message", T: () => exports.ExtensionRangeOptions },
879
+ ],
880
+ packedByDefault: false,
881
+ });
882
+ exports.OneofOptions = (0, __1.createMessageType)({
883
+ typeName: "google.protobuf.OneofOptions",
884
+ fields: [
885
+ { no: 1, name: "features", kind: "message", T: () => exports.FeatureSet },
886
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
887
+ ],
888
+ packedByDefault: false,
889
+ });
890
+ exports.OneofDescriptorProto = (0, __1.createMessageType)({
891
+ typeName: "google.protobuf.OneofDescriptorProto",
892
+ fields: [
893
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
894
+ { no: 2, name: "options", kind: "message", T: () => exports.OneofOptions },
895
+ ],
896
+ packedByDefault: false,
897
+ });
898
+ exports.MessageOptions = (0, __1.createMessageType)({
899
+ typeName: "google.protobuf.MessageOptions",
900
+ fields: [
901
+ { no: 1, name: "message_set_wire_format", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
902
+ { no: 2, name: "no_standard_descriptor_accessor", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
903
+ { no: 3, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
904
+ { no: 7, name: "map_entry", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
905
+ { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
906
+ { no: 12, name: "features", kind: "message", T: () => exports.FeatureSet },
907
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
908
+ ],
909
+ packedByDefault: false,
910
+ });
911
+ exports.DescriptorProto_ReservedRange = (0, __1.createMessageType)({
912
+ typeName: "google.protobuf.DescriptorProto.ReservedRange",
913
+ fields: [
914
+ { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
915
+ { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
916
+ ],
917
+ packedByDefault: false,
918
+ });
919
+ exports.DescriptorProto = (0, __1.createMessageType)({
920
+ typeName: "google.protobuf.DescriptorProto",
921
+ fields: [
922
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
923
+ { no: 2, name: "field", kind: "message", T: () => exports.FieldDescriptorProto, repeated: true },
924
+ { no: 6, name: "extension", kind: "message", T: () => exports.FieldDescriptorProto, repeated: true },
925
+ { no: 3, name: "nested_type", kind: "message", T: () => exports.DescriptorProto, repeated: true },
926
+ { no: 4, name: "enum_type", kind: "message", T: () => exports.EnumDescriptorProto, repeated: true },
927
+ { no: 5, name: "extension_range", kind: "message", T: () => exports.DescriptorProto_ExtensionRange, repeated: true },
928
+ { no: 8, name: "oneof_decl", kind: "message", T: () => exports.OneofDescriptorProto, repeated: true },
929
+ { no: 7, name: "options", kind: "message", T: () => exports.MessageOptions },
930
+ { no: 9, name: "reserved_range", kind: "message", T: () => exports.DescriptorProto_ReservedRange, repeated: true },
931
+ { no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
932
+ ],
933
+ packedByDefault: false,
934
+ });
935
+ exports.MethodOptions = (0, __1.createMessageType)({
936
+ typeName: "google.protobuf.MethodOptions",
937
+ fields: [
938
+ { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
939
+ { no: 34, name: "idempotency_level", kind: "enum", T: exports.MethodOptions_IdempotencyLevel_Enum, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
940
+ { no: 35, name: "features", kind: "message", T: () => exports.FeatureSet },
941
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
942
+ ],
943
+ packedByDefault: false,
944
+ });
945
+ exports.MethodDescriptorProto = (0, __1.createMessageType)({
946
+ typeName: "google.protobuf.MethodDescriptorProto",
947
+ fields: [
948
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
949
+ { no: 2, name: "input_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
950
+ { no: 3, name: "output_type", kind: "scalar", T: 9 /* ScalarType.STRING */ },
951
+ { no: 4, name: "options", kind: "message", T: () => exports.MethodOptions },
952
+ { no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
953
+ { no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
954
+ ],
955
+ packedByDefault: false,
956
+ });
957
+ exports.ServiceOptions = (0, __1.createMessageType)({
958
+ typeName: "google.protobuf.ServiceOptions",
959
+ fields: [
960
+ { no: 34, name: "features", kind: "message", T: () => exports.FeatureSet },
961
+ { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
962
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
963
+ ],
964
+ packedByDefault: false,
965
+ });
966
+ exports.ServiceDescriptorProto = (0, __1.createMessageType)({
967
+ typeName: "google.protobuf.ServiceDescriptorProto",
968
+ fields: [
969
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
970
+ { no: 2, name: "method", kind: "message", T: () => exports.MethodDescriptorProto, repeated: true },
971
+ { no: 3, name: "options", kind: "message", T: () => exports.ServiceOptions },
972
+ ],
973
+ packedByDefault: false,
974
+ });
975
+ exports.FileOptions = (0, __1.createMessageType)({
976
+ typeName: "google.protobuf.FileOptions",
977
+ fields: [
978
+ { no: 1, name: "java_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
979
+ { no: 8, name: "java_outer_classname", kind: "scalar", T: 9 /* ScalarType.STRING */ },
980
+ { no: 10, name: "java_multiple_files", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
981
+ { no: 20, name: "java_generate_equals_and_hash", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
982
+ { no: 27, name: "java_string_check_utf8", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
983
+ { no: 9, name: "optimize_for", kind: "enum", T: exports.FileOptions_OptimizeMode_Enum, default: FileOptions_OptimizeMode.SPEED },
984
+ { no: 11, name: "go_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
985
+ { no: 16, name: "cc_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
986
+ { no: 17, name: "java_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
987
+ { no: 18, name: "py_generic_services", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
988
+ { no: 23, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: false },
989
+ { no: 31, name: "cc_enable_arenas", kind: "scalar", T: 8 /* ScalarType.BOOL */, default: true },
990
+ { no: 36, name: "objc_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
991
+ { no: 37, name: "csharp_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
992
+ { no: 39, name: "swift_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
993
+ { no: 40, name: "php_class_prefix", kind: "scalar", T: 9 /* ScalarType.STRING */ },
994
+ { no: 41, name: "php_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
995
+ { no: 44, name: "php_metadata_namespace", kind: "scalar", T: 9 /* ScalarType.STRING */ },
996
+ { no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
997
+ { no: 50, name: "features", kind: "message", T: () => exports.FeatureSet },
998
+ { no: 999, name: "uninterpreted_option", kind: "message", T: () => exports.UninterpretedOption, repeated: true },
999
+ ],
1000
+ packedByDefault: false,
1001
+ });
1002
+ exports.SourceCodeInfo_Location = (0, __1.createMessageType)({
1003
+ typeName: "google.protobuf.SourceCodeInfo.Location",
1004
+ fields: [
1005
+ { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1006
+ { no: 2, name: "span", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1007
+ { no: 3, name: "leading_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1008
+ { no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1009
+ { no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1010
+ ],
1011
+ packedByDefault: false,
1012
+ });
1013
+ exports.SourceCodeInfo = (0, __1.createMessageType)({
1014
+ typeName: "google.protobuf.SourceCodeInfo",
1015
+ fields: [
1016
+ { no: 1, name: "location", kind: "message", T: () => exports.SourceCodeInfo_Location, repeated: true },
1017
+ ],
1018
+ packedByDefault: false,
1019
+ });
1020
+ exports.FileDescriptorProto = (0, __1.createMessageType)({
1021
+ typeName: "google.protobuf.FileDescriptorProto",
1022
+ fields: [
1023
+ { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1024
+ { no: 2, name: "package", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1025
+ { no: 3, name: "dependency", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1026
+ { no: 10, name: "public_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1027
+ { no: 11, name: "weak_dependency", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true },
1028
+ { no: 4, name: "message_type", kind: "message", T: () => exports.DescriptorProto, repeated: true },
1029
+ { no: 5, name: "enum_type", kind: "message", T: () => exports.EnumDescriptorProto, repeated: true },
1030
+ { no: 6, name: "service", kind: "message", T: () => exports.ServiceDescriptorProto, repeated: true },
1031
+ { no: 7, name: "extension", kind: "message", T: () => exports.FieldDescriptorProto, repeated: true },
1032
+ { no: 8, name: "options", kind: "message", T: () => exports.FileOptions },
1033
+ { no: 9, name: "source_code_info", kind: "message", T: () => exports.SourceCodeInfo },
1034
+ { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1035
+ { no: 14, name: "edition", kind: "enum", T: exports.Edition_Enum },
1036
+ ],
1037
+ packedByDefault: false,
1038
+ });
1039
+ exports.FileDescriptorSet = (0, __1.createMessageType)({
1040
+ typeName: "google.protobuf.FileDescriptorSet",
1041
+ fields: [
1042
+ { no: 1, name: "file", kind: "message", T: () => exports.FileDescriptorProto, repeated: true },
1043
+ ],
1044
+ packedByDefault: false,
1045
+ });
1046
+ exports.FeatureSetDefaults_FeatureSetEditionDefault = (0, __1.createMessageType)({
1047
+ typeName: "google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault",
1048
+ fields: [
1049
+ { no: 3, name: "edition", kind: "enum", T: exports.Edition_Enum },
1050
+ { no: 2, name: "features", kind: "message", T: () => exports.FeatureSet },
1051
+ ],
1052
+ packedByDefault: false,
1053
+ });
1054
+ exports.FeatureSetDefaults = (0, __1.createMessageType)({
1055
+ typeName: "google.protobuf.FeatureSetDefaults",
1056
+ fields: [
1057
+ { no: 1, name: "defaults", kind: "message", T: () => exports.FeatureSetDefaults_FeatureSetEditionDefault, repeated: true },
1058
+ { no: 4, name: "minimum_edition", kind: "enum", T: exports.Edition_Enum },
1059
+ { no: 5, name: "maximum_edition", kind: "enum", T: exports.Edition_Enum },
1060
+ ],
1061
+ packedByDefault: false,
1062
+ });
1063
+ exports.GeneratedCodeInfo_Annotation = (0, __1.createMessageType)({
1064
+ typeName: "google.protobuf.GeneratedCodeInfo.Annotation",
1065
+ fields: [
1066
+ { no: 1, name: "path", kind: "scalar", T: 5 /* ScalarType.INT32 */, repeated: true, packed: true },
1067
+ { no: 2, name: "source_file", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1068
+ { no: 3, name: "begin", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1069
+ { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */ },
1070
+ { no: 5, name: "semantic", kind: "enum", T: exports.GeneratedCodeInfo_Annotation_Semantic_Enum },
1071
+ ],
1072
+ packedByDefault: false,
1073
+ });
1074
+ exports.GeneratedCodeInfo = (0, __1.createMessageType)({
1075
+ typeName: "google.protobuf.GeneratedCodeInfo",
1076
+ fields: [
1077
+ { no: 1, name: "annotation", kind: "message", T: () => exports.GeneratedCodeInfo_Annotation, repeated: true },
1078
+ ],
1079
+ packedByDefault: false,
1080
+ });