@google-apps/chat 0.18.0 → 0.19.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.
@@ -2161,7 +2161,6 @@
2161
2161
  * @name google.protobuf.Edition
2162
2162
  * @enum {number}
2163
2163
  * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
2164
- * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
2165
2164
  * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
2166
2165
  * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
2167
2166
  * @property {number} EDITION_2023=1000 EDITION_2023 value
@@ -2176,7 +2175,6 @@
2176
2175
  protobuf.Edition = (function() {
2177
2176
  var valuesById = {}, values = Object.create(valuesById);
2178
2177
  values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
2179
- values[valuesById[900] = "EDITION_LEGACY"] = 900;
2180
2178
  values[valuesById[998] = "EDITION_PROTO2"] = 998;
2181
2179
  values[valuesById[999] = "EDITION_PROTO3"] = 999;
2182
2180
  values[valuesById[1000] = "EDITION_2023"] = 1000;
@@ -2201,7 +2199,6 @@
2201
2199
  * @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
2202
2200
  * @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
2203
2201
  * @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
2204
- * @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
2205
2202
  * @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
2206
2203
  * @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
2207
2204
  * @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
@@ -2224,7 +2221,6 @@
2224
2221
  this.dependency = [];
2225
2222
  this.publicDependency = [];
2226
2223
  this.weakDependency = [];
2227
- this.optionDependency = [];
2228
2224
  this.messageType = [];
2229
2225
  this.enumType = [];
2230
2226
  this.service = [];
@@ -2275,14 +2271,6 @@
2275
2271
  */
2276
2272
  FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
2277
2273
 
2278
- /**
2279
- * FileDescriptorProto optionDependency.
2280
- * @member {Array.<string>} optionDependency
2281
- * @memberof google.protobuf.FileDescriptorProto
2282
- * @instance
2283
- */
2284
- FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
2285
-
2286
2274
  /**
2287
2275
  * FileDescriptorProto messageType.
2288
2276
  * @member {Array.<google.protobuf.IDescriptorProto>} messageType
@@ -2404,9 +2392,6 @@
2404
2392
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
2405
2393
  if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
2406
2394
  writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
2407
- if (message.optionDependency != null && message.optionDependency.length)
2408
- for (var i = 0; i < message.optionDependency.length; ++i)
2409
- writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
2410
2395
  return writer;
2411
2396
  };
2412
2397
 
@@ -2479,12 +2464,6 @@
2479
2464
  message.weakDependency.push(reader.int32());
2480
2465
  break;
2481
2466
  }
2482
- case 15: {
2483
- if (!(message.optionDependency && message.optionDependency.length))
2484
- message.optionDependency = [];
2485
- message.optionDependency.push(reader.string());
2486
- break;
2487
- }
2488
2467
  case 4: {
2489
2468
  if (!(message.messageType && message.messageType.length))
2490
2469
  message.messageType = [];
@@ -2587,13 +2566,6 @@
2587
2566
  if (!$util.isInteger(message.weakDependency[i]))
2588
2567
  return "weakDependency: integer[] expected";
2589
2568
  }
2590
- if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
2591
- if (!Array.isArray(message.optionDependency))
2592
- return "optionDependency: array expected";
2593
- for (var i = 0; i < message.optionDependency.length; ++i)
2594
- if (!$util.isString(message.optionDependency[i]))
2595
- return "optionDependency: string[] expected";
2596
- }
2597
2569
  if (message.messageType != null && message.hasOwnProperty("messageType")) {
2598
2570
  if (!Array.isArray(message.messageType))
2599
2571
  return "messageType: array expected";
@@ -2648,7 +2620,6 @@
2648
2620
  default:
2649
2621
  return "edition: enum value expected";
2650
2622
  case 0:
2651
- case 900:
2652
2623
  case 998:
2653
2624
  case 999:
2654
2625
  case 1000:
@@ -2701,13 +2672,6 @@
2701
2672
  for (var i = 0; i < object.weakDependency.length; ++i)
2702
2673
  message.weakDependency[i] = object.weakDependency[i] | 0;
2703
2674
  }
2704
- if (object.optionDependency) {
2705
- if (!Array.isArray(object.optionDependency))
2706
- throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
2707
- message.optionDependency = [];
2708
- for (var i = 0; i < object.optionDependency.length; ++i)
2709
- message.optionDependency[i] = String(object.optionDependency[i]);
2710
- }
2711
2675
  if (object.messageType) {
2712
2676
  if (!Array.isArray(object.messageType))
2713
2677
  throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
@@ -2771,10 +2735,6 @@
2771
2735
  case 0:
2772
2736
  message.edition = 0;
2773
2737
  break;
2774
- case "EDITION_LEGACY":
2775
- case 900:
2776
- message.edition = 900;
2777
- break;
2778
2738
  case "EDITION_PROTO2":
2779
2739
  case 998:
2780
2740
  message.edition = 998;
@@ -2840,7 +2800,6 @@
2840
2800
  object.extension = [];
2841
2801
  object.publicDependency = [];
2842
2802
  object.weakDependency = [];
2843
- object.optionDependency = [];
2844
2803
  }
2845
2804
  if (options.defaults) {
2846
2805
  object.name = "";
@@ -2897,11 +2856,6 @@
2897
2856
  object.syntax = message.syntax;
2898
2857
  if (message.edition != null && message.hasOwnProperty("edition"))
2899
2858
  object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
2900
- if (message.optionDependency && message.optionDependency.length) {
2901
- object.optionDependency = [];
2902
- for (var j = 0; j < message.optionDependency.length; ++j)
2903
- object.optionDependency[j] = message.optionDependency[j];
2904
- }
2905
2859
  return object;
2906
2860
  };
2907
2861
 
@@ -2950,7 +2904,6 @@
2950
2904
  * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
2951
2905
  * @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
2952
2906
  * @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
2953
- * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
2954
2907
  */
2955
2908
 
2956
2909
  /**
@@ -3056,14 +3009,6 @@
3056
3009
  */
3057
3010
  DescriptorProto.prototype.reservedName = $util.emptyArray;
3058
3011
 
3059
- /**
3060
- * DescriptorProto visibility.
3061
- * @member {google.protobuf.SymbolVisibility} visibility
3062
- * @memberof google.protobuf.DescriptorProto
3063
- * @instance
3064
- */
3065
- DescriptorProto.prototype.visibility = 0;
3066
-
3067
3012
  /**
3068
3013
  * Creates a new DescriptorProto instance using the specified properties.
3069
3014
  * @function create
@@ -3116,8 +3061,6 @@
3116
3061
  if (message.reservedName != null && message.reservedName.length)
3117
3062
  for (var i = 0; i < message.reservedName.length; ++i)
3118
3063
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
3119
- if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
3120
- writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
3121
3064
  return writer;
3122
3065
  };
3123
3066
 
@@ -3210,10 +3153,6 @@
3210
3153
  message.reservedName.push(reader.string());
3211
3154
  break;
3212
3155
  }
3213
- case 11: {
3214
- message.visibility = reader.int32();
3215
- break;
3216
- }
3217
3156
  default:
3218
3157
  reader.skipType(tag & 7);
3219
3158
  break;
@@ -3327,15 +3266,6 @@
3327
3266
  if (!$util.isString(message.reservedName[i]))
3328
3267
  return "reservedName: string[] expected";
3329
3268
  }
3330
- if (message.visibility != null && message.hasOwnProperty("visibility"))
3331
- switch (message.visibility) {
3332
- default:
3333
- return "visibility: enum value expected";
3334
- case 0:
3335
- case 1:
3336
- case 2:
3337
- break;
3338
- }
3339
3269
  return null;
3340
3270
  };
3341
3271
 
@@ -3435,26 +3365,6 @@
3435
3365
  for (var i = 0; i < object.reservedName.length; ++i)
3436
3366
  message.reservedName[i] = String(object.reservedName[i]);
3437
3367
  }
3438
- switch (object.visibility) {
3439
- default:
3440
- if (typeof object.visibility === "number") {
3441
- message.visibility = object.visibility;
3442
- break;
3443
- }
3444
- break;
3445
- case "VISIBILITY_UNSET":
3446
- case 0:
3447
- message.visibility = 0;
3448
- break;
3449
- case "VISIBILITY_LOCAL":
3450
- case 1:
3451
- message.visibility = 1;
3452
- break;
3453
- case "VISIBILITY_EXPORT":
3454
- case 2:
3455
- message.visibility = 2;
3456
- break;
3457
- }
3458
3368
  return message;
3459
3369
  };
3460
3370
 
@@ -3484,7 +3394,6 @@
3484
3394
  if (options.defaults) {
3485
3395
  object.name = "";
3486
3396
  object.options = null;
3487
- object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
3488
3397
  }
3489
3398
  if (message.name != null && message.hasOwnProperty("name"))
3490
3399
  object.name = message.name;
@@ -3530,8 +3439,6 @@
3530
3439
  for (var j = 0; j < message.reservedName.length; ++j)
3531
3440
  object.reservedName[j] = message.reservedName[j];
3532
3441
  }
3533
- if (message.visibility != null && message.hasOwnProperty("visibility"))
3534
- object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
3535
3442
  return object;
3536
3443
  };
3537
3444
 
@@ -5576,7 +5483,6 @@
5576
5483
  * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
5577
5484
  * @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
5578
5485
  * @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
5579
- * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
5580
5486
  */
5581
5487
 
5582
5488
  /**
@@ -5637,14 +5543,6 @@
5637
5543
  */
5638
5544
  EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
5639
5545
 
5640
- /**
5641
- * EnumDescriptorProto visibility.
5642
- * @member {google.protobuf.SymbolVisibility} visibility
5643
- * @memberof google.protobuf.EnumDescriptorProto
5644
- * @instance
5645
- */
5646
- EnumDescriptorProto.prototype.visibility = 0;
5647
-
5648
5546
  /**
5649
5547
  * Creates a new EnumDescriptorProto instance using the specified properties.
5650
5548
  * @function create
@@ -5682,8 +5580,6 @@
5682
5580
  if (message.reservedName != null && message.reservedName.length)
5683
5581
  for (var i = 0; i < message.reservedName.length; ++i)
5684
5582
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
5685
- if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
5686
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
5687
5583
  return writer;
5688
5584
  };
5689
5585
 
@@ -5746,10 +5642,6 @@
5746
5642
  message.reservedName.push(reader.string());
5747
5643
  break;
5748
5644
  }
5749
- case 6: {
5750
- message.visibility = reader.int32();
5751
- break;
5752
- }
5753
5645
  default:
5754
5646
  reader.skipType(tag & 7);
5755
5647
  break;
@@ -5818,15 +5710,6 @@
5818
5710
  if (!$util.isString(message.reservedName[i]))
5819
5711
  return "reservedName: string[] expected";
5820
5712
  }
5821
- if (message.visibility != null && message.hasOwnProperty("visibility"))
5822
- switch (message.visibility) {
5823
- default:
5824
- return "visibility: enum value expected";
5825
- case 0:
5826
- case 1:
5827
- case 2:
5828
- break;
5829
- }
5830
5713
  return null;
5831
5714
  };
5832
5715
 
@@ -5876,26 +5759,6 @@
5876
5759
  for (var i = 0; i < object.reservedName.length; ++i)
5877
5760
  message.reservedName[i] = String(object.reservedName[i]);
5878
5761
  }
5879
- switch (object.visibility) {
5880
- default:
5881
- if (typeof object.visibility === "number") {
5882
- message.visibility = object.visibility;
5883
- break;
5884
- }
5885
- break;
5886
- case "VISIBILITY_UNSET":
5887
- case 0:
5888
- message.visibility = 0;
5889
- break;
5890
- case "VISIBILITY_LOCAL":
5891
- case 1:
5892
- message.visibility = 1;
5893
- break;
5894
- case "VISIBILITY_EXPORT":
5895
- case 2:
5896
- message.visibility = 2;
5897
- break;
5898
- }
5899
5762
  return message;
5900
5763
  };
5901
5764
 
@@ -5920,7 +5783,6 @@
5920
5783
  if (options.defaults) {
5921
5784
  object.name = "";
5922
5785
  object.options = null;
5923
- object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
5924
5786
  }
5925
5787
  if (message.name != null && message.hasOwnProperty("name"))
5926
5788
  object.name = message.name;
@@ -5941,8 +5803,6 @@
5941
5803
  for (var j = 0; j < message.reservedName.length; ++j)
5942
5804
  object.reservedName[j] = message.reservedName[j];
5943
5805
  }
5944
- if (message.visibility != null && message.hasOwnProperty("visibility"))
5945
- object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
5946
5806
  return object;
5947
5807
  };
5948
5808
 
@@ -8261,7 +8121,6 @@
8261
8121
  * @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
8262
8122
  * @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
8263
8123
  * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
8264
- * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
8265
8124
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
8266
8125
  * @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
8267
8126
  * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
@@ -8383,14 +8242,6 @@
8383
8242
  */
8384
8243
  FieldOptions.prototype.features = null;
8385
8244
 
8386
- /**
8387
- * FieldOptions featureSupport.
8388
- * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
8389
- * @memberof google.protobuf.FieldOptions
8390
- * @instance
8391
- */
8392
- FieldOptions.prototype.featureSupport = null;
8393
-
8394
8245
  /**
8395
8246
  * FieldOptions uninterpretedOption.
8396
8247
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -8473,8 +8324,6 @@
8473
8324
  $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
8474
8325
  if (message.features != null && Object.hasOwnProperty.call(message, "features"))
8475
8326
  $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
8476
- if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
8477
- $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
8478
8327
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
8479
8328
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
8480
8329
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -8578,10 +8427,6 @@
8578
8427
  message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
8579
8428
  break;
8580
8429
  }
8581
- case 22: {
8582
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
8583
- break;
8584
- }
8585
8430
  case 999: {
8586
8431
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
8587
8432
  message.uninterpretedOption = [];
@@ -8721,11 +8566,6 @@
8721
8566
  if (error)
8722
8567
  return "features." + error;
8723
8568
  }
8724
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
8725
- var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
8726
- if (error)
8727
- return "featureSupport." + error;
8728
- }
8729
8569
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
8730
8570
  if (!Array.isArray(message.uninterpretedOption))
8731
8571
  return "uninterpretedOption: array expected";
@@ -8919,11 +8759,6 @@
8919
8759
  throw TypeError(".google.protobuf.FieldOptions.features: object expected");
8920
8760
  message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
8921
8761
  }
8922
- if (object.featureSupport != null) {
8923
- if (typeof object.featureSupport !== "object")
8924
- throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
8925
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
8926
- }
8927
8762
  if (object.uninterpretedOption) {
8928
8763
  if (!Array.isArray(object.uninterpretedOption))
8929
8764
  throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
@@ -9026,7 +8861,6 @@
9026
8861
  object.debugRedact = false;
9027
8862
  object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
9028
8863
  object.features = null;
9029
- object.featureSupport = null;
9030
8864
  object[".google.api.resourceReference"] = null;
9031
8865
  object[".google.api.fieldInfo"] = null;
9032
8866
  }
@@ -9060,8 +8894,6 @@
9060
8894
  }
9061
8895
  if (message.features != null && message.hasOwnProperty("features"))
9062
8896
  object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
9063
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
9064
- object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
9065
8897
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
9066
8898
  object.uninterpretedOption = [];
9067
8899
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -9336,7 +9168,6 @@
9336
9168
  default:
9337
9169
  return "edition: enum value expected";
9338
9170
  case 0:
9339
- case 900:
9340
9171
  case 998:
9341
9172
  case 999:
9342
9173
  case 1000:
@@ -9378,10 +9209,6 @@
9378
9209
  case 0:
9379
9210
  message.edition = 0;
9380
9211
  break;
9381
- case "EDITION_LEGACY":
9382
- case 900:
9383
- message.edition = 900;
9384
- break;
9385
9212
  case "EDITION_PROTO2":
9386
9213
  case 998:
9387
9214
  message.edition = 998;
@@ -9481,488 +9308,6 @@
9481
9308
  return EditionDefault;
9482
9309
  })();
9483
9310
 
9484
- FieldOptions.FeatureSupport = (function() {
9485
-
9486
- /**
9487
- * Properties of a FeatureSupport.
9488
- * @memberof google.protobuf.FieldOptions
9489
- * @interface IFeatureSupport
9490
- * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
9491
- * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
9492
- * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
9493
- * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
9494
- */
9495
-
9496
- /**
9497
- * Constructs a new FeatureSupport.
9498
- * @memberof google.protobuf.FieldOptions
9499
- * @classdesc Represents a FeatureSupport.
9500
- * @implements IFeatureSupport
9501
- * @constructor
9502
- * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
9503
- */
9504
- function FeatureSupport(properties) {
9505
- if (properties)
9506
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
9507
- if (properties[keys[i]] != null)
9508
- this[keys[i]] = properties[keys[i]];
9509
- }
9510
-
9511
- /**
9512
- * FeatureSupport editionIntroduced.
9513
- * @member {google.protobuf.Edition} editionIntroduced
9514
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9515
- * @instance
9516
- */
9517
- FeatureSupport.prototype.editionIntroduced = 0;
9518
-
9519
- /**
9520
- * FeatureSupport editionDeprecated.
9521
- * @member {google.protobuf.Edition} editionDeprecated
9522
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9523
- * @instance
9524
- */
9525
- FeatureSupport.prototype.editionDeprecated = 0;
9526
-
9527
- /**
9528
- * FeatureSupport deprecationWarning.
9529
- * @member {string} deprecationWarning
9530
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9531
- * @instance
9532
- */
9533
- FeatureSupport.prototype.deprecationWarning = "";
9534
-
9535
- /**
9536
- * FeatureSupport editionRemoved.
9537
- * @member {google.protobuf.Edition} editionRemoved
9538
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9539
- * @instance
9540
- */
9541
- FeatureSupport.prototype.editionRemoved = 0;
9542
-
9543
- /**
9544
- * Creates a new FeatureSupport instance using the specified properties.
9545
- * @function create
9546
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9547
- * @static
9548
- * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
9549
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
9550
- */
9551
- FeatureSupport.create = function create(properties) {
9552
- return new FeatureSupport(properties);
9553
- };
9554
-
9555
- /**
9556
- * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
9557
- * @function encode
9558
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9559
- * @static
9560
- * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
9561
- * @param {$protobuf.Writer} [writer] Writer to encode to
9562
- * @returns {$protobuf.Writer} Writer
9563
- */
9564
- FeatureSupport.encode = function encode(message, writer) {
9565
- if (!writer)
9566
- writer = $Writer.create();
9567
- if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
9568
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
9569
- if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
9570
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
9571
- if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
9572
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
9573
- if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
9574
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
9575
- return writer;
9576
- };
9577
-
9578
- /**
9579
- * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
9580
- * @function encodeDelimited
9581
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9582
- * @static
9583
- * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
9584
- * @param {$protobuf.Writer} [writer] Writer to encode to
9585
- * @returns {$protobuf.Writer} Writer
9586
- */
9587
- FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
9588
- return this.encode(message, writer).ldelim();
9589
- };
9590
-
9591
- /**
9592
- * Decodes a FeatureSupport message from the specified reader or buffer.
9593
- * @function decode
9594
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9595
- * @static
9596
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9597
- * @param {number} [length] Message length if known beforehand
9598
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
9599
- * @throws {Error} If the payload is not a reader or valid buffer
9600
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9601
- */
9602
- FeatureSupport.decode = function decode(reader, length, error) {
9603
- if (!(reader instanceof $Reader))
9604
- reader = $Reader.create(reader);
9605
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
9606
- while (reader.pos < end) {
9607
- var tag = reader.uint32();
9608
- if (tag === error)
9609
- break;
9610
- switch (tag >>> 3) {
9611
- case 1: {
9612
- message.editionIntroduced = reader.int32();
9613
- break;
9614
- }
9615
- case 2: {
9616
- message.editionDeprecated = reader.int32();
9617
- break;
9618
- }
9619
- case 3: {
9620
- message.deprecationWarning = reader.string();
9621
- break;
9622
- }
9623
- case 4: {
9624
- message.editionRemoved = reader.int32();
9625
- break;
9626
- }
9627
- default:
9628
- reader.skipType(tag & 7);
9629
- break;
9630
- }
9631
- }
9632
- return message;
9633
- };
9634
-
9635
- /**
9636
- * Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
9637
- * @function decodeDelimited
9638
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9639
- * @static
9640
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
9641
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
9642
- * @throws {Error} If the payload is not a reader or valid buffer
9643
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
9644
- */
9645
- FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
9646
- if (!(reader instanceof $Reader))
9647
- reader = new $Reader(reader);
9648
- return this.decode(reader, reader.uint32());
9649
- };
9650
-
9651
- /**
9652
- * Verifies a FeatureSupport message.
9653
- * @function verify
9654
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9655
- * @static
9656
- * @param {Object.<string,*>} message Plain object to verify
9657
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
9658
- */
9659
- FeatureSupport.verify = function verify(message) {
9660
- if (typeof message !== "object" || message === null)
9661
- return "object expected";
9662
- if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
9663
- switch (message.editionIntroduced) {
9664
- default:
9665
- return "editionIntroduced: enum value expected";
9666
- case 0:
9667
- case 900:
9668
- case 998:
9669
- case 999:
9670
- case 1000:
9671
- case 1001:
9672
- case 1:
9673
- case 2:
9674
- case 99997:
9675
- case 99998:
9676
- case 99999:
9677
- case 2147483647:
9678
- break;
9679
- }
9680
- if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
9681
- switch (message.editionDeprecated) {
9682
- default:
9683
- return "editionDeprecated: enum value expected";
9684
- case 0:
9685
- case 900:
9686
- case 998:
9687
- case 999:
9688
- case 1000:
9689
- case 1001:
9690
- case 1:
9691
- case 2:
9692
- case 99997:
9693
- case 99998:
9694
- case 99999:
9695
- case 2147483647:
9696
- break;
9697
- }
9698
- if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
9699
- if (!$util.isString(message.deprecationWarning))
9700
- return "deprecationWarning: string expected";
9701
- if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
9702
- switch (message.editionRemoved) {
9703
- default:
9704
- return "editionRemoved: enum value expected";
9705
- case 0:
9706
- case 900:
9707
- case 998:
9708
- case 999:
9709
- case 1000:
9710
- case 1001:
9711
- case 1:
9712
- case 2:
9713
- case 99997:
9714
- case 99998:
9715
- case 99999:
9716
- case 2147483647:
9717
- break;
9718
- }
9719
- return null;
9720
- };
9721
-
9722
- /**
9723
- * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
9724
- * @function fromObject
9725
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9726
- * @static
9727
- * @param {Object.<string,*>} object Plain object
9728
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
9729
- */
9730
- FeatureSupport.fromObject = function fromObject(object) {
9731
- if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
9732
- return object;
9733
- var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
9734
- switch (object.editionIntroduced) {
9735
- default:
9736
- if (typeof object.editionIntroduced === "number") {
9737
- message.editionIntroduced = object.editionIntroduced;
9738
- break;
9739
- }
9740
- break;
9741
- case "EDITION_UNKNOWN":
9742
- case 0:
9743
- message.editionIntroduced = 0;
9744
- break;
9745
- case "EDITION_LEGACY":
9746
- case 900:
9747
- message.editionIntroduced = 900;
9748
- break;
9749
- case "EDITION_PROTO2":
9750
- case 998:
9751
- message.editionIntroduced = 998;
9752
- break;
9753
- case "EDITION_PROTO3":
9754
- case 999:
9755
- message.editionIntroduced = 999;
9756
- break;
9757
- case "EDITION_2023":
9758
- case 1000:
9759
- message.editionIntroduced = 1000;
9760
- break;
9761
- case "EDITION_2024":
9762
- case 1001:
9763
- message.editionIntroduced = 1001;
9764
- break;
9765
- case "EDITION_1_TEST_ONLY":
9766
- case 1:
9767
- message.editionIntroduced = 1;
9768
- break;
9769
- case "EDITION_2_TEST_ONLY":
9770
- case 2:
9771
- message.editionIntroduced = 2;
9772
- break;
9773
- case "EDITION_99997_TEST_ONLY":
9774
- case 99997:
9775
- message.editionIntroduced = 99997;
9776
- break;
9777
- case "EDITION_99998_TEST_ONLY":
9778
- case 99998:
9779
- message.editionIntroduced = 99998;
9780
- break;
9781
- case "EDITION_99999_TEST_ONLY":
9782
- case 99999:
9783
- message.editionIntroduced = 99999;
9784
- break;
9785
- case "EDITION_MAX":
9786
- case 2147483647:
9787
- message.editionIntroduced = 2147483647;
9788
- break;
9789
- }
9790
- switch (object.editionDeprecated) {
9791
- default:
9792
- if (typeof object.editionDeprecated === "number") {
9793
- message.editionDeprecated = object.editionDeprecated;
9794
- break;
9795
- }
9796
- break;
9797
- case "EDITION_UNKNOWN":
9798
- case 0:
9799
- message.editionDeprecated = 0;
9800
- break;
9801
- case "EDITION_LEGACY":
9802
- case 900:
9803
- message.editionDeprecated = 900;
9804
- break;
9805
- case "EDITION_PROTO2":
9806
- case 998:
9807
- message.editionDeprecated = 998;
9808
- break;
9809
- case "EDITION_PROTO3":
9810
- case 999:
9811
- message.editionDeprecated = 999;
9812
- break;
9813
- case "EDITION_2023":
9814
- case 1000:
9815
- message.editionDeprecated = 1000;
9816
- break;
9817
- case "EDITION_2024":
9818
- case 1001:
9819
- message.editionDeprecated = 1001;
9820
- break;
9821
- case "EDITION_1_TEST_ONLY":
9822
- case 1:
9823
- message.editionDeprecated = 1;
9824
- break;
9825
- case "EDITION_2_TEST_ONLY":
9826
- case 2:
9827
- message.editionDeprecated = 2;
9828
- break;
9829
- case "EDITION_99997_TEST_ONLY":
9830
- case 99997:
9831
- message.editionDeprecated = 99997;
9832
- break;
9833
- case "EDITION_99998_TEST_ONLY":
9834
- case 99998:
9835
- message.editionDeprecated = 99998;
9836
- break;
9837
- case "EDITION_99999_TEST_ONLY":
9838
- case 99999:
9839
- message.editionDeprecated = 99999;
9840
- break;
9841
- case "EDITION_MAX":
9842
- case 2147483647:
9843
- message.editionDeprecated = 2147483647;
9844
- break;
9845
- }
9846
- if (object.deprecationWarning != null)
9847
- message.deprecationWarning = String(object.deprecationWarning);
9848
- switch (object.editionRemoved) {
9849
- default:
9850
- if (typeof object.editionRemoved === "number") {
9851
- message.editionRemoved = object.editionRemoved;
9852
- break;
9853
- }
9854
- break;
9855
- case "EDITION_UNKNOWN":
9856
- case 0:
9857
- message.editionRemoved = 0;
9858
- break;
9859
- case "EDITION_LEGACY":
9860
- case 900:
9861
- message.editionRemoved = 900;
9862
- break;
9863
- case "EDITION_PROTO2":
9864
- case 998:
9865
- message.editionRemoved = 998;
9866
- break;
9867
- case "EDITION_PROTO3":
9868
- case 999:
9869
- message.editionRemoved = 999;
9870
- break;
9871
- case "EDITION_2023":
9872
- case 1000:
9873
- message.editionRemoved = 1000;
9874
- break;
9875
- case "EDITION_2024":
9876
- case 1001:
9877
- message.editionRemoved = 1001;
9878
- break;
9879
- case "EDITION_1_TEST_ONLY":
9880
- case 1:
9881
- message.editionRemoved = 1;
9882
- break;
9883
- case "EDITION_2_TEST_ONLY":
9884
- case 2:
9885
- message.editionRemoved = 2;
9886
- break;
9887
- case "EDITION_99997_TEST_ONLY":
9888
- case 99997:
9889
- message.editionRemoved = 99997;
9890
- break;
9891
- case "EDITION_99998_TEST_ONLY":
9892
- case 99998:
9893
- message.editionRemoved = 99998;
9894
- break;
9895
- case "EDITION_99999_TEST_ONLY":
9896
- case 99999:
9897
- message.editionRemoved = 99999;
9898
- break;
9899
- case "EDITION_MAX":
9900
- case 2147483647:
9901
- message.editionRemoved = 2147483647;
9902
- break;
9903
- }
9904
- return message;
9905
- };
9906
-
9907
- /**
9908
- * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
9909
- * @function toObject
9910
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9911
- * @static
9912
- * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport
9913
- * @param {$protobuf.IConversionOptions} [options] Conversion options
9914
- * @returns {Object.<string,*>} Plain object
9915
- */
9916
- FeatureSupport.toObject = function toObject(message, options) {
9917
- if (!options)
9918
- options = {};
9919
- var object = {};
9920
- if (options.defaults) {
9921
- object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0;
9922
- object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0;
9923
- object.deprecationWarning = "";
9924
- object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
9925
- }
9926
- if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
9927
- object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced;
9928
- if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
9929
- object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
9930
- if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
9931
- object.deprecationWarning = message.deprecationWarning;
9932
- if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
9933
- object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
9934
- return object;
9935
- };
9936
-
9937
- /**
9938
- * Converts this FeatureSupport to JSON.
9939
- * @function toJSON
9940
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9941
- * @instance
9942
- * @returns {Object.<string,*>} JSON object
9943
- */
9944
- FeatureSupport.prototype.toJSON = function toJSON() {
9945
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
9946
- };
9947
-
9948
- /**
9949
- * Gets the default type url for FeatureSupport
9950
- * @function getTypeUrl
9951
- * @memberof google.protobuf.FieldOptions.FeatureSupport
9952
- * @static
9953
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
9954
- * @returns {string} The default type url
9955
- */
9956
- FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
9957
- if (typeUrlPrefix === undefined) {
9958
- typeUrlPrefix = "type.googleapis.com";
9959
- }
9960
- return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport";
9961
- };
9962
-
9963
- return FeatureSupport;
9964
- })();
9965
-
9966
9311
  return FieldOptions;
9967
9312
  })();
9968
9313
 
@@ -10555,7 +9900,6 @@
10555
9900
  * @property {boolean|null} [deprecated] EnumValueOptions deprecated
10556
9901
  * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
10557
9902
  * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
10558
- * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
10559
9903
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
10560
9904
  */
10561
9905
 
@@ -10599,14 +9943,6 @@
10599
9943
  */
10600
9944
  EnumValueOptions.prototype.debugRedact = false;
10601
9945
 
10602
- /**
10603
- * EnumValueOptions featureSupport.
10604
- * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
10605
- * @memberof google.protobuf.EnumValueOptions
10606
- * @instance
10607
- */
10608
- EnumValueOptions.prototype.featureSupport = null;
10609
-
10610
9946
  /**
10611
9947
  * EnumValueOptions uninterpretedOption.
10612
9948
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -10645,8 +9981,6 @@
10645
9981
  $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
10646
9982
  if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
10647
9983
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
10648
- if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
10649
- $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
10650
9984
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
10651
9985
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
10652
9986
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -10698,10 +10032,6 @@
10698
10032
  message.debugRedact = reader.bool();
10699
10033
  break;
10700
10034
  }
10701
- case 4: {
10702
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
10703
- break;
10704
- }
10705
10035
  case 999: {
10706
10036
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
10707
10037
  message.uninterpretedOption = [];
@@ -10754,11 +10084,6 @@
10754
10084
  if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
10755
10085
  if (typeof message.debugRedact !== "boolean")
10756
10086
  return "debugRedact: boolean expected";
10757
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
10758
- var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
10759
- if (error)
10760
- return "featureSupport." + error;
10761
- }
10762
10087
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
10763
10088
  if (!Array.isArray(message.uninterpretedOption))
10764
10089
  return "uninterpretedOption: array expected";
@@ -10792,11 +10117,6 @@
10792
10117
  }
10793
10118
  if (object.debugRedact != null)
10794
10119
  message.debugRedact = Boolean(object.debugRedact);
10795
- if (object.featureSupport != null) {
10796
- if (typeof object.featureSupport !== "object")
10797
- throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
10798
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
10799
- }
10800
10120
  if (object.uninterpretedOption) {
10801
10121
  if (!Array.isArray(object.uninterpretedOption))
10802
10122
  throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
@@ -10829,7 +10149,6 @@
10829
10149
  object.deprecated = false;
10830
10150
  object.features = null;
10831
10151
  object.debugRedact = false;
10832
- object.featureSupport = null;
10833
10152
  }
10834
10153
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
10835
10154
  object.deprecated = message.deprecated;
@@ -10837,8 +10156,6 @@
10837
10156
  object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
10838
10157
  if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
10839
10158
  object.debugRedact = message.debugRedact;
10840
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
10841
- object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
10842
10159
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
10843
10160
  object.uninterpretedOption = [];
10844
10161
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -12278,8 +11595,6 @@
12278
11595
  * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
12279
11596
  * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
12280
11597
  * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
12281
- * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
12282
- * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
12283
11598
  */
12284
11599
 
12285
11600
  /**
@@ -12345,22 +11660,6 @@
12345
11660
  */
12346
11661
  FeatureSet.prototype.jsonFormat = 0;
12347
11662
 
12348
- /**
12349
- * FeatureSet enforceNamingStyle.
12350
- * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
12351
- * @memberof google.protobuf.FeatureSet
12352
- * @instance
12353
- */
12354
- FeatureSet.prototype.enforceNamingStyle = 0;
12355
-
12356
- /**
12357
- * FeatureSet defaultSymbolVisibility.
12358
- * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
12359
- * @memberof google.protobuf.FeatureSet
12360
- * @instance
12361
- */
12362
- FeatureSet.prototype.defaultSymbolVisibility = 0;
12363
-
12364
11663
  /**
12365
11664
  * Creates a new FeatureSet instance using the specified properties.
12366
11665
  * @function create
@@ -12397,10 +11696,6 @@
12397
11696
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
12398
11697
  if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
12399
11698
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
12400
- if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
12401
- writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
12402
- if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
12403
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
12404
11699
  return writer;
12405
11700
  };
12406
11701
 
@@ -12461,14 +11756,6 @@
12461
11756
  message.jsonFormat = reader.int32();
12462
11757
  break;
12463
11758
  }
12464
- case 7: {
12465
- message.enforceNamingStyle = reader.int32();
12466
- break;
12467
- }
12468
- case 8: {
12469
- message.defaultSymbolVisibility = reader.int32();
12470
- break;
12471
- }
12472
11759
  default:
12473
11760
  reader.skipType(tag & 7);
12474
11761
  break;
@@ -12559,26 +11846,6 @@
12559
11846
  case 2:
12560
11847
  break;
12561
11848
  }
12562
- if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
12563
- switch (message.enforceNamingStyle) {
12564
- default:
12565
- return "enforceNamingStyle: enum value expected";
12566
- case 0:
12567
- case 1:
12568
- case 2:
12569
- break;
12570
- }
12571
- if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
12572
- switch (message.defaultSymbolVisibility) {
12573
- default:
12574
- return "defaultSymbolVisibility: enum value expected";
12575
- case 0:
12576
- case 1:
12577
- case 2:
12578
- case 3:
12579
- case 4:
12580
- break;
12581
- }
12582
11849
  return null;
12583
11850
  };
12584
11851
 
@@ -12718,54 +11985,6 @@
12718
11985
  message.jsonFormat = 2;
12719
11986
  break;
12720
11987
  }
12721
- switch (object.enforceNamingStyle) {
12722
- default:
12723
- if (typeof object.enforceNamingStyle === "number") {
12724
- message.enforceNamingStyle = object.enforceNamingStyle;
12725
- break;
12726
- }
12727
- break;
12728
- case "ENFORCE_NAMING_STYLE_UNKNOWN":
12729
- case 0:
12730
- message.enforceNamingStyle = 0;
12731
- break;
12732
- case "STYLE2024":
12733
- case 1:
12734
- message.enforceNamingStyle = 1;
12735
- break;
12736
- case "STYLE_LEGACY":
12737
- case 2:
12738
- message.enforceNamingStyle = 2;
12739
- break;
12740
- }
12741
- switch (object.defaultSymbolVisibility) {
12742
- default:
12743
- if (typeof object.defaultSymbolVisibility === "number") {
12744
- message.defaultSymbolVisibility = object.defaultSymbolVisibility;
12745
- break;
12746
- }
12747
- break;
12748
- case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
12749
- case 0:
12750
- message.defaultSymbolVisibility = 0;
12751
- break;
12752
- case "EXPORT_ALL":
12753
- case 1:
12754
- message.defaultSymbolVisibility = 1;
12755
- break;
12756
- case "EXPORT_TOP_LEVEL":
12757
- case 2:
12758
- message.defaultSymbolVisibility = 2;
12759
- break;
12760
- case "LOCAL_ALL":
12761
- case 3:
12762
- message.defaultSymbolVisibility = 3;
12763
- break;
12764
- case "STRICT":
12765
- case 4:
12766
- message.defaultSymbolVisibility = 4;
12767
- break;
12768
- }
12769
11988
  return message;
12770
11989
  };
12771
11990
 
@@ -12789,8 +12008,6 @@
12789
12008
  object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
12790
12009
  object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
12791
12010
  object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
12792
- object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
12793
- object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
12794
12011
  }
12795
12012
  if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
12796
12013
  object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
@@ -12804,10 +12021,6 @@
12804
12021
  object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
12805
12022
  if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
12806
12023
  object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
12807
- if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
12808
- object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
12809
- if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
12810
- object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility;
12811
12024
  return object;
12812
12025
  };
12813
12026
 
@@ -12935,219 +12148,6 @@
12935
12148
  return values;
12936
12149
  })();
12937
12150
 
12938
- /**
12939
- * EnforceNamingStyle enum.
12940
- * @name google.protobuf.FeatureSet.EnforceNamingStyle
12941
- * @enum {number}
12942
- * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
12943
- * @property {number} STYLE2024=1 STYLE2024 value
12944
- * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
12945
- */
12946
- FeatureSet.EnforceNamingStyle = (function() {
12947
- var valuesById = {}, values = Object.create(valuesById);
12948
- values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
12949
- values[valuesById[1] = "STYLE2024"] = 1;
12950
- values[valuesById[2] = "STYLE_LEGACY"] = 2;
12951
- return values;
12952
- })();
12953
-
12954
- FeatureSet.VisibilityFeature = (function() {
12955
-
12956
- /**
12957
- * Properties of a VisibilityFeature.
12958
- * @memberof google.protobuf.FeatureSet
12959
- * @interface IVisibilityFeature
12960
- */
12961
-
12962
- /**
12963
- * Constructs a new VisibilityFeature.
12964
- * @memberof google.protobuf.FeatureSet
12965
- * @classdesc Represents a VisibilityFeature.
12966
- * @implements IVisibilityFeature
12967
- * @constructor
12968
- * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
12969
- */
12970
- function VisibilityFeature(properties) {
12971
- if (properties)
12972
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
12973
- if (properties[keys[i]] != null)
12974
- this[keys[i]] = properties[keys[i]];
12975
- }
12976
-
12977
- /**
12978
- * Creates a new VisibilityFeature instance using the specified properties.
12979
- * @function create
12980
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
12981
- * @static
12982
- * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
12983
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
12984
- */
12985
- VisibilityFeature.create = function create(properties) {
12986
- return new VisibilityFeature(properties);
12987
- };
12988
-
12989
- /**
12990
- * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
12991
- * @function encode
12992
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
12993
- * @static
12994
- * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
12995
- * @param {$protobuf.Writer} [writer] Writer to encode to
12996
- * @returns {$protobuf.Writer} Writer
12997
- */
12998
- VisibilityFeature.encode = function encode(message, writer) {
12999
- if (!writer)
13000
- writer = $Writer.create();
13001
- return writer;
13002
- };
13003
-
13004
- /**
13005
- * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
13006
- * @function encodeDelimited
13007
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13008
- * @static
13009
- * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
13010
- * @param {$protobuf.Writer} [writer] Writer to encode to
13011
- * @returns {$protobuf.Writer} Writer
13012
- */
13013
- VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
13014
- return this.encode(message, writer).ldelim();
13015
- };
13016
-
13017
- /**
13018
- * Decodes a VisibilityFeature message from the specified reader or buffer.
13019
- * @function decode
13020
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13021
- * @static
13022
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13023
- * @param {number} [length] Message length if known beforehand
13024
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
13025
- * @throws {Error} If the payload is not a reader or valid buffer
13026
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13027
- */
13028
- VisibilityFeature.decode = function decode(reader, length, error) {
13029
- if (!(reader instanceof $Reader))
13030
- reader = $Reader.create(reader);
13031
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
13032
- while (reader.pos < end) {
13033
- var tag = reader.uint32();
13034
- if (tag === error)
13035
- break;
13036
- switch (tag >>> 3) {
13037
- default:
13038
- reader.skipType(tag & 7);
13039
- break;
13040
- }
13041
- }
13042
- return message;
13043
- };
13044
-
13045
- /**
13046
- * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
13047
- * @function decodeDelimited
13048
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13049
- * @static
13050
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
13051
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
13052
- * @throws {Error} If the payload is not a reader or valid buffer
13053
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
13054
- */
13055
- VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
13056
- if (!(reader instanceof $Reader))
13057
- reader = new $Reader(reader);
13058
- return this.decode(reader, reader.uint32());
13059
- };
13060
-
13061
- /**
13062
- * Verifies a VisibilityFeature message.
13063
- * @function verify
13064
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13065
- * @static
13066
- * @param {Object.<string,*>} message Plain object to verify
13067
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
13068
- */
13069
- VisibilityFeature.verify = function verify(message) {
13070
- if (typeof message !== "object" || message === null)
13071
- return "object expected";
13072
- return null;
13073
- };
13074
-
13075
- /**
13076
- * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
13077
- * @function fromObject
13078
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13079
- * @static
13080
- * @param {Object.<string,*>} object Plain object
13081
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
13082
- */
13083
- VisibilityFeature.fromObject = function fromObject(object) {
13084
- if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
13085
- return object;
13086
- return new $root.google.protobuf.FeatureSet.VisibilityFeature();
13087
- };
13088
-
13089
- /**
13090
- * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
13091
- * @function toObject
13092
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13093
- * @static
13094
- * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
13095
- * @param {$protobuf.IConversionOptions} [options] Conversion options
13096
- * @returns {Object.<string,*>} Plain object
13097
- */
13098
- VisibilityFeature.toObject = function toObject() {
13099
- return {};
13100
- };
13101
-
13102
- /**
13103
- * Converts this VisibilityFeature to JSON.
13104
- * @function toJSON
13105
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13106
- * @instance
13107
- * @returns {Object.<string,*>} JSON object
13108
- */
13109
- VisibilityFeature.prototype.toJSON = function toJSON() {
13110
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
13111
- };
13112
-
13113
- /**
13114
- * Gets the default type url for VisibilityFeature
13115
- * @function getTypeUrl
13116
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
13117
- * @static
13118
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
13119
- * @returns {string} The default type url
13120
- */
13121
- VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
13122
- if (typeUrlPrefix === undefined) {
13123
- typeUrlPrefix = "type.googleapis.com";
13124
- }
13125
- return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
13126
- };
13127
-
13128
- /**
13129
- * DefaultSymbolVisibility enum.
13130
- * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
13131
- * @enum {number}
13132
- * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
13133
- * @property {number} EXPORT_ALL=1 EXPORT_ALL value
13134
- * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
13135
- * @property {number} LOCAL_ALL=3 LOCAL_ALL value
13136
- * @property {number} STRICT=4 STRICT value
13137
- */
13138
- VisibilityFeature.DefaultSymbolVisibility = (function() {
13139
- var valuesById = {}, values = Object.create(valuesById);
13140
- values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
13141
- values[valuesById[1] = "EXPORT_ALL"] = 1;
13142
- values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
13143
- values[valuesById[3] = "LOCAL_ALL"] = 3;
13144
- values[valuesById[4] = "STRICT"] = 4;
13145
- return values;
13146
- })();
13147
-
13148
- return VisibilityFeature;
13149
- })();
13150
-
13151
12151
  return FeatureSet;
13152
12152
  })();
13153
12153
 
@@ -13332,7 +12332,6 @@
13332
12332
  default:
13333
12333
  return "minimumEdition: enum value expected";
13334
12334
  case 0:
13335
- case 900:
13336
12335
  case 998:
13337
12336
  case 999:
13338
12337
  case 1000:
@@ -13350,7 +12349,6 @@
13350
12349
  default:
13351
12350
  return "maximumEdition: enum value expected";
13352
12351
  case 0:
13353
- case 900:
13354
12352
  case 998:
13355
12353
  case 999:
13356
12354
  case 1000:
@@ -13399,10 +12397,6 @@
13399
12397
  case 0:
13400
12398
  message.minimumEdition = 0;
13401
12399
  break;
13402
- case "EDITION_LEGACY":
13403
- case 900:
13404
- message.minimumEdition = 900;
13405
- break;
13406
12400
  case "EDITION_PROTO2":
13407
12401
  case 998:
13408
12402
  message.minimumEdition = 998;
@@ -13455,10 +12449,6 @@
13455
12449
  case 0:
13456
12450
  message.maximumEdition = 0;
13457
12451
  break;
13458
- case "EDITION_LEGACY":
13459
- case 900:
13460
- message.maximumEdition = 900;
13461
- break;
13462
12452
  case "EDITION_PROTO2":
13463
12453
  case 998:
13464
12454
  message.maximumEdition = 998;
@@ -13567,8 +12557,7 @@
13567
12557
  * @memberof google.protobuf.FeatureSetDefaults
13568
12558
  * @interface IFeatureSetEditionDefault
13569
12559
  * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
13570
- * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures
13571
- * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
12560
+ * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
13572
12561
  */
13573
12562
 
13574
12563
  /**
@@ -13595,20 +12584,12 @@
13595
12584
  FeatureSetEditionDefault.prototype.edition = 0;
13596
12585
 
13597
12586
  /**
13598
- * FeatureSetEditionDefault overridableFeatures.
13599
- * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures
13600
- * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
13601
- * @instance
13602
- */
13603
- FeatureSetEditionDefault.prototype.overridableFeatures = null;
13604
-
13605
- /**
13606
- * FeatureSetEditionDefault fixedFeatures.
13607
- * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
12587
+ * FeatureSetEditionDefault features.
12588
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
13608
12589
  * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
13609
12590
  * @instance
13610
12591
  */
13611
- FeatureSetEditionDefault.prototype.fixedFeatures = null;
12592
+ FeatureSetEditionDefault.prototype.features = null;
13612
12593
 
13613
12594
  /**
13614
12595
  * Creates a new FeatureSetEditionDefault instance using the specified properties.
@@ -13634,12 +12615,10 @@
13634
12615
  FeatureSetEditionDefault.encode = function encode(message, writer) {
13635
12616
  if (!writer)
13636
12617
  writer = $Writer.create();
12618
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
12619
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
13637
12620
  if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
13638
12621
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
13639
- if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
13640
- $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
13641
- if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
13642
- $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
13643
12622
  return writer;
13644
12623
  };
13645
12624
 
@@ -13680,12 +12659,8 @@
13680
12659
  message.edition = reader.int32();
13681
12660
  break;
13682
12661
  }
13683
- case 4: {
13684
- message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
13685
- break;
13686
- }
13687
- case 5: {
13688
- message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
12662
+ case 2: {
12663
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
13689
12664
  break;
13690
12665
  }
13691
12666
  default:
@@ -13728,7 +12703,6 @@
13728
12703
  default:
13729
12704
  return "edition: enum value expected";
13730
12705
  case 0:
13731
- case 900:
13732
12706
  case 998:
13733
12707
  case 999:
13734
12708
  case 1000:
@@ -13741,15 +12715,10 @@
13741
12715
  case 2147483647:
13742
12716
  break;
13743
12717
  }
13744
- if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) {
13745
- var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures);
12718
+ if (message.features != null && message.hasOwnProperty("features")) {
12719
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
13746
12720
  if (error)
13747
- return "overridableFeatures." + error;
13748
- }
13749
- if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
13750
- var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
13751
- if (error)
13752
- return "fixedFeatures." + error;
12721
+ return "features." + error;
13753
12722
  }
13754
12723
  return null;
13755
12724
  };
@@ -13777,10 +12746,6 @@
13777
12746
  case 0:
13778
12747
  message.edition = 0;
13779
12748
  break;
13780
- case "EDITION_LEGACY":
13781
- case 900:
13782
- message.edition = 900;
13783
- break;
13784
12749
  case "EDITION_PROTO2":
13785
12750
  case 998:
13786
12751
  message.edition = 998;
@@ -13822,15 +12787,10 @@
13822
12787
  message.edition = 2147483647;
13823
12788
  break;
13824
12789
  }
13825
- if (object.overridableFeatures != null) {
13826
- if (typeof object.overridableFeatures !== "object")
13827
- throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected");
13828
- message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures);
13829
- }
13830
- if (object.fixedFeatures != null) {
13831
- if (typeof object.fixedFeatures !== "object")
13832
- throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
13833
- message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
12790
+ if (object.features != null) {
12791
+ if (typeof object.features !== "object")
12792
+ throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
12793
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
13834
12794
  }
13835
12795
  return message;
13836
12796
  };
@@ -13849,16 +12809,13 @@
13849
12809
  options = {};
13850
12810
  var object = {};
13851
12811
  if (options.defaults) {
12812
+ object.features = null;
13852
12813
  object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
13853
- object.overridableFeatures = null;
13854
- object.fixedFeatures = null;
13855
12814
  }
12815
+ if (message.features != null && message.hasOwnProperty("features"))
12816
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
13856
12817
  if (message.edition != null && message.hasOwnProperty("edition"))
13857
12818
  object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
13858
- if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
13859
- object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
13860
- if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
13861
- object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
13862
12819
  return object;
13863
12820
  };
13864
12821
 
@@ -15073,22 +14030,6 @@
15073
14030
  return GeneratedCodeInfo;
15074
14031
  })();
15075
14032
 
15076
- /**
15077
- * SymbolVisibility enum.
15078
- * @name google.protobuf.SymbolVisibility
15079
- * @enum {number}
15080
- * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
15081
- * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
15082
- * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
15083
- */
15084
- protobuf.SymbolVisibility = (function() {
15085
- var valuesById = {}, values = Object.create(valuesById);
15086
- values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
15087
- values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
15088
- values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
15089
- return values;
15090
- })();
15091
-
15092
14033
  protobuf.Duration = (function() {
15093
14034
 
15094
14035
  /**
@@ -63269,7 +62210,6 @@
63269
62210
  * @memberof google.api
63270
62211
  * @interface IFieldInfo
63271
62212
  * @property {google.api.FieldInfo.Format|null} [format] FieldInfo format
63272
- * @property {Array.<google.api.ITypeReference>|null} [referencedTypes] FieldInfo referencedTypes
63273
62213
  */
63274
62214
 
63275
62215
  /**
@@ -63281,7 +62221,6 @@
63281
62221
  * @param {google.api.IFieldInfo=} [properties] Properties to set
63282
62222
  */
63283
62223
  function FieldInfo(properties) {
63284
- this.referencedTypes = [];
63285
62224
  if (properties)
63286
62225
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
63287
62226
  if (properties[keys[i]] != null)
@@ -63296,14 +62235,6 @@
63296
62235
  */
63297
62236
  FieldInfo.prototype.format = 0;
63298
62237
 
63299
- /**
63300
- * FieldInfo referencedTypes.
63301
- * @member {Array.<google.api.ITypeReference>} referencedTypes
63302
- * @memberof google.api.FieldInfo
63303
- * @instance
63304
- */
63305
- FieldInfo.prototype.referencedTypes = $util.emptyArray;
63306
-
63307
62238
  /**
63308
62239
  * Creates a new FieldInfo instance using the specified properties.
63309
62240
  * @function create
@@ -63330,9 +62261,6 @@
63330
62261
  writer = $Writer.create();
63331
62262
  if (message.format != null && Object.hasOwnProperty.call(message, "format"))
63332
62263
  writer.uint32(/* id 1, wireType 0 =*/8).int32(message.format);
63333
- if (message.referencedTypes != null && message.referencedTypes.length)
63334
- for (var i = 0; i < message.referencedTypes.length; ++i)
63335
- $root.google.api.TypeReference.encode(message.referencedTypes[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
63336
62264
  return writer;
63337
62265
  };
63338
62266
 
@@ -63373,12 +62301,6 @@
63373
62301
  message.format = reader.int32();
63374
62302
  break;
63375
62303
  }
63376
- case 2: {
63377
- if (!(message.referencedTypes && message.referencedTypes.length))
63378
- message.referencedTypes = [];
63379
- message.referencedTypes.push($root.google.api.TypeReference.decode(reader, reader.uint32()));
63380
- break;
63381
- }
63382
62304
  default:
63383
62305
  reader.skipType(tag & 7);
63384
62306
  break;
@@ -63425,15 +62347,6 @@
63425
62347
  case 4:
63426
62348
  break;
63427
62349
  }
63428
- if (message.referencedTypes != null && message.hasOwnProperty("referencedTypes")) {
63429
- if (!Array.isArray(message.referencedTypes))
63430
- return "referencedTypes: array expected";
63431
- for (var i = 0; i < message.referencedTypes.length; ++i) {
63432
- var error = $root.google.api.TypeReference.verify(message.referencedTypes[i]);
63433
- if (error)
63434
- return "referencedTypes." + error;
63435
- }
63436
- }
63437
62350
  return null;
63438
62351
  };
63439
62352
 
@@ -63477,16 +62390,6 @@
63477
62390
  message.format = 4;
63478
62391
  break;
63479
62392
  }
63480
- if (object.referencedTypes) {
63481
- if (!Array.isArray(object.referencedTypes))
63482
- throw TypeError(".google.api.FieldInfo.referencedTypes: array expected");
63483
- message.referencedTypes = [];
63484
- for (var i = 0; i < object.referencedTypes.length; ++i) {
63485
- if (typeof object.referencedTypes[i] !== "object")
63486
- throw TypeError(".google.api.FieldInfo.referencedTypes: object expected");
63487
- message.referencedTypes[i] = $root.google.api.TypeReference.fromObject(object.referencedTypes[i]);
63488
- }
63489
- }
63490
62393
  return message;
63491
62394
  };
63492
62395
 
@@ -63503,17 +62406,10 @@
63503
62406
  if (!options)
63504
62407
  options = {};
63505
62408
  var object = {};
63506
- if (options.arrays || options.defaults)
63507
- object.referencedTypes = [];
63508
62409
  if (options.defaults)
63509
62410
  object.format = options.enums === String ? "FORMAT_UNSPECIFIED" : 0;
63510
62411
  if (message.format != null && message.hasOwnProperty("format"))
63511
62412
  object.format = options.enums === String ? $root.google.api.FieldInfo.Format[message.format] === undefined ? message.format : $root.google.api.FieldInfo.Format[message.format] : message.format;
63512
- if (message.referencedTypes && message.referencedTypes.length) {
63513
- object.referencedTypes = [];
63514
- for (var j = 0; j < message.referencedTypes.length; ++j)
63515
- object.referencedTypes[j] = $root.google.api.TypeReference.toObject(message.referencedTypes[j], options);
63516
- }
63517
62413
  return object;
63518
62414
  };
63519
62415
 
@@ -63566,211 +62462,6 @@
63566
62462
  return FieldInfo;
63567
62463
  })();
63568
62464
 
63569
- api.TypeReference = (function() {
63570
-
63571
- /**
63572
- * Properties of a TypeReference.
63573
- * @memberof google.api
63574
- * @interface ITypeReference
63575
- * @property {string|null} [typeName] TypeReference typeName
63576
- */
63577
-
63578
- /**
63579
- * Constructs a new TypeReference.
63580
- * @memberof google.api
63581
- * @classdesc Represents a TypeReference.
63582
- * @implements ITypeReference
63583
- * @constructor
63584
- * @param {google.api.ITypeReference=} [properties] Properties to set
63585
- */
63586
- function TypeReference(properties) {
63587
- if (properties)
63588
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
63589
- if (properties[keys[i]] != null)
63590
- this[keys[i]] = properties[keys[i]];
63591
- }
63592
-
63593
- /**
63594
- * TypeReference typeName.
63595
- * @member {string} typeName
63596
- * @memberof google.api.TypeReference
63597
- * @instance
63598
- */
63599
- TypeReference.prototype.typeName = "";
63600
-
63601
- /**
63602
- * Creates a new TypeReference instance using the specified properties.
63603
- * @function create
63604
- * @memberof google.api.TypeReference
63605
- * @static
63606
- * @param {google.api.ITypeReference=} [properties] Properties to set
63607
- * @returns {google.api.TypeReference} TypeReference instance
63608
- */
63609
- TypeReference.create = function create(properties) {
63610
- return new TypeReference(properties);
63611
- };
63612
-
63613
- /**
63614
- * Encodes the specified TypeReference message. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
63615
- * @function encode
63616
- * @memberof google.api.TypeReference
63617
- * @static
63618
- * @param {google.api.ITypeReference} message TypeReference message or plain object to encode
63619
- * @param {$protobuf.Writer} [writer] Writer to encode to
63620
- * @returns {$protobuf.Writer} Writer
63621
- */
63622
- TypeReference.encode = function encode(message, writer) {
63623
- if (!writer)
63624
- writer = $Writer.create();
63625
- if (message.typeName != null && Object.hasOwnProperty.call(message, "typeName"))
63626
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.typeName);
63627
- return writer;
63628
- };
63629
-
63630
- /**
63631
- * Encodes the specified TypeReference message, length delimited. Does not implicitly {@link google.api.TypeReference.verify|verify} messages.
63632
- * @function encodeDelimited
63633
- * @memberof google.api.TypeReference
63634
- * @static
63635
- * @param {google.api.ITypeReference} message TypeReference message or plain object to encode
63636
- * @param {$protobuf.Writer} [writer] Writer to encode to
63637
- * @returns {$protobuf.Writer} Writer
63638
- */
63639
- TypeReference.encodeDelimited = function encodeDelimited(message, writer) {
63640
- return this.encode(message, writer).ldelim();
63641
- };
63642
-
63643
- /**
63644
- * Decodes a TypeReference message from the specified reader or buffer.
63645
- * @function decode
63646
- * @memberof google.api.TypeReference
63647
- * @static
63648
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
63649
- * @param {number} [length] Message length if known beforehand
63650
- * @returns {google.api.TypeReference} TypeReference
63651
- * @throws {Error} If the payload is not a reader or valid buffer
63652
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
63653
- */
63654
- TypeReference.decode = function decode(reader, length, error) {
63655
- if (!(reader instanceof $Reader))
63656
- reader = $Reader.create(reader);
63657
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.TypeReference();
63658
- while (reader.pos < end) {
63659
- var tag = reader.uint32();
63660
- if (tag === error)
63661
- break;
63662
- switch (tag >>> 3) {
63663
- case 1: {
63664
- message.typeName = reader.string();
63665
- break;
63666
- }
63667
- default:
63668
- reader.skipType(tag & 7);
63669
- break;
63670
- }
63671
- }
63672
- return message;
63673
- };
63674
-
63675
- /**
63676
- * Decodes a TypeReference message from the specified reader or buffer, length delimited.
63677
- * @function decodeDelimited
63678
- * @memberof google.api.TypeReference
63679
- * @static
63680
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
63681
- * @returns {google.api.TypeReference} TypeReference
63682
- * @throws {Error} If the payload is not a reader or valid buffer
63683
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
63684
- */
63685
- TypeReference.decodeDelimited = function decodeDelimited(reader) {
63686
- if (!(reader instanceof $Reader))
63687
- reader = new $Reader(reader);
63688
- return this.decode(reader, reader.uint32());
63689
- };
63690
-
63691
- /**
63692
- * Verifies a TypeReference message.
63693
- * @function verify
63694
- * @memberof google.api.TypeReference
63695
- * @static
63696
- * @param {Object.<string,*>} message Plain object to verify
63697
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
63698
- */
63699
- TypeReference.verify = function verify(message) {
63700
- if (typeof message !== "object" || message === null)
63701
- return "object expected";
63702
- if (message.typeName != null && message.hasOwnProperty("typeName"))
63703
- if (!$util.isString(message.typeName))
63704
- return "typeName: string expected";
63705
- return null;
63706
- };
63707
-
63708
- /**
63709
- * Creates a TypeReference message from a plain object. Also converts values to their respective internal types.
63710
- * @function fromObject
63711
- * @memberof google.api.TypeReference
63712
- * @static
63713
- * @param {Object.<string,*>} object Plain object
63714
- * @returns {google.api.TypeReference} TypeReference
63715
- */
63716
- TypeReference.fromObject = function fromObject(object) {
63717
- if (object instanceof $root.google.api.TypeReference)
63718
- return object;
63719
- var message = new $root.google.api.TypeReference();
63720
- if (object.typeName != null)
63721
- message.typeName = String(object.typeName);
63722
- return message;
63723
- };
63724
-
63725
- /**
63726
- * Creates a plain object from a TypeReference message. Also converts values to other types if specified.
63727
- * @function toObject
63728
- * @memberof google.api.TypeReference
63729
- * @static
63730
- * @param {google.api.TypeReference} message TypeReference
63731
- * @param {$protobuf.IConversionOptions} [options] Conversion options
63732
- * @returns {Object.<string,*>} Plain object
63733
- */
63734
- TypeReference.toObject = function toObject(message, options) {
63735
- if (!options)
63736
- options = {};
63737
- var object = {};
63738
- if (options.defaults)
63739
- object.typeName = "";
63740
- if (message.typeName != null && message.hasOwnProperty("typeName"))
63741
- object.typeName = message.typeName;
63742
- return object;
63743
- };
63744
-
63745
- /**
63746
- * Converts this TypeReference to JSON.
63747
- * @function toJSON
63748
- * @memberof google.api.TypeReference
63749
- * @instance
63750
- * @returns {Object.<string,*>} JSON object
63751
- */
63752
- TypeReference.prototype.toJSON = function toJSON() {
63753
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
63754
- };
63755
-
63756
- /**
63757
- * Gets the default type url for TypeReference
63758
- * @function getTypeUrl
63759
- * @memberof google.api.TypeReference
63760
- * @static
63761
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
63762
- * @returns {string} The default type url
63763
- */
63764
- TypeReference.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
63765
- if (typeUrlPrefix === undefined) {
63766
- typeUrlPrefix = "type.googleapis.com";
63767
- }
63768
- return typeUrlPrefix + "/google.api.TypeReference";
63769
- };
63770
-
63771
- return TypeReference;
63772
- })();
63773
-
63774
62465
  api.Http = (function() {
63775
62466
 
63776
62467
  /**
@@ -64748,7 +63439,6 @@
64748
63439
  * @interface ICommonLanguageSettings
64749
63440
  * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
64750
63441
  * @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
64751
- * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
64752
63442
  */
64753
63443
 
64754
63444
  /**
@@ -64783,14 +63473,6 @@
64783
63473
  */
64784
63474
  CommonLanguageSettings.prototype.destinations = $util.emptyArray;
64785
63475
 
64786
- /**
64787
- * CommonLanguageSettings selectiveGapicGeneration.
64788
- * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
64789
- * @memberof google.api.CommonLanguageSettings
64790
- * @instance
64791
- */
64792
- CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
64793
-
64794
63476
  /**
64795
63477
  * Creates a new CommonLanguageSettings instance using the specified properties.
64796
63478
  * @function create
@@ -64823,8 +63505,6 @@
64823
63505
  writer.int32(message.destinations[i]);
64824
63506
  writer.ldelim();
64825
63507
  }
64826
- if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
64827
- $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
64828
63508
  return writer;
64829
63509
  };
64830
63510
 
@@ -64876,10 +63556,6 @@
64876
63556
  message.destinations.push(reader.int32());
64877
63557
  break;
64878
63558
  }
64879
- case 3: {
64880
- message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
64881
- break;
64882
- }
64883
63559
  default:
64884
63560
  reader.skipType(tag & 7);
64885
63561
  break;
@@ -64931,11 +63607,6 @@
64931
63607
  break;
64932
63608
  }
64933
63609
  }
64934
- if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
64935
- var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
64936
- if (error)
64937
- return "selectiveGapicGeneration." + error;
64938
- }
64939
63610
  return null;
64940
63611
  };
64941
63612
 
@@ -64978,11 +63649,6 @@
64978
63649
  break;
64979
63650
  }
64980
63651
  }
64981
- if (object.selectiveGapicGeneration != null) {
64982
- if (typeof object.selectiveGapicGeneration !== "object")
64983
- throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
64984
- message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
64985
- }
64986
63652
  return message;
64987
63653
  };
64988
63654
 
@@ -65001,10 +63667,8 @@
65001
63667
  var object = {};
65002
63668
  if (options.arrays || options.defaults)
65003
63669
  object.destinations = [];
65004
- if (options.defaults) {
63670
+ if (options.defaults)
65005
63671
  object.referenceDocsUri = "";
65006
- object.selectiveGapicGeneration = null;
65007
- }
65008
63672
  if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
65009
63673
  object.referenceDocsUri = message.referenceDocsUri;
65010
63674
  if (message.destinations && message.destinations.length) {
@@ -65012,8 +63676,6 @@
65012
63676
  for (var j = 0; j < message.destinations.length; ++j)
65013
63677
  object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j];
65014
63678
  }
65015
- if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
65016
- object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
65017
63679
  return object;
65018
63680
  };
65019
63681
 
@@ -66836,7 +65498,6 @@
66836
65498
  * @memberof google.api
66837
65499
  * @interface IPythonSettings
66838
65500
  * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
66839
- * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
66840
65501
  */
66841
65502
 
66842
65503
  /**
@@ -66862,14 +65523,6 @@
66862
65523
  */
66863
65524
  PythonSettings.prototype.common = null;
66864
65525
 
66865
- /**
66866
- * PythonSettings experimentalFeatures.
66867
- * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
66868
- * @memberof google.api.PythonSettings
66869
- * @instance
66870
- */
66871
- PythonSettings.prototype.experimentalFeatures = null;
66872
-
66873
65526
  /**
66874
65527
  * Creates a new PythonSettings instance using the specified properties.
66875
65528
  * @function create
@@ -66896,8 +65549,6 @@
66896
65549
  writer = $Writer.create();
66897
65550
  if (message.common != null && Object.hasOwnProperty.call(message, "common"))
66898
65551
  $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
66899
- if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
66900
- $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
66901
65552
  return writer;
66902
65553
  };
66903
65554
 
@@ -66938,10 +65589,6 @@
66938
65589
  message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
66939
65590
  break;
66940
65591
  }
66941
- case 2: {
66942
- message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
66943
- break;
66944
- }
66945
65592
  default:
66946
65593
  reader.skipType(tag & 7);
66947
65594
  break;
@@ -66982,11 +65629,6 @@
66982
65629
  if (error)
66983
65630
  return "common." + error;
66984
65631
  }
66985
- if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
66986
- var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
66987
- if (error)
66988
- return "experimentalFeatures." + error;
66989
- }
66990
65632
  return null;
66991
65633
  };
66992
65634
 
@@ -67007,11 +65649,6 @@
67007
65649
  throw TypeError(".google.api.PythonSettings.common: object expected");
67008
65650
  message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
67009
65651
  }
67010
- if (object.experimentalFeatures != null) {
67011
- if (typeof object.experimentalFeatures !== "object")
67012
- throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
67013
- message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
67014
- }
67015
65652
  return message;
67016
65653
  };
67017
65654
 
@@ -67028,14 +65665,10 @@
67028
65665
  if (!options)
67029
65666
  options = {};
67030
65667
  var object = {};
67031
- if (options.defaults) {
65668
+ if (options.defaults)
67032
65669
  object.common = null;
67033
- object.experimentalFeatures = null;
67034
- }
67035
65670
  if (message.common != null && message.hasOwnProperty("common"))
67036
65671
  object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
67037
- if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
67038
- object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
67039
65672
  return object;
67040
65673
  };
67041
65674
 
@@ -67065,258 +65698,6 @@
67065
65698
  return typeUrlPrefix + "/google.api.PythonSettings";
67066
65699
  };
67067
65700
 
67068
- PythonSettings.ExperimentalFeatures = (function() {
67069
-
67070
- /**
67071
- * Properties of an ExperimentalFeatures.
67072
- * @memberof google.api.PythonSettings
67073
- * @interface IExperimentalFeatures
67074
- * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
67075
- * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
67076
- * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
67077
- */
67078
-
67079
- /**
67080
- * Constructs a new ExperimentalFeatures.
67081
- * @memberof google.api.PythonSettings
67082
- * @classdesc Represents an ExperimentalFeatures.
67083
- * @implements IExperimentalFeatures
67084
- * @constructor
67085
- * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
67086
- */
67087
- function ExperimentalFeatures(properties) {
67088
- if (properties)
67089
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
67090
- if (properties[keys[i]] != null)
67091
- this[keys[i]] = properties[keys[i]];
67092
- }
67093
-
67094
- /**
67095
- * ExperimentalFeatures restAsyncIoEnabled.
67096
- * @member {boolean} restAsyncIoEnabled
67097
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67098
- * @instance
67099
- */
67100
- ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
67101
-
67102
- /**
67103
- * ExperimentalFeatures protobufPythonicTypesEnabled.
67104
- * @member {boolean} protobufPythonicTypesEnabled
67105
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67106
- * @instance
67107
- */
67108
- ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
67109
-
67110
- /**
67111
- * ExperimentalFeatures unversionedPackageDisabled.
67112
- * @member {boolean} unversionedPackageDisabled
67113
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67114
- * @instance
67115
- */
67116
- ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
67117
-
67118
- /**
67119
- * Creates a new ExperimentalFeatures instance using the specified properties.
67120
- * @function create
67121
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67122
- * @static
67123
- * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
67124
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
67125
- */
67126
- ExperimentalFeatures.create = function create(properties) {
67127
- return new ExperimentalFeatures(properties);
67128
- };
67129
-
67130
- /**
67131
- * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
67132
- * @function encode
67133
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67134
- * @static
67135
- * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
67136
- * @param {$protobuf.Writer} [writer] Writer to encode to
67137
- * @returns {$protobuf.Writer} Writer
67138
- */
67139
- ExperimentalFeatures.encode = function encode(message, writer) {
67140
- if (!writer)
67141
- writer = $Writer.create();
67142
- if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
67143
- writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
67144
- if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
67145
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
67146
- if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
67147
- writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
67148
- return writer;
67149
- };
67150
-
67151
- /**
67152
- * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
67153
- * @function encodeDelimited
67154
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67155
- * @static
67156
- * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
67157
- * @param {$protobuf.Writer} [writer] Writer to encode to
67158
- * @returns {$protobuf.Writer} Writer
67159
- */
67160
- ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
67161
- return this.encode(message, writer).ldelim();
67162
- };
67163
-
67164
- /**
67165
- * Decodes an ExperimentalFeatures message from the specified reader or buffer.
67166
- * @function decode
67167
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67168
- * @static
67169
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
67170
- * @param {number} [length] Message length if known beforehand
67171
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
67172
- * @throws {Error} If the payload is not a reader or valid buffer
67173
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
67174
- */
67175
- ExperimentalFeatures.decode = function decode(reader, length, error) {
67176
- if (!(reader instanceof $Reader))
67177
- reader = $Reader.create(reader);
67178
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
67179
- while (reader.pos < end) {
67180
- var tag = reader.uint32();
67181
- if (tag === error)
67182
- break;
67183
- switch (tag >>> 3) {
67184
- case 1: {
67185
- message.restAsyncIoEnabled = reader.bool();
67186
- break;
67187
- }
67188
- case 2: {
67189
- message.protobufPythonicTypesEnabled = reader.bool();
67190
- break;
67191
- }
67192
- case 3: {
67193
- message.unversionedPackageDisabled = reader.bool();
67194
- break;
67195
- }
67196
- default:
67197
- reader.skipType(tag & 7);
67198
- break;
67199
- }
67200
- }
67201
- return message;
67202
- };
67203
-
67204
- /**
67205
- * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
67206
- * @function decodeDelimited
67207
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67208
- * @static
67209
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
67210
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
67211
- * @throws {Error} If the payload is not a reader or valid buffer
67212
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
67213
- */
67214
- ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
67215
- if (!(reader instanceof $Reader))
67216
- reader = new $Reader(reader);
67217
- return this.decode(reader, reader.uint32());
67218
- };
67219
-
67220
- /**
67221
- * Verifies an ExperimentalFeatures message.
67222
- * @function verify
67223
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67224
- * @static
67225
- * @param {Object.<string,*>} message Plain object to verify
67226
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
67227
- */
67228
- ExperimentalFeatures.verify = function verify(message) {
67229
- if (typeof message !== "object" || message === null)
67230
- return "object expected";
67231
- if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
67232
- if (typeof message.restAsyncIoEnabled !== "boolean")
67233
- return "restAsyncIoEnabled: boolean expected";
67234
- if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
67235
- if (typeof message.protobufPythonicTypesEnabled !== "boolean")
67236
- return "protobufPythonicTypesEnabled: boolean expected";
67237
- if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
67238
- if (typeof message.unversionedPackageDisabled !== "boolean")
67239
- return "unversionedPackageDisabled: boolean expected";
67240
- return null;
67241
- };
67242
-
67243
- /**
67244
- * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
67245
- * @function fromObject
67246
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67247
- * @static
67248
- * @param {Object.<string,*>} object Plain object
67249
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
67250
- */
67251
- ExperimentalFeatures.fromObject = function fromObject(object) {
67252
- if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
67253
- return object;
67254
- var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
67255
- if (object.restAsyncIoEnabled != null)
67256
- message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
67257
- if (object.protobufPythonicTypesEnabled != null)
67258
- message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
67259
- if (object.unversionedPackageDisabled != null)
67260
- message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
67261
- return message;
67262
- };
67263
-
67264
- /**
67265
- * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
67266
- * @function toObject
67267
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67268
- * @static
67269
- * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
67270
- * @param {$protobuf.IConversionOptions} [options] Conversion options
67271
- * @returns {Object.<string,*>} Plain object
67272
- */
67273
- ExperimentalFeatures.toObject = function toObject(message, options) {
67274
- if (!options)
67275
- options = {};
67276
- var object = {};
67277
- if (options.defaults) {
67278
- object.restAsyncIoEnabled = false;
67279
- object.protobufPythonicTypesEnabled = false;
67280
- object.unversionedPackageDisabled = false;
67281
- }
67282
- if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
67283
- object.restAsyncIoEnabled = message.restAsyncIoEnabled;
67284
- if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
67285
- object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
67286
- if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
67287
- object.unversionedPackageDisabled = message.unversionedPackageDisabled;
67288
- return object;
67289
- };
67290
-
67291
- /**
67292
- * Converts this ExperimentalFeatures to JSON.
67293
- * @function toJSON
67294
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67295
- * @instance
67296
- * @returns {Object.<string,*>} JSON object
67297
- */
67298
- ExperimentalFeatures.prototype.toJSON = function toJSON() {
67299
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
67300
- };
67301
-
67302
- /**
67303
- * Gets the default type url for ExperimentalFeatures
67304
- * @function getTypeUrl
67305
- * @memberof google.api.PythonSettings.ExperimentalFeatures
67306
- * @static
67307
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
67308
- * @returns {string} The default type url
67309
- */
67310
- ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
67311
- if (typeUrlPrefix === undefined) {
67312
- typeUrlPrefix = "type.googleapis.com";
67313
- }
67314
- return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
67315
- };
67316
-
67317
- return ExperimentalFeatures;
67318
- })();
67319
-
67320
65701
  return PythonSettings;
67321
65702
  })();
67322
65703
 
@@ -68193,7 +66574,6 @@
68193
66574
  * @memberof google.api
68194
66575
  * @interface IGoSettings
68195
66576
  * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
68196
- * @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
68197
66577
  */
68198
66578
 
68199
66579
  /**
@@ -68205,7 +66585,6 @@
68205
66585
  * @param {google.api.IGoSettings=} [properties] Properties to set
68206
66586
  */
68207
66587
  function GoSettings(properties) {
68208
- this.renamedServices = {};
68209
66588
  if (properties)
68210
66589
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
68211
66590
  if (properties[keys[i]] != null)
@@ -68220,14 +66599,6 @@
68220
66599
  */
68221
66600
  GoSettings.prototype.common = null;
68222
66601
 
68223
- /**
68224
- * GoSettings renamedServices.
68225
- * @member {Object.<string,string>} renamedServices
68226
- * @memberof google.api.GoSettings
68227
- * @instance
68228
- */
68229
- GoSettings.prototype.renamedServices = $util.emptyObject;
68230
-
68231
66602
  /**
68232
66603
  * Creates a new GoSettings instance using the specified properties.
68233
66604
  * @function create
@@ -68254,9 +66625,6 @@
68254
66625
  writer = $Writer.create();
68255
66626
  if (message.common != null && Object.hasOwnProperty.call(message, "common"))
68256
66627
  $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
68257
- if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
68258
- for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
68259
- writer.uint32(/* id 2, wireType 2 =*/18).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedServices[keys[i]]).ldelim();
68260
66628
  return writer;
68261
66629
  };
68262
66630
 
@@ -68287,7 +66655,7 @@
68287
66655
  GoSettings.decode = function decode(reader, length, error) {
68288
66656
  if (!(reader instanceof $Reader))
68289
66657
  reader = $Reader.create(reader);
68290
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value;
66658
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
68291
66659
  while (reader.pos < end) {
68292
66660
  var tag = reader.uint32();
68293
66661
  if (tag === error)
@@ -68297,29 +66665,6 @@
68297
66665
  message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
68298
66666
  break;
68299
66667
  }
68300
- case 2: {
68301
- if (message.renamedServices === $util.emptyObject)
68302
- message.renamedServices = {};
68303
- var end2 = reader.uint32() + reader.pos;
68304
- key = "";
68305
- value = "";
68306
- while (reader.pos < end2) {
68307
- var tag2 = reader.uint32();
68308
- switch (tag2 >>> 3) {
68309
- case 1:
68310
- key = reader.string();
68311
- break;
68312
- case 2:
68313
- value = reader.string();
68314
- break;
68315
- default:
68316
- reader.skipType(tag2 & 7);
68317
- break;
68318
- }
68319
- }
68320
- message.renamedServices[key] = value;
68321
- break;
68322
- }
68323
66668
  default:
68324
66669
  reader.skipType(tag & 7);
68325
66670
  break;
@@ -68360,14 +66705,6 @@
68360
66705
  if (error)
68361
66706
  return "common." + error;
68362
66707
  }
68363
- if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
68364
- if (!$util.isObject(message.renamedServices))
68365
- return "renamedServices: object expected";
68366
- var key = Object.keys(message.renamedServices);
68367
- for (var i = 0; i < key.length; ++i)
68368
- if (!$util.isString(message.renamedServices[key[i]]))
68369
- return "renamedServices: string{k:string} expected";
68370
- }
68371
66708
  return null;
68372
66709
  };
68373
66710
 
@@ -68388,13 +66725,6 @@
68388
66725
  throw TypeError(".google.api.GoSettings.common: object expected");
68389
66726
  message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
68390
66727
  }
68391
- if (object.renamedServices) {
68392
- if (typeof object.renamedServices !== "object")
68393
- throw TypeError(".google.api.GoSettings.renamedServices: object expected");
68394
- message.renamedServices = {};
68395
- for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
68396
- message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
68397
- }
68398
66728
  return message;
68399
66729
  };
68400
66730
 
@@ -68411,18 +66741,10 @@
68411
66741
  if (!options)
68412
66742
  options = {};
68413
66743
  var object = {};
68414
- if (options.objects || options.defaults)
68415
- object.renamedServices = {};
68416
66744
  if (options.defaults)
68417
66745
  object.common = null;
68418
66746
  if (message.common != null && message.hasOwnProperty("common"))
68419
66747
  object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
68420
- var keys2;
68421
- if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
68422
- object.renamedServices = {};
68423
- for (var j = 0; j < keys2.length; ++j)
68424
- object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
68425
- }
68426
66748
  return object;
68427
66749
  };
68428
66750
 
@@ -69061,251 +67383,6 @@
69061
67383
  return values;
69062
67384
  })();
69063
67385
 
69064
- api.SelectiveGapicGeneration = (function() {
69065
-
69066
- /**
69067
- * Properties of a SelectiveGapicGeneration.
69068
- * @memberof google.api
69069
- * @interface ISelectiveGapicGeneration
69070
- * @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
69071
- * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
69072
- */
69073
-
69074
- /**
69075
- * Constructs a new SelectiveGapicGeneration.
69076
- * @memberof google.api
69077
- * @classdesc Represents a SelectiveGapicGeneration.
69078
- * @implements ISelectiveGapicGeneration
69079
- * @constructor
69080
- * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
69081
- */
69082
- function SelectiveGapicGeneration(properties) {
69083
- this.methods = [];
69084
- if (properties)
69085
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
69086
- if (properties[keys[i]] != null)
69087
- this[keys[i]] = properties[keys[i]];
69088
- }
69089
-
69090
- /**
69091
- * SelectiveGapicGeneration methods.
69092
- * @member {Array.<string>} methods
69093
- * @memberof google.api.SelectiveGapicGeneration
69094
- * @instance
69095
- */
69096
- SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
69097
-
69098
- /**
69099
- * SelectiveGapicGeneration generateOmittedAsInternal.
69100
- * @member {boolean} generateOmittedAsInternal
69101
- * @memberof google.api.SelectiveGapicGeneration
69102
- * @instance
69103
- */
69104
- SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
69105
-
69106
- /**
69107
- * Creates a new SelectiveGapicGeneration instance using the specified properties.
69108
- * @function create
69109
- * @memberof google.api.SelectiveGapicGeneration
69110
- * @static
69111
- * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
69112
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
69113
- */
69114
- SelectiveGapicGeneration.create = function create(properties) {
69115
- return new SelectiveGapicGeneration(properties);
69116
- };
69117
-
69118
- /**
69119
- * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
69120
- * @function encode
69121
- * @memberof google.api.SelectiveGapicGeneration
69122
- * @static
69123
- * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
69124
- * @param {$protobuf.Writer} [writer] Writer to encode to
69125
- * @returns {$protobuf.Writer} Writer
69126
- */
69127
- SelectiveGapicGeneration.encode = function encode(message, writer) {
69128
- if (!writer)
69129
- writer = $Writer.create();
69130
- if (message.methods != null && message.methods.length)
69131
- for (var i = 0; i < message.methods.length; ++i)
69132
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
69133
- if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
69134
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
69135
- return writer;
69136
- };
69137
-
69138
- /**
69139
- * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
69140
- * @function encodeDelimited
69141
- * @memberof google.api.SelectiveGapicGeneration
69142
- * @static
69143
- * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
69144
- * @param {$protobuf.Writer} [writer] Writer to encode to
69145
- * @returns {$protobuf.Writer} Writer
69146
- */
69147
- SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
69148
- return this.encode(message, writer).ldelim();
69149
- };
69150
-
69151
- /**
69152
- * Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
69153
- * @function decode
69154
- * @memberof google.api.SelectiveGapicGeneration
69155
- * @static
69156
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69157
- * @param {number} [length] Message length if known beforehand
69158
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
69159
- * @throws {Error} If the payload is not a reader or valid buffer
69160
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
69161
- */
69162
- SelectiveGapicGeneration.decode = function decode(reader, length, error) {
69163
- if (!(reader instanceof $Reader))
69164
- reader = $Reader.create(reader);
69165
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
69166
- while (reader.pos < end) {
69167
- var tag = reader.uint32();
69168
- if (tag === error)
69169
- break;
69170
- switch (tag >>> 3) {
69171
- case 1: {
69172
- if (!(message.methods && message.methods.length))
69173
- message.methods = [];
69174
- message.methods.push(reader.string());
69175
- break;
69176
- }
69177
- case 2: {
69178
- message.generateOmittedAsInternal = reader.bool();
69179
- break;
69180
- }
69181
- default:
69182
- reader.skipType(tag & 7);
69183
- break;
69184
- }
69185
- }
69186
- return message;
69187
- };
69188
-
69189
- /**
69190
- * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
69191
- * @function decodeDelimited
69192
- * @memberof google.api.SelectiveGapicGeneration
69193
- * @static
69194
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
69195
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
69196
- * @throws {Error} If the payload is not a reader or valid buffer
69197
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
69198
- */
69199
- SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
69200
- if (!(reader instanceof $Reader))
69201
- reader = new $Reader(reader);
69202
- return this.decode(reader, reader.uint32());
69203
- };
69204
-
69205
- /**
69206
- * Verifies a SelectiveGapicGeneration message.
69207
- * @function verify
69208
- * @memberof google.api.SelectiveGapicGeneration
69209
- * @static
69210
- * @param {Object.<string,*>} message Plain object to verify
69211
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
69212
- */
69213
- SelectiveGapicGeneration.verify = function verify(message) {
69214
- if (typeof message !== "object" || message === null)
69215
- return "object expected";
69216
- if (message.methods != null && message.hasOwnProperty("methods")) {
69217
- if (!Array.isArray(message.methods))
69218
- return "methods: array expected";
69219
- for (var i = 0; i < message.methods.length; ++i)
69220
- if (!$util.isString(message.methods[i]))
69221
- return "methods: string[] expected";
69222
- }
69223
- if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
69224
- if (typeof message.generateOmittedAsInternal !== "boolean")
69225
- return "generateOmittedAsInternal: boolean expected";
69226
- return null;
69227
- };
69228
-
69229
- /**
69230
- * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
69231
- * @function fromObject
69232
- * @memberof google.api.SelectiveGapicGeneration
69233
- * @static
69234
- * @param {Object.<string,*>} object Plain object
69235
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
69236
- */
69237
- SelectiveGapicGeneration.fromObject = function fromObject(object) {
69238
- if (object instanceof $root.google.api.SelectiveGapicGeneration)
69239
- return object;
69240
- var message = new $root.google.api.SelectiveGapicGeneration();
69241
- if (object.methods) {
69242
- if (!Array.isArray(object.methods))
69243
- throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
69244
- message.methods = [];
69245
- for (var i = 0; i < object.methods.length; ++i)
69246
- message.methods[i] = String(object.methods[i]);
69247
- }
69248
- if (object.generateOmittedAsInternal != null)
69249
- message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
69250
- return message;
69251
- };
69252
-
69253
- /**
69254
- * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
69255
- * @function toObject
69256
- * @memberof google.api.SelectiveGapicGeneration
69257
- * @static
69258
- * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
69259
- * @param {$protobuf.IConversionOptions} [options] Conversion options
69260
- * @returns {Object.<string,*>} Plain object
69261
- */
69262
- SelectiveGapicGeneration.toObject = function toObject(message, options) {
69263
- if (!options)
69264
- options = {};
69265
- var object = {};
69266
- if (options.arrays || options.defaults)
69267
- object.methods = [];
69268
- if (options.defaults)
69269
- object.generateOmittedAsInternal = false;
69270
- if (message.methods && message.methods.length) {
69271
- object.methods = [];
69272
- for (var j = 0; j < message.methods.length; ++j)
69273
- object.methods[j] = message.methods[j];
69274
- }
69275
- if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
69276
- object.generateOmittedAsInternal = message.generateOmittedAsInternal;
69277
- return object;
69278
- };
69279
-
69280
- /**
69281
- * Converts this SelectiveGapicGeneration to JSON.
69282
- * @function toJSON
69283
- * @memberof google.api.SelectiveGapicGeneration
69284
- * @instance
69285
- * @returns {Object.<string,*>} JSON object
69286
- */
69287
- SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
69288
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
69289
- };
69290
-
69291
- /**
69292
- * Gets the default type url for SelectiveGapicGeneration
69293
- * @function getTypeUrl
69294
- * @memberof google.api.SelectiveGapicGeneration
69295
- * @static
69296
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
69297
- * @returns {string} The default type url
69298
- */
69299
- SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
69300
- if (typeUrlPrefix === undefined) {
69301
- typeUrlPrefix = "type.googleapis.com";
69302
- }
69303
- return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
69304
- };
69305
-
69306
- return SelectiveGapicGeneration;
69307
- })();
69308
-
69309
67386
  /**
69310
67387
  * LaunchStage enum.
69311
67388
  * @name google.api.LaunchStage