@googlemaps/fleetengine 0.8.0 → 0.8.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.
@@ -18539,7 +18539,6 @@
18539
18539
  * @interface ICommonLanguageSettings
18540
18540
  * @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
18541
18541
  * @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
18542
- * @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
18543
18542
  */
18544
18543
 
18545
18544
  /**
@@ -18574,14 +18573,6 @@
18574
18573
  */
18575
18574
  CommonLanguageSettings.prototype.destinations = $util.emptyArray;
18576
18575
 
18577
- /**
18578
- * CommonLanguageSettings selectiveGapicGeneration.
18579
- * @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
18580
- * @memberof google.api.CommonLanguageSettings
18581
- * @instance
18582
- */
18583
- CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
18584
-
18585
18576
  /**
18586
18577
  * Creates a new CommonLanguageSettings instance using the specified properties.
18587
18578
  * @function create
@@ -18614,8 +18605,6 @@
18614
18605
  writer.int32(message.destinations[i]);
18615
18606
  writer.ldelim();
18616
18607
  }
18617
- if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
18618
- $root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
18619
18608
  return writer;
18620
18609
  };
18621
18610
 
@@ -18667,10 +18656,6 @@
18667
18656
  message.destinations.push(reader.int32());
18668
18657
  break;
18669
18658
  }
18670
- case 3: {
18671
- message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
18672
- break;
18673
- }
18674
18659
  default:
18675
18660
  reader.skipType(tag & 7);
18676
18661
  break;
@@ -18722,11 +18707,6 @@
18722
18707
  break;
18723
18708
  }
18724
18709
  }
18725
- if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
18726
- var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
18727
- if (error)
18728
- return "selectiveGapicGeneration." + error;
18729
- }
18730
18710
  return null;
18731
18711
  };
18732
18712
 
@@ -18769,11 +18749,6 @@
18769
18749
  break;
18770
18750
  }
18771
18751
  }
18772
- if (object.selectiveGapicGeneration != null) {
18773
- if (typeof object.selectiveGapicGeneration !== "object")
18774
- throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
18775
- message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
18776
- }
18777
18752
  return message;
18778
18753
  };
18779
18754
 
@@ -18792,10 +18767,8 @@
18792
18767
  var object = {};
18793
18768
  if (options.arrays || options.defaults)
18794
18769
  object.destinations = [];
18795
- if (options.defaults) {
18770
+ if (options.defaults)
18796
18771
  object.referenceDocsUri = "";
18797
- object.selectiveGapicGeneration = null;
18798
- }
18799
18772
  if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
18800
18773
  object.referenceDocsUri = message.referenceDocsUri;
18801
18774
  if (message.destinations && message.destinations.length) {
@@ -18803,8 +18776,6 @@
18803
18776
  for (var j = 0; j < message.destinations.length; ++j)
18804
18777
  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];
18805
18778
  }
18806
- if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
18807
- object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
18808
18779
  return object;
18809
18780
  };
18810
18781
 
@@ -20627,7 +20598,6 @@
20627
20598
  * @memberof google.api
20628
20599
  * @interface IPythonSettings
20629
20600
  * @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
20630
- * @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
20631
20601
  */
20632
20602
 
20633
20603
  /**
@@ -20653,14 +20623,6 @@
20653
20623
  */
20654
20624
  PythonSettings.prototype.common = null;
20655
20625
 
20656
- /**
20657
- * PythonSettings experimentalFeatures.
20658
- * @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
20659
- * @memberof google.api.PythonSettings
20660
- * @instance
20661
- */
20662
- PythonSettings.prototype.experimentalFeatures = null;
20663
-
20664
20626
  /**
20665
20627
  * Creates a new PythonSettings instance using the specified properties.
20666
20628
  * @function create
@@ -20687,8 +20649,6 @@
20687
20649
  writer = $Writer.create();
20688
20650
  if (message.common != null && Object.hasOwnProperty.call(message, "common"))
20689
20651
  $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
20690
- if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
20691
- $root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
20692
20652
  return writer;
20693
20653
  };
20694
20654
 
@@ -20729,10 +20689,6 @@
20729
20689
  message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
20730
20690
  break;
20731
20691
  }
20732
- case 2: {
20733
- message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
20734
- break;
20735
- }
20736
20692
  default:
20737
20693
  reader.skipType(tag & 7);
20738
20694
  break;
@@ -20773,11 +20729,6 @@
20773
20729
  if (error)
20774
20730
  return "common." + error;
20775
20731
  }
20776
- if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
20777
- var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
20778
- if (error)
20779
- return "experimentalFeatures." + error;
20780
- }
20781
20732
  return null;
20782
20733
  };
20783
20734
 
@@ -20798,11 +20749,6 @@
20798
20749
  throw TypeError(".google.api.PythonSettings.common: object expected");
20799
20750
  message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
20800
20751
  }
20801
- if (object.experimentalFeatures != null) {
20802
- if (typeof object.experimentalFeatures !== "object")
20803
- throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
20804
- message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
20805
- }
20806
20752
  return message;
20807
20753
  };
20808
20754
 
@@ -20819,14 +20765,10 @@
20819
20765
  if (!options)
20820
20766
  options = {};
20821
20767
  var object = {};
20822
- if (options.defaults) {
20768
+ if (options.defaults)
20823
20769
  object.common = null;
20824
- object.experimentalFeatures = null;
20825
- }
20826
20770
  if (message.common != null && message.hasOwnProperty("common"))
20827
20771
  object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
20828
- if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
20829
- object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
20830
20772
  return object;
20831
20773
  };
20832
20774
 
@@ -20856,258 +20798,6 @@
20856
20798
  return typeUrlPrefix + "/google.api.PythonSettings";
20857
20799
  };
20858
20800
 
20859
- PythonSettings.ExperimentalFeatures = (function() {
20860
-
20861
- /**
20862
- * Properties of an ExperimentalFeatures.
20863
- * @memberof google.api.PythonSettings
20864
- * @interface IExperimentalFeatures
20865
- * @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
20866
- * @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
20867
- * @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
20868
- */
20869
-
20870
- /**
20871
- * Constructs a new ExperimentalFeatures.
20872
- * @memberof google.api.PythonSettings
20873
- * @classdesc Represents an ExperimentalFeatures.
20874
- * @implements IExperimentalFeatures
20875
- * @constructor
20876
- * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
20877
- */
20878
- function ExperimentalFeatures(properties) {
20879
- if (properties)
20880
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
20881
- if (properties[keys[i]] != null)
20882
- this[keys[i]] = properties[keys[i]];
20883
- }
20884
-
20885
- /**
20886
- * ExperimentalFeatures restAsyncIoEnabled.
20887
- * @member {boolean} restAsyncIoEnabled
20888
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20889
- * @instance
20890
- */
20891
- ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
20892
-
20893
- /**
20894
- * ExperimentalFeatures protobufPythonicTypesEnabled.
20895
- * @member {boolean} protobufPythonicTypesEnabled
20896
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20897
- * @instance
20898
- */
20899
- ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
20900
-
20901
- /**
20902
- * ExperimentalFeatures unversionedPackageDisabled.
20903
- * @member {boolean} unversionedPackageDisabled
20904
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20905
- * @instance
20906
- */
20907
- ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
20908
-
20909
- /**
20910
- * Creates a new ExperimentalFeatures instance using the specified properties.
20911
- * @function create
20912
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20913
- * @static
20914
- * @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
20915
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
20916
- */
20917
- ExperimentalFeatures.create = function create(properties) {
20918
- return new ExperimentalFeatures(properties);
20919
- };
20920
-
20921
- /**
20922
- * Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
20923
- * @function encode
20924
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20925
- * @static
20926
- * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
20927
- * @param {$protobuf.Writer} [writer] Writer to encode to
20928
- * @returns {$protobuf.Writer} Writer
20929
- */
20930
- ExperimentalFeatures.encode = function encode(message, writer) {
20931
- if (!writer)
20932
- writer = $Writer.create();
20933
- if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
20934
- writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
20935
- if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
20936
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
20937
- if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
20938
- writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
20939
- return writer;
20940
- };
20941
-
20942
- /**
20943
- * Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
20944
- * @function encodeDelimited
20945
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20946
- * @static
20947
- * @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
20948
- * @param {$protobuf.Writer} [writer] Writer to encode to
20949
- * @returns {$protobuf.Writer} Writer
20950
- */
20951
- ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
20952
- return this.encode(message, writer).ldelim();
20953
- };
20954
-
20955
- /**
20956
- * Decodes an ExperimentalFeatures message from the specified reader or buffer.
20957
- * @function decode
20958
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20959
- * @static
20960
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
20961
- * @param {number} [length] Message length if known beforehand
20962
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
20963
- * @throws {Error} If the payload is not a reader or valid buffer
20964
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
20965
- */
20966
- ExperimentalFeatures.decode = function decode(reader, length, error) {
20967
- if (!(reader instanceof $Reader))
20968
- reader = $Reader.create(reader);
20969
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
20970
- while (reader.pos < end) {
20971
- var tag = reader.uint32();
20972
- if (tag === error)
20973
- break;
20974
- switch (tag >>> 3) {
20975
- case 1: {
20976
- message.restAsyncIoEnabled = reader.bool();
20977
- break;
20978
- }
20979
- case 2: {
20980
- message.protobufPythonicTypesEnabled = reader.bool();
20981
- break;
20982
- }
20983
- case 3: {
20984
- message.unversionedPackageDisabled = reader.bool();
20985
- break;
20986
- }
20987
- default:
20988
- reader.skipType(tag & 7);
20989
- break;
20990
- }
20991
- }
20992
- return message;
20993
- };
20994
-
20995
- /**
20996
- * Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
20997
- * @function decodeDelimited
20998
- * @memberof google.api.PythonSettings.ExperimentalFeatures
20999
- * @static
21000
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
21001
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
21002
- * @throws {Error} If the payload is not a reader or valid buffer
21003
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
21004
- */
21005
- ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
21006
- if (!(reader instanceof $Reader))
21007
- reader = new $Reader(reader);
21008
- return this.decode(reader, reader.uint32());
21009
- };
21010
-
21011
- /**
21012
- * Verifies an ExperimentalFeatures message.
21013
- * @function verify
21014
- * @memberof google.api.PythonSettings.ExperimentalFeatures
21015
- * @static
21016
- * @param {Object.<string,*>} message Plain object to verify
21017
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
21018
- */
21019
- ExperimentalFeatures.verify = function verify(message) {
21020
- if (typeof message !== "object" || message === null)
21021
- return "object expected";
21022
- if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
21023
- if (typeof message.restAsyncIoEnabled !== "boolean")
21024
- return "restAsyncIoEnabled: boolean expected";
21025
- if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
21026
- if (typeof message.protobufPythonicTypesEnabled !== "boolean")
21027
- return "protobufPythonicTypesEnabled: boolean expected";
21028
- if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
21029
- if (typeof message.unversionedPackageDisabled !== "boolean")
21030
- return "unversionedPackageDisabled: boolean expected";
21031
- return null;
21032
- };
21033
-
21034
- /**
21035
- * Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
21036
- * @function fromObject
21037
- * @memberof google.api.PythonSettings.ExperimentalFeatures
21038
- * @static
21039
- * @param {Object.<string,*>} object Plain object
21040
- * @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
21041
- */
21042
- ExperimentalFeatures.fromObject = function fromObject(object) {
21043
- if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
21044
- return object;
21045
- var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
21046
- if (object.restAsyncIoEnabled != null)
21047
- message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
21048
- if (object.protobufPythonicTypesEnabled != null)
21049
- message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
21050
- if (object.unversionedPackageDisabled != null)
21051
- message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
21052
- return message;
21053
- };
21054
-
21055
- /**
21056
- * Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
21057
- * @function toObject
21058
- * @memberof google.api.PythonSettings.ExperimentalFeatures
21059
- * @static
21060
- * @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
21061
- * @param {$protobuf.IConversionOptions} [options] Conversion options
21062
- * @returns {Object.<string,*>} Plain object
21063
- */
21064
- ExperimentalFeatures.toObject = function toObject(message, options) {
21065
- if (!options)
21066
- options = {};
21067
- var object = {};
21068
- if (options.defaults) {
21069
- object.restAsyncIoEnabled = false;
21070
- object.protobufPythonicTypesEnabled = false;
21071
- object.unversionedPackageDisabled = false;
21072
- }
21073
- if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
21074
- object.restAsyncIoEnabled = message.restAsyncIoEnabled;
21075
- if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
21076
- object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
21077
- if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
21078
- object.unversionedPackageDisabled = message.unversionedPackageDisabled;
21079
- return object;
21080
- };
21081
-
21082
- /**
21083
- * Converts this ExperimentalFeatures to JSON.
21084
- * @function toJSON
21085
- * @memberof google.api.PythonSettings.ExperimentalFeatures
21086
- * @instance
21087
- * @returns {Object.<string,*>} JSON object
21088
- */
21089
- ExperimentalFeatures.prototype.toJSON = function toJSON() {
21090
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
21091
- };
21092
-
21093
- /**
21094
- * Gets the default type url for ExperimentalFeatures
21095
- * @function getTypeUrl
21096
- * @memberof google.api.PythonSettings.ExperimentalFeatures
21097
- * @static
21098
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
21099
- * @returns {string} The default type url
21100
- */
21101
- ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
21102
- if (typeUrlPrefix === undefined) {
21103
- typeUrlPrefix = "type.googleapis.com";
21104
- }
21105
- return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
21106
- };
21107
-
21108
- return ExperimentalFeatures;
21109
- })();
21110
-
21111
20801
  return PythonSettings;
21112
20802
  })();
21113
20803
 
@@ -21984,7 +21674,6 @@
21984
21674
  * @memberof google.api
21985
21675
  * @interface IGoSettings
21986
21676
  * @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
21987
- * @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
21988
21677
  */
21989
21678
 
21990
21679
  /**
@@ -21996,7 +21685,6 @@
21996
21685
  * @param {google.api.IGoSettings=} [properties] Properties to set
21997
21686
  */
21998
21687
  function GoSettings(properties) {
21999
- this.renamedServices = {};
22000
21688
  if (properties)
22001
21689
  for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
22002
21690
  if (properties[keys[i]] != null)
@@ -22011,14 +21699,6 @@
22011
21699
  */
22012
21700
  GoSettings.prototype.common = null;
22013
21701
 
22014
- /**
22015
- * GoSettings renamedServices.
22016
- * @member {Object.<string,string>} renamedServices
22017
- * @memberof google.api.GoSettings
22018
- * @instance
22019
- */
22020
- GoSettings.prototype.renamedServices = $util.emptyObject;
22021
-
22022
21702
  /**
22023
21703
  * Creates a new GoSettings instance using the specified properties.
22024
21704
  * @function create
@@ -22045,9 +21725,6 @@
22045
21725
  writer = $Writer.create();
22046
21726
  if (message.common != null && Object.hasOwnProperty.call(message, "common"))
22047
21727
  $root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
22048
- if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
22049
- for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
22050
- 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();
22051
21728
  return writer;
22052
21729
  };
22053
21730
 
@@ -22078,7 +21755,7 @@
22078
21755
  GoSettings.decode = function decode(reader, length, error) {
22079
21756
  if (!(reader instanceof $Reader))
22080
21757
  reader = $Reader.create(reader);
22081
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings(), key, value;
21758
+ var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
22082
21759
  while (reader.pos < end) {
22083
21760
  var tag = reader.uint32();
22084
21761
  if (tag === error)
@@ -22088,29 +21765,6 @@
22088
21765
  message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
22089
21766
  break;
22090
21767
  }
22091
- case 2: {
22092
- if (message.renamedServices === $util.emptyObject)
22093
- message.renamedServices = {};
22094
- var end2 = reader.uint32() + reader.pos;
22095
- key = "";
22096
- value = "";
22097
- while (reader.pos < end2) {
22098
- var tag2 = reader.uint32();
22099
- switch (tag2 >>> 3) {
22100
- case 1:
22101
- key = reader.string();
22102
- break;
22103
- case 2:
22104
- value = reader.string();
22105
- break;
22106
- default:
22107
- reader.skipType(tag2 & 7);
22108
- break;
22109
- }
22110
- }
22111
- message.renamedServices[key] = value;
22112
- break;
22113
- }
22114
21768
  default:
22115
21769
  reader.skipType(tag & 7);
22116
21770
  break;
@@ -22151,14 +21805,6 @@
22151
21805
  if (error)
22152
21806
  return "common." + error;
22153
21807
  }
22154
- if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
22155
- if (!$util.isObject(message.renamedServices))
22156
- return "renamedServices: object expected";
22157
- var key = Object.keys(message.renamedServices);
22158
- for (var i = 0; i < key.length; ++i)
22159
- if (!$util.isString(message.renamedServices[key[i]]))
22160
- return "renamedServices: string{k:string} expected";
22161
- }
22162
21808
  return null;
22163
21809
  };
22164
21810
 
@@ -22179,13 +21825,6 @@
22179
21825
  throw TypeError(".google.api.GoSettings.common: object expected");
22180
21826
  message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
22181
21827
  }
22182
- if (object.renamedServices) {
22183
- if (typeof object.renamedServices !== "object")
22184
- throw TypeError(".google.api.GoSettings.renamedServices: object expected");
22185
- message.renamedServices = {};
22186
- for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
22187
- message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
22188
- }
22189
21828
  return message;
22190
21829
  };
22191
21830
 
@@ -22202,18 +21841,10 @@
22202
21841
  if (!options)
22203
21842
  options = {};
22204
21843
  var object = {};
22205
- if (options.objects || options.defaults)
22206
- object.renamedServices = {};
22207
21844
  if (options.defaults)
22208
21845
  object.common = null;
22209
21846
  if (message.common != null && message.hasOwnProperty("common"))
22210
21847
  object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
22211
- var keys2;
22212
- if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
22213
- object.renamedServices = {};
22214
- for (var j = 0; j < keys2.length; ++j)
22215
- object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
22216
- }
22217
21848
  return object;
22218
21849
  };
22219
21850
 
@@ -22852,251 +22483,6 @@
22852
22483
  return values;
22853
22484
  })();
22854
22485
 
22855
- api.SelectiveGapicGeneration = (function() {
22856
-
22857
- /**
22858
- * Properties of a SelectiveGapicGeneration.
22859
- * @memberof google.api
22860
- * @interface ISelectiveGapicGeneration
22861
- * @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
22862
- * @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
22863
- */
22864
-
22865
- /**
22866
- * Constructs a new SelectiveGapicGeneration.
22867
- * @memberof google.api
22868
- * @classdesc Represents a SelectiveGapicGeneration.
22869
- * @implements ISelectiveGapicGeneration
22870
- * @constructor
22871
- * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
22872
- */
22873
- function SelectiveGapicGeneration(properties) {
22874
- this.methods = [];
22875
- if (properties)
22876
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
22877
- if (properties[keys[i]] != null)
22878
- this[keys[i]] = properties[keys[i]];
22879
- }
22880
-
22881
- /**
22882
- * SelectiveGapicGeneration methods.
22883
- * @member {Array.<string>} methods
22884
- * @memberof google.api.SelectiveGapicGeneration
22885
- * @instance
22886
- */
22887
- SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
22888
-
22889
- /**
22890
- * SelectiveGapicGeneration generateOmittedAsInternal.
22891
- * @member {boolean} generateOmittedAsInternal
22892
- * @memberof google.api.SelectiveGapicGeneration
22893
- * @instance
22894
- */
22895
- SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
22896
-
22897
- /**
22898
- * Creates a new SelectiveGapicGeneration instance using the specified properties.
22899
- * @function create
22900
- * @memberof google.api.SelectiveGapicGeneration
22901
- * @static
22902
- * @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
22903
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
22904
- */
22905
- SelectiveGapicGeneration.create = function create(properties) {
22906
- return new SelectiveGapicGeneration(properties);
22907
- };
22908
-
22909
- /**
22910
- * Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
22911
- * @function encode
22912
- * @memberof google.api.SelectiveGapicGeneration
22913
- * @static
22914
- * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
22915
- * @param {$protobuf.Writer} [writer] Writer to encode to
22916
- * @returns {$protobuf.Writer} Writer
22917
- */
22918
- SelectiveGapicGeneration.encode = function encode(message, writer) {
22919
- if (!writer)
22920
- writer = $Writer.create();
22921
- if (message.methods != null && message.methods.length)
22922
- for (var i = 0; i < message.methods.length; ++i)
22923
- writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
22924
- if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
22925
- writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
22926
- return writer;
22927
- };
22928
-
22929
- /**
22930
- * Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
22931
- * @function encodeDelimited
22932
- * @memberof google.api.SelectiveGapicGeneration
22933
- * @static
22934
- * @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
22935
- * @param {$protobuf.Writer} [writer] Writer to encode to
22936
- * @returns {$protobuf.Writer} Writer
22937
- */
22938
- SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
22939
- return this.encode(message, writer).ldelim();
22940
- };
22941
-
22942
- /**
22943
- * Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
22944
- * @function decode
22945
- * @memberof google.api.SelectiveGapicGeneration
22946
- * @static
22947
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22948
- * @param {number} [length] Message length if known beforehand
22949
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
22950
- * @throws {Error} If the payload is not a reader or valid buffer
22951
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
22952
- */
22953
- SelectiveGapicGeneration.decode = function decode(reader, length, error) {
22954
- if (!(reader instanceof $Reader))
22955
- reader = $Reader.create(reader);
22956
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
22957
- while (reader.pos < end) {
22958
- var tag = reader.uint32();
22959
- if (tag === error)
22960
- break;
22961
- switch (tag >>> 3) {
22962
- case 1: {
22963
- if (!(message.methods && message.methods.length))
22964
- message.methods = [];
22965
- message.methods.push(reader.string());
22966
- break;
22967
- }
22968
- case 2: {
22969
- message.generateOmittedAsInternal = reader.bool();
22970
- break;
22971
- }
22972
- default:
22973
- reader.skipType(tag & 7);
22974
- break;
22975
- }
22976
- }
22977
- return message;
22978
- };
22979
-
22980
- /**
22981
- * Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
22982
- * @function decodeDelimited
22983
- * @memberof google.api.SelectiveGapicGeneration
22984
- * @static
22985
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
22986
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
22987
- * @throws {Error} If the payload is not a reader or valid buffer
22988
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
22989
- */
22990
- SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
22991
- if (!(reader instanceof $Reader))
22992
- reader = new $Reader(reader);
22993
- return this.decode(reader, reader.uint32());
22994
- };
22995
-
22996
- /**
22997
- * Verifies a SelectiveGapicGeneration message.
22998
- * @function verify
22999
- * @memberof google.api.SelectiveGapicGeneration
23000
- * @static
23001
- * @param {Object.<string,*>} message Plain object to verify
23002
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
23003
- */
23004
- SelectiveGapicGeneration.verify = function verify(message) {
23005
- if (typeof message !== "object" || message === null)
23006
- return "object expected";
23007
- if (message.methods != null && message.hasOwnProperty("methods")) {
23008
- if (!Array.isArray(message.methods))
23009
- return "methods: array expected";
23010
- for (var i = 0; i < message.methods.length; ++i)
23011
- if (!$util.isString(message.methods[i]))
23012
- return "methods: string[] expected";
23013
- }
23014
- if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
23015
- if (typeof message.generateOmittedAsInternal !== "boolean")
23016
- return "generateOmittedAsInternal: boolean expected";
23017
- return null;
23018
- };
23019
-
23020
- /**
23021
- * Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
23022
- * @function fromObject
23023
- * @memberof google.api.SelectiveGapicGeneration
23024
- * @static
23025
- * @param {Object.<string,*>} object Plain object
23026
- * @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
23027
- */
23028
- SelectiveGapicGeneration.fromObject = function fromObject(object) {
23029
- if (object instanceof $root.google.api.SelectiveGapicGeneration)
23030
- return object;
23031
- var message = new $root.google.api.SelectiveGapicGeneration();
23032
- if (object.methods) {
23033
- if (!Array.isArray(object.methods))
23034
- throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
23035
- message.methods = [];
23036
- for (var i = 0; i < object.methods.length; ++i)
23037
- message.methods[i] = String(object.methods[i]);
23038
- }
23039
- if (object.generateOmittedAsInternal != null)
23040
- message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
23041
- return message;
23042
- };
23043
-
23044
- /**
23045
- * Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
23046
- * @function toObject
23047
- * @memberof google.api.SelectiveGapicGeneration
23048
- * @static
23049
- * @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
23050
- * @param {$protobuf.IConversionOptions} [options] Conversion options
23051
- * @returns {Object.<string,*>} Plain object
23052
- */
23053
- SelectiveGapicGeneration.toObject = function toObject(message, options) {
23054
- if (!options)
23055
- options = {};
23056
- var object = {};
23057
- if (options.arrays || options.defaults)
23058
- object.methods = [];
23059
- if (options.defaults)
23060
- object.generateOmittedAsInternal = false;
23061
- if (message.methods && message.methods.length) {
23062
- object.methods = [];
23063
- for (var j = 0; j < message.methods.length; ++j)
23064
- object.methods[j] = message.methods[j];
23065
- }
23066
- if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
23067
- object.generateOmittedAsInternal = message.generateOmittedAsInternal;
23068
- return object;
23069
- };
23070
-
23071
- /**
23072
- * Converts this SelectiveGapicGeneration to JSON.
23073
- * @function toJSON
23074
- * @memberof google.api.SelectiveGapicGeneration
23075
- * @instance
23076
- * @returns {Object.<string,*>} JSON object
23077
- */
23078
- SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
23079
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
23080
- };
23081
-
23082
- /**
23083
- * Gets the default type url for SelectiveGapicGeneration
23084
- * @function getTypeUrl
23085
- * @memberof google.api.SelectiveGapicGeneration
23086
- * @static
23087
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
23088
- * @returns {string} The default type url
23089
- */
23090
- SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
23091
- if (typeUrlPrefix === undefined) {
23092
- typeUrlPrefix = "type.googleapis.com";
23093
- }
23094
- return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
23095
- };
23096
-
23097
- return SelectiveGapicGeneration;
23098
- })();
23099
-
23100
22486
  /**
23101
22487
  * LaunchStage enum.
23102
22488
  * @name google.api.LaunchStage
@@ -23821,7 +23207,6 @@
23821
23207
  * @name google.protobuf.Edition
23822
23208
  * @enum {number}
23823
23209
  * @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
23824
- * @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
23825
23210
  * @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
23826
23211
  * @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
23827
23212
  * @property {number} EDITION_2023=1000 EDITION_2023 value
@@ -23836,7 +23221,6 @@
23836
23221
  protobuf.Edition = (function() {
23837
23222
  var valuesById = {}, values = Object.create(valuesById);
23838
23223
  values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
23839
- values[valuesById[900] = "EDITION_LEGACY"] = 900;
23840
23224
  values[valuesById[998] = "EDITION_PROTO2"] = 998;
23841
23225
  values[valuesById[999] = "EDITION_PROTO3"] = 999;
23842
23226
  values[valuesById[1000] = "EDITION_2023"] = 1000;
@@ -23861,7 +23245,6 @@
23861
23245
  * @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
23862
23246
  * @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
23863
23247
  * @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
23864
- * @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
23865
23248
  * @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
23866
23249
  * @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
23867
23250
  * @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
@@ -23884,7 +23267,6 @@
23884
23267
  this.dependency = [];
23885
23268
  this.publicDependency = [];
23886
23269
  this.weakDependency = [];
23887
- this.optionDependency = [];
23888
23270
  this.messageType = [];
23889
23271
  this.enumType = [];
23890
23272
  this.service = [];
@@ -23935,14 +23317,6 @@
23935
23317
  */
23936
23318
  FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
23937
23319
 
23938
- /**
23939
- * FileDescriptorProto optionDependency.
23940
- * @member {Array.<string>} optionDependency
23941
- * @memberof google.protobuf.FileDescriptorProto
23942
- * @instance
23943
- */
23944
- FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
23945
-
23946
23320
  /**
23947
23321
  * FileDescriptorProto messageType.
23948
23322
  * @member {Array.<google.protobuf.IDescriptorProto>} messageType
@@ -24064,9 +23438,6 @@
24064
23438
  writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
24065
23439
  if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
24066
23440
  writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
24067
- if (message.optionDependency != null && message.optionDependency.length)
24068
- for (var i = 0; i < message.optionDependency.length; ++i)
24069
- writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
24070
23441
  return writer;
24071
23442
  };
24072
23443
 
@@ -24139,12 +23510,6 @@
24139
23510
  message.weakDependency.push(reader.int32());
24140
23511
  break;
24141
23512
  }
24142
- case 15: {
24143
- if (!(message.optionDependency && message.optionDependency.length))
24144
- message.optionDependency = [];
24145
- message.optionDependency.push(reader.string());
24146
- break;
24147
- }
24148
23513
  case 4: {
24149
23514
  if (!(message.messageType && message.messageType.length))
24150
23515
  message.messageType = [];
@@ -24247,13 +23612,6 @@
24247
23612
  if (!$util.isInteger(message.weakDependency[i]))
24248
23613
  return "weakDependency: integer[] expected";
24249
23614
  }
24250
- if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
24251
- if (!Array.isArray(message.optionDependency))
24252
- return "optionDependency: array expected";
24253
- for (var i = 0; i < message.optionDependency.length; ++i)
24254
- if (!$util.isString(message.optionDependency[i]))
24255
- return "optionDependency: string[] expected";
24256
- }
24257
23615
  if (message.messageType != null && message.hasOwnProperty("messageType")) {
24258
23616
  if (!Array.isArray(message.messageType))
24259
23617
  return "messageType: array expected";
@@ -24308,7 +23666,6 @@
24308
23666
  default:
24309
23667
  return "edition: enum value expected";
24310
23668
  case 0:
24311
- case 900:
24312
23669
  case 998:
24313
23670
  case 999:
24314
23671
  case 1000:
@@ -24361,13 +23718,6 @@
24361
23718
  for (var i = 0; i < object.weakDependency.length; ++i)
24362
23719
  message.weakDependency[i] = object.weakDependency[i] | 0;
24363
23720
  }
24364
- if (object.optionDependency) {
24365
- if (!Array.isArray(object.optionDependency))
24366
- throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
24367
- message.optionDependency = [];
24368
- for (var i = 0; i < object.optionDependency.length; ++i)
24369
- message.optionDependency[i] = String(object.optionDependency[i]);
24370
- }
24371
23721
  if (object.messageType) {
24372
23722
  if (!Array.isArray(object.messageType))
24373
23723
  throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
@@ -24431,10 +23781,6 @@
24431
23781
  case 0:
24432
23782
  message.edition = 0;
24433
23783
  break;
24434
- case "EDITION_LEGACY":
24435
- case 900:
24436
- message.edition = 900;
24437
- break;
24438
23784
  case "EDITION_PROTO2":
24439
23785
  case 998:
24440
23786
  message.edition = 998;
@@ -24500,7 +23846,6 @@
24500
23846
  object.extension = [];
24501
23847
  object.publicDependency = [];
24502
23848
  object.weakDependency = [];
24503
- object.optionDependency = [];
24504
23849
  }
24505
23850
  if (options.defaults) {
24506
23851
  object.name = "";
@@ -24557,11 +23902,6 @@
24557
23902
  object.syntax = message.syntax;
24558
23903
  if (message.edition != null && message.hasOwnProperty("edition"))
24559
23904
  object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
24560
- if (message.optionDependency && message.optionDependency.length) {
24561
- object.optionDependency = [];
24562
- for (var j = 0; j < message.optionDependency.length; ++j)
24563
- object.optionDependency[j] = message.optionDependency[j];
24564
- }
24565
23905
  return object;
24566
23906
  };
24567
23907
 
@@ -24610,7 +23950,6 @@
24610
23950
  * @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
24611
23951
  * @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
24612
23952
  * @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
24613
- * @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
24614
23953
  */
24615
23954
 
24616
23955
  /**
@@ -24716,14 +24055,6 @@
24716
24055
  */
24717
24056
  DescriptorProto.prototype.reservedName = $util.emptyArray;
24718
24057
 
24719
- /**
24720
- * DescriptorProto visibility.
24721
- * @member {google.protobuf.SymbolVisibility} visibility
24722
- * @memberof google.protobuf.DescriptorProto
24723
- * @instance
24724
- */
24725
- DescriptorProto.prototype.visibility = 0;
24726
-
24727
24058
  /**
24728
24059
  * Creates a new DescriptorProto instance using the specified properties.
24729
24060
  * @function create
@@ -24776,8 +24107,6 @@
24776
24107
  if (message.reservedName != null && message.reservedName.length)
24777
24108
  for (var i = 0; i < message.reservedName.length; ++i)
24778
24109
  writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
24779
- if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
24780
- writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
24781
24110
  return writer;
24782
24111
  };
24783
24112
 
@@ -24870,10 +24199,6 @@
24870
24199
  message.reservedName.push(reader.string());
24871
24200
  break;
24872
24201
  }
24873
- case 11: {
24874
- message.visibility = reader.int32();
24875
- break;
24876
- }
24877
24202
  default:
24878
24203
  reader.skipType(tag & 7);
24879
24204
  break;
@@ -24987,15 +24312,6 @@
24987
24312
  if (!$util.isString(message.reservedName[i]))
24988
24313
  return "reservedName: string[] expected";
24989
24314
  }
24990
- if (message.visibility != null && message.hasOwnProperty("visibility"))
24991
- switch (message.visibility) {
24992
- default:
24993
- return "visibility: enum value expected";
24994
- case 0:
24995
- case 1:
24996
- case 2:
24997
- break;
24998
- }
24999
24315
  return null;
25000
24316
  };
25001
24317
 
@@ -25095,26 +24411,6 @@
25095
24411
  for (var i = 0; i < object.reservedName.length; ++i)
25096
24412
  message.reservedName[i] = String(object.reservedName[i]);
25097
24413
  }
25098
- switch (object.visibility) {
25099
- default:
25100
- if (typeof object.visibility === "number") {
25101
- message.visibility = object.visibility;
25102
- break;
25103
- }
25104
- break;
25105
- case "VISIBILITY_UNSET":
25106
- case 0:
25107
- message.visibility = 0;
25108
- break;
25109
- case "VISIBILITY_LOCAL":
25110
- case 1:
25111
- message.visibility = 1;
25112
- break;
25113
- case "VISIBILITY_EXPORT":
25114
- case 2:
25115
- message.visibility = 2;
25116
- break;
25117
- }
25118
24414
  return message;
25119
24415
  };
25120
24416
 
@@ -25144,7 +24440,6 @@
25144
24440
  if (options.defaults) {
25145
24441
  object.name = "";
25146
24442
  object.options = null;
25147
- object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
25148
24443
  }
25149
24444
  if (message.name != null && message.hasOwnProperty("name"))
25150
24445
  object.name = message.name;
@@ -25190,8 +24485,6 @@
25190
24485
  for (var j = 0; j < message.reservedName.length; ++j)
25191
24486
  object.reservedName[j] = message.reservedName[j];
25192
24487
  }
25193
- if (message.visibility != null && message.hasOwnProperty("visibility"))
25194
- object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
25195
24488
  return object;
25196
24489
  };
25197
24490
 
@@ -27236,7 +26529,6 @@
27236
26529
  * @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
27237
26530
  * @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
27238
26531
  * @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
27239
- * @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
27240
26532
  */
27241
26533
 
27242
26534
  /**
@@ -27297,14 +26589,6 @@
27297
26589
  */
27298
26590
  EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
27299
26591
 
27300
- /**
27301
- * EnumDescriptorProto visibility.
27302
- * @member {google.protobuf.SymbolVisibility} visibility
27303
- * @memberof google.protobuf.EnumDescriptorProto
27304
- * @instance
27305
- */
27306
- EnumDescriptorProto.prototype.visibility = 0;
27307
-
27308
26592
  /**
27309
26593
  * Creates a new EnumDescriptorProto instance using the specified properties.
27310
26594
  * @function create
@@ -27342,8 +26626,6 @@
27342
26626
  if (message.reservedName != null && message.reservedName.length)
27343
26627
  for (var i = 0; i < message.reservedName.length; ++i)
27344
26628
  writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
27345
- if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
27346
- writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
27347
26629
  return writer;
27348
26630
  };
27349
26631
 
@@ -27406,10 +26688,6 @@
27406
26688
  message.reservedName.push(reader.string());
27407
26689
  break;
27408
26690
  }
27409
- case 6: {
27410
- message.visibility = reader.int32();
27411
- break;
27412
- }
27413
26691
  default:
27414
26692
  reader.skipType(tag & 7);
27415
26693
  break;
@@ -27478,15 +26756,6 @@
27478
26756
  if (!$util.isString(message.reservedName[i]))
27479
26757
  return "reservedName: string[] expected";
27480
26758
  }
27481
- if (message.visibility != null && message.hasOwnProperty("visibility"))
27482
- switch (message.visibility) {
27483
- default:
27484
- return "visibility: enum value expected";
27485
- case 0:
27486
- case 1:
27487
- case 2:
27488
- break;
27489
- }
27490
26759
  return null;
27491
26760
  };
27492
26761
 
@@ -27536,26 +26805,6 @@
27536
26805
  for (var i = 0; i < object.reservedName.length; ++i)
27537
26806
  message.reservedName[i] = String(object.reservedName[i]);
27538
26807
  }
27539
- switch (object.visibility) {
27540
- default:
27541
- if (typeof object.visibility === "number") {
27542
- message.visibility = object.visibility;
27543
- break;
27544
- }
27545
- break;
27546
- case "VISIBILITY_UNSET":
27547
- case 0:
27548
- message.visibility = 0;
27549
- break;
27550
- case "VISIBILITY_LOCAL":
27551
- case 1:
27552
- message.visibility = 1;
27553
- break;
27554
- case "VISIBILITY_EXPORT":
27555
- case 2:
27556
- message.visibility = 2;
27557
- break;
27558
- }
27559
26808
  return message;
27560
26809
  };
27561
26810
 
@@ -27580,7 +26829,6 @@
27580
26829
  if (options.defaults) {
27581
26830
  object.name = "";
27582
26831
  object.options = null;
27583
- object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
27584
26832
  }
27585
26833
  if (message.name != null && message.hasOwnProperty("name"))
27586
26834
  object.name = message.name;
@@ -27601,8 +26849,6 @@
27601
26849
  for (var j = 0; j < message.reservedName.length; ++j)
27602
26850
  object.reservedName[j] = message.reservedName[j];
27603
26851
  }
27604
- if (message.visibility != null && message.hasOwnProperty("visibility"))
27605
- object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
27606
26852
  return object;
27607
26853
  };
27608
26854
 
@@ -29921,7 +29167,6 @@
29921
29167
  * @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
29922
29168
  * @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
29923
29169
  * @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
29924
- * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
29925
29170
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
29926
29171
  * @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
29927
29172
  * @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
@@ -30042,14 +29287,6 @@
30042
29287
  */
30043
29288
  FieldOptions.prototype.features = null;
30044
29289
 
30045
- /**
30046
- * FieldOptions featureSupport.
30047
- * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
30048
- * @memberof google.protobuf.FieldOptions
30049
- * @instance
30050
- */
30051
- FieldOptions.prototype.featureSupport = null;
30052
-
30053
29290
  /**
30054
29291
  * FieldOptions uninterpretedOption.
30055
29292
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -30124,8 +29361,6 @@
30124
29361
  $root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
30125
29362
  if (message.features != null && Object.hasOwnProperty.call(message, "features"))
30126
29363
  $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
30127
- if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
30128
- $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
30129
29364
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
30130
29365
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
30131
29366
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -30227,10 +29462,6 @@
30227
29462
  message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
30228
29463
  break;
30229
29464
  }
30230
- case 22: {
30231
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
30232
- break;
30233
- }
30234
29465
  case 999: {
30235
29466
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
30236
29467
  message.uninterpretedOption = [];
@@ -30366,11 +29597,6 @@
30366
29597
  if (error)
30367
29598
  return "features." + error;
30368
29599
  }
30369
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
30370
- var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
30371
- if (error)
30372
- return "featureSupport." + error;
30373
- }
30374
29600
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
30375
29601
  if (!Array.isArray(message.uninterpretedOption))
30376
29602
  return "uninterpretedOption: array expected";
@@ -30559,11 +29785,6 @@
30559
29785
  throw TypeError(".google.protobuf.FieldOptions.features: object expected");
30560
29786
  message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
30561
29787
  }
30562
- if (object.featureSupport != null) {
30563
- if (typeof object.featureSupport !== "object")
30564
- throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
30565
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
30566
- }
30567
29788
  if (object.uninterpretedOption) {
30568
29789
  if (!Array.isArray(object.uninterpretedOption))
30569
29790
  throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
@@ -30661,7 +29882,6 @@
30661
29882
  object.debugRedact = false;
30662
29883
  object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
30663
29884
  object.features = null;
30664
- object.featureSupport = null;
30665
29885
  object[".google.api.resourceReference"] = null;
30666
29886
  }
30667
29887
  if (message.ctype != null && message.hasOwnProperty("ctype"))
@@ -30694,8 +29914,6 @@
30694
29914
  }
30695
29915
  if (message.features != null && message.hasOwnProperty("features"))
30696
29916
  object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
30697
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
30698
- object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
30699
29917
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
30700
29918
  object.uninterpretedOption = [];
30701
29919
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -30968,7 +30186,6 @@
30968
30186
  default:
30969
30187
  return "edition: enum value expected";
30970
30188
  case 0:
30971
- case 900:
30972
30189
  case 998:
30973
30190
  case 999:
30974
30191
  case 1000:
@@ -31010,589 +30227,103 @@
31010
30227
  case 0:
31011
30228
  message.edition = 0;
31012
30229
  break;
31013
- case "EDITION_LEGACY":
31014
- case 900:
31015
- message.edition = 900;
31016
- break;
31017
30230
  case "EDITION_PROTO2":
31018
30231
  case 998:
31019
30232
  message.edition = 998;
31020
30233
  break;
31021
30234
  case "EDITION_PROTO3":
31022
30235
  case 999:
31023
- message.edition = 999;
31024
- break;
31025
- case "EDITION_2023":
31026
- case 1000:
31027
- message.edition = 1000;
31028
- break;
31029
- case "EDITION_2024":
31030
- case 1001:
31031
- message.edition = 1001;
31032
- break;
31033
- case "EDITION_1_TEST_ONLY":
31034
- case 1:
31035
- message.edition = 1;
31036
- break;
31037
- case "EDITION_2_TEST_ONLY":
31038
- case 2:
31039
- message.edition = 2;
31040
- break;
31041
- case "EDITION_99997_TEST_ONLY":
31042
- case 99997:
31043
- message.edition = 99997;
31044
- break;
31045
- case "EDITION_99998_TEST_ONLY":
31046
- case 99998:
31047
- message.edition = 99998;
31048
- break;
31049
- case "EDITION_99999_TEST_ONLY":
31050
- case 99999:
31051
- message.edition = 99999;
31052
- break;
31053
- case "EDITION_MAX":
31054
- case 2147483647:
31055
- message.edition = 2147483647;
31056
- break;
31057
- }
31058
- if (object.value != null)
31059
- message.value = String(object.value);
31060
- return message;
31061
- };
31062
-
31063
- /**
31064
- * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
31065
- * @function toObject
31066
- * @memberof google.protobuf.FieldOptions.EditionDefault
31067
- * @static
31068
- * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
31069
- * @param {$protobuf.IConversionOptions} [options] Conversion options
31070
- * @returns {Object.<string,*>} Plain object
31071
- */
31072
- EditionDefault.toObject = function toObject(message, options) {
31073
- if (!options)
31074
- options = {};
31075
- var object = {};
31076
- if (options.defaults) {
31077
- object.value = "";
31078
- object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
31079
- }
31080
- if (message.value != null && message.hasOwnProperty("value"))
31081
- object.value = message.value;
31082
- if (message.edition != null && message.hasOwnProperty("edition"))
31083
- object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
31084
- return object;
31085
- };
31086
-
31087
- /**
31088
- * Converts this EditionDefault to JSON.
31089
- * @function toJSON
31090
- * @memberof google.protobuf.FieldOptions.EditionDefault
31091
- * @instance
31092
- * @returns {Object.<string,*>} JSON object
31093
- */
31094
- EditionDefault.prototype.toJSON = function toJSON() {
31095
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
31096
- };
31097
-
31098
- /**
31099
- * Gets the default type url for EditionDefault
31100
- * @function getTypeUrl
31101
- * @memberof google.protobuf.FieldOptions.EditionDefault
31102
- * @static
31103
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31104
- * @returns {string} The default type url
31105
- */
31106
- EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
31107
- if (typeUrlPrefix === undefined) {
31108
- typeUrlPrefix = "type.googleapis.com";
31109
- }
31110
- return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
31111
- };
31112
-
31113
- return EditionDefault;
31114
- })();
31115
-
31116
- FieldOptions.FeatureSupport = (function() {
31117
-
31118
- /**
31119
- * Properties of a FeatureSupport.
31120
- * @memberof google.protobuf.FieldOptions
31121
- * @interface IFeatureSupport
31122
- * @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
31123
- * @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
31124
- * @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
31125
- * @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
31126
- */
31127
-
31128
- /**
31129
- * Constructs a new FeatureSupport.
31130
- * @memberof google.protobuf.FieldOptions
31131
- * @classdesc Represents a FeatureSupport.
31132
- * @implements IFeatureSupport
31133
- * @constructor
31134
- * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
31135
- */
31136
- function FeatureSupport(properties) {
31137
- if (properties)
31138
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
31139
- if (properties[keys[i]] != null)
31140
- this[keys[i]] = properties[keys[i]];
31141
- }
31142
-
31143
- /**
31144
- * FeatureSupport editionIntroduced.
31145
- * @member {google.protobuf.Edition} editionIntroduced
31146
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31147
- * @instance
31148
- */
31149
- FeatureSupport.prototype.editionIntroduced = 0;
31150
-
31151
- /**
31152
- * FeatureSupport editionDeprecated.
31153
- * @member {google.protobuf.Edition} editionDeprecated
31154
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31155
- * @instance
31156
- */
31157
- FeatureSupport.prototype.editionDeprecated = 0;
31158
-
31159
- /**
31160
- * FeatureSupport deprecationWarning.
31161
- * @member {string} deprecationWarning
31162
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31163
- * @instance
31164
- */
31165
- FeatureSupport.prototype.deprecationWarning = "";
31166
-
31167
- /**
31168
- * FeatureSupport editionRemoved.
31169
- * @member {google.protobuf.Edition} editionRemoved
31170
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31171
- * @instance
31172
- */
31173
- FeatureSupport.prototype.editionRemoved = 0;
31174
-
31175
- /**
31176
- * Creates a new FeatureSupport instance using the specified properties.
31177
- * @function create
31178
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31179
- * @static
31180
- * @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
31181
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
31182
- */
31183
- FeatureSupport.create = function create(properties) {
31184
- return new FeatureSupport(properties);
31185
- };
31186
-
31187
- /**
31188
- * Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
31189
- * @function encode
31190
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31191
- * @static
31192
- * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
31193
- * @param {$protobuf.Writer} [writer] Writer to encode to
31194
- * @returns {$protobuf.Writer} Writer
31195
- */
31196
- FeatureSupport.encode = function encode(message, writer) {
31197
- if (!writer)
31198
- writer = $Writer.create();
31199
- if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
31200
- writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
31201
- if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
31202
- writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
31203
- if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
31204
- writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
31205
- if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
31206
- writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
31207
- return writer;
31208
- };
31209
-
31210
- /**
31211
- * Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
31212
- * @function encodeDelimited
31213
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31214
- * @static
31215
- * @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
31216
- * @param {$protobuf.Writer} [writer] Writer to encode to
31217
- * @returns {$protobuf.Writer} Writer
31218
- */
31219
- FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
31220
- return this.encode(message, writer).ldelim();
31221
- };
31222
-
31223
- /**
31224
- * Decodes a FeatureSupport message from the specified reader or buffer.
31225
- * @function decode
31226
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31227
- * @static
31228
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
31229
- * @param {number} [length] Message length if known beforehand
31230
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
31231
- * @throws {Error} If the payload is not a reader or valid buffer
31232
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31233
- */
31234
- FeatureSupport.decode = function decode(reader, length, error) {
31235
- if (!(reader instanceof $Reader))
31236
- reader = $Reader.create(reader);
31237
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
31238
- while (reader.pos < end) {
31239
- var tag = reader.uint32();
31240
- if (tag === error)
31241
- break;
31242
- switch (tag >>> 3) {
31243
- case 1: {
31244
- message.editionIntroduced = reader.int32();
31245
- break;
31246
- }
31247
- case 2: {
31248
- message.editionDeprecated = reader.int32();
31249
- break;
31250
- }
31251
- case 3: {
31252
- message.deprecationWarning = reader.string();
31253
- break;
31254
- }
31255
- case 4: {
31256
- message.editionRemoved = reader.int32();
31257
- break;
31258
- }
31259
- default:
31260
- reader.skipType(tag & 7);
31261
- break;
31262
- }
31263
- }
31264
- return message;
31265
- };
31266
-
31267
- /**
31268
- * Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
31269
- * @function decodeDelimited
31270
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31271
- * @static
31272
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
31273
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
31274
- * @throws {Error} If the payload is not a reader or valid buffer
31275
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
31276
- */
31277
- FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
31278
- if (!(reader instanceof $Reader))
31279
- reader = new $Reader(reader);
31280
- return this.decode(reader, reader.uint32());
31281
- };
31282
-
31283
- /**
31284
- * Verifies a FeatureSupport message.
31285
- * @function verify
31286
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31287
- * @static
31288
- * @param {Object.<string,*>} message Plain object to verify
31289
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
31290
- */
31291
- FeatureSupport.verify = function verify(message) {
31292
- if (typeof message !== "object" || message === null)
31293
- return "object expected";
31294
- if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
31295
- switch (message.editionIntroduced) {
31296
- default:
31297
- return "editionIntroduced: enum value expected";
31298
- case 0:
31299
- case 900:
31300
- case 998:
31301
- case 999:
31302
- case 1000:
31303
- case 1001:
31304
- case 1:
31305
- case 2:
31306
- case 99997:
31307
- case 99998:
31308
- case 99999:
31309
- case 2147483647:
31310
- break;
31311
- }
31312
- if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
31313
- switch (message.editionDeprecated) {
31314
- default:
31315
- return "editionDeprecated: enum value expected";
31316
- case 0:
31317
- case 900:
31318
- case 998:
31319
- case 999:
31320
- case 1000:
31321
- case 1001:
31322
- case 1:
31323
- case 2:
31324
- case 99997:
31325
- case 99998:
31326
- case 99999:
31327
- case 2147483647:
31328
- break;
31329
- }
31330
- if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
31331
- if (!$util.isString(message.deprecationWarning))
31332
- return "deprecationWarning: string expected";
31333
- if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
31334
- switch (message.editionRemoved) {
31335
- default:
31336
- return "editionRemoved: enum value expected";
31337
- case 0:
31338
- case 900:
31339
- case 998:
31340
- case 999:
31341
- case 1000:
31342
- case 1001:
31343
- case 1:
31344
- case 2:
31345
- case 99997:
31346
- case 99998:
31347
- case 99999:
31348
- case 2147483647:
31349
- break;
31350
- }
31351
- return null;
31352
- };
31353
-
31354
- /**
31355
- * Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
31356
- * @function fromObject
31357
- * @memberof google.protobuf.FieldOptions.FeatureSupport
31358
- * @static
31359
- * @param {Object.<string,*>} object Plain object
31360
- * @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
31361
- */
31362
- FeatureSupport.fromObject = function fromObject(object) {
31363
- if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
31364
- return object;
31365
- var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
31366
- switch (object.editionIntroduced) {
31367
- default:
31368
- if (typeof object.editionIntroduced === "number") {
31369
- message.editionIntroduced = object.editionIntroduced;
31370
- break;
31371
- }
31372
- break;
31373
- case "EDITION_UNKNOWN":
31374
- case 0:
31375
- message.editionIntroduced = 0;
31376
- break;
31377
- case "EDITION_LEGACY":
31378
- case 900:
31379
- message.editionIntroduced = 900;
31380
- break;
31381
- case "EDITION_PROTO2":
31382
- case 998:
31383
- message.editionIntroduced = 998;
31384
- break;
31385
- case "EDITION_PROTO3":
31386
- case 999:
31387
- message.editionIntroduced = 999;
31388
- break;
31389
- case "EDITION_2023":
31390
- case 1000:
31391
- message.editionIntroduced = 1000;
31392
- break;
31393
- case "EDITION_2024":
31394
- case 1001:
31395
- message.editionIntroduced = 1001;
31396
- break;
31397
- case "EDITION_1_TEST_ONLY":
31398
- case 1:
31399
- message.editionIntroduced = 1;
31400
- break;
31401
- case "EDITION_2_TEST_ONLY":
31402
- case 2:
31403
- message.editionIntroduced = 2;
31404
- break;
31405
- case "EDITION_99997_TEST_ONLY":
31406
- case 99997:
31407
- message.editionIntroduced = 99997;
31408
- break;
31409
- case "EDITION_99998_TEST_ONLY":
31410
- case 99998:
31411
- message.editionIntroduced = 99998;
31412
- break;
31413
- case "EDITION_99999_TEST_ONLY":
31414
- case 99999:
31415
- message.editionIntroduced = 99999;
31416
- break;
31417
- case "EDITION_MAX":
31418
- case 2147483647:
31419
- message.editionIntroduced = 2147483647;
31420
- break;
31421
- }
31422
- switch (object.editionDeprecated) {
31423
- default:
31424
- if (typeof object.editionDeprecated === "number") {
31425
- message.editionDeprecated = object.editionDeprecated;
31426
- break;
31427
- }
31428
- break;
31429
- case "EDITION_UNKNOWN":
31430
- case 0:
31431
- message.editionDeprecated = 0;
31432
- break;
31433
- case "EDITION_LEGACY":
31434
- case 900:
31435
- message.editionDeprecated = 900;
31436
- break;
31437
- case "EDITION_PROTO2":
31438
- case 998:
31439
- message.editionDeprecated = 998;
31440
- break;
31441
- case "EDITION_PROTO3":
31442
- case 999:
31443
- message.editionDeprecated = 999;
31444
- break;
31445
- case "EDITION_2023":
31446
- case 1000:
31447
- message.editionDeprecated = 1000;
31448
- break;
31449
- case "EDITION_2024":
31450
- case 1001:
31451
- message.editionDeprecated = 1001;
31452
- break;
31453
- case "EDITION_1_TEST_ONLY":
31454
- case 1:
31455
- message.editionDeprecated = 1;
31456
- break;
31457
- case "EDITION_2_TEST_ONLY":
31458
- case 2:
31459
- message.editionDeprecated = 2;
31460
- break;
31461
- case "EDITION_99997_TEST_ONLY":
31462
- case 99997:
31463
- message.editionDeprecated = 99997;
31464
- break;
31465
- case "EDITION_99998_TEST_ONLY":
31466
- case 99998:
31467
- message.editionDeprecated = 99998;
31468
- break;
31469
- case "EDITION_99999_TEST_ONLY":
31470
- case 99999:
31471
- message.editionDeprecated = 99999;
31472
- break;
31473
- case "EDITION_MAX":
31474
- case 2147483647:
31475
- message.editionDeprecated = 2147483647;
31476
- break;
31477
- }
31478
- if (object.deprecationWarning != null)
31479
- message.deprecationWarning = String(object.deprecationWarning);
31480
- switch (object.editionRemoved) {
31481
- default:
31482
- if (typeof object.editionRemoved === "number") {
31483
- message.editionRemoved = object.editionRemoved;
31484
- break;
31485
- }
31486
- break;
31487
- case "EDITION_UNKNOWN":
31488
- case 0:
31489
- message.editionRemoved = 0;
31490
- break;
31491
- case "EDITION_LEGACY":
31492
- case 900:
31493
- message.editionRemoved = 900;
31494
- break;
31495
- case "EDITION_PROTO2":
31496
- case 998:
31497
- message.editionRemoved = 998;
31498
- break;
31499
- case "EDITION_PROTO3":
31500
- case 999:
31501
- message.editionRemoved = 999;
30236
+ message.edition = 999;
31502
30237
  break;
31503
30238
  case "EDITION_2023":
31504
30239
  case 1000:
31505
- message.editionRemoved = 1000;
30240
+ message.edition = 1000;
31506
30241
  break;
31507
30242
  case "EDITION_2024":
31508
30243
  case 1001:
31509
- message.editionRemoved = 1001;
30244
+ message.edition = 1001;
31510
30245
  break;
31511
30246
  case "EDITION_1_TEST_ONLY":
31512
30247
  case 1:
31513
- message.editionRemoved = 1;
30248
+ message.edition = 1;
31514
30249
  break;
31515
30250
  case "EDITION_2_TEST_ONLY":
31516
30251
  case 2:
31517
- message.editionRemoved = 2;
30252
+ message.edition = 2;
31518
30253
  break;
31519
30254
  case "EDITION_99997_TEST_ONLY":
31520
30255
  case 99997:
31521
- message.editionRemoved = 99997;
30256
+ message.edition = 99997;
31522
30257
  break;
31523
30258
  case "EDITION_99998_TEST_ONLY":
31524
30259
  case 99998:
31525
- message.editionRemoved = 99998;
30260
+ message.edition = 99998;
31526
30261
  break;
31527
30262
  case "EDITION_99999_TEST_ONLY":
31528
30263
  case 99999:
31529
- message.editionRemoved = 99999;
30264
+ message.edition = 99999;
31530
30265
  break;
31531
30266
  case "EDITION_MAX":
31532
30267
  case 2147483647:
31533
- message.editionRemoved = 2147483647;
30268
+ message.edition = 2147483647;
31534
30269
  break;
31535
30270
  }
30271
+ if (object.value != null)
30272
+ message.value = String(object.value);
31536
30273
  return message;
31537
30274
  };
31538
30275
 
31539
30276
  /**
31540
- * Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
30277
+ * Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
31541
30278
  * @function toObject
31542
- * @memberof google.protobuf.FieldOptions.FeatureSupport
30279
+ * @memberof google.protobuf.FieldOptions.EditionDefault
31543
30280
  * @static
31544
- * @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport
30281
+ * @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
31545
30282
  * @param {$protobuf.IConversionOptions} [options] Conversion options
31546
30283
  * @returns {Object.<string,*>} Plain object
31547
30284
  */
31548
- FeatureSupport.toObject = function toObject(message, options) {
30285
+ EditionDefault.toObject = function toObject(message, options) {
31549
30286
  if (!options)
31550
30287
  options = {};
31551
30288
  var object = {};
31552
30289
  if (options.defaults) {
31553
- object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0;
31554
- object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0;
31555
- object.deprecationWarning = "";
31556
- object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
31557
- }
31558
- if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
31559
- object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced;
31560
- if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
31561
- object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
31562
- if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
31563
- object.deprecationWarning = message.deprecationWarning;
31564
- if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
31565
- object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
30290
+ object.value = "";
30291
+ object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
30292
+ }
30293
+ if (message.value != null && message.hasOwnProperty("value"))
30294
+ object.value = message.value;
30295
+ if (message.edition != null && message.hasOwnProperty("edition"))
30296
+ object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
31566
30297
  return object;
31567
30298
  };
31568
30299
 
31569
30300
  /**
31570
- * Converts this FeatureSupport to JSON.
30301
+ * Converts this EditionDefault to JSON.
31571
30302
  * @function toJSON
31572
- * @memberof google.protobuf.FieldOptions.FeatureSupport
30303
+ * @memberof google.protobuf.FieldOptions.EditionDefault
31573
30304
  * @instance
31574
30305
  * @returns {Object.<string,*>} JSON object
31575
30306
  */
31576
- FeatureSupport.prototype.toJSON = function toJSON() {
30307
+ EditionDefault.prototype.toJSON = function toJSON() {
31577
30308
  return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
31578
30309
  };
31579
30310
 
31580
30311
  /**
31581
- * Gets the default type url for FeatureSupport
30312
+ * Gets the default type url for EditionDefault
31582
30313
  * @function getTypeUrl
31583
- * @memberof google.protobuf.FieldOptions.FeatureSupport
30314
+ * @memberof google.protobuf.FieldOptions.EditionDefault
31584
30315
  * @static
31585
30316
  * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
31586
30317
  * @returns {string} The default type url
31587
30318
  */
31588
- FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
30319
+ EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
31589
30320
  if (typeUrlPrefix === undefined) {
31590
30321
  typeUrlPrefix = "type.googleapis.com";
31591
30322
  }
31592
- return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport";
30323
+ return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
31593
30324
  };
31594
30325
 
31595
- return FeatureSupport;
30326
+ return EditionDefault;
31596
30327
  })();
31597
30328
 
31598
30329
  return FieldOptions;
@@ -32187,7 +30918,6 @@
32187
30918
  * @property {boolean|null} [deprecated] EnumValueOptions deprecated
32188
30919
  * @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
32189
30920
  * @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
32190
- * @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
32191
30921
  * @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
32192
30922
  */
32193
30923
 
@@ -32231,14 +30961,6 @@
32231
30961
  */
32232
30962
  EnumValueOptions.prototype.debugRedact = false;
32233
30963
 
32234
- /**
32235
- * EnumValueOptions featureSupport.
32236
- * @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
32237
- * @memberof google.protobuf.EnumValueOptions
32238
- * @instance
32239
- */
32240
- EnumValueOptions.prototype.featureSupport = null;
32241
-
32242
30964
  /**
32243
30965
  * EnumValueOptions uninterpretedOption.
32244
30966
  * @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
@@ -32277,8 +30999,6 @@
32277
30999
  $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
32278
31000
  if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
32279
31001
  writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
32280
- if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
32281
- $root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
32282
31002
  if (message.uninterpretedOption != null && message.uninterpretedOption.length)
32283
31003
  for (var i = 0; i < message.uninterpretedOption.length; ++i)
32284
31004
  $root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
@@ -32330,10 +31050,6 @@
32330
31050
  message.debugRedact = reader.bool();
32331
31051
  break;
32332
31052
  }
32333
- case 4: {
32334
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
32335
- break;
32336
- }
32337
31053
  case 999: {
32338
31054
  if (!(message.uninterpretedOption && message.uninterpretedOption.length))
32339
31055
  message.uninterpretedOption = [];
@@ -32386,11 +31102,6 @@
32386
31102
  if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
32387
31103
  if (typeof message.debugRedact !== "boolean")
32388
31104
  return "debugRedact: boolean expected";
32389
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
32390
- var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
32391
- if (error)
32392
- return "featureSupport." + error;
32393
- }
32394
31105
  if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
32395
31106
  if (!Array.isArray(message.uninterpretedOption))
32396
31107
  return "uninterpretedOption: array expected";
@@ -32424,11 +31135,6 @@
32424
31135
  }
32425
31136
  if (object.debugRedact != null)
32426
31137
  message.debugRedact = Boolean(object.debugRedact);
32427
- if (object.featureSupport != null) {
32428
- if (typeof object.featureSupport !== "object")
32429
- throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
32430
- message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
32431
- }
32432
31138
  if (object.uninterpretedOption) {
32433
31139
  if (!Array.isArray(object.uninterpretedOption))
32434
31140
  throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
@@ -32461,7 +31167,6 @@
32461
31167
  object.deprecated = false;
32462
31168
  object.features = null;
32463
31169
  object.debugRedact = false;
32464
- object.featureSupport = null;
32465
31170
  }
32466
31171
  if (message.deprecated != null && message.hasOwnProperty("deprecated"))
32467
31172
  object.deprecated = message.deprecated;
@@ -32469,8 +31174,6 @@
32469
31174
  object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
32470
31175
  if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
32471
31176
  object.debugRedact = message.debugRedact;
32472
- if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
32473
- object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
32474
31177
  if (message.uninterpretedOption && message.uninterpretedOption.length) {
32475
31178
  object.uninterpretedOption = [];
32476
31179
  for (var j = 0; j < message.uninterpretedOption.length; ++j)
@@ -33938,8 +32641,6 @@
33938
32641
  * @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
33939
32642
  * @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
33940
32643
  * @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
33941
- * @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
33942
- * @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
33943
32644
  */
33944
32645
 
33945
32646
  /**
@@ -34005,22 +32706,6 @@
34005
32706
  */
34006
32707
  FeatureSet.prototype.jsonFormat = 0;
34007
32708
 
34008
- /**
34009
- * FeatureSet enforceNamingStyle.
34010
- * @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
34011
- * @memberof google.protobuf.FeatureSet
34012
- * @instance
34013
- */
34014
- FeatureSet.prototype.enforceNamingStyle = 0;
34015
-
34016
- /**
34017
- * FeatureSet defaultSymbolVisibility.
34018
- * @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
34019
- * @memberof google.protobuf.FeatureSet
34020
- * @instance
34021
- */
34022
- FeatureSet.prototype.defaultSymbolVisibility = 0;
34023
-
34024
32709
  /**
34025
32710
  * Creates a new FeatureSet instance using the specified properties.
34026
32711
  * @function create
@@ -34057,10 +32742,6 @@
34057
32742
  writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
34058
32743
  if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
34059
32744
  writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
34060
- if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
34061
- writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
34062
- if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
34063
- writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
34064
32745
  return writer;
34065
32746
  };
34066
32747
 
@@ -34121,14 +32802,6 @@
34121
32802
  message.jsonFormat = reader.int32();
34122
32803
  break;
34123
32804
  }
34124
- case 7: {
34125
- message.enforceNamingStyle = reader.int32();
34126
- break;
34127
- }
34128
- case 8: {
34129
- message.defaultSymbolVisibility = reader.int32();
34130
- break;
34131
- }
34132
32805
  default:
34133
32806
  reader.skipType(tag & 7);
34134
32807
  break;
@@ -34219,26 +32892,6 @@
34219
32892
  case 2:
34220
32893
  break;
34221
32894
  }
34222
- if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
34223
- switch (message.enforceNamingStyle) {
34224
- default:
34225
- return "enforceNamingStyle: enum value expected";
34226
- case 0:
34227
- case 1:
34228
- case 2:
34229
- break;
34230
- }
34231
- if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
34232
- switch (message.defaultSymbolVisibility) {
34233
- default:
34234
- return "defaultSymbolVisibility: enum value expected";
34235
- case 0:
34236
- case 1:
34237
- case 2:
34238
- case 3:
34239
- case 4:
34240
- break;
34241
- }
34242
32895
  return null;
34243
32896
  };
34244
32897
 
@@ -34378,54 +33031,6 @@
34378
33031
  message.jsonFormat = 2;
34379
33032
  break;
34380
33033
  }
34381
- switch (object.enforceNamingStyle) {
34382
- default:
34383
- if (typeof object.enforceNamingStyle === "number") {
34384
- message.enforceNamingStyle = object.enforceNamingStyle;
34385
- break;
34386
- }
34387
- break;
34388
- case "ENFORCE_NAMING_STYLE_UNKNOWN":
34389
- case 0:
34390
- message.enforceNamingStyle = 0;
34391
- break;
34392
- case "STYLE2024":
34393
- case 1:
34394
- message.enforceNamingStyle = 1;
34395
- break;
34396
- case "STYLE_LEGACY":
34397
- case 2:
34398
- message.enforceNamingStyle = 2;
34399
- break;
34400
- }
34401
- switch (object.defaultSymbolVisibility) {
34402
- default:
34403
- if (typeof object.defaultSymbolVisibility === "number") {
34404
- message.defaultSymbolVisibility = object.defaultSymbolVisibility;
34405
- break;
34406
- }
34407
- break;
34408
- case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
34409
- case 0:
34410
- message.defaultSymbolVisibility = 0;
34411
- break;
34412
- case "EXPORT_ALL":
34413
- case 1:
34414
- message.defaultSymbolVisibility = 1;
34415
- break;
34416
- case "EXPORT_TOP_LEVEL":
34417
- case 2:
34418
- message.defaultSymbolVisibility = 2;
34419
- break;
34420
- case "LOCAL_ALL":
34421
- case 3:
34422
- message.defaultSymbolVisibility = 3;
34423
- break;
34424
- case "STRICT":
34425
- case 4:
34426
- message.defaultSymbolVisibility = 4;
34427
- break;
34428
- }
34429
33034
  return message;
34430
33035
  };
34431
33036
 
@@ -34449,8 +33054,6 @@
34449
33054
  object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
34450
33055
  object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
34451
33056
  object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
34452
- object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
34453
- object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
34454
33057
  }
34455
33058
  if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
34456
33059
  object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
@@ -34464,10 +33067,6 @@
34464
33067
  object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
34465
33068
  if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
34466
33069
  object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
34467
- if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
34468
- object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
34469
- if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
34470
- 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;
34471
33070
  return object;
34472
33071
  };
34473
33072
 
@@ -34595,219 +33194,6 @@
34595
33194
  return values;
34596
33195
  })();
34597
33196
 
34598
- /**
34599
- * EnforceNamingStyle enum.
34600
- * @name google.protobuf.FeatureSet.EnforceNamingStyle
34601
- * @enum {number}
34602
- * @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
34603
- * @property {number} STYLE2024=1 STYLE2024 value
34604
- * @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
34605
- */
34606
- FeatureSet.EnforceNamingStyle = (function() {
34607
- var valuesById = {}, values = Object.create(valuesById);
34608
- values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
34609
- values[valuesById[1] = "STYLE2024"] = 1;
34610
- values[valuesById[2] = "STYLE_LEGACY"] = 2;
34611
- return values;
34612
- })();
34613
-
34614
- FeatureSet.VisibilityFeature = (function() {
34615
-
34616
- /**
34617
- * Properties of a VisibilityFeature.
34618
- * @memberof google.protobuf.FeatureSet
34619
- * @interface IVisibilityFeature
34620
- */
34621
-
34622
- /**
34623
- * Constructs a new VisibilityFeature.
34624
- * @memberof google.protobuf.FeatureSet
34625
- * @classdesc Represents a VisibilityFeature.
34626
- * @implements IVisibilityFeature
34627
- * @constructor
34628
- * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
34629
- */
34630
- function VisibilityFeature(properties) {
34631
- if (properties)
34632
- for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
34633
- if (properties[keys[i]] != null)
34634
- this[keys[i]] = properties[keys[i]];
34635
- }
34636
-
34637
- /**
34638
- * Creates a new VisibilityFeature instance using the specified properties.
34639
- * @function create
34640
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34641
- * @static
34642
- * @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
34643
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
34644
- */
34645
- VisibilityFeature.create = function create(properties) {
34646
- return new VisibilityFeature(properties);
34647
- };
34648
-
34649
- /**
34650
- * Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
34651
- * @function encode
34652
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34653
- * @static
34654
- * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
34655
- * @param {$protobuf.Writer} [writer] Writer to encode to
34656
- * @returns {$protobuf.Writer} Writer
34657
- */
34658
- VisibilityFeature.encode = function encode(message, writer) {
34659
- if (!writer)
34660
- writer = $Writer.create();
34661
- return writer;
34662
- };
34663
-
34664
- /**
34665
- * Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
34666
- * @function encodeDelimited
34667
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34668
- * @static
34669
- * @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
34670
- * @param {$protobuf.Writer} [writer] Writer to encode to
34671
- * @returns {$protobuf.Writer} Writer
34672
- */
34673
- VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
34674
- return this.encode(message, writer).ldelim();
34675
- };
34676
-
34677
- /**
34678
- * Decodes a VisibilityFeature message from the specified reader or buffer.
34679
- * @function decode
34680
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34681
- * @static
34682
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34683
- * @param {number} [length] Message length if known beforehand
34684
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
34685
- * @throws {Error} If the payload is not a reader or valid buffer
34686
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34687
- */
34688
- VisibilityFeature.decode = function decode(reader, length, error) {
34689
- if (!(reader instanceof $Reader))
34690
- reader = $Reader.create(reader);
34691
- var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
34692
- while (reader.pos < end) {
34693
- var tag = reader.uint32();
34694
- if (tag === error)
34695
- break;
34696
- switch (tag >>> 3) {
34697
- default:
34698
- reader.skipType(tag & 7);
34699
- break;
34700
- }
34701
- }
34702
- return message;
34703
- };
34704
-
34705
- /**
34706
- * Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
34707
- * @function decodeDelimited
34708
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34709
- * @static
34710
- * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
34711
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
34712
- * @throws {Error} If the payload is not a reader or valid buffer
34713
- * @throws {$protobuf.util.ProtocolError} If required fields are missing
34714
- */
34715
- VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
34716
- if (!(reader instanceof $Reader))
34717
- reader = new $Reader(reader);
34718
- return this.decode(reader, reader.uint32());
34719
- };
34720
-
34721
- /**
34722
- * Verifies a VisibilityFeature message.
34723
- * @function verify
34724
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34725
- * @static
34726
- * @param {Object.<string,*>} message Plain object to verify
34727
- * @returns {string|null} `null` if valid, otherwise the reason why it is not
34728
- */
34729
- VisibilityFeature.verify = function verify(message) {
34730
- if (typeof message !== "object" || message === null)
34731
- return "object expected";
34732
- return null;
34733
- };
34734
-
34735
- /**
34736
- * Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
34737
- * @function fromObject
34738
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34739
- * @static
34740
- * @param {Object.<string,*>} object Plain object
34741
- * @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
34742
- */
34743
- VisibilityFeature.fromObject = function fromObject(object) {
34744
- if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
34745
- return object;
34746
- return new $root.google.protobuf.FeatureSet.VisibilityFeature();
34747
- };
34748
-
34749
- /**
34750
- * Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
34751
- * @function toObject
34752
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34753
- * @static
34754
- * @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
34755
- * @param {$protobuf.IConversionOptions} [options] Conversion options
34756
- * @returns {Object.<string,*>} Plain object
34757
- */
34758
- VisibilityFeature.toObject = function toObject() {
34759
- return {};
34760
- };
34761
-
34762
- /**
34763
- * Converts this VisibilityFeature to JSON.
34764
- * @function toJSON
34765
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34766
- * @instance
34767
- * @returns {Object.<string,*>} JSON object
34768
- */
34769
- VisibilityFeature.prototype.toJSON = function toJSON() {
34770
- return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
34771
- };
34772
-
34773
- /**
34774
- * Gets the default type url for VisibilityFeature
34775
- * @function getTypeUrl
34776
- * @memberof google.protobuf.FeatureSet.VisibilityFeature
34777
- * @static
34778
- * @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
34779
- * @returns {string} The default type url
34780
- */
34781
- VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
34782
- if (typeUrlPrefix === undefined) {
34783
- typeUrlPrefix = "type.googleapis.com";
34784
- }
34785
- return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
34786
- };
34787
-
34788
- /**
34789
- * DefaultSymbolVisibility enum.
34790
- * @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
34791
- * @enum {number}
34792
- * @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
34793
- * @property {number} EXPORT_ALL=1 EXPORT_ALL value
34794
- * @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
34795
- * @property {number} LOCAL_ALL=3 LOCAL_ALL value
34796
- * @property {number} STRICT=4 STRICT value
34797
- */
34798
- VisibilityFeature.DefaultSymbolVisibility = (function() {
34799
- var valuesById = {}, values = Object.create(valuesById);
34800
- values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
34801
- values[valuesById[1] = "EXPORT_ALL"] = 1;
34802
- values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
34803
- values[valuesById[3] = "LOCAL_ALL"] = 3;
34804
- values[valuesById[4] = "STRICT"] = 4;
34805
- return values;
34806
- })();
34807
-
34808
- return VisibilityFeature;
34809
- })();
34810
-
34811
33197
  return FeatureSet;
34812
33198
  })();
34813
33199
 
@@ -34992,7 +33378,6 @@
34992
33378
  default:
34993
33379
  return "minimumEdition: enum value expected";
34994
33380
  case 0:
34995
- case 900:
34996
33381
  case 998:
34997
33382
  case 999:
34998
33383
  case 1000:
@@ -35010,7 +33395,6 @@
35010
33395
  default:
35011
33396
  return "maximumEdition: enum value expected";
35012
33397
  case 0:
35013
- case 900:
35014
33398
  case 998:
35015
33399
  case 999:
35016
33400
  case 1000:
@@ -35059,10 +33443,6 @@
35059
33443
  case 0:
35060
33444
  message.minimumEdition = 0;
35061
33445
  break;
35062
- case "EDITION_LEGACY":
35063
- case 900:
35064
- message.minimumEdition = 900;
35065
- break;
35066
33446
  case "EDITION_PROTO2":
35067
33447
  case 998:
35068
33448
  message.minimumEdition = 998;
@@ -35115,10 +33495,6 @@
35115
33495
  case 0:
35116
33496
  message.maximumEdition = 0;
35117
33497
  break;
35118
- case "EDITION_LEGACY":
35119
- case 900:
35120
- message.maximumEdition = 900;
35121
- break;
35122
33498
  case "EDITION_PROTO2":
35123
33499
  case 998:
35124
33500
  message.maximumEdition = 998;
@@ -35227,8 +33603,7 @@
35227
33603
  * @memberof google.protobuf.FeatureSetDefaults
35228
33604
  * @interface IFeatureSetEditionDefault
35229
33605
  * @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
35230
- * @property {google.protobuf.IFeatureSet|null} [overridableFeatures] FeatureSetEditionDefault overridableFeatures
35231
- * @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
33606
+ * @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
35232
33607
  */
35233
33608
 
35234
33609
  /**
@@ -35255,20 +33630,12 @@
35255
33630
  FeatureSetEditionDefault.prototype.edition = 0;
35256
33631
 
35257
33632
  /**
35258
- * FeatureSetEditionDefault overridableFeatures.
35259
- * @member {google.protobuf.IFeatureSet|null|undefined} overridableFeatures
35260
- * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
35261
- * @instance
35262
- */
35263
- FeatureSetEditionDefault.prototype.overridableFeatures = null;
35264
-
35265
- /**
35266
- * FeatureSetEditionDefault fixedFeatures.
35267
- * @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
33633
+ * FeatureSetEditionDefault features.
33634
+ * @member {google.protobuf.IFeatureSet|null|undefined} features
35268
33635
  * @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
35269
33636
  * @instance
35270
33637
  */
35271
- FeatureSetEditionDefault.prototype.fixedFeatures = null;
33638
+ FeatureSetEditionDefault.prototype.features = null;
35272
33639
 
35273
33640
  /**
35274
33641
  * Creates a new FeatureSetEditionDefault instance using the specified properties.
@@ -35294,12 +33661,10 @@
35294
33661
  FeatureSetEditionDefault.encode = function encode(message, writer) {
35295
33662
  if (!writer)
35296
33663
  writer = $Writer.create();
33664
+ if (message.features != null && Object.hasOwnProperty.call(message, "features"))
33665
+ $root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
35297
33666
  if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
35298
33667
  writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
35299
- if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
35300
- $root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
35301
- if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
35302
- $root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
35303
33668
  return writer;
35304
33669
  };
35305
33670
 
@@ -35340,12 +33705,8 @@
35340
33705
  message.edition = reader.int32();
35341
33706
  break;
35342
33707
  }
35343
- case 4: {
35344
- message.overridableFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
35345
- break;
35346
- }
35347
- case 5: {
35348
- message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
33708
+ case 2: {
33709
+ message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
35349
33710
  break;
35350
33711
  }
35351
33712
  default:
@@ -35388,7 +33749,6 @@
35388
33749
  default:
35389
33750
  return "edition: enum value expected";
35390
33751
  case 0:
35391
- case 900:
35392
33752
  case 998:
35393
33753
  case 999:
35394
33754
  case 1000:
@@ -35401,15 +33761,10 @@
35401
33761
  case 2147483647:
35402
33762
  break;
35403
33763
  }
35404
- if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures")) {
35405
- var error = $root.google.protobuf.FeatureSet.verify(message.overridableFeatures);
35406
- if (error)
35407
- return "overridableFeatures." + error;
35408
- }
35409
- if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
35410
- var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
33764
+ if (message.features != null && message.hasOwnProperty("features")) {
33765
+ var error = $root.google.protobuf.FeatureSet.verify(message.features);
35411
33766
  if (error)
35412
- return "fixedFeatures." + error;
33767
+ return "features." + error;
35413
33768
  }
35414
33769
  return null;
35415
33770
  };
@@ -35437,10 +33792,6 @@
35437
33792
  case 0:
35438
33793
  message.edition = 0;
35439
33794
  break;
35440
- case "EDITION_LEGACY":
35441
- case 900:
35442
- message.edition = 900;
35443
- break;
35444
33795
  case "EDITION_PROTO2":
35445
33796
  case 998:
35446
33797
  message.edition = 998;
@@ -35482,15 +33833,10 @@
35482
33833
  message.edition = 2147483647;
35483
33834
  break;
35484
33835
  }
35485
- if (object.overridableFeatures != null) {
35486
- if (typeof object.overridableFeatures !== "object")
35487
- throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.overridableFeatures: object expected");
35488
- message.overridableFeatures = $root.google.protobuf.FeatureSet.fromObject(object.overridableFeatures);
35489
- }
35490
- if (object.fixedFeatures != null) {
35491
- if (typeof object.fixedFeatures !== "object")
35492
- throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
35493
- message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
33836
+ if (object.features != null) {
33837
+ if (typeof object.features !== "object")
33838
+ throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
33839
+ message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
35494
33840
  }
35495
33841
  return message;
35496
33842
  };
@@ -35509,16 +33855,13 @@
35509
33855
  options = {};
35510
33856
  var object = {};
35511
33857
  if (options.defaults) {
33858
+ object.features = null;
35512
33859
  object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
35513
- object.overridableFeatures = null;
35514
- object.fixedFeatures = null;
35515
33860
  }
33861
+ if (message.features != null && message.hasOwnProperty("features"))
33862
+ object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
35516
33863
  if (message.edition != null && message.hasOwnProperty("edition"))
35517
33864
  object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
35518
- if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
35519
- object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
35520
- if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
35521
- object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
35522
33865
  return object;
35523
33866
  };
35524
33867
 
@@ -36733,22 +35076,6 @@
36733
35076
  return GeneratedCodeInfo;
36734
35077
  })();
36735
35078
 
36736
- /**
36737
- * SymbolVisibility enum.
36738
- * @name google.protobuf.SymbolVisibility
36739
- * @enum {number}
36740
- * @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
36741
- * @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
36742
- * @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
36743
- */
36744
- protobuf.SymbolVisibility = (function() {
36745
- var valuesById = {}, values = Object.create(valuesById);
36746
- values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
36747
- values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
36748
- values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
36749
- return values;
36750
- })();
36751
-
36752
35079
  protobuf.Duration = (function() {
36753
35080
 
36754
35081
  /**