@google-shopping/reports 0.1.0 → 0.2.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- // Copyright 2023 Google LLC
1
+ // Copyright 2024 Google LLC
2
2
  //
3
3
  // Licensed under the Apache License, Version 2.0 (the "License");
4
4
  // you may not use this file except in compliance with the License.
@@ -16609,6 +16609,7 @@
16609
16609
  * @interface IMethodSettings
16610
16610
  * @property {string|null} [selector] MethodSettings selector
16611
16611
  * @property {google.api.MethodSettings.ILongRunning|null} [longRunning] MethodSettings longRunning
16612
+ * @property {Array.<string>|null} [autoPopulatedFields] MethodSettings autoPopulatedFields
16612
16613
  */
16613
16614
 
16614
16615
  /**
@@ -16620,6 +16621,7 @@
16620
16621
  * @param {google.api.IMethodSettings=} [properties] Properties to set
16621
16622
  */
16622
16623
  function MethodSettings(properties) {
16624
+ this.autoPopulatedFields = [];
16623
16625
  if (properties)
16624
16626
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
16625
16627
  if (properties[keys[i]] != null)
@@ -16642,6 +16644,14 @@
16642
16644
  */
16643
16645
  MethodSettings.prototype.longRunning = null;
16644
16646
 
16647
+ /**
16648
+ * MethodSettings autoPopulatedFields.
16649
+ * @member {Array.<string>} autoPopulatedFields
16650
+ * @memberof google.api.MethodSettings
16651
+ * @instance
16652
+ */
16653
+ MethodSettings.prototype.autoPopulatedFields = $util.emptyArray;
16654
+
16645
16655
  /**
16646
16656
  * Creates a new MethodSettings instance using the specified properties.
16647
16657
  * @function create
@@ -16670,6 +16680,9 @@
16670
16680
  writer.uint32(/* id 1, wireType 2 =*/10).string(message.selector);
16671
16681
  if (message.longRunning != null && Object.hasOwnProperty.call(message, "longRunning"))
16672
16682
  $root.google.api.MethodSettings.LongRunning.encode(message.longRunning, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
16683
+ if (message.autoPopulatedFields != null && message.autoPopulatedFields.length)
16684
+ for (var i = 0; i < message.autoPopulatedFields.length; ++i)
16685
+ writer.uint32(/* id 3, wireType 2 =*/26).string(message.autoPopulatedFields[i]);
16673
16686
  return writer;
16674
16687
  };
16675
16688
 
@@ -16712,6 +16725,12 @@
16712
16725
  message.longRunning = $root.google.api.MethodSettings.LongRunning.decode(reader, reader.uint32());
16713
16726
  break;
16714
16727
  }
16728
+ case 3: {
16729
+ if (!(message.autoPopulatedFields && message.autoPopulatedFields.length))
16730
+ message.autoPopulatedFields = [];
16731
+ message.autoPopulatedFields.push(reader.string());
16732
+ break;
16733
+ }
16715
16734
  default:
16716
16735
  reader.skipType(tag & 7);
16717
16736
  break;
@@ -16755,6 +16774,13 @@
16755
16774
  if (error)
16756
16775
  return "longRunning." + error;
16757
16776
  }
16777
+ if (message.autoPopulatedFields != null && message.hasOwnProperty("autoPopulatedFields")) {
16778
+ if (!Array.isArray(message.autoPopulatedFields))
16779
+ return "autoPopulatedFields: array expected";
16780
+ for (var i = 0; i < message.autoPopulatedFields.length; ++i)
16781
+ if (!$util.isString(message.autoPopulatedFields[i]))
16782
+ return "autoPopulatedFields: string[] expected";
16783
+ }
16758
16784
  return null;
16759
16785
  };
16760
16786
 
@@ -16777,6 +16803,13 @@
16777
16803
  throw TypeError(".google.api.MethodSettings.longRunning: object expected");
16778
16804
  message.longRunning = $root.google.api.MethodSettings.LongRunning.fromObject(object.longRunning);
16779
16805
  }
16806
+ if (object.autoPopulatedFields) {
16807
+ if (!Array.isArray(object.autoPopulatedFields))
16808
+ throw TypeError(".google.api.MethodSettings.autoPopulatedFields: array expected");
16809
+ message.autoPopulatedFields = [];
16810
+ for (var i = 0; i < object.autoPopulatedFields.length; ++i)
16811
+ message.autoPopulatedFields[i] = String(object.autoPopulatedFields[i]);
16812
+ }
16780
16813
  return message;
16781
16814
  };
16782
16815
 
@@ -16793,6 +16826,8 @@
16793
16826
  if (!options)
16794
16827
  options = {};
16795
16828
  var object = {};
16829
+ if (options.arrays || options.defaults)
16830
+ object.autoPopulatedFields = [];
16796
16831
  if (options.defaults) {
16797
16832
  object.selector = "";
16798
16833
  object.longRunning = null;
@@ -16801,6 +16836,11 @@
16801
16836
  object.selector = message.selector;
16802
16837
  if (message.longRunning != null && message.hasOwnProperty("longRunning"))
16803
16838
  object.longRunning = $root.google.api.MethodSettings.LongRunning.toObject(message.longRunning, options);
16839
+ if (message.autoPopulatedFields && message.autoPopulatedFields.length) {
16840
+ object.autoPopulatedFields = [];
16841
+ for (var j = 0; j < message.autoPopulatedFields.length; ++j)
16842
+ object.autoPopulatedFields[j] = message.autoPopulatedFields[j];
16843
+ }
16804
16844
  return object;
16805
16845
  };
16806
16846
 
@@ -17201,6 +17241,7 @@
17201
17241
  * @property {number} IMMUTABLE=5 IMMUTABLE value
17202
17242
  * @property {number} UNORDERED_LIST=6 UNORDERED_LIST value
17203
17243
  * @property {number} NON_EMPTY_DEFAULT=7 NON_EMPTY_DEFAULT value
17244
+ * @property {number} IDENTIFIER=8 IDENTIFIER value
17204
17245
  */
17205
17246
  api.FieldBehavior = (function() {
17206
17247
  var valuesById = {}, values = Object.create(valuesById);
@@ -17212,6 +17253,7 @@
17212
17253
  values[valuesById[5] = "IMMUTABLE"] = 5;
17213
17254
  values[valuesById[6] = "UNORDERED_LIST"] = 6;
17214
17255
  values[valuesById[7] = "NON_EMPTY_DEFAULT"] = 7;
17256
+ values[valuesById[8] = "IDENTIFIER"] = 8;
17215
17257
  return values;
17216
17258
  })();
17217
17259
 
@@ -17451,6 +17493,38 @@
17451
17493
  return FileDescriptorSet;
17452
17494
  })();
17453
17495
 
17496
+ /**
17497
+ * Edition enum.
17498
+ * @name google.protobuf.Edition
17499
+ * @enum {number}
17500
+ * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
17501
+ * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
17502
+ * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
17503
+ * @property {number} EDITION_2023=1000 EDITION_2023 value
17504
+ * @property {number} EDITION_2024=1001 EDITION_2024 value
17505
+ * @property {number} EDITION_1_TEST_ONLY=1 EDITION_1_TEST_ONLY value
17506
+ * @property {number} EDITION_2_TEST_ONLY=2 EDITION_2_TEST_ONLY value
17507
+ * @property {number} EDITION_99997_TEST_ONLY=99997 EDITION_99997_TEST_ONLY value
17508
+ * @property {number} EDITION_99998_TEST_ONLY=99998 EDITION_99998_TEST_ONLY value
17509
+ * @property {number} EDITION_99999_TEST_ONLY=99999 EDITION_99999_TEST_ONLY value
17510
+ * @property {number} EDITION_MAX=2147483647 EDITION_MAX value
17511
+ */
17512
+ protobuf.Edition = (function() {
17513
+ var valuesById = {}, values = Object.create(valuesById);
17514
+ values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
17515
+ values[valuesById[998] = "EDITION_PROTO2"] = 998;
17516
+ values[valuesById[999] = "EDITION_PROTO3"] = 999;
17517
+ values[valuesById[1000] = "EDITION_2023"] = 1000;
17518
+ values[valuesById[1001] = "EDITION_2024"] = 1001;
17519
+ values[valuesById[1] = "EDITION_1_TEST_ONLY"] = 1;
17520
+ values[valuesById[2] = "EDITION_2_TEST_ONLY"] = 2;
17521
+ values[valuesById[99997] = "EDITION_99997_TEST_ONLY"] = 99997;
17522
+ values[valuesById[99998] = "EDITION_99998_TEST_ONLY"] = 99998;
17523
+ values[valuesById[99999] = "EDITION_99999_TEST_ONLY"] = 99999;
17524
+ values[valuesById[2147483647] = "EDITION_MAX"] = 2147483647;
17525
+ return values;
17526
+ })();
17527
+
17454
17528
  protobuf.FileDescriptorProto = (function() {
17455
17529
 
17456
17530
  /**
@@ -17469,7 +17543,7 @@
17469
17543
  * @property {google.protobuf.IFileOptions|null} [options] FileDescriptorProto options
17470
17544
  * @property {google.protobuf.ISourceCodeInfo|null} [sourceCodeInfo] FileDescriptorProto sourceCodeInfo
17471
17545
  * @property {string|null} [syntax] FileDescriptorProto syntax
17472
- * @property {string|null} [edition] FileDescriptorProto edition
17546
+ * @property {google.protobuf.Edition|null} [edition] FileDescriptorProto edition
17473
17547
  */
17474
17548
 
17475
17549
  /**
@@ -17592,11 +17666,11 @@
17592
17666
 
17593
17667
  /**
17594
17668
  * FileDescriptorProto edition.
17595
- * @member {string} edition
17669
+ * @member {google.protobuf.Edition} edition
17596
17670
  * @memberof google.protobuf.FileDescriptorProto
17597
17671
  * @instance
17598
17672
  */
17599
- FileDescriptorProto.prototype.edition = "";
17673
+ FileDescriptorProto.prototype.edition = 0;
17600
17674
 
17601
17675
  /**
17602
17676
  * Creates a new FileDescriptorProto instance using the specified properties.
@@ -17654,7 +17728,7 @@
17654
17728
  if (message.syntax != null && Object.hasOwnProperty.call(message, "syntax"))
17655
17729
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
17656
17730
  if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
17657
- writer.uint32(/* id 13, wireType 2 =*/106).string(message.edition);
17731
+ writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
17658
17732
  return writer;
17659
17733
  };
17660
17734
 
@@ -17761,8 +17835,8 @@
17761
17835
  message.syntax = reader.string();
17762
17836
  break;
17763
17837
  }
17764
- case 13: {
17765
- message.edition = reader.string();
17838
+ case 14: {
17839
+ message.edition = reader.int32();
17766
17840
  break;
17767
17841
  }
17768
17842
  default:
@@ -17877,8 +17951,22 @@
17877
17951
  if (!$util.isString(message.syntax))
17878
17952
  return "syntax: string expected";
17879
17953
  if (message.edition != null && message.hasOwnProperty("edition"))
17880
- if (!$util.isString(message.edition))
17881
- return "edition: string expected";
17954
+ switch (message.edition) {
17955
+ default:
17956
+ return "edition: enum value expected";
17957
+ case 0:
17958
+ case 998:
17959
+ case 999:
17960
+ case 1000:
17961
+ case 1001:
17962
+ case 1:
17963
+ case 2:
17964
+ case 99997:
17965
+ case 99998:
17966
+ case 99999:
17967
+ case 2147483647:
17968
+ break;
17969
+ }
17882
17970
  return null;
17883
17971
  };
17884
17972
 
@@ -17971,8 +18059,58 @@
17971
18059
  }
17972
18060
  if (object.syntax != null)
17973
18061
  message.syntax = String(object.syntax);
17974
- if (object.edition != null)
17975
- message.edition = String(object.edition);
18062
+ switch (object.edition) {
18063
+ default:
18064
+ if (typeof object.edition === "number") {
18065
+ message.edition = object.edition;
18066
+ break;
18067
+ }
18068
+ break;
18069
+ case "EDITION_UNKNOWN":
18070
+ case 0:
18071
+ message.edition = 0;
18072
+ break;
18073
+ case "EDITION_PROTO2":
18074
+ case 998:
18075
+ message.edition = 998;
18076
+ break;
18077
+ case "EDITION_PROTO3":
18078
+ case 999:
18079
+ message.edition = 999;
18080
+ break;
18081
+ case "EDITION_2023":
18082
+ case 1000:
18083
+ message.edition = 1000;
18084
+ break;
18085
+ case "EDITION_2024":
18086
+ case 1001:
18087
+ message.edition = 1001;
18088
+ break;
18089
+ case "EDITION_1_TEST_ONLY":
18090
+ case 1:
18091
+ message.edition = 1;
18092
+ break;
18093
+ case "EDITION_2_TEST_ONLY":
18094
+ case 2:
18095
+ message.edition = 2;
18096
+ break;
18097
+ case "EDITION_99997_TEST_ONLY":
18098
+ case 99997:
18099
+ message.edition = 99997;
18100
+ break;
18101
+ case "EDITION_99998_TEST_ONLY":
18102
+ case 99998:
18103
+ message.edition = 99998;
18104
+ break;
18105
+ case "EDITION_99999_TEST_ONLY":
18106
+ case 99999:
18107
+ message.edition = 99999;
18108
+ break;
18109
+ case "EDITION_MAX":
18110
+ case 2147483647:
18111
+ message.edition = 2147483647;
18112
+ break;
18113
+ }
17976
18114
  return message;
17977
18115
  };
17978
18116
 
@@ -18004,7 +18142,7 @@
18004
18142
  object.options = null;
18005
18143
  object.sourceCodeInfo = null;
18006
18144
  object.syntax = "";
18007
- object.edition = "";
18145
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
18008
18146
  }
18009
18147
  if (message.name != null && message.hasOwnProperty("name"))
18010
18148
  object.name = message.name;
@@ -18052,7 +18190,7 @@
18052
18190
  if (message.syntax != null && message.hasOwnProperty("syntax"))
18053
18191
  object.syntax = message.syntax;
18054
18192
  if (message.edition != null && message.hasOwnProperty("edition"))
18055
- object.edition = message.edition;
18193
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
18056
18194
  return object;
18057
18195
  };
18058
18196
 
@@ -20091,8 +20229,8 @@
20091
20229
  default:
20092
20230
  return "label: enum value expected";
20093
20231
  case 1:
20094
- case 2:
20095
20232
  case 3:
20233
+ case 2:
20096
20234
  break;
20097
20235
  }
20098
20236
  if (message.type != null && message.hasOwnProperty("type"))
@@ -20172,14 +20310,14 @@
20172
20310
  case 1:
20173
20311
  message.label = 1;
20174
20312
  break;
20175
- case "LABEL_REQUIRED":
20176
- case 2:
20177
- message.label = 2;
20178
- break;
20179
20313
  case "LABEL_REPEATED":
20180
20314
  case 3:
20181
20315
  message.label = 3;
20182
20316
  break;
20317
+ case "LABEL_REQUIRED":
20318
+ case 2:
20319
+ message.label = 2;
20320
+ break;
20183
20321
  }
20184
20322
  switch (object.type) {
20185
20323
  default:
@@ -20409,14 +20547,14 @@
20409
20547
  * @name google.protobuf.FieldDescriptorProto.Label
20410
20548
  * @enum {number}
20411
20549
  * @property {number} LABEL_OPTIONAL=1 LABEL_OPTIONAL value
20412
- * @property {number} LABEL_REQUIRED=2 LABEL_REQUIRED value
20413
20550
  * @property {number} LABEL_REPEATED=3 LABEL_REPEATED value
20551
+ * @property {number} LABEL_REQUIRED=2 LABEL_REQUIRED value
20414
20552
  */
20415
20553
  FieldDescriptorProto.Label = (function() {
20416
20554
  var valuesById = {}, values = Object.create(valuesById);
20417
20555
  values[valuesById[1] = "LABEL_OPTIONAL"] = 1;
20418
- values[valuesById[2] = "LABEL_REQUIRED"] = 2;
20419
20556
  values[valuesById[3] = "LABEL_REPEATED"] = 3;
20557
+ values[valuesById[2] = "LABEL_REQUIRED"] = 2;
20420
20558
  return values;
20421
20559
  })();
20422
20560
 
@@ -22115,7 +22253,6 @@
22115
22253
  * @property {boolean|null} [ccGenericServices] FileOptions ccGenericServices
22116
22254
  * @property {boolean|null} [javaGenericServices] FileOptions javaGenericServices
22117
22255
  * @property {boolean|null} [pyGenericServices] FileOptions pyGenericServices
22118
- * @property {boolean|null} [phpGenericServices] FileOptions phpGenericServices
22119
22256
  * @property {boolean|null} [deprecated] FileOptions deprecated
22120
22257
  * @property {boolean|null} [ccEnableArenas] FileOptions ccEnableArenas
22121
22258
  * @property {string|null} [objcClassPrefix] FileOptions objcClassPrefix
@@ -22225,14 +22362,6 @@
22225
22362
  */
22226
22363
  FileOptions.prototype.pyGenericServices = false;
22227
22364
 
22228
- /**
22229
- * FileOptions phpGenericServices.
22230
- * @member {boolean} phpGenericServices
22231
- * @memberof google.protobuf.FileOptions
22232
- * @instance
22233
- */
22234
- FileOptions.prototype.phpGenericServices = false;
22235
-
22236
22365
  /**
22237
22366
  * FileOptions deprecated.
22238
22367
  * @member {boolean} deprecated
@@ -22379,8 +22508,6 @@
22379
22508
  writer.uint32(/* id 40, wireType 2 =*/322).string(message.phpClassPrefix);
22380
22509
  if (message.phpNamespace != null && Object.hasOwnProperty.call(message, "phpNamespace"))
22381
22510
  writer.uint32(/* id 41, wireType 2 =*/330).string(message.phpNamespace);
22382
- if (message.phpGenericServices != null && Object.hasOwnProperty.call(message, "phpGenericServices"))
22383
- writer.uint32(/* id 42, wireType 0 =*/336).bool(message.phpGenericServices);
22384
22511
  if (message.phpMetadataNamespace != null && Object.hasOwnProperty.call(message, "phpMetadataNamespace"))
22385
22512
  writer.uint32(/* id 44, wireType 2 =*/354).string(message.phpMetadataNamespace);
22386
22513
  if (message.rubyPackage != null && Object.hasOwnProperty.call(message, "rubyPackage"))
@@ -22464,10 +22591,6 @@
22464
22591
  message.pyGenericServices = reader.bool();
22465
22592
  break;
22466
22593
  }
22467
- case 42: {
22468
- message.phpGenericServices = reader.bool();
22469
- break;
22470
- }
22471
22594
  case 23: {
22472
22595
  message.deprecated = reader.bool();
22473
22596
  break;
@@ -22585,9 +22708,6 @@
22585
22708
  if (message.pyGenericServices != null && message.hasOwnProperty("pyGenericServices"))
22586
22709
  if (typeof message.pyGenericServices !== "boolean")
22587
22710
  return "pyGenericServices: boolean expected";
22588
- if (message.phpGenericServices != null && message.hasOwnProperty("phpGenericServices"))
22589
- if (typeof message.phpGenericServices !== "boolean")
22590
- return "phpGenericServices: boolean expected";
22591
22711
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
22592
22712
  if (typeof message.deprecated !== "boolean")
22593
22713
  return "deprecated: boolean expected";
@@ -22682,8 +22802,6 @@
22682
22802
  message.javaGenericServices = Boolean(object.javaGenericServices);
22683
22803
  if (object.pyGenericServices != null)
22684
22804
  message.pyGenericServices = Boolean(object.pyGenericServices);
22685
- if (object.phpGenericServices != null)
22686
- message.phpGenericServices = Boolean(object.phpGenericServices);
22687
22805
  if (object.deprecated != null)
22688
22806
  message.deprecated = Boolean(object.deprecated);
22689
22807
  if (object.ccEnableArenas != null)
@@ -22753,7 +22871,6 @@
22753
22871
  object.swiftPrefix = "";
22754
22872
  object.phpClassPrefix = "";
22755
22873
  object.phpNamespace = "";
22756
- object.phpGenericServices = false;
22757
22874
  object.phpMetadataNamespace = "";
22758
22875
  object.rubyPackage = "";
22759
22876
  object.features = null;
@@ -22792,8 +22909,6 @@
22792
22909
  object.phpClassPrefix = message.phpClassPrefix;
22793
22910
  if (message.phpNamespace != null && message.hasOwnProperty("phpNamespace"))
22794
22911
  object.phpNamespace = message.phpNamespace;
22795
- if (message.phpGenericServices != null && message.hasOwnProperty("phpGenericServices"))
22796
- object.phpGenericServices = message.phpGenericServices;
22797
22912
  if (message.phpMetadataNamespace != null && message.hasOwnProperty("phpMetadataNamespace"))
22798
22913
  object.phpMetadataNamespace = message.phpMetadataNamespace;
22799
22914
  if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
@@ -23680,6 +23795,7 @@
23680
23795
  case 5:
23681
23796
  case 6:
23682
23797
  case 7:
23798
+ case 8:
23683
23799
  break;
23684
23800
  }
23685
23801
  }
@@ -23891,6 +24007,10 @@
23891
24007
  case 7:
23892
24008
  message[".google.api.fieldBehavior"][i] = 7;
23893
24009
  break;
24010
+ case "IDENTIFIER":
24011
+ case 8:
24012
+ message[".google.api.fieldBehavior"][i] = 8;
24013
+ break;
23894
24014
  }
23895
24015
  }
23896
24016
  return message;
@@ -24080,7 +24200,7 @@
24080
24200
  * Properties of an EditionDefault.
24081
24201
  * @memberof google.protobuf.FieldOptions
24082
24202
  * @interface IEditionDefault
24083
- * @property {string|null} [edition] EditionDefault edition
24203
+ * @property {google.protobuf.Edition|null} [edition] EditionDefault edition
24084
24204
  * @property {string|null} [value] EditionDefault value
24085
24205
  */
24086
24206
 
@@ -24101,11 +24221,11 @@
24101
24221
 
24102
24222
  /**
24103
24223
  * EditionDefault edition.
24104
- * @member {string} edition
24224
+ * @member {google.protobuf.Edition} edition
24105
24225
  * @memberof google.protobuf.FieldOptions.EditionDefault
24106
24226
  * @instance
24107
24227
  */
24108
- EditionDefault.prototype.edition = "";
24228
+ EditionDefault.prototype.edition = 0;
24109
24229
 
24110
24230
  /**
24111
24231
  * EditionDefault value.
@@ -24139,10 +24259,10 @@
24139
24259
  EditionDefault.encode = function encode(message, writer) {
24140
24260
  if (!writer)
24141
24261
  writer = $Writer.create();
24142
- if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
24143
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.edition);
24144
24262
  if (message.value != null && Object.hasOwnProperty.call(message, "value"))
24145
24263
  writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
24264
+ if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
24265
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
24146
24266
  return writer;
24147
24267
  };
24148
24268
 
@@ -24177,8 +24297,8 @@
24177
24297
  while (reader.pos < end) {
24178
24298
  var tag = reader.uint32();
24179
24299
  switch (tag >>> 3) {
24180
- case 1: {
24181
- message.edition = reader.string();
24300
+ case 3: {
24301
+ message.edition = reader.int32();
24182
24302
  break;
24183
24303
  }
24184
24304
  case 2: {
@@ -24221,8 +24341,22 @@
24221
24341
  if (typeof message !== "object" || message === null)
24222
24342
  return "object expected";
24223
24343
  if (message.edition != null && message.hasOwnProperty("edition"))
24224
- if (!$util.isString(message.edition))
24225
- return "edition: string expected";
24344
+ switch (message.edition) {
24345
+ default:
24346
+ return "edition: enum value expected";
24347
+ case 0:
24348
+ case 998:
24349
+ case 999:
24350
+ case 1000:
24351
+ case 1001:
24352
+ case 1:
24353
+ case 2:
24354
+ case 99997:
24355
+ case 99998:
24356
+ case 99999:
24357
+ case 2147483647:
24358
+ break;
24359
+ }
24226
24360
  if (message.value != null && message.hasOwnProperty("value"))
24227
24361
  if (!$util.isString(message.value))
24228
24362
  return "value: string expected";
@@ -24241,8 +24375,58 @@
24241
24375
  if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault)
24242
24376
  return object;
24243
24377
  var message = new $root.google.protobuf.FieldOptions.EditionDefault();
24244
- if (object.edition != null)
24245
- message.edition = String(object.edition);
24378
+ switch (object.edition) {
24379
+ default:
24380
+ if (typeof object.edition === "number") {
24381
+ message.edition = object.edition;
24382
+ break;
24383
+ }
24384
+ break;
24385
+ case "EDITION_UNKNOWN":
24386
+ case 0:
24387
+ message.edition = 0;
24388
+ break;
24389
+ case "EDITION_PROTO2":
24390
+ case 998:
24391
+ message.edition = 998;
24392
+ break;
24393
+ case "EDITION_PROTO3":
24394
+ case 999:
24395
+ message.edition = 999;
24396
+ break;
24397
+ case "EDITION_2023":
24398
+ case 1000:
24399
+ message.edition = 1000;
24400
+ break;
24401
+ case "EDITION_2024":
24402
+ case 1001:
24403
+ message.edition = 1001;
24404
+ break;
24405
+ case "EDITION_1_TEST_ONLY":
24406
+ case 1:
24407
+ message.edition = 1;
24408
+ break;
24409
+ case "EDITION_2_TEST_ONLY":
24410
+ case 2:
24411
+ message.edition = 2;
24412
+ break;
24413
+ case "EDITION_99997_TEST_ONLY":
24414
+ case 99997:
24415
+ message.edition = 99997;
24416
+ break;
24417
+ case "EDITION_99998_TEST_ONLY":
24418
+ case 99998:
24419
+ message.edition = 99998;
24420
+ break;
24421
+ case "EDITION_99999_TEST_ONLY":
24422
+ case 99999:
24423
+ message.edition = 99999;
24424
+ break;
24425
+ case "EDITION_MAX":
24426
+ case 2147483647:
24427
+ message.edition = 2147483647;
24428
+ break;
24429
+ }
24246
24430
  if (object.value != null)
24247
24431
  message.value = String(object.value);
24248
24432
  return message;
@@ -24262,13 +24446,13 @@
24262
24446
  options = {};
24263
24447
  var object = {};
24264
24448
  if (options.defaults) {
24265
- object.edition = "";
24266
24449
  object.value = "";
24450
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
24267
24451
  }
24268
- if (message.edition != null && message.hasOwnProperty("edition"))
24269
- object.edition = message.edition;
24270
24452
  if (message.value != null && message.hasOwnProperty("value"))
24271
24453
  object.value = message.value;
24454
+ if (message.edition != null && message.hasOwnProperty("edition"))
24455
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
24272
24456
  return object;
24273
24457
  };
24274
24458
 
@@ -26548,10 +26732,9 @@
26548
26732
  * @property {google.protobuf.FeatureSet.FieldPresence|null} [fieldPresence] FeatureSet fieldPresence
26549
26733
  * @property {google.protobuf.FeatureSet.EnumType|null} [enumType] FeatureSet enumType
26550
26734
  * @property {google.protobuf.FeatureSet.RepeatedFieldEncoding|null} [repeatedFieldEncoding] FeatureSet repeatedFieldEncoding
26551
- * @property {google.protobuf.FeatureSet.StringFieldValidation|null} [stringFieldValidation] FeatureSet stringFieldValidation
26735
+ * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
26552
26736
  * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
26553
26737
  * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
26554
- * @property {google.protobuf.IFeatureSet|null} [rawFeatures] FeatureSet rawFeatures
26555
26738
  */
26556
26739
 
26557
26740
  /**
@@ -26594,12 +26777,12 @@
26594
26777
  FeatureSet.prototype.repeatedFieldEncoding = 0;
26595
26778
 
26596
26779
  /**
26597
- * FeatureSet stringFieldValidation.
26598
- * @member {google.protobuf.FeatureSet.StringFieldValidation} stringFieldValidation
26780
+ * FeatureSet utf8Validation.
26781
+ * @member {google.protobuf.FeatureSet.Utf8Validation} utf8Validation
26599
26782
  * @memberof google.protobuf.FeatureSet
26600
26783
  * @instance
26601
26784
  */
26602
- FeatureSet.prototype.stringFieldValidation = 0;
26785
+ FeatureSet.prototype.utf8Validation = 0;
26603
26786
 
26604
26787
  /**
26605
26788
  * FeatureSet messageEncoding.
@@ -26617,14 +26800,6 @@
26617
26800
  */
26618
26801
  FeatureSet.prototype.jsonFormat = 0;
26619
26802
 
26620
- /**
26621
- * FeatureSet rawFeatures.
26622
- * @member {google.protobuf.IFeatureSet|null|undefined} rawFeatures
26623
- * @memberof google.protobuf.FeatureSet
26624
- * @instance
26625
- */
26626
- FeatureSet.prototype.rawFeatures = null;
26627
-
26628
26803
  /**
26629
26804
  * Creates a new FeatureSet instance using the specified properties.
26630
26805
  * @function create
@@ -26655,14 +26830,12 @@
26655
26830
  writer.uint32(/* id 2, wireType 0 =*/16).int32(message.enumType);
26656
26831
  if (message.repeatedFieldEncoding != null && Object.hasOwnProperty.call(message, "repeatedFieldEncoding"))
26657
26832
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.repeatedFieldEncoding);
26658
- if (message.stringFieldValidation != null && Object.hasOwnProperty.call(message, "stringFieldValidation"))
26659
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.stringFieldValidation);
26833
+ if (message.utf8Validation != null && Object.hasOwnProperty.call(message, "utf8Validation"))
26834
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.utf8Validation);
26660
26835
  if (message.messageEncoding != null && Object.hasOwnProperty.call(message, "messageEncoding"))
26661
26836
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
26662
26837
  if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
26663
26838
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
26664
- if (message.rawFeatures != null && Object.hasOwnProperty.call(message, "rawFeatures"))
26665
- $root.google.protobuf.FeatureSet.encode(message.rawFeatures, writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
26666
26839
  return writer;
26667
26840
  };
26668
26841
 
@@ -26710,7 +26883,7 @@
26710
26883
  break;
26711
26884
  }
26712
26885
  case 4: {
26713
- message.stringFieldValidation = reader.int32();
26886
+ message.utf8Validation = reader.int32();
26714
26887
  break;
26715
26888
  }
26716
26889
  case 5: {
@@ -26721,10 +26894,6 @@
26721
26894
  message.jsonFormat = reader.int32();
26722
26895
  break;
26723
26896
  }
26724
- case 999: {
26725
- message.rawFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
26726
- break;
26727
- }
26728
26897
  default:
26729
26898
  reader.skipType(tag & 7);
26730
26899
  break;
@@ -26788,12 +26957,11 @@
26788
26957
  case 2:
26789
26958
  break;
26790
26959
  }
26791
- if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
26792
- switch (message.stringFieldValidation) {
26960
+ if (message.utf8Validation != null && message.hasOwnProperty("utf8Validation"))
26961
+ switch (message.utf8Validation) {
26793
26962
  default:
26794
- return "stringFieldValidation: enum value expected";
26963
+ return "utf8Validation: enum value expected";
26795
26964
  case 0:
26796
- case 1:
26797
26965
  case 2:
26798
26966
  case 3:
26799
26967
  break;
@@ -26816,11 +26984,6 @@
26816
26984
  case 2:
26817
26985
  break;
26818
26986
  }
26819
- if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures")) {
26820
- var error = $root.google.protobuf.FeatureSet.verify(message.rawFeatures);
26821
- if (error)
26822
- return "rawFeatures." + error;
26823
- }
26824
26987
  return null;
26825
26988
  };
26826
26989
 
@@ -26900,28 +27063,24 @@
26900
27063
  message.repeatedFieldEncoding = 2;
26901
27064
  break;
26902
27065
  }
26903
- switch (object.stringFieldValidation) {
27066
+ switch (object.utf8Validation) {
26904
27067
  default:
26905
- if (typeof object.stringFieldValidation === "number") {
26906
- message.stringFieldValidation = object.stringFieldValidation;
27068
+ if (typeof object.utf8Validation === "number") {
27069
+ message.utf8Validation = object.utf8Validation;
26907
27070
  break;
26908
27071
  }
26909
27072
  break;
26910
- case "STRING_FIELD_VALIDATION_UNKNOWN":
27073
+ case "UTF8_VALIDATION_UNKNOWN":
26911
27074
  case 0:
26912
- message.stringFieldValidation = 0;
26913
- break;
26914
- case "MANDATORY":
26915
- case 1:
26916
- message.stringFieldValidation = 1;
27075
+ message.utf8Validation = 0;
26917
27076
  break;
26918
- case "HINT":
27077
+ case "VERIFY":
26919
27078
  case 2:
26920
- message.stringFieldValidation = 2;
27079
+ message.utf8Validation = 2;
26921
27080
  break;
26922
27081
  case "NONE":
26923
27082
  case 3:
26924
- message.stringFieldValidation = 3;
27083
+ message.utf8Validation = 3;
26925
27084
  break;
26926
27085
  }
26927
27086
  switch (object.messageEncoding) {
@@ -26964,11 +27123,6 @@
26964
27123
  message.jsonFormat = 2;
26965
27124
  break;
26966
27125
  }
26967
- if (object.rawFeatures != null) {
26968
- if (typeof object.rawFeatures !== "object")
26969
- throw TypeError(".google.protobuf.FeatureSet.rawFeatures: object expected");
26970
- message.rawFeatures = $root.google.protobuf.FeatureSet.fromObject(object.rawFeatures);
26971
- }
26972
27126
  return message;
26973
27127
  };
26974
27128
 
@@ -26989,10 +27143,9 @@
26989
27143
  object.fieldPresence = options.enums === String ? "FIELD_PRESENCE_UNKNOWN" : 0;
26990
27144
  object.enumType = options.enums === String ? "ENUM_TYPE_UNKNOWN" : 0;
26991
27145
  object.repeatedFieldEncoding = options.enums === String ? "REPEATED_FIELD_ENCODING_UNKNOWN" : 0;
26992
- object.stringFieldValidation = options.enums === String ? "STRING_FIELD_VALIDATION_UNKNOWN" : 0;
27146
+ object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
26993
27147
  object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
26994
27148
  object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
26995
- object.rawFeatures = null;
26996
27149
  }
26997
27150
  if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
26998
27151
  object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
@@ -27000,14 +27153,12 @@
27000
27153
  object.enumType = options.enums === String ? $root.google.protobuf.FeatureSet.EnumType[message.enumType] === undefined ? message.enumType : $root.google.protobuf.FeatureSet.EnumType[message.enumType] : message.enumType;
27001
27154
  if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
27002
27155
  object.repeatedFieldEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] === undefined ? message.repeatedFieldEncoding : $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] : message.repeatedFieldEncoding;
27003
- if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
27004
- object.stringFieldValidation = options.enums === String ? $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] === undefined ? message.stringFieldValidation : $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] : message.stringFieldValidation;
27156
+ if (message.utf8Validation != null && message.hasOwnProperty("utf8Validation"))
27157
+ object.utf8Validation = options.enums === String ? $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] === undefined ? message.utf8Validation : $root.google.protobuf.FeatureSet.Utf8Validation[message.utf8Validation] : message.utf8Validation;
27005
27158
  if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
27006
27159
  object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
27007
27160
  if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
27008
27161
  object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
27009
- if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures"))
27010
- object.rawFeatures = $root.google.protobuf.FeatureSet.toObject(message.rawFeatures, options);
27011
27162
  return object;
27012
27163
  };
27013
27164
 
@@ -27088,19 +27239,17 @@
27088
27239
  })();
27089
27240
 
27090
27241
  /**
27091
- * StringFieldValidation enum.
27092
- * @name google.protobuf.FeatureSet.StringFieldValidation
27242
+ * Utf8Validation enum.
27243
+ * @name google.protobuf.FeatureSet.Utf8Validation
27093
27244
  * @enum {number}
27094
- * @property {number} STRING_FIELD_VALIDATION_UNKNOWN=0 STRING_FIELD_VALIDATION_UNKNOWN value
27095
- * @property {number} MANDATORY=1 MANDATORY value
27096
- * @property {number} HINT=2 HINT value
27245
+ * @property {number} UTF8_VALIDATION_UNKNOWN=0 UTF8_VALIDATION_UNKNOWN value
27246
+ * @property {number} VERIFY=2 VERIFY value
27097
27247
  * @property {number} NONE=3 NONE value
27098
27248
  */
27099
- FeatureSet.StringFieldValidation = (function() {
27249
+ FeatureSet.Utf8Validation = (function() {
27100
27250
  var valuesById = {}, values = Object.create(valuesById);
27101
- values[valuesById[0] = "STRING_FIELD_VALIDATION_UNKNOWN"] = 0;
27102
- values[valuesById[1] = "MANDATORY"] = 1;
27103
- values[valuesById[2] = "HINT"] = 2;
27251
+ values[valuesById[0] = "UTF8_VALIDATION_UNKNOWN"] = 0;
27252
+ values[valuesById[2] = "VERIFY"] = 2;
27104
27253
  values[valuesById[3] = "NONE"] = 3;
27105
27254
  return values;
27106
27255
  })();
@@ -27140,6 +27289,702 @@
27140
27289
  return FeatureSet;
27141
27290
  })();
27142
27291
 
27292
+ protobuf.FeatureSetDefaults = (function() {
27293
+
27294
+ /**
27295
+ * Properties of a FeatureSetDefaults.
27296
+ * @memberof google.protobuf
27297
+ * @interface IFeatureSetDefaults
27298
+ * @property {Array.<google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault>|null} [defaults] FeatureSetDefaults defaults
27299
+ * @property {google.protobuf.Edition|null} [minimumEdition] FeatureSetDefaults minimumEdition
27300
+ * @property {google.protobuf.Edition|null} [maximumEdition] FeatureSetDefaults maximumEdition
27301
+ */
27302
+
27303
+ /**
27304
+ * Constructs a new FeatureSetDefaults.
27305
+ * @memberof google.protobuf
27306
+ * @classdesc Represents a FeatureSetDefaults.
27307
+ * @implements IFeatureSetDefaults
27308
+ * @constructor
27309
+ * @param {google.protobuf.IFeatureSetDefaults=} [properties] Properties to set
27310
+ */
27311
+ function FeatureSetDefaults(properties) {
27312
+ this.defaults = [];
27313
+ if (properties)
27314
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
27315
+ if (properties[keys[i]] != null)
27316
+ this[keys[i]] = properties[keys[i]];
27317
+ }
27318
+
27319
+ /**
27320
+ * FeatureSetDefaults defaults.
27321
+ * @member {Array.<google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault>} defaults
27322
+ * @memberof google.protobuf.FeatureSetDefaults
27323
+ * @instance
27324
+ */
27325
+ FeatureSetDefaults.prototype.defaults = $util.emptyArray;
27326
+
27327
+ /**
27328
+ * FeatureSetDefaults minimumEdition.
27329
+ * @member {google.protobuf.Edition} minimumEdition
27330
+ * @memberof google.protobuf.FeatureSetDefaults
27331
+ * @instance
27332
+ */
27333
+ FeatureSetDefaults.prototype.minimumEdition = 0;
27334
+
27335
+ /**
27336
+ * FeatureSetDefaults maximumEdition.
27337
+ * @member {google.protobuf.Edition} maximumEdition
27338
+ * @memberof google.protobuf.FeatureSetDefaults
27339
+ * @instance
27340
+ */
27341
+ FeatureSetDefaults.prototype.maximumEdition = 0;
27342
+
27343
+ /**
27344
+ * Creates a new FeatureSetDefaults instance using the specified properties.
27345
+ * @function create
27346
+ * @memberof google.protobuf.FeatureSetDefaults
27347
+ * @static
27348
+ * @param {google.protobuf.IFeatureSetDefaults=} [properties] Properties to set
27349
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults instance
27350
+ */
27351
+ FeatureSetDefaults.create = function create(properties) {
27352
+ return new FeatureSetDefaults(properties);
27353
+ };
27354
+
27355
+ /**
27356
+ * Encodes the specified FeatureSetDefaults message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
27357
+ * @function encode
27358
+ * @memberof google.protobuf.FeatureSetDefaults
27359
+ * @static
27360
+ * @param {google.protobuf.IFeatureSetDefaults} message FeatureSetDefaults message or plain object to encode
27361
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27362
+ * @returns {$protobuf.Writer} Writer
27363
+ */
27364
+ FeatureSetDefaults.encode = function encode(message, writer) {
27365
+ if (!writer)
27366
+ writer = $Writer.create();
27367
+ if (message.defaults != null && message.defaults.length)
27368
+ for (var i = 0; i < message.defaults.length; ++i)
27369
+ $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.encode(message.defaults[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
27370
+ if (message.minimumEdition != null && Object.hasOwnProperty.call(message, "minimumEdition"))
27371
+ writer.uint32(/* id 4, wireType 0 =*/32).int32(message.minimumEdition);
27372
+ if (message.maximumEdition != null && Object.hasOwnProperty.call(message, "maximumEdition"))
27373
+ writer.uint32(/* id 5, wireType 0 =*/40).int32(message.maximumEdition);
27374
+ return writer;
27375
+ };
27376
+
27377
+ /**
27378
+ * Encodes the specified FeatureSetDefaults message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.verify|verify} messages.
27379
+ * @function encodeDelimited
27380
+ * @memberof google.protobuf.FeatureSetDefaults
27381
+ * @static
27382
+ * @param {google.protobuf.IFeatureSetDefaults} message FeatureSetDefaults message or plain object to encode
27383
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27384
+ * @returns {$protobuf.Writer} Writer
27385
+ */
27386
+ FeatureSetDefaults.encodeDelimited = function encodeDelimited(message, writer) {
27387
+ return this.encode(message, writer).ldelim();
27388
+ };
27389
+
27390
+ /**
27391
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer.
27392
+ * @function decode
27393
+ * @memberof google.protobuf.FeatureSetDefaults
27394
+ * @static
27395
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27396
+ * @param {number} [length] Message length if known beforehand
27397
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
27398
+ * @throws {Error} If the payload is not a reader or valid buffer
27399
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27400
+ */
27401
+ FeatureSetDefaults.decode = function decode(reader, length) {
27402
+ if (!(reader instanceof $Reader))
27403
+ reader = $Reader.create(reader);
27404
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSetDefaults();
27405
+ while (reader.pos < end) {
27406
+ var tag = reader.uint32();
27407
+ switch (tag >>> 3) {
27408
+ case 1: {
27409
+ if (!(message.defaults && message.defaults.length))
27410
+ message.defaults = [];
27411
+ message.defaults.push($root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.decode(reader, reader.uint32()));
27412
+ break;
27413
+ }
27414
+ case 4: {
27415
+ message.minimumEdition = reader.int32();
27416
+ break;
27417
+ }
27418
+ case 5: {
27419
+ message.maximumEdition = reader.int32();
27420
+ break;
27421
+ }
27422
+ default:
27423
+ reader.skipType(tag & 7);
27424
+ break;
27425
+ }
27426
+ }
27427
+ return message;
27428
+ };
27429
+
27430
+ /**
27431
+ * Decodes a FeatureSetDefaults message from the specified reader or buffer, length delimited.
27432
+ * @function decodeDelimited
27433
+ * @memberof google.protobuf.FeatureSetDefaults
27434
+ * @static
27435
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27436
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
27437
+ * @throws {Error} If the payload is not a reader or valid buffer
27438
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27439
+ */
27440
+ FeatureSetDefaults.decodeDelimited = function decodeDelimited(reader) {
27441
+ if (!(reader instanceof $Reader))
27442
+ reader = new $Reader(reader);
27443
+ return this.decode(reader, reader.uint32());
27444
+ };
27445
+
27446
+ /**
27447
+ * Verifies a FeatureSetDefaults message.
27448
+ * @function verify
27449
+ * @memberof google.protobuf.FeatureSetDefaults
27450
+ * @static
27451
+ * @param {Object.<string,*>} message Plain object to verify
27452
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
27453
+ */
27454
+ FeatureSetDefaults.verify = function verify(message) {
27455
+ if (typeof message !== "object" || message === null)
27456
+ return "object expected";
27457
+ if (message.defaults != null && message.hasOwnProperty("defaults")) {
27458
+ if (!Array.isArray(message.defaults))
27459
+ return "defaults: array expected";
27460
+ for (var i = 0; i < message.defaults.length; ++i) {
27461
+ var error = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify(message.defaults[i]);
27462
+ if (error)
27463
+ return "defaults." + error;
27464
+ }
27465
+ }
27466
+ if (message.minimumEdition != null && message.hasOwnProperty("minimumEdition"))
27467
+ switch (message.minimumEdition) {
27468
+ default:
27469
+ return "minimumEdition: enum value expected";
27470
+ case 0:
27471
+ case 998:
27472
+ case 999:
27473
+ case 1000:
27474
+ case 1001:
27475
+ case 1:
27476
+ case 2:
27477
+ case 99997:
27478
+ case 99998:
27479
+ case 99999:
27480
+ case 2147483647:
27481
+ break;
27482
+ }
27483
+ if (message.maximumEdition != null && message.hasOwnProperty("maximumEdition"))
27484
+ switch (message.maximumEdition) {
27485
+ default:
27486
+ return "maximumEdition: enum value expected";
27487
+ case 0:
27488
+ case 998:
27489
+ case 999:
27490
+ case 1000:
27491
+ case 1001:
27492
+ case 1:
27493
+ case 2:
27494
+ case 99997:
27495
+ case 99998:
27496
+ case 99999:
27497
+ case 2147483647:
27498
+ break;
27499
+ }
27500
+ return null;
27501
+ };
27502
+
27503
+ /**
27504
+ * Creates a FeatureSetDefaults message from a plain object. Also converts values to their respective internal types.
27505
+ * @function fromObject
27506
+ * @memberof google.protobuf.FeatureSetDefaults
27507
+ * @static
27508
+ * @param {Object.<string,*>} object Plain object
27509
+ * @returns {google.protobuf.FeatureSetDefaults} FeatureSetDefaults
27510
+ */
27511
+ FeatureSetDefaults.fromObject = function fromObject(object) {
27512
+ if (object instanceof $root.google.protobuf.FeatureSetDefaults)
27513
+ return object;
27514
+ var message = new $root.google.protobuf.FeatureSetDefaults();
27515
+ if (object.defaults) {
27516
+ if (!Array.isArray(object.defaults))
27517
+ throw TypeError(".google.protobuf.FeatureSetDefaults.defaults: array expected");
27518
+ message.defaults = [];
27519
+ for (var i = 0; i < object.defaults.length; ++i) {
27520
+ if (typeof object.defaults[i] !== "object")
27521
+ throw TypeError(".google.protobuf.FeatureSetDefaults.defaults: object expected");
27522
+ message.defaults[i] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fromObject(object.defaults[i]);
27523
+ }
27524
+ }
27525
+ switch (object.minimumEdition) {
27526
+ default:
27527
+ if (typeof object.minimumEdition === "number") {
27528
+ message.minimumEdition = object.minimumEdition;
27529
+ break;
27530
+ }
27531
+ break;
27532
+ case "EDITION_UNKNOWN":
27533
+ case 0:
27534
+ message.minimumEdition = 0;
27535
+ break;
27536
+ case "EDITION_PROTO2":
27537
+ case 998:
27538
+ message.minimumEdition = 998;
27539
+ break;
27540
+ case "EDITION_PROTO3":
27541
+ case 999:
27542
+ message.minimumEdition = 999;
27543
+ break;
27544
+ case "EDITION_2023":
27545
+ case 1000:
27546
+ message.minimumEdition = 1000;
27547
+ break;
27548
+ case "EDITION_2024":
27549
+ case 1001:
27550
+ message.minimumEdition = 1001;
27551
+ break;
27552
+ case "EDITION_1_TEST_ONLY":
27553
+ case 1:
27554
+ message.minimumEdition = 1;
27555
+ break;
27556
+ case "EDITION_2_TEST_ONLY":
27557
+ case 2:
27558
+ message.minimumEdition = 2;
27559
+ break;
27560
+ case "EDITION_99997_TEST_ONLY":
27561
+ case 99997:
27562
+ message.minimumEdition = 99997;
27563
+ break;
27564
+ case "EDITION_99998_TEST_ONLY":
27565
+ case 99998:
27566
+ message.minimumEdition = 99998;
27567
+ break;
27568
+ case "EDITION_99999_TEST_ONLY":
27569
+ case 99999:
27570
+ message.minimumEdition = 99999;
27571
+ break;
27572
+ case "EDITION_MAX":
27573
+ case 2147483647:
27574
+ message.minimumEdition = 2147483647;
27575
+ break;
27576
+ }
27577
+ switch (object.maximumEdition) {
27578
+ default:
27579
+ if (typeof object.maximumEdition === "number") {
27580
+ message.maximumEdition = object.maximumEdition;
27581
+ break;
27582
+ }
27583
+ break;
27584
+ case "EDITION_UNKNOWN":
27585
+ case 0:
27586
+ message.maximumEdition = 0;
27587
+ break;
27588
+ case "EDITION_PROTO2":
27589
+ case 998:
27590
+ message.maximumEdition = 998;
27591
+ break;
27592
+ case "EDITION_PROTO3":
27593
+ case 999:
27594
+ message.maximumEdition = 999;
27595
+ break;
27596
+ case "EDITION_2023":
27597
+ case 1000:
27598
+ message.maximumEdition = 1000;
27599
+ break;
27600
+ case "EDITION_2024":
27601
+ case 1001:
27602
+ message.maximumEdition = 1001;
27603
+ break;
27604
+ case "EDITION_1_TEST_ONLY":
27605
+ case 1:
27606
+ message.maximumEdition = 1;
27607
+ break;
27608
+ case "EDITION_2_TEST_ONLY":
27609
+ case 2:
27610
+ message.maximumEdition = 2;
27611
+ break;
27612
+ case "EDITION_99997_TEST_ONLY":
27613
+ case 99997:
27614
+ message.maximumEdition = 99997;
27615
+ break;
27616
+ case "EDITION_99998_TEST_ONLY":
27617
+ case 99998:
27618
+ message.maximumEdition = 99998;
27619
+ break;
27620
+ case "EDITION_99999_TEST_ONLY":
27621
+ case 99999:
27622
+ message.maximumEdition = 99999;
27623
+ break;
27624
+ case "EDITION_MAX":
27625
+ case 2147483647:
27626
+ message.maximumEdition = 2147483647;
27627
+ break;
27628
+ }
27629
+ return message;
27630
+ };
27631
+
27632
+ /**
27633
+ * Creates a plain object from a FeatureSetDefaults message. Also converts values to other types if specified.
27634
+ * @function toObject
27635
+ * @memberof google.protobuf.FeatureSetDefaults
27636
+ * @static
27637
+ * @param {google.protobuf.FeatureSetDefaults} message FeatureSetDefaults
27638
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
27639
+ * @returns {Object.<string,*>} Plain object
27640
+ */
27641
+ FeatureSetDefaults.toObject = function toObject(message, options) {
27642
+ if (!options)
27643
+ options = {};
27644
+ var object = {};
27645
+ if (options.arrays || options.defaults)
27646
+ object.defaults = [];
27647
+ if (options.defaults) {
27648
+ object.minimumEdition = options.enums === String ? "EDITION_UNKNOWN" : 0;
27649
+ object.maximumEdition = options.enums === String ? "EDITION_UNKNOWN" : 0;
27650
+ }
27651
+ if (message.defaults && message.defaults.length) {
27652
+ object.defaults = [];
27653
+ for (var j = 0; j < message.defaults.length; ++j)
27654
+ object.defaults[j] = $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.toObject(message.defaults[j], options);
27655
+ }
27656
+ if (message.minimumEdition != null && message.hasOwnProperty("minimumEdition"))
27657
+ object.minimumEdition = options.enums === String ? $root.google.protobuf.Edition[message.minimumEdition] === undefined ? message.minimumEdition : $root.google.protobuf.Edition[message.minimumEdition] : message.minimumEdition;
27658
+ if (message.maximumEdition != null && message.hasOwnProperty("maximumEdition"))
27659
+ object.maximumEdition = options.enums === String ? $root.google.protobuf.Edition[message.maximumEdition] === undefined ? message.maximumEdition : $root.google.protobuf.Edition[message.maximumEdition] : message.maximumEdition;
27660
+ return object;
27661
+ };
27662
+
27663
+ /**
27664
+ * Converts this FeatureSetDefaults to JSON.
27665
+ * @function toJSON
27666
+ * @memberof google.protobuf.FeatureSetDefaults
27667
+ * @instance
27668
+ * @returns {Object.<string,*>} JSON object
27669
+ */
27670
+ FeatureSetDefaults.prototype.toJSON = function toJSON() {
27671
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
27672
+ };
27673
+
27674
+ /**
27675
+ * Gets the default type url for FeatureSetDefaults
27676
+ * @function getTypeUrl
27677
+ * @memberof google.protobuf.FeatureSetDefaults
27678
+ * @static
27679
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27680
+ * @returns {string} The default type url
27681
+ */
27682
+ FeatureSetDefaults.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
27683
+ if (typeUrlPrefix === undefined) {
27684
+ typeUrlPrefix = "type.googleapis.com";
27685
+ }
27686
+ return typeUrlPrefix + "/google.protobuf.FeatureSetDefaults";
27687
+ };
27688
+
27689
+ FeatureSetDefaults.FeatureSetEditionDefault = (function() {
27690
+
27691
+ /**
27692
+ * Properties of a FeatureSetEditionDefault.
27693
+ * @memberof google.protobuf.FeatureSetDefaults
27694
+ * @interface IFeatureSetEditionDefault
27695
+ * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
27696
+ * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
27697
+ */
27698
+
27699
+ /**
27700
+ * Constructs a new FeatureSetEditionDefault.
27701
+ * @memberof google.protobuf.FeatureSetDefaults
27702
+ * @classdesc Represents a FeatureSetEditionDefault.
27703
+ * @implements IFeatureSetEditionDefault
27704
+ * @constructor
27705
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault=} [properties] Properties to set
27706
+ */
27707
+ function FeatureSetEditionDefault(properties) {
27708
+ if (properties)
27709
+ for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
27710
+ if (properties[keys[i]] != null)
27711
+ this[keys[i]] = properties[keys[i]];
27712
+ }
27713
+
27714
+ /**
27715
+ * FeatureSetEditionDefault edition.
27716
+ * @member {google.protobuf.Edition} edition
27717
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27718
+ * @instance
27719
+ */
27720
+ FeatureSetEditionDefault.prototype.edition = 0;
27721
+
27722
+ /**
27723
+ * FeatureSetEditionDefault features.
27724
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
27725
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27726
+ * @instance
27727
+ */
27728
+ FeatureSetEditionDefault.prototype.features = null;
27729
+
27730
+ /**
27731
+ * Creates a new FeatureSetEditionDefault instance using the specified properties.
27732
+ * @function create
27733
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27734
+ * @static
27735
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault=} [properties] Properties to set
27736
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault instance
27737
+ */
27738
+ FeatureSetEditionDefault.create = function create(properties) {
27739
+ return new FeatureSetEditionDefault(properties);
27740
+ };
27741
+
27742
+ /**
27743
+ * Encodes the specified FeatureSetEditionDefault message. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
27744
+ * @function encode
27745
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27746
+ * @static
27747
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault} message FeatureSetEditionDefault message or plain object to encode
27748
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27749
+ * @returns {$protobuf.Writer} Writer
27750
+ */
27751
+ FeatureSetEditionDefault.encode = function encode(message, writer) {
27752
+ if (!writer)
27753
+ writer = $Writer.create();
27754
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
27755
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
27756
+ if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
27757
+ writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
27758
+ return writer;
27759
+ };
27760
+
27761
+ /**
27762
+ * Encodes the specified FeatureSetEditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.verify|verify} messages.
27763
+ * @function encodeDelimited
27764
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27765
+ * @static
27766
+ * @param {google.protobuf.FeatureSetDefaults.IFeatureSetEditionDefault} message FeatureSetEditionDefault message or plain object to encode
27767
+ * @param {$protobuf.Writer} [writer] Writer to encode to
27768
+ * @returns {$protobuf.Writer} Writer
27769
+ */
27770
+ FeatureSetEditionDefault.encodeDelimited = function encodeDelimited(message, writer) {
27771
+ return this.encode(message, writer).ldelim();
27772
+ };
27773
+
27774
+ /**
27775
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer.
27776
+ * @function decode
27777
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27778
+ * @static
27779
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27780
+ * @param {number} [length] Message length if known beforehand
27781
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
27782
+ * @throws {Error} If the payload is not a reader or valid buffer
27783
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27784
+ */
27785
+ FeatureSetEditionDefault.decode = function decode(reader, length) {
27786
+ if (!(reader instanceof $Reader))
27787
+ reader = $Reader.create(reader);
27788
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault();
27789
+ while (reader.pos < end) {
27790
+ var tag = reader.uint32();
27791
+ switch (tag >>> 3) {
27792
+ case 3: {
27793
+ message.edition = reader.int32();
27794
+ break;
27795
+ }
27796
+ case 2: {
27797
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
27798
+ break;
27799
+ }
27800
+ default:
27801
+ reader.skipType(tag & 7);
27802
+ break;
27803
+ }
27804
+ }
27805
+ return message;
27806
+ };
27807
+
27808
+ /**
27809
+ * Decodes a FeatureSetEditionDefault message from the specified reader or buffer, length delimited.
27810
+ * @function decodeDelimited
27811
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27812
+ * @static
27813
+ * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
27814
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
27815
+ * @throws {Error} If the payload is not a reader or valid buffer
27816
+ * @throws {$protobuf.util.ProtocolError} If required fields are missing
27817
+ */
27818
+ FeatureSetEditionDefault.decodeDelimited = function decodeDelimited(reader) {
27819
+ if (!(reader instanceof $Reader))
27820
+ reader = new $Reader(reader);
27821
+ return this.decode(reader, reader.uint32());
27822
+ };
27823
+
27824
+ /**
27825
+ * Verifies a FeatureSetEditionDefault message.
27826
+ * @function verify
27827
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27828
+ * @static
27829
+ * @param {Object.<string,*>} message Plain object to verify
27830
+ * @returns {string|null} `null` if valid, otherwise the reason why it is not
27831
+ */
27832
+ FeatureSetEditionDefault.verify = function verify(message) {
27833
+ if (typeof message !== "object" || message === null)
27834
+ return "object expected";
27835
+ if (message.edition != null && message.hasOwnProperty("edition"))
27836
+ switch (message.edition) {
27837
+ default:
27838
+ return "edition: enum value expected";
27839
+ case 0:
27840
+ case 998:
27841
+ case 999:
27842
+ case 1000:
27843
+ case 1001:
27844
+ case 1:
27845
+ case 2:
27846
+ case 99997:
27847
+ case 99998:
27848
+ case 99999:
27849
+ case 2147483647:
27850
+ break;
27851
+ }
27852
+ if (message.features != null && message.hasOwnProperty("features")) {
27853
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
27854
+ if (error)
27855
+ return "features." + error;
27856
+ }
27857
+ return null;
27858
+ };
27859
+
27860
+ /**
27861
+ * Creates a FeatureSetEditionDefault message from a plain object. Also converts values to their respective internal types.
27862
+ * @function fromObject
27863
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27864
+ * @static
27865
+ * @param {Object.<string,*>} object Plain object
27866
+ * @returns {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} FeatureSetEditionDefault
27867
+ */
27868
+ FeatureSetEditionDefault.fromObject = function fromObject(object) {
27869
+ if (object instanceof $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault)
27870
+ return object;
27871
+ var message = new $root.google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault();
27872
+ switch (object.edition) {
27873
+ default:
27874
+ if (typeof object.edition === "number") {
27875
+ message.edition = object.edition;
27876
+ break;
27877
+ }
27878
+ break;
27879
+ case "EDITION_UNKNOWN":
27880
+ case 0:
27881
+ message.edition = 0;
27882
+ break;
27883
+ case "EDITION_PROTO2":
27884
+ case 998:
27885
+ message.edition = 998;
27886
+ break;
27887
+ case "EDITION_PROTO3":
27888
+ case 999:
27889
+ message.edition = 999;
27890
+ break;
27891
+ case "EDITION_2023":
27892
+ case 1000:
27893
+ message.edition = 1000;
27894
+ break;
27895
+ case "EDITION_2024":
27896
+ case 1001:
27897
+ message.edition = 1001;
27898
+ break;
27899
+ case "EDITION_1_TEST_ONLY":
27900
+ case 1:
27901
+ message.edition = 1;
27902
+ break;
27903
+ case "EDITION_2_TEST_ONLY":
27904
+ case 2:
27905
+ message.edition = 2;
27906
+ break;
27907
+ case "EDITION_99997_TEST_ONLY":
27908
+ case 99997:
27909
+ message.edition = 99997;
27910
+ break;
27911
+ case "EDITION_99998_TEST_ONLY":
27912
+ case 99998:
27913
+ message.edition = 99998;
27914
+ break;
27915
+ case "EDITION_99999_TEST_ONLY":
27916
+ case 99999:
27917
+ message.edition = 99999;
27918
+ break;
27919
+ case "EDITION_MAX":
27920
+ case 2147483647:
27921
+ message.edition = 2147483647;
27922
+ break;
27923
+ }
27924
+ if (object.features != null) {
27925
+ if (typeof object.features !== "object")
27926
+ throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
27927
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
27928
+ }
27929
+ return message;
27930
+ };
27931
+
27932
+ /**
27933
+ * Creates a plain object from a FeatureSetEditionDefault message. Also converts values to other types if specified.
27934
+ * @function toObject
27935
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27936
+ * @static
27937
+ * @param {google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault} message FeatureSetEditionDefault
27938
+ * @param {$protobuf.IConversionOptions} [options] Conversion options
27939
+ * @returns {Object.<string,*>} Plain object
27940
+ */
27941
+ FeatureSetEditionDefault.toObject = function toObject(message, options) {
27942
+ if (!options)
27943
+ options = {};
27944
+ var object = {};
27945
+ if (options.defaults) {
27946
+ object.features = null;
27947
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
27948
+ }
27949
+ if (message.features != null && message.hasOwnProperty("features"))
27950
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
27951
+ if (message.edition != null && message.hasOwnProperty("edition"))
27952
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
27953
+ return object;
27954
+ };
27955
+
27956
+ /**
27957
+ * Converts this FeatureSetEditionDefault to JSON.
27958
+ * @function toJSON
27959
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27960
+ * @instance
27961
+ * @returns {Object.<string,*>} JSON object
27962
+ */
27963
+ FeatureSetEditionDefault.prototype.toJSON = function toJSON() {
27964
+ return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
27965
+ };
27966
+
27967
+ /**
27968
+ * Gets the default type url for FeatureSetEditionDefault
27969
+ * @function getTypeUrl
27970
+ * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
27971
+ * @static
27972
+ * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
27973
+ * @returns {string} The default type url
27974
+ */
27975
+ FeatureSetEditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
27976
+ if (typeUrlPrefix === undefined) {
27977
+ typeUrlPrefix = "type.googleapis.com";
27978
+ }
27979
+ return typeUrlPrefix + "/google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault";
27980
+ };
27981
+
27982
+ return FeatureSetEditionDefault;
27983
+ })();
27984
+
27985
+ return FeatureSetDefaults;
27986
+ })();
27987
+
27143
27988
  protobuf.SourceCodeInfo = (function() {
27144
27989
 
27145
27990
  /**