@bufbuild/protobuf 1.2.0 → 1.2.1

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 (46) hide show
  1. package/dist/cjs/google/protobuf/any_pb.js +4 -4
  2. package/dist/cjs/google/protobuf/api_pb.js +4 -4
  3. package/dist/cjs/google/protobuf/compiler/plugin_pb.js +4 -4
  4. package/dist/cjs/google/protobuf/descriptor_pb.js +106 -28
  5. package/dist/cjs/google/protobuf/duration_pb.js +1 -1
  6. package/dist/cjs/google/protobuf/empty_pb.js +1 -1
  7. package/dist/cjs/google/protobuf/field_mask_pb.js +2 -2
  8. package/dist/cjs/google/protobuf/source_context_pb.js +1 -1
  9. package/dist/cjs/google/protobuf/struct_pb.js +5 -5
  10. package/dist/cjs/google/protobuf/timestamp_pb.js +2 -2
  11. package/dist/cjs/google/protobuf/type_pb.js +27 -6
  12. package/dist/cjs/google/protobuf/wrappers_pb.js +9 -9
  13. package/dist/cjs/index.js +0 -3
  14. package/dist/cjs/private/binary-format-common.js +44 -6
  15. package/dist/cjs/proto-base64.js +2 -10
  16. package/dist/esm/create-descriptor-set.js +1 -1
  17. package/dist/esm/google/protobuf/any_pb.js +5 -4
  18. package/dist/esm/google/protobuf/api_pb.js +7 -4
  19. package/dist/esm/google/protobuf/compiler/plugin_pb.js +8 -4
  20. package/dist/esm/google/protobuf/descriptor_pb.js +132 -27
  21. package/dist/esm/google/protobuf/duration_pb.js +2 -1
  22. package/dist/esm/google/protobuf/empty_pb.js +2 -1
  23. package/dist/esm/google/protobuf/field_mask_pb.js +3 -2
  24. package/dist/esm/google/protobuf/source_context_pb.js +2 -1
  25. package/dist/esm/google/protobuf/struct_pb.js +8 -5
  26. package/dist/esm/google/protobuf/timestamp_pb.js +3 -2
  27. package/dist/esm/google/protobuf/type_pb.js +32 -6
  28. package/dist/esm/google/protobuf/wrappers_pb.js +18 -9
  29. package/dist/esm/index.js +1 -4
  30. package/dist/esm/private/binary-format-common.js +45 -7
  31. package/dist/esm/private/message-type.js +1 -1
  32. package/dist/esm/private/util-common.js +1 -1
  33. package/dist/esm/proto-base64.js +2 -10
  34. package/dist/types/google/protobuf/any_pb.d.ts +3 -3
  35. package/dist/types/google/protobuf/api_pb.d.ts +1 -1
  36. package/dist/types/google/protobuf/descriptor_pb.d.ts +107 -3
  37. package/dist/types/google/protobuf/struct_pb.d.ts +1 -1
  38. package/dist/types/google/protobuf/timestamp_pb.d.ts +1 -1
  39. package/dist/types/google/protobuf/type_pb.d.ts +19 -1
  40. package/dist/types/index.d.ts +5 -4
  41. package/dist/types/private/binary-format-common.d.ts +3 -2
  42. package/dist/types/private/json-format-common.d.ts +2 -1
  43. package/dist/types/private/message-type.d.ts +2 -1
  44. package/dist/types/private/scalars.d.ts +2 -1
  45. package/dist/types/proto-base64.d.ts +1 -9
  46. package/package.json +2 -2
@@ -46,7 +46,7 @@ const proto3_js_1 = require("../../proto3.js");
46
46
  * foo = any.unpack(Foo.getDefaultInstance());
47
47
  * }
48
48
  *
49
- * Example 3: Pack and unpack a message in Python.
49
+ * Example 3: Pack and unpack a message in Python.
50
50
  *
51
51
  * foo = Foo(...)
52
52
  * any = Any()
@@ -56,7 +56,7 @@ const proto3_js_1 = require("../../proto3.js");
56
56
  * any.Unpack(foo)
57
57
  * ...
58
58
  *
59
- * Example 4: Pack and unpack a message in Go
59
+ * Example 4: Pack and unpack a message in Go
60
60
  *
61
61
  * foo := &pb.Foo{...}
62
62
  * any, err := anypb.New(foo)
@@ -76,7 +76,7 @@ const proto3_js_1 = require("../../proto3.js");
76
76
  * name "y.z".
77
77
  *
78
78
  * JSON
79
- *
79
+ * ====
80
80
  * The JSON representation of an `Any` value uses the regular
81
81
  * representation of the deserialized, embedded message, with an
82
82
  * additional field `@type` which contains the type URL. Example:
@@ -263,10 +263,10 @@ class Any extends message_js_1.Message {
263
263
  return proto3_js_1.proto3.util.equals(Any, a, b);
264
264
  }
265
265
  }
266
- exports.Any = Any;
267
266
  Any.runtime = proto3_js_1.proto3;
268
267
  Any.typeName = "google.protobuf.Any";
269
268
  Any.fields = proto3_js_1.proto3.util.newFieldList(() => [
270
269
  { no: 1, name: "type_url", kind: "scalar", T: 9 /* ScalarType.STRING */ },
271
270
  { no: 2, name: "value", kind: "scalar", T: 12 /* ScalarType.BYTES */ },
272
271
  ]);
272
+ exports.Any = Any;
@@ -105,7 +105,6 @@ class Api extends message_js_1.Message {
105
105
  return proto3_js_1.proto3.util.equals(Api, a, b);
106
106
  }
107
107
  }
108
- exports.Api = Api;
109
108
  Api.runtime = proto3_js_1.proto3;
110
109
  Api.typeName = "google.protobuf.Api";
111
110
  Api.fields = proto3_js_1.proto3.util.newFieldList(() => [
@@ -117,6 +116,7 @@ Api.fields = proto3_js_1.proto3.util.newFieldList(() => [
117
116
  { no: 6, name: "mixins", kind: "message", T: Mixin, repeated: true },
118
117
  { no: 7, name: "syntax", kind: "enum", T: proto3_js_1.proto3.getEnumType(type_pb_js_1.Syntax) },
119
118
  ]);
119
+ exports.Api = Api;
120
120
  /**
121
121
  * Method represents a method of an API interface.
122
122
  *
@@ -182,7 +182,6 @@ class Method extends message_js_1.Message {
182
182
  return proto3_js_1.proto3.util.equals(Method, a, b);
183
183
  }
184
184
  }
185
- exports.Method = Method;
186
185
  Method.runtime = proto3_js_1.proto3;
187
186
  Method.typeName = "google.protobuf.Method";
188
187
  Method.fields = proto3_js_1.proto3.util.newFieldList(() => [
@@ -194,6 +193,7 @@ Method.fields = proto3_js_1.proto3.util.newFieldList(() => [
194
193
  { no: 6, name: "options", kind: "message", T: type_pb_js_1.Option, repeated: true },
195
194
  { no: 7, name: "syntax", kind: "enum", T: proto3_js_1.proto3.getEnumType(type_pb_js_1.Syntax) },
196
195
  ]);
196
+ exports.Method = Method;
197
197
  /**
198
198
  * Declares an API Interface to be included in this interface. The including
199
199
  * interface must redeclare all the methods from the included interface, but
@@ -242,7 +242,7 @@ Method.fields = proto3_js_1.proto3.util.newFieldList(() => [
242
242
  * The mixin construct implies that all methods in `AccessControl` are
243
243
  * also declared with same name and request/response types in
244
244
  * `Storage`. A documentation generator or annotation processor will
245
- * see the effective `Storage.GetAcl` method after inheriting
245
+ * see the effective `Storage.GetAcl` method after inherting
246
246
  * documentation and annotations as follows:
247
247
  *
248
248
  * service Storage {
@@ -307,10 +307,10 @@ class Mixin extends message_js_1.Message {
307
307
  return proto3_js_1.proto3.util.equals(Mixin, a, b);
308
308
  }
309
309
  }
310
- exports.Mixin = Mixin;
311
310
  Mixin.runtime = proto3_js_1.proto3;
312
311
  Mixin.typeName = "google.protobuf.Mixin";
313
312
  Mixin.fields = proto3_js_1.proto3.util.newFieldList(() => [
314
313
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */ },
315
314
  { no: 2, name: "root", kind: "scalar", T: 9 /* ScalarType.STRING */ },
316
315
  ]);
316
+ exports.Mixin = Mixin;
@@ -40,7 +40,6 @@ class Version extends message_js_1.Message {
40
40
  return proto2_js_1.proto2.util.equals(Version, a, b);
41
41
  }
42
42
  }
43
- exports.Version = Version;
44
43
  Version.runtime = proto2_js_1.proto2;
45
44
  Version.typeName = "google.protobuf.compiler.Version";
46
45
  Version.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -49,6 +48,7 @@ Version.fields = proto2_js_1.proto2.util.newFieldList(() => [
49
48
  { no: 3, name: "patch", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
50
49
  { no: 4, name: "suffix", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
51
50
  ]);
51
+ exports.Version = Version;
52
52
  /**
53
53
  * An encoded CodeGeneratorRequest is written to the plugin's stdin.
54
54
  *
@@ -99,7 +99,6 @@ class CodeGeneratorRequest extends message_js_1.Message {
99
99
  return proto2_js_1.proto2.util.equals(CodeGeneratorRequest, a, b);
100
100
  }
101
101
  }
102
- exports.CodeGeneratorRequest = CodeGeneratorRequest;
103
102
  CodeGeneratorRequest.runtime = proto2_js_1.proto2;
104
103
  CodeGeneratorRequest.typeName = "google.protobuf.compiler.CodeGeneratorRequest";
105
104
  CodeGeneratorRequest.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -108,6 +107,7 @@ CodeGeneratorRequest.fields = proto2_js_1.proto2.util.newFieldList(() => [
108
107
  { no: 15, name: "proto_file", kind: "message", T: descriptor_pb_js_1.FileDescriptorProto, repeated: true },
109
108
  { no: 3, name: "compiler_version", kind: "message", T: Version, opt: true },
110
109
  ]);
110
+ exports.CodeGeneratorRequest = CodeGeneratorRequest;
111
111
  /**
112
112
  * The plugin writes an encoded CodeGeneratorResponse to stdout.
113
113
  *
@@ -135,7 +135,6 @@ class CodeGeneratorResponse extends message_js_1.Message {
135
135
  return proto2_js_1.proto2.util.equals(CodeGeneratorResponse, a, b);
136
136
  }
137
137
  }
138
- exports.CodeGeneratorResponse = CodeGeneratorResponse;
139
138
  CodeGeneratorResponse.runtime = proto2_js_1.proto2;
140
139
  CodeGeneratorResponse.typeName = "google.protobuf.compiler.CodeGeneratorResponse";
141
140
  CodeGeneratorResponse.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -143,6 +142,7 @@ CodeGeneratorResponse.fields = proto2_js_1.proto2.util.newFieldList(() => [
143
142
  { no: 2, name: "supported_features", kind: "scalar", T: 4 /* ScalarType.UINT64 */, opt: true },
144
143
  { no: 15, name: "file", kind: "message", T: CodeGeneratorResponse_File, repeated: true },
145
144
  ]);
145
+ exports.CodeGeneratorResponse = CodeGeneratorResponse;
146
146
  /**
147
147
  * Sync with code_generator.h.
148
148
  *
@@ -187,7 +187,6 @@ class CodeGeneratorResponse_File extends message_js_1.Message {
187
187
  return proto2_js_1.proto2.util.equals(CodeGeneratorResponse_File, a, b);
188
188
  }
189
189
  }
190
- exports.CodeGeneratorResponse_File = CodeGeneratorResponse_File;
191
190
  CodeGeneratorResponse_File.runtime = proto2_js_1.proto2;
192
191
  CodeGeneratorResponse_File.typeName = "google.protobuf.compiler.CodeGeneratorResponse.File";
193
192
  CodeGeneratorResponse_File.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -196,3 +195,4 @@ CodeGeneratorResponse_File.fields = proto2_js_1.proto2.util.newFieldList(() => [
196
195
  { no: 15, name: "content", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
197
196
  { no: 16, name: "generated_code_info", kind: "message", T: descriptor_pb_js_1.GeneratedCodeInfo, opt: true },
198
197
  ]);
198
+ exports.CodeGeneratorResponse_File = CodeGeneratorResponse_File;
@@ -13,7 +13,7 @@
13
13
  // See the License for the specific language governing permissions and
14
14
  // limitations under the License.
15
15
  Object.defineProperty(exports, "__esModule", { value: true });
16
- exports.GeneratedCodeInfo_Annotation_Semantic = exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions_IdempotencyLevel = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FieldOptions = exports.MessageOptions = exports.FileOptions_OptimizeMode = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProto = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = void 0;
16
+ exports.GeneratedCodeInfo_Annotation_Semantic = exports.GeneratedCodeInfo_Annotation = exports.GeneratedCodeInfo = exports.SourceCodeInfo_Location = exports.SourceCodeInfo = exports.UninterpretedOption_NamePart = exports.UninterpretedOption = exports.MethodOptions_IdempotencyLevel = exports.MethodOptions = exports.ServiceOptions = exports.EnumValueOptions = exports.EnumOptions = exports.OneofOptions = exports.FieldOptions_OptionTargetType = exports.FieldOptions_OptionRetention = exports.FieldOptions_JSType = exports.FieldOptions_CType = exports.FieldOptions = exports.MessageOptions = exports.FileOptions_OptimizeMode = exports.FileOptions = exports.MethodDescriptorProto = exports.ServiceDescriptorProto = exports.EnumValueDescriptorProto = exports.EnumDescriptorProto_EnumReservedRange = exports.EnumDescriptorProto = exports.OneofDescriptorProto = exports.FieldDescriptorProto_Label = exports.FieldDescriptorProto_Type = exports.FieldDescriptorProto = exports.ExtensionRangeOptions_Declaration = exports.ExtensionRangeOptions_VerificationState = exports.ExtensionRangeOptions = exports.DescriptorProto_ReservedRange = exports.DescriptorProto_ExtensionRange = exports.DescriptorProto = exports.FileDescriptorProto = exports.FileDescriptorSet = void 0;
17
17
  const message_js_1 = require("../../message.js");
18
18
  const proto2_js_1 = require("../../proto2.js");
19
19
  /**
@@ -44,12 +44,12 @@ class FileDescriptorSet extends message_js_1.Message {
44
44
  return proto2_js_1.proto2.util.equals(FileDescriptorSet, a, b);
45
45
  }
46
46
  }
47
- exports.FileDescriptorSet = FileDescriptorSet;
48
47
  FileDescriptorSet.runtime = proto2_js_1.proto2;
49
48
  FileDescriptorSet.typeName = "google.protobuf.FileDescriptorSet";
50
49
  FileDescriptorSet.fields = proto2_js_1.proto2.util.newFieldList(() => [
51
50
  { no: 1, name: "file", kind: "message", T: FileDescriptorProto, repeated: true },
52
51
  ]);
52
+ exports.FileDescriptorSet = FileDescriptorSet;
53
53
  /**
54
54
  * Describes a complete .proto file.
55
55
  *
@@ -110,7 +110,6 @@ class FileDescriptorProto extends message_js_1.Message {
110
110
  return proto2_js_1.proto2.util.equals(FileDescriptorProto, a, b);
111
111
  }
112
112
  }
113
- exports.FileDescriptorProto = FileDescriptorProto;
114
113
  FileDescriptorProto.runtime = proto2_js_1.proto2;
115
114
  FileDescriptorProto.typeName = "google.protobuf.FileDescriptorProto";
116
115
  FileDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -128,6 +127,7 @@ FileDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
128
127
  { no: 12, name: "syntax", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
129
128
  { no: 13, name: "edition", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
130
129
  ]);
130
+ exports.FileDescriptorProto = FileDescriptorProto;
131
131
  /**
132
132
  * Describes a message type.
133
133
  *
@@ -186,7 +186,6 @@ class DescriptorProto extends message_js_1.Message {
186
186
  return proto2_js_1.proto2.util.equals(DescriptorProto, a, b);
187
187
  }
188
188
  }
189
- exports.DescriptorProto = DescriptorProto;
190
189
  DescriptorProto.runtime = proto2_js_1.proto2;
191
190
  DescriptorProto.typeName = "google.protobuf.DescriptorProto";
192
191
  DescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -201,6 +200,7 @@ DescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
201
200
  { no: 9, name: "reserved_range", kind: "message", T: DescriptorProto_ReservedRange, repeated: true },
202
201
  { no: 10, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
203
202
  ]);
203
+ exports.DescriptorProto = DescriptorProto;
204
204
  /**
205
205
  * @generated from message google.protobuf.DescriptorProto.ExtensionRange
206
206
  */
@@ -222,7 +222,6 @@ class DescriptorProto_ExtensionRange extends message_js_1.Message {
222
222
  return proto2_js_1.proto2.util.equals(DescriptorProto_ExtensionRange, a, b);
223
223
  }
224
224
  }
225
- exports.DescriptorProto_ExtensionRange = DescriptorProto_ExtensionRange;
226
225
  DescriptorProto_ExtensionRange.runtime = proto2_js_1.proto2;
227
226
  DescriptorProto_ExtensionRange.typeName = "google.protobuf.DescriptorProto.ExtensionRange";
228
227
  DescriptorProto_ExtensionRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -230,6 +229,7 @@ DescriptorProto_ExtensionRange.fields = proto2_js_1.proto2.util.newFieldList(()
230
229
  { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
231
230
  { no: 3, name: "options", kind: "message", T: ExtensionRangeOptions, opt: true },
232
231
  ]);
232
+ exports.DescriptorProto_ExtensionRange = DescriptorProto_ExtensionRange;
233
233
  /**
234
234
  * Range of reserved tag numbers. Reserved tag numbers may not be used by
235
235
  * fields or extension ranges in the same message. Reserved ranges may
@@ -255,13 +255,13 @@ class DescriptorProto_ReservedRange extends message_js_1.Message {
255
255
  return proto2_js_1.proto2.util.equals(DescriptorProto_ReservedRange, a, b);
256
256
  }
257
257
  }
258
- exports.DescriptorProto_ReservedRange = DescriptorProto_ReservedRange;
259
258
  DescriptorProto_ReservedRange.runtime = proto2_js_1.proto2;
260
259
  DescriptorProto_ReservedRange.typeName = "google.protobuf.DescriptorProto.ReservedRange";
261
260
  DescriptorProto_ReservedRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
262
261
  { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
263
262
  { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
264
263
  ]);
264
+ exports.DescriptorProto_ReservedRange = DescriptorProto_ReservedRange;
265
265
  /**
266
266
  * @generated from message google.protobuf.ExtensionRangeOptions
267
267
  */
@@ -274,6 +274,15 @@ class ExtensionRangeOptions extends message_js_1.Message {
274
274
  * @generated from field: repeated google.protobuf.UninterpretedOption uninterpreted_option = 999;
275
275
  */
276
276
  this.uninterpretedOption = [];
277
+ /**
278
+ * go/protobuf-stripping-extension-declarations
279
+ * Like Metadata, but we use a repeated field to hold all extension
280
+ * declarations. This should avoid the size increases of transforming a large
281
+ * extension range into small ranges in generated binaries.
282
+ *
283
+ * @generated from field: repeated google.protobuf.ExtensionRangeOptions.Declaration declaration = 2;
284
+ */
285
+ this.declaration = [];
277
286
  proto2_js_1.proto2.util.initPartial(data, this);
278
287
  }
279
288
  static fromBinary(bytes, options) {
@@ -289,12 +298,69 @@ class ExtensionRangeOptions extends message_js_1.Message {
289
298
  return proto2_js_1.proto2.util.equals(ExtensionRangeOptions, a, b);
290
299
  }
291
300
  }
292
- exports.ExtensionRangeOptions = ExtensionRangeOptions;
293
301
  ExtensionRangeOptions.runtime = proto2_js_1.proto2;
294
302
  ExtensionRangeOptions.typeName = "google.protobuf.ExtensionRangeOptions";
295
303
  ExtensionRangeOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
296
304
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
305
+ { no: 2, name: "declaration", kind: "message", T: ExtensionRangeOptions_Declaration, repeated: true },
306
+ { no: 3, name: "verification", kind: "enum", T: proto2_js_1.proto2.getEnumType(ExtensionRangeOptions_VerificationState), opt: true, default: ExtensionRangeOptions_VerificationState.UNVERIFIED },
297
307
  ]);
308
+ exports.ExtensionRangeOptions = ExtensionRangeOptions;
309
+ /**
310
+ * The verification state of the extension range.
311
+ *
312
+ * @generated from enum google.protobuf.ExtensionRangeOptions.VerificationState
313
+ */
314
+ var ExtensionRangeOptions_VerificationState;
315
+ (function (ExtensionRangeOptions_VerificationState) {
316
+ /**
317
+ * All the extensions of the range must be declared.
318
+ *
319
+ * @generated from enum value: DECLARATION = 0;
320
+ */
321
+ ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["DECLARATION"] = 0] = "DECLARATION";
322
+ /**
323
+ * @generated from enum value: UNVERIFIED = 1;
324
+ */
325
+ ExtensionRangeOptions_VerificationState[ExtensionRangeOptions_VerificationState["UNVERIFIED"] = 1] = "UNVERIFIED";
326
+ })(ExtensionRangeOptions_VerificationState = exports.ExtensionRangeOptions_VerificationState || (exports.ExtensionRangeOptions_VerificationState = {}));
327
+ // Retrieve enum metadata with: proto2.getEnumType(ExtensionRangeOptions_VerificationState)
328
+ proto2_js_1.proto2.util.setEnumType(ExtensionRangeOptions_VerificationState, "google.protobuf.ExtensionRangeOptions.VerificationState", [
329
+ { no: 0, name: "DECLARATION" },
330
+ { no: 1, name: "UNVERIFIED" },
331
+ ]);
332
+ /**
333
+ * @generated from message google.protobuf.ExtensionRangeOptions.Declaration
334
+ */
335
+ class ExtensionRangeOptions_Declaration extends message_js_1.Message {
336
+ constructor(data) {
337
+ super();
338
+ proto2_js_1.proto2.util.initPartial(data, this);
339
+ }
340
+ static fromBinary(bytes, options) {
341
+ return new ExtensionRangeOptions_Declaration().fromBinary(bytes, options);
342
+ }
343
+ static fromJson(jsonValue, options) {
344
+ return new ExtensionRangeOptions_Declaration().fromJson(jsonValue, options);
345
+ }
346
+ static fromJsonString(jsonString, options) {
347
+ return new ExtensionRangeOptions_Declaration().fromJsonString(jsonString, options);
348
+ }
349
+ static equals(a, b) {
350
+ return proto2_js_1.proto2.util.equals(ExtensionRangeOptions_Declaration, a, b);
351
+ }
352
+ }
353
+ ExtensionRangeOptions_Declaration.runtime = proto2_js_1.proto2;
354
+ ExtensionRangeOptions_Declaration.typeName = "google.protobuf.ExtensionRangeOptions.Declaration";
355
+ ExtensionRangeOptions_Declaration.fields = proto2_js_1.proto2.util.newFieldList(() => [
356
+ { no: 1, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
357
+ { no: 2, name: "full_name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
358
+ { no: 3, name: "type", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
359
+ { no: 4, name: "is_repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
360
+ { no: 5, name: "reserved", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
361
+ { no: 6, name: "repeated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
362
+ ]);
363
+ exports.ExtensionRangeOptions_Declaration = ExtensionRangeOptions_Declaration;
298
364
  /**
299
365
  * Describes a field within a message.
300
366
  *
@@ -318,7 +384,6 @@ class FieldDescriptorProto extends message_js_1.Message {
318
384
  return proto2_js_1.proto2.util.equals(FieldDescriptorProto, a, b);
319
385
  }
320
386
  }
321
- exports.FieldDescriptorProto = FieldDescriptorProto;
322
387
  FieldDescriptorProto.runtime = proto2_js_1.proto2;
323
388
  FieldDescriptorProto.typeName = "google.protobuf.FieldDescriptorProto";
324
389
  FieldDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -334,6 +399,7 @@ FieldDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
334
399
  { no: 8, name: "options", kind: "message", T: FieldOptions, opt: true },
335
400
  { no: 17, name: "proto3_optional", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
336
401
  ]);
402
+ exports.FieldDescriptorProto = FieldDescriptorProto;
337
403
  /**
338
404
  * @generated from enum google.protobuf.FieldDescriptorProto.Type
339
405
  */
@@ -504,13 +570,13 @@ class OneofDescriptorProto extends message_js_1.Message {
504
570
  return proto2_js_1.proto2.util.equals(OneofDescriptorProto, a, b);
505
571
  }
506
572
  }
507
- exports.OneofDescriptorProto = OneofDescriptorProto;
508
573
  OneofDescriptorProto.runtime = proto2_js_1.proto2;
509
574
  OneofDescriptorProto.typeName = "google.protobuf.OneofDescriptorProto";
510
575
  OneofDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
511
576
  { no: 1, name: "name", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
512
577
  { no: 2, name: "options", kind: "message", T: OneofOptions, opt: true },
513
578
  ]);
579
+ exports.OneofDescriptorProto = OneofDescriptorProto;
514
580
  /**
515
581
  * Describes an enum type.
516
582
  *
@@ -553,7 +619,6 @@ class EnumDescriptorProto extends message_js_1.Message {
553
619
  return proto2_js_1.proto2.util.equals(EnumDescriptorProto, a, b);
554
620
  }
555
621
  }
556
- exports.EnumDescriptorProto = EnumDescriptorProto;
557
622
  EnumDescriptorProto.runtime = proto2_js_1.proto2;
558
623
  EnumDescriptorProto.typeName = "google.protobuf.EnumDescriptorProto";
559
624
  EnumDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -563,6 +628,7 @@ EnumDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
563
628
  { no: 4, name: "reserved_range", kind: "message", T: EnumDescriptorProto_EnumReservedRange, repeated: true },
564
629
  { no: 5, name: "reserved_name", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
565
630
  ]);
631
+ exports.EnumDescriptorProto = EnumDescriptorProto;
566
632
  /**
567
633
  * Range of reserved numeric values. Reserved values may not be used by
568
634
  * entries in the same enum. Reserved ranges may not overlap.
@@ -591,13 +657,13 @@ class EnumDescriptorProto_EnumReservedRange extends message_js_1.Message {
591
657
  return proto2_js_1.proto2.util.equals(EnumDescriptorProto_EnumReservedRange, a, b);
592
658
  }
593
659
  }
594
- exports.EnumDescriptorProto_EnumReservedRange = EnumDescriptorProto_EnumReservedRange;
595
660
  EnumDescriptorProto_EnumReservedRange.runtime = proto2_js_1.proto2;
596
661
  EnumDescriptorProto_EnumReservedRange.typeName = "google.protobuf.EnumDescriptorProto.EnumReservedRange";
597
662
  EnumDescriptorProto_EnumReservedRange.fields = proto2_js_1.proto2.util.newFieldList(() => [
598
663
  { no: 1, name: "start", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
599
664
  { no: 2, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
600
665
  ]);
666
+ exports.EnumDescriptorProto_EnumReservedRange = EnumDescriptorProto_EnumReservedRange;
601
667
  /**
602
668
  * Describes a value within an enum.
603
669
  *
@@ -621,7 +687,6 @@ class EnumValueDescriptorProto extends message_js_1.Message {
621
687
  return proto2_js_1.proto2.util.equals(EnumValueDescriptorProto, a, b);
622
688
  }
623
689
  }
624
- exports.EnumValueDescriptorProto = EnumValueDescriptorProto;
625
690
  EnumValueDescriptorProto.runtime = proto2_js_1.proto2;
626
691
  EnumValueDescriptorProto.typeName = "google.protobuf.EnumValueDescriptorProto";
627
692
  EnumValueDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -629,6 +694,7 @@ EnumValueDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
629
694
  { no: 2, name: "number", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
630
695
  { no: 3, name: "options", kind: "message", T: EnumValueOptions, opt: true },
631
696
  ]);
697
+ exports.EnumValueDescriptorProto = EnumValueDescriptorProto;
632
698
  /**
633
699
  * Describes a service.
634
700
  *
@@ -656,7 +722,6 @@ class ServiceDescriptorProto extends message_js_1.Message {
656
722
  return proto2_js_1.proto2.util.equals(ServiceDescriptorProto, a, b);
657
723
  }
658
724
  }
659
- exports.ServiceDescriptorProto = ServiceDescriptorProto;
660
725
  ServiceDescriptorProto.runtime = proto2_js_1.proto2;
661
726
  ServiceDescriptorProto.typeName = "google.protobuf.ServiceDescriptorProto";
662
727
  ServiceDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -664,6 +729,7 @@ ServiceDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
664
729
  { no: 2, name: "method", kind: "message", T: MethodDescriptorProto, repeated: true },
665
730
  { no: 3, name: "options", kind: "message", T: ServiceOptions, opt: true },
666
731
  ]);
732
+ exports.ServiceDescriptorProto = ServiceDescriptorProto;
667
733
  /**
668
734
  * Describes a method of a service.
669
735
  *
@@ -687,7 +753,6 @@ class MethodDescriptorProto extends message_js_1.Message {
687
753
  return proto2_js_1.proto2.util.equals(MethodDescriptorProto, a, b);
688
754
  }
689
755
  }
690
- exports.MethodDescriptorProto = MethodDescriptorProto;
691
756
  MethodDescriptorProto.runtime = proto2_js_1.proto2;
692
757
  MethodDescriptorProto.typeName = "google.protobuf.MethodDescriptorProto";
693
758
  MethodDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -698,6 +763,7 @@ MethodDescriptorProto.fields = proto2_js_1.proto2.util.newFieldList(() => [
698
763
  { no: 5, name: "client_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
699
764
  { no: 6, name: "server_streaming", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
700
765
  ]);
766
+ exports.MethodDescriptorProto = MethodDescriptorProto;
701
767
  /**
702
768
  * @generated from message google.protobuf.FileOptions
703
769
  */
@@ -726,7 +792,6 @@ class FileOptions extends message_js_1.Message {
726
792
  return proto2_js_1.proto2.util.equals(FileOptions, a, b);
727
793
  }
728
794
  }
729
- exports.FileOptions = FileOptions;
730
795
  FileOptions.runtime = proto2_js_1.proto2;
731
796
  FileOptions.typeName = "google.protobuf.FileOptions";
732
797
  FileOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -752,6 +817,7 @@ FileOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
752
817
  { no: 45, name: "ruby_package", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
753
818
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
754
819
  ]);
820
+ exports.FileOptions = FileOptions;
755
821
  /**
756
822
  * Generated classes can be optimized for speed or code size.
757
823
  *
@@ -813,7 +879,6 @@ class MessageOptions extends message_js_1.Message {
813
879
  return proto2_js_1.proto2.util.equals(MessageOptions, a, b);
814
880
  }
815
881
  }
816
- exports.MessageOptions = MessageOptions;
817
882
  MessageOptions.runtime = proto2_js_1.proto2;
818
883
  MessageOptions.typeName = "google.protobuf.MessageOptions";
819
884
  MessageOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -824,12 +889,17 @@ MessageOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
824
889
  { no: 11, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
825
890
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
826
891
  ]);
892
+ exports.MessageOptions = MessageOptions;
827
893
  /**
828
894
  * @generated from message google.protobuf.FieldOptions
829
895
  */
830
896
  class FieldOptions extends message_js_1.Message {
831
897
  constructor(data) {
832
898
  super();
899
+ /**
900
+ * @generated from field: repeated google.protobuf.FieldOptions.OptionTargetType targets = 19;
901
+ */
902
+ this.targets = [];
833
903
  /**
834
904
  * The parser stores options it doesn't recognize here. See above.
835
905
  *
@@ -851,7 +921,6 @@ class FieldOptions extends message_js_1.Message {
851
921
  return proto2_js_1.proto2.util.equals(FieldOptions, a, b);
852
922
  }
853
923
  }
854
- exports.FieldOptions = FieldOptions;
855
924
  FieldOptions.runtime = proto2_js_1.proto2;
856
925
  FieldOptions.typeName = "google.protobuf.FieldOptions";
857
926
  FieldOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -865,8 +934,10 @@ FieldOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
865
934
  { no: 16, name: "debug_redact", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
866
935
  { no: 17, name: "retention", kind: "enum", T: proto2_js_1.proto2.getEnumType(FieldOptions_OptionRetention), opt: true },
867
936
  { no: 18, name: "target", kind: "enum", T: proto2_js_1.proto2.getEnumType(FieldOptions_OptionTargetType), opt: true },
937
+ { no: 19, name: "targets", kind: "enum", T: proto2_js_1.proto2.getEnumType(FieldOptions_OptionTargetType), repeated: true },
868
938
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
869
939
  ]);
940
+ exports.FieldOptions = FieldOptions;
870
941
  /**
871
942
  * @generated from enum google.protobuf.FieldOptions.CType
872
943
  */
@@ -879,6 +950,13 @@ var FieldOptions_CType;
879
950
  */
880
951
  FieldOptions_CType[FieldOptions_CType["STRING"] = 0] = "STRING";
881
952
  /**
953
+ * The option [ctype=CORD] may be applied to a non-repeated field of type
954
+ * "bytes". It indicates that in C++, the data should be stored in a Cord
955
+ * instead of a string. For very large strings, this may reduce memory
956
+ * fragmentation. It may also allow better performance when parsing from a
957
+ * Cord, or when parsing with aliasing enabled, as the parsed Cord may then
958
+ * alias the original buffer.
959
+ *
882
960
  * @generated from enum value: CORD = 1;
883
961
  */
884
962
  FieldOptions_CType[FieldOptions_CType["CORD"] = 1] = "CORD";
@@ -1042,12 +1120,12 @@ class OneofOptions extends message_js_1.Message {
1042
1120
  return proto2_js_1.proto2.util.equals(OneofOptions, a, b);
1043
1121
  }
1044
1122
  }
1045
- exports.OneofOptions = OneofOptions;
1046
1123
  OneofOptions.runtime = proto2_js_1.proto2;
1047
1124
  OneofOptions.typeName = "google.protobuf.OneofOptions";
1048
1125
  OneofOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
1049
1126
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
1050
1127
  ]);
1128
+ exports.OneofOptions = OneofOptions;
1051
1129
  /**
1052
1130
  * @generated from message google.protobuf.EnumOptions
1053
1131
  */
@@ -1075,7 +1153,6 @@ class EnumOptions extends message_js_1.Message {
1075
1153
  return proto2_js_1.proto2.util.equals(EnumOptions, a, b);
1076
1154
  }
1077
1155
  }
1078
- exports.EnumOptions = EnumOptions;
1079
1156
  EnumOptions.runtime = proto2_js_1.proto2;
1080
1157
  EnumOptions.typeName = "google.protobuf.EnumOptions";
1081
1158
  EnumOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -1084,6 +1161,7 @@ EnumOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
1084
1161
  { no: 6, name: "deprecated_legacy_json_field_conflicts", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true },
1085
1162
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
1086
1163
  ]);
1164
+ exports.EnumOptions = EnumOptions;
1087
1165
  /**
1088
1166
  * @generated from message google.protobuf.EnumValueOptions
1089
1167
  */
@@ -1111,13 +1189,13 @@ class EnumValueOptions extends message_js_1.Message {
1111
1189
  return proto2_js_1.proto2.util.equals(EnumValueOptions, a, b);
1112
1190
  }
1113
1191
  }
1114
- exports.EnumValueOptions = EnumValueOptions;
1115
1192
  EnumValueOptions.runtime = proto2_js_1.proto2;
1116
1193
  EnumValueOptions.typeName = "google.protobuf.EnumValueOptions";
1117
1194
  EnumValueOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
1118
1195
  { no: 1, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
1119
1196
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
1120
1197
  ]);
1198
+ exports.EnumValueOptions = EnumValueOptions;
1121
1199
  /**
1122
1200
  * @generated from message google.protobuf.ServiceOptions
1123
1201
  */
@@ -1145,13 +1223,13 @@ class ServiceOptions extends message_js_1.Message {
1145
1223
  return proto2_js_1.proto2.util.equals(ServiceOptions, a, b);
1146
1224
  }
1147
1225
  }
1148
- exports.ServiceOptions = ServiceOptions;
1149
1226
  ServiceOptions.runtime = proto2_js_1.proto2;
1150
1227
  ServiceOptions.typeName = "google.protobuf.ServiceOptions";
1151
1228
  ServiceOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
1152
1229
  { no: 33, name: "deprecated", kind: "scalar", T: 8 /* ScalarType.BOOL */, opt: true, default: false },
1153
1230
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
1154
1231
  ]);
1232
+ exports.ServiceOptions = ServiceOptions;
1155
1233
  /**
1156
1234
  * @generated from message google.protobuf.MethodOptions
1157
1235
  */
@@ -1179,7 +1257,6 @@ class MethodOptions extends message_js_1.Message {
1179
1257
  return proto2_js_1.proto2.util.equals(MethodOptions, a, b);
1180
1258
  }
1181
1259
  }
1182
- exports.MethodOptions = MethodOptions;
1183
1260
  MethodOptions.runtime = proto2_js_1.proto2;
1184
1261
  MethodOptions.typeName = "google.protobuf.MethodOptions";
1185
1262
  MethodOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -1187,6 +1264,7 @@ MethodOptions.fields = proto2_js_1.proto2.util.newFieldList(() => [
1187
1264
  { no: 34, name: "idempotency_level", kind: "enum", T: proto2_js_1.proto2.getEnumType(MethodOptions_IdempotencyLevel), opt: true, default: MethodOptions_IdempotencyLevel.IDEMPOTENCY_UNKNOWN },
1188
1265
  { no: 999, name: "uninterpreted_option", kind: "message", T: UninterpretedOption, repeated: true },
1189
1266
  ]);
1267
+ exports.MethodOptions = MethodOptions;
1190
1268
  /**
1191
1269
  * Is this method side-effect-free (or safe in HTTP parlance), or idempotent,
1192
1270
  * or neither? HTTP based RPC implementation may choose GET verb for safe
@@ -1251,7 +1329,6 @@ class UninterpretedOption extends message_js_1.Message {
1251
1329
  return proto2_js_1.proto2.util.equals(UninterpretedOption, a, b);
1252
1330
  }
1253
1331
  }
1254
- exports.UninterpretedOption = UninterpretedOption;
1255
1332
  UninterpretedOption.runtime = proto2_js_1.proto2;
1256
1333
  UninterpretedOption.typeName = "google.protobuf.UninterpretedOption";
1257
1334
  UninterpretedOption.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -1263,6 +1340,7 @@ UninterpretedOption.fields = proto2_js_1.proto2.util.newFieldList(() => [
1263
1340
  { no: 7, name: "string_value", kind: "scalar", T: 12 /* ScalarType.BYTES */, opt: true },
1264
1341
  { no: 8, name: "aggregate_value", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1265
1342
  ]);
1343
+ exports.UninterpretedOption = UninterpretedOption;
1266
1344
  /**
1267
1345
  * The name of the uninterpreted option. Each string represents a segment in
1268
1346
  * a dot-separated name. is_extension is true iff a segment represents an
@@ -1290,13 +1368,13 @@ class UninterpretedOption_NamePart extends message_js_1.Message {
1290
1368
  return proto2_js_1.proto2.util.equals(UninterpretedOption_NamePart, a, b);
1291
1369
  }
1292
1370
  }
1293
- exports.UninterpretedOption_NamePart = UninterpretedOption_NamePart;
1294
1371
  UninterpretedOption_NamePart.runtime = proto2_js_1.proto2;
1295
1372
  UninterpretedOption_NamePart.typeName = "google.protobuf.UninterpretedOption.NamePart";
1296
1373
  UninterpretedOption_NamePart.fields = proto2_js_1.proto2.util.newFieldList(() => [
1297
1374
  { no: 1, name: "name_part", kind: "scalar", T: 9 /* ScalarType.STRING */ },
1298
1375
  { no: 2, name: "is_extension", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
1299
1376
  ]);
1377
+ exports.UninterpretedOption_NamePart = UninterpretedOption_NamePart;
1300
1378
  /**
1301
1379
  * Encapsulates information about the original source file from which a
1302
1380
  * FileDescriptorProto was generated.
@@ -1369,12 +1447,12 @@ class SourceCodeInfo extends message_js_1.Message {
1369
1447
  return proto2_js_1.proto2.util.equals(SourceCodeInfo, a, b);
1370
1448
  }
1371
1449
  }
1372
- exports.SourceCodeInfo = SourceCodeInfo;
1373
1450
  SourceCodeInfo.runtime = proto2_js_1.proto2;
1374
1451
  SourceCodeInfo.typeName = "google.protobuf.SourceCodeInfo";
1375
1452
  SourceCodeInfo.fields = proto2_js_1.proto2.util.newFieldList(() => [
1376
1453
  { no: 1, name: "location", kind: "message", T: SourceCodeInfo_Location, repeated: true },
1377
1454
  ]);
1455
+ exports.SourceCodeInfo = SourceCodeInfo;
1378
1456
  /**
1379
1457
  * @generated from message google.protobuf.SourceCodeInfo.Location
1380
1458
  */
@@ -1438,7 +1516,6 @@ class SourceCodeInfo_Location extends message_js_1.Message {
1438
1516
  return proto2_js_1.proto2.util.equals(SourceCodeInfo_Location, a, b);
1439
1517
  }
1440
1518
  }
1441
- exports.SourceCodeInfo_Location = SourceCodeInfo_Location;
1442
1519
  SourceCodeInfo_Location.runtime = proto2_js_1.proto2;
1443
1520
  SourceCodeInfo_Location.typeName = "google.protobuf.SourceCodeInfo.Location";
1444
1521
  SourceCodeInfo_Location.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -1448,6 +1525,7 @@ SourceCodeInfo_Location.fields = proto2_js_1.proto2.util.newFieldList(() => [
1448
1525
  { no: 4, name: "trailing_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, opt: true },
1449
1526
  { no: 6, name: "leading_detached_comments", kind: "scalar", T: 9 /* ScalarType.STRING */, repeated: true },
1450
1527
  ]);
1528
+ exports.SourceCodeInfo_Location = SourceCodeInfo_Location;
1451
1529
  /**
1452
1530
  * Describes the relationship between generated code and its original source
1453
1531
  * file. A GeneratedCodeInfo message is associated with only one generated
@@ -1480,12 +1558,12 @@ class GeneratedCodeInfo extends message_js_1.Message {
1480
1558
  return proto2_js_1.proto2.util.equals(GeneratedCodeInfo, a, b);
1481
1559
  }
1482
1560
  }
1483
- exports.GeneratedCodeInfo = GeneratedCodeInfo;
1484
1561
  GeneratedCodeInfo.runtime = proto2_js_1.proto2;
1485
1562
  GeneratedCodeInfo.typeName = "google.protobuf.GeneratedCodeInfo";
1486
1563
  GeneratedCodeInfo.fields = proto2_js_1.proto2.util.newFieldList(() => [
1487
1564
  { no: 1, name: "annotation", kind: "message", T: GeneratedCodeInfo_Annotation, repeated: true },
1488
1565
  ]);
1566
+ exports.GeneratedCodeInfo = GeneratedCodeInfo;
1489
1567
  /**
1490
1568
  * @generated from message google.protobuf.GeneratedCodeInfo.Annotation
1491
1569
  */
@@ -1514,7 +1592,6 @@ class GeneratedCodeInfo_Annotation extends message_js_1.Message {
1514
1592
  return proto2_js_1.proto2.util.equals(GeneratedCodeInfo_Annotation, a, b);
1515
1593
  }
1516
1594
  }
1517
- exports.GeneratedCodeInfo_Annotation = GeneratedCodeInfo_Annotation;
1518
1595
  GeneratedCodeInfo_Annotation.runtime = proto2_js_1.proto2;
1519
1596
  GeneratedCodeInfo_Annotation.typeName = "google.protobuf.GeneratedCodeInfo.Annotation";
1520
1597
  GeneratedCodeInfo_Annotation.fields = proto2_js_1.proto2.util.newFieldList(() => [
@@ -1524,6 +1601,7 @@ GeneratedCodeInfo_Annotation.fields = proto2_js_1.proto2.util.newFieldList(() =>
1524
1601
  { no: 4, name: "end", kind: "scalar", T: 5 /* ScalarType.INT32 */, opt: true },
1525
1602
  { no: 5, name: "semantic", kind: "enum", T: proto2_js_1.proto2.getEnumType(GeneratedCodeInfo_Annotation_Semantic), opt: true },
1526
1603
  ]);
1604
+ exports.GeneratedCodeInfo_Annotation = GeneratedCodeInfo_Annotation;
1527
1605
  /**
1528
1606
  * Represents the identified object's effect on the element in the original
1529
1607
  * .proto file.