@google-cloud/discoveryengine 2.5.0 → 2.5.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.
- package/README.md +334 -419
- package/build/protos/protos.d.ts +4 -518
- package/build/protos/protos.js +51 -1724
- package/build/protos/protos.json +22 -194
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
@@ -349675,7 +349675,6 @@
|
|
349675
349675
|
* @interface ICommonLanguageSettings
|
349676
349676
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
349677
349677
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
349678
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
349679
349678
|
*/
|
349680
349679
|
|
349681
349680
|
/**
|
@@ -349710,14 +349709,6 @@
|
|
349710
349709
|
*/
|
349711
349710
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
349712
349711
|
|
349713
|
-
/**
|
349714
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
349715
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
349716
|
-
* @memberof google.api.CommonLanguageSettings
|
349717
|
-
* @instance
|
349718
|
-
*/
|
349719
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
349720
|
-
|
349721
349712
|
/**
|
349722
349713
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
349723
349714
|
* @function create
|
@@ -349750,8 +349741,6 @@
|
|
349750
349741
|
writer.int32(message.destinations[i]);
|
349751
349742
|
writer.ldelim();
|
349752
349743
|
}
|
349753
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
349754
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
349755
349744
|
return writer;
|
349756
349745
|
};
|
349757
349746
|
|
@@ -349803,10 +349792,6 @@
|
|
349803
349792
|
message.destinations.push(reader.int32());
|
349804
349793
|
break;
|
349805
349794
|
}
|
349806
|
-
case 3: {
|
349807
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
349808
|
-
break;
|
349809
|
-
}
|
349810
349795
|
default:
|
349811
349796
|
reader.skipType(tag & 7);
|
349812
349797
|
break;
|
@@ -349858,11 +349843,6 @@
|
|
349858
349843
|
break;
|
349859
349844
|
}
|
349860
349845
|
}
|
349861
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
349862
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
349863
|
-
if (error)
|
349864
|
-
return "selectiveGapicGeneration." + error;
|
349865
|
-
}
|
349866
349846
|
return null;
|
349867
349847
|
};
|
349868
349848
|
|
@@ -349905,11 +349885,6 @@
|
|
349905
349885
|
break;
|
349906
349886
|
}
|
349907
349887
|
}
|
349908
|
-
if (object.selectiveGapicGeneration != null) {
|
349909
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
349910
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
349911
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
349912
|
-
}
|
349913
349888
|
return message;
|
349914
349889
|
};
|
349915
349890
|
|
@@ -349928,10 +349903,8 @@
|
|
349928
349903
|
var object = {};
|
349929
349904
|
if (options.arrays || options.defaults)
|
349930
349905
|
object.destinations = [];
|
349931
|
-
if (options.defaults)
|
349906
|
+
if (options.defaults)
|
349932
349907
|
object.referenceDocsUri = "";
|
349933
|
-
object.selectiveGapicGeneration = null;
|
349934
|
-
}
|
349935
349908
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
349936
349909
|
object.referenceDocsUri = message.referenceDocsUri;
|
349937
349910
|
if (message.destinations && message.destinations.length) {
|
@@ -349939,8 +349912,6 @@
|
|
349939
349912
|
for (var j = 0; j < message.destinations.length; ++j)
|
349940
349913
|
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];
|
349941
349914
|
}
|
349942
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
349943
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
349944
349915
|
return object;
|
349945
349916
|
};
|
349946
349917
|
|
@@ -351763,7 +351734,6 @@
|
|
351763
351734
|
* @memberof google.api
|
351764
351735
|
* @interface IPythonSettings
|
351765
351736
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
351766
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
351767
351737
|
*/
|
351768
351738
|
|
351769
351739
|
/**
|
@@ -351789,14 +351759,6 @@
|
|
351789
351759
|
*/
|
351790
351760
|
PythonSettings.prototype.common = null;
|
351791
351761
|
|
351792
|
-
/**
|
351793
|
-
* PythonSettings experimentalFeatures.
|
351794
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
351795
|
-
* @memberof google.api.PythonSettings
|
351796
|
-
* @instance
|
351797
|
-
*/
|
351798
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
351799
|
-
|
351800
351762
|
/**
|
351801
351763
|
* Creates a new PythonSettings instance using the specified properties.
|
351802
351764
|
* @function create
|
@@ -351823,8 +351785,6 @@
|
|
351823
351785
|
writer = $Writer.create();
|
351824
351786
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
351825
351787
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
351826
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
351827
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
351828
351788
|
return writer;
|
351829
351789
|
};
|
351830
351790
|
|
@@ -351865,10 +351825,6 @@
|
|
351865
351825
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
351866
351826
|
break;
|
351867
351827
|
}
|
351868
|
-
case 2: {
|
351869
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
351870
|
-
break;
|
351871
|
-
}
|
351872
351828
|
default:
|
351873
351829
|
reader.skipType(tag & 7);
|
351874
351830
|
break;
|
@@ -351909,11 +351865,6 @@
|
|
351909
351865
|
if (error)
|
351910
351866
|
return "common." + error;
|
351911
351867
|
}
|
351912
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
351913
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
351914
|
-
if (error)
|
351915
|
-
return "experimentalFeatures." + error;
|
351916
|
-
}
|
351917
351868
|
return null;
|
351918
351869
|
};
|
351919
351870
|
|
@@ -351934,11 +351885,6 @@
|
|
351934
351885
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
351935
351886
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
351936
351887
|
}
|
351937
|
-
if (object.experimentalFeatures != null) {
|
351938
|
-
if (typeof object.experimentalFeatures !== "object")
|
351939
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
351940
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
351941
|
-
}
|
351942
351888
|
return message;
|
351943
351889
|
};
|
351944
351890
|
|
@@ -351955,14 +351901,10 @@
|
|
351955
351901
|
if (!options)
|
351956
351902
|
options = {};
|
351957
351903
|
var object = {};
|
351958
|
-
if (options.defaults)
|
351904
|
+
if (options.defaults)
|
351959
351905
|
object.common = null;
|
351960
|
-
object.experimentalFeatures = null;
|
351961
|
-
}
|
351962
351906
|
if (message.common != null && message.hasOwnProperty("common"))
|
351963
351907
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
351964
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
351965
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
351966
351908
|
return object;
|
351967
351909
|
};
|
351968
351910
|
|
@@ -351992,258 +351934,6 @@
|
|
351992
351934
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
351993
351935
|
};
|
351994
351936
|
|
351995
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
351996
|
-
|
351997
|
-
/**
|
351998
|
-
* Properties of an ExperimentalFeatures.
|
351999
|
-
* @memberof google.api.PythonSettings
|
352000
|
-
* @interface IExperimentalFeatures
|
352001
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
352002
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
352003
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
352004
|
-
*/
|
352005
|
-
|
352006
|
-
/**
|
352007
|
-
* Constructs a new ExperimentalFeatures.
|
352008
|
-
* @memberof google.api.PythonSettings
|
352009
|
-
* @classdesc Represents an ExperimentalFeatures.
|
352010
|
-
* @implements IExperimentalFeatures
|
352011
|
-
* @constructor
|
352012
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
352013
|
-
*/
|
352014
|
-
function ExperimentalFeatures(properties) {
|
352015
|
-
if (properties)
|
352016
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
352017
|
-
if (properties[keys[i]] != null)
|
352018
|
-
this[keys[i]] = properties[keys[i]];
|
352019
|
-
}
|
352020
|
-
|
352021
|
-
/**
|
352022
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
352023
|
-
* @member {boolean} restAsyncIoEnabled
|
352024
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352025
|
-
* @instance
|
352026
|
-
*/
|
352027
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
352028
|
-
|
352029
|
-
/**
|
352030
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
352031
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
352032
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352033
|
-
* @instance
|
352034
|
-
*/
|
352035
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
352036
|
-
|
352037
|
-
/**
|
352038
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
352039
|
-
* @member {boolean} unversionedPackageDisabled
|
352040
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352041
|
-
* @instance
|
352042
|
-
*/
|
352043
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
352044
|
-
|
352045
|
-
/**
|
352046
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
352047
|
-
* @function create
|
352048
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352049
|
-
* @static
|
352050
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
352051
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
352052
|
-
*/
|
352053
|
-
ExperimentalFeatures.create = function create(properties) {
|
352054
|
-
return new ExperimentalFeatures(properties);
|
352055
|
-
};
|
352056
|
-
|
352057
|
-
/**
|
352058
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
352059
|
-
* @function encode
|
352060
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352061
|
-
* @static
|
352062
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
352063
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
352064
|
-
* @returns {$protobuf.Writer} Writer
|
352065
|
-
*/
|
352066
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
352067
|
-
if (!writer)
|
352068
|
-
writer = $Writer.create();
|
352069
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
352070
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
352071
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
352072
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
352073
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
352074
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
352075
|
-
return writer;
|
352076
|
-
};
|
352077
|
-
|
352078
|
-
/**
|
352079
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
352080
|
-
* @function encodeDelimited
|
352081
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352082
|
-
* @static
|
352083
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
352084
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
352085
|
-
* @returns {$protobuf.Writer} Writer
|
352086
|
-
*/
|
352087
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
352088
|
-
return this.encode(message, writer).ldelim();
|
352089
|
-
};
|
352090
|
-
|
352091
|
-
/**
|
352092
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
352093
|
-
* @function decode
|
352094
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352095
|
-
* @static
|
352096
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
352097
|
-
* @param {number} [length] Message length if known beforehand
|
352098
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
352099
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
352100
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
352101
|
-
*/
|
352102
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
352103
|
-
if (!(reader instanceof $Reader))
|
352104
|
-
reader = $Reader.create(reader);
|
352105
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
352106
|
-
while (reader.pos < end) {
|
352107
|
-
var tag = reader.uint32();
|
352108
|
-
if (tag === error)
|
352109
|
-
break;
|
352110
|
-
switch (tag >>> 3) {
|
352111
|
-
case 1: {
|
352112
|
-
message.restAsyncIoEnabled = reader.bool();
|
352113
|
-
break;
|
352114
|
-
}
|
352115
|
-
case 2: {
|
352116
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
352117
|
-
break;
|
352118
|
-
}
|
352119
|
-
case 3: {
|
352120
|
-
message.unversionedPackageDisabled = reader.bool();
|
352121
|
-
break;
|
352122
|
-
}
|
352123
|
-
default:
|
352124
|
-
reader.skipType(tag & 7);
|
352125
|
-
break;
|
352126
|
-
}
|
352127
|
-
}
|
352128
|
-
return message;
|
352129
|
-
};
|
352130
|
-
|
352131
|
-
/**
|
352132
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
352133
|
-
* @function decodeDelimited
|
352134
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352135
|
-
* @static
|
352136
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
352137
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
352138
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
352139
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
352140
|
-
*/
|
352141
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
352142
|
-
if (!(reader instanceof $Reader))
|
352143
|
-
reader = new $Reader(reader);
|
352144
|
-
return this.decode(reader, reader.uint32());
|
352145
|
-
};
|
352146
|
-
|
352147
|
-
/**
|
352148
|
-
* Verifies an ExperimentalFeatures message.
|
352149
|
-
* @function verify
|
352150
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352151
|
-
* @static
|
352152
|
-
* @param {Object.<string,*>} message Plain object to verify
|
352153
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
352154
|
-
*/
|
352155
|
-
ExperimentalFeatures.verify = function verify(message) {
|
352156
|
-
if (typeof message !== "object" || message === null)
|
352157
|
-
return "object expected";
|
352158
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
352159
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
352160
|
-
return "restAsyncIoEnabled: boolean expected";
|
352161
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
352162
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
352163
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
352164
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
352165
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
352166
|
-
return "unversionedPackageDisabled: boolean expected";
|
352167
|
-
return null;
|
352168
|
-
};
|
352169
|
-
|
352170
|
-
/**
|
352171
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
352172
|
-
* @function fromObject
|
352173
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352174
|
-
* @static
|
352175
|
-
* @param {Object.<string,*>} object Plain object
|
352176
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
352177
|
-
*/
|
352178
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
352179
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
352180
|
-
return object;
|
352181
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
352182
|
-
if (object.restAsyncIoEnabled != null)
|
352183
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
352184
|
-
if (object.protobufPythonicTypesEnabled != null)
|
352185
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
352186
|
-
if (object.unversionedPackageDisabled != null)
|
352187
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
352188
|
-
return message;
|
352189
|
-
};
|
352190
|
-
|
352191
|
-
/**
|
352192
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
352193
|
-
* @function toObject
|
352194
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352195
|
-
* @static
|
352196
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
352197
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
352198
|
-
* @returns {Object.<string,*>} Plain object
|
352199
|
-
*/
|
352200
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
352201
|
-
if (!options)
|
352202
|
-
options = {};
|
352203
|
-
var object = {};
|
352204
|
-
if (options.defaults) {
|
352205
|
-
object.restAsyncIoEnabled = false;
|
352206
|
-
object.protobufPythonicTypesEnabled = false;
|
352207
|
-
object.unversionedPackageDisabled = false;
|
352208
|
-
}
|
352209
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
352210
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
352211
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
352212
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
352213
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
352214
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
352215
|
-
return object;
|
352216
|
-
};
|
352217
|
-
|
352218
|
-
/**
|
352219
|
-
* Converts this ExperimentalFeatures to JSON.
|
352220
|
-
* @function toJSON
|
352221
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352222
|
-
* @instance
|
352223
|
-
* @returns {Object.<string,*>} JSON object
|
352224
|
-
*/
|
352225
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
352226
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
352227
|
-
};
|
352228
|
-
|
352229
|
-
/**
|
352230
|
-
* Gets the default type url for ExperimentalFeatures
|
352231
|
-
* @function getTypeUrl
|
352232
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
352233
|
-
* @static
|
352234
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
352235
|
-
* @returns {string} The default type url
|
352236
|
-
*/
|
352237
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
352238
|
-
if (typeUrlPrefix === undefined) {
|
352239
|
-
typeUrlPrefix = "type.googleapis.com";
|
352240
|
-
}
|
352241
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
352242
|
-
};
|
352243
|
-
|
352244
|
-
return ExperimentalFeatures;
|
352245
|
-
})();
|
352246
|
-
|
352247
351937
|
return PythonSettings;
|
352248
351938
|
})();
|
352249
351939
|
|
@@ -353120,7 +352810,6 @@
|
|
353120
352810
|
* @memberof google.api
|
353121
352811
|
* @interface IGoSettings
|
353122
352812
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
353123
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
353124
352813
|
*/
|
353125
352814
|
|
353126
352815
|
/**
|
@@ -353132,7 +352821,6 @@
|
|
353132
352821
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
353133
352822
|
*/
|
353134
352823
|
function GoSettings(properties) {
|
353135
|
-
this.renamedServices = {};
|
353136
352824
|
if (properties)
|
353137
352825
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
353138
352826
|
if (properties[keys[i]] != null)
|
@@ -353147,14 +352835,6 @@
|
|
353147
352835
|
*/
|
353148
352836
|
GoSettings.prototype.common = null;
|
353149
352837
|
|
353150
|
-
/**
|
353151
|
-
* GoSettings renamedServices.
|
353152
|
-
* @member {Object.<string,string>} renamedServices
|
353153
|
-
* @memberof google.api.GoSettings
|
353154
|
-
* @instance
|
353155
|
-
*/
|
353156
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
353157
|
-
|
353158
352838
|
/**
|
353159
352839
|
* Creates a new GoSettings instance using the specified properties.
|
353160
352840
|
* @function create
|
@@ -353181,9 +352861,6 @@
|
|
353181
352861
|
writer = $Writer.create();
|
353182
352862
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
353183
352863
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
353184
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
353185
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
353186
|
-
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();
|
353187
352864
|
return writer;
|
353188
352865
|
};
|
353189
352866
|
|
@@ -353214,7 +352891,7 @@
|
|
353214
352891
|
GoSettings.decode = function decode(reader, length, error) {
|
353215
352892
|
if (!(reader instanceof $Reader))
|
353216
352893
|
reader = $Reader.create(reader);
|
353217
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
352894
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
353218
352895
|
while (reader.pos < end) {
|
353219
352896
|
var tag = reader.uint32();
|
353220
352897
|
if (tag === error)
|
@@ -353224,29 +352901,6 @@
|
|
353224
352901
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
353225
352902
|
break;
|
353226
352903
|
}
|
353227
|
-
case 2: {
|
353228
|
-
if (message.renamedServices === $util.emptyObject)
|
353229
|
-
message.renamedServices = {};
|
353230
|
-
var end2 = reader.uint32() + reader.pos;
|
353231
|
-
key = "";
|
353232
|
-
value = "";
|
353233
|
-
while (reader.pos < end2) {
|
353234
|
-
var tag2 = reader.uint32();
|
353235
|
-
switch (tag2 >>> 3) {
|
353236
|
-
case 1:
|
353237
|
-
key = reader.string();
|
353238
|
-
break;
|
353239
|
-
case 2:
|
353240
|
-
value = reader.string();
|
353241
|
-
break;
|
353242
|
-
default:
|
353243
|
-
reader.skipType(tag2 & 7);
|
353244
|
-
break;
|
353245
|
-
}
|
353246
|
-
}
|
353247
|
-
message.renamedServices[key] = value;
|
353248
|
-
break;
|
353249
|
-
}
|
353250
352904
|
default:
|
353251
352905
|
reader.skipType(tag & 7);
|
353252
352906
|
break;
|
@@ -353287,14 +352941,6 @@
|
|
353287
352941
|
if (error)
|
353288
352942
|
return "common." + error;
|
353289
352943
|
}
|
353290
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
353291
|
-
if (!$util.isObject(message.renamedServices))
|
353292
|
-
return "renamedServices: object expected";
|
353293
|
-
var key = Object.keys(message.renamedServices);
|
353294
|
-
for (var i = 0; i < key.length; ++i)
|
353295
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
353296
|
-
return "renamedServices: string{k:string} expected";
|
353297
|
-
}
|
353298
352944
|
return null;
|
353299
352945
|
};
|
353300
352946
|
|
@@ -353315,13 +352961,6 @@
|
|
353315
352961
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
353316
352962
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
353317
352963
|
}
|
353318
|
-
if (object.renamedServices) {
|
353319
|
-
if (typeof object.renamedServices !== "object")
|
353320
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
353321
|
-
message.renamedServices = {};
|
353322
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
353323
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
353324
|
-
}
|
353325
352964
|
return message;
|
353326
352965
|
};
|
353327
352966
|
|
@@ -353338,18 +352977,10 @@
|
|
353338
352977
|
if (!options)
|
353339
352978
|
options = {};
|
353340
352979
|
var object = {};
|
353341
|
-
if (options.objects || options.defaults)
|
353342
|
-
object.renamedServices = {};
|
353343
352980
|
if (options.defaults)
|
353344
352981
|
object.common = null;
|
353345
352982
|
if (message.common != null && message.hasOwnProperty("common"))
|
353346
352983
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
353347
|
-
var keys2;
|
353348
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
353349
|
-
object.renamedServices = {};
|
353350
|
-
for (var j = 0; j < keys2.length; ++j)
|
353351
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
353352
|
-
}
|
353353
352984
|
return object;
|
353354
352985
|
};
|
353355
352986
|
|
@@ -353988,251 +353619,6 @@
|
|
353988
353619
|
return values;
|
353989
353620
|
})();
|
353990
353621
|
|
353991
|
-
api.SelectiveGapicGeneration = (function() {
|
353992
|
-
|
353993
|
-
/**
|
353994
|
-
* Properties of a SelectiveGapicGeneration.
|
353995
|
-
* @memberof google.api
|
353996
|
-
* @interface ISelectiveGapicGeneration
|
353997
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
353998
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
353999
|
-
*/
|
354000
|
-
|
354001
|
-
/**
|
354002
|
-
* Constructs a new SelectiveGapicGeneration.
|
354003
|
-
* @memberof google.api
|
354004
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
354005
|
-
* @implements ISelectiveGapicGeneration
|
354006
|
-
* @constructor
|
354007
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
354008
|
-
*/
|
354009
|
-
function SelectiveGapicGeneration(properties) {
|
354010
|
-
this.methods = [];
|
354011
|
-
if (properties)
|
354012
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
354013
|
-
if (properties[keys[i]] != null)
|
354014
|
-
this[keys[i]] = properties[keys[i]];
|
354015
|
-
}
|
354016
|
-
|
354017
|
-
/**
|
354018
|
-
* SelectiveGapicGeneration methods.
|
354019
|
-
* @member {Array.<string>} methods
|
354020
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354021
|
-
* @instance
|
354022
|
-
*/
|
354023
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
354024
|
-
|
354025
|
-
/**
|
354026
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
354027
|
-
* @member {boolean} generateOmittedAsInternal
|
354028
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354029
|
-
* @instance
|
354030
|
-
*/
|
354031
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
354032
|
-
|
354033
|
-
/**
|
354034
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
354035
|
-
* @function create
|
354036
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354037
|
-
* @static
|
354038
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
354039
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
354040
|
-
*/
|
354041
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
354042
|
-
return new SelectiveGapicGeneration(properties);
|
354043
|
-
};
|
354044
|
-
|
354045
|
-
/**
|
354046
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
354047
|
-
* @function encode
|
354048
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354049
|
-
* @static
|
354050
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
354051
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
354052
|
-
* @returns {$protobuf.Writer} Writer
|
354053
|
-
*/
|
354054
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
354055
|
-
if (!writer)
|
354056
|
-
writer = $Writer.create();
|
354057
|
-
if (message.methods != null && message.methods.length)
|
354058
|
-
for (var i = 0; i < message.methods.length; ++i)
|
354059
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
354060
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
354061
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
354062
|
-
return writer;
|
354063
|
-
};
|
354064
|
-
|
354065
|
-
/**
|
354066
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
354067
|
-
* @function encodeDelimited
|
354068
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354069
|
-
* @static
|
354070
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
354071
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
354072
|
-
* @returns {$protobuf.Writer} Writer
|
354073
|
-
*/
|
354074
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
354075
|
-
return this.encode(message, writer).ldelim();
|
354076
|
-
};
|
354077
|
-
|
354078
|
-
/**
|
354079
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
354080
|
-
* @function decode
|
354081
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354082
|
-
* @static
|
354083
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
354084
|
-
* @param {number} [length] Message length if known beforehand
|
354085
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
354086
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
354087
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
354088
|
-
*/
|
354089
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
354090
|
-
if (!(reader instanceof $Reader))
|
354091
|
-
reader = $Reader.create(reader);
|
354092
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
354093
|
-
while (reader.pos < end) {
|
354094
|
-
var tag = reader.uint32();
|
354095
|
-
if (tag === error)
|
354096
|
-
break;
|
354097
|
-
switch (tag >>> 3) {
|
354098
|
-
case 1: {
|
354099
|
-
if (!(message.methods && message.methods.length))
|
354100
|
-
message.methods = [];
|
354101
|
-
message.methods.push(reader.string());
|
354102
|
-
break;
|
354103
|
-
}
|
354104
|
-
case 2: {
|
354105
|
-
message.generateOmittedAsInternal = reader.bool();
|
354106
|
-
break;
|
354107
|
-
}
|
354108
|
-
default:
|
354109
|
-
reader.skipType(tag & 7);
|
354110
|
-
break;
|
354111
|
-
}
|
354112
|
-
}
|
354113
|
-
return message;
|
354114
|
-
};
|
354115
|
-
|
354116
|
-
/**
|
354117
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
354118
|
-
* @function decodeDelimited
|
354119
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354120
|
-
* @static
|
354121
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
354122
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
354123
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
354124
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
354125
|
-
*/
|
354126
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
354127
|
-
if (!(reader instanceof $Reader))
|
354128
|
-
reader = new $Reader(reader);
|
354129
|
-
return this.decode(reader, reader.uint32());
|
354130
|
-
};
|
354131
|
-
|
354132
|
-
/**
|
354133
|
-
* Verifies a SelectiveGapicGeneration message.
|
354134
|
-
* @function verify
|
354135
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354136
|
-
* @static
|
354137
|
-
* @param {Object.<string,*>} message Plain object to verify
|
354138
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
354139
|
-
*/
|
354140
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
354141
|
-
if (typeof message !== "object" || message === null)
|
354142
|
-
return "object expected";
|
354143
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
354144
|
-
if (!Array.isArray(message.methods))
|
354145
|
-
return "methods: array expected";
|
354146
|
-
for (var i = 0; i < message.methods.length; ++i)
|
354147
|
-
if (!$util.isString(message.methods[i]))
|
354148
|
-
return "methods: string[] expected";
|
354149
|
-
}
|
354150
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
354151
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
354152
|
-
return "generateOmittedAsInternal: boolean expected";
|
354153
|
-
return null;
|
354154
|
-
};
|
354155
|
-
|
354156
|
-
/**
|
354157
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
354158
|
-
* @function fromObject
|
354159
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354160
|
-
* @static
|
354161
|
-
* @param {Object.<string,*>} object Plain object
|
354162
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
354163
|
-
*/
|
354164
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
354165
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
354166
|
-
return object;
|
354167
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
354168
|
-
if (object.methods) {
|
354169
|
-
if (!Array.isArray(object.methods))
|
354170
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
354171
|
-
message.methods = [];
|
354172
|
-
for (var i = 0; i < object.methods.length; ++i)
|
354173
|
-
message.methods[i] = String(object.methods[i]);
|
354174
|
-
}
|
354175
|
-
if (object.generateOmittedAsInternal != null)
|
354176
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
354177
|
-
return message;
|
354178
|
-
};
|
354179
|
-
|
354180
|
-
/**
|
354181
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
354182
|
-
* @function toObject
|
354183
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354184
|
-
* @static
|
354185
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
354186
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
354187
|
-
* @returns {Object.<string,*>} Plain object
|
354188
|
-
*/
|
354189
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
354190
|
-
if (!options)
|
354191
|
-
options = {};
|
354192
|
-
var object = {};
|
354193
|
-
if (options.arrays || options.defaults)
|
354194
|
-
object.methods = [];
|
354195
|
-
if (options.defaults)
|
354196
|
-
object.generateOmittedAsInternal = false;
|
354197
|
-
if (message.methods && message.methods.length) {
|
354198
|
-
object.methods = [];
|
354199
|
-
for (var j = 0; j < message.methods.length; ++j)
|
354200
|
-
object.methods[j] = message.methods[j];
|
354201
|
-
}
|
354202
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
354203
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
354204
|
-
return object;
|
354205
|
-
};
|
354206
|
-
|
354207
|
-
/**
|
354208
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
354209
|
-
* @function toJSON
|
354210
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354211
|
-
* @instance
|
354212
|
-
* @returns {Object.<string,*>} JSON object
|
354213
|
-
*/
|
354214
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
354215
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
354216
|
-
};
|
354217
|
-
|
354218
|
-
/**
|
354219
|
-
* Gets the default type url for SelectiveGapicGeneration
|
354220
|
-
* @function getTypeUrl
|
354221
|
-
* @memberof google.api.SelectiveGapicGeneration
|
354222
|
-
* @static
|
354223
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
354224
|
-
* @returns {string} The default type url
|
354225
|
-
*/
|
354226
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
354227
|
-
if (typeUrlPrefix === undefined) {
|
354228
|
-
typeUrlPrefix = "type.googleapis.com";
|
354229
|
-
}
|
354230
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
354231
|
-
};
|
354232
|
-
|
354233
|
-
return SelectiveGapicGeneration;
|
354234
|
-
})();
|
354235
|
-
|
354236
353622
|
/**
|
354237
353623
|
* LaunchStage enum.
|
354238
353624
|
* @name google.api.LaunchStage
|
@@ -354785,7 +354171,6 @@
|
|
354785
354171
|
* @name google.protobuf.Edition
|
354786
354172
|
* @enum {number}
|
354787
354173
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
354788
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
354789
354174
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
354790
354175
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
354791
354176
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
@@ -354800,7 +354185,6 @@
|
|
354800
354185
|
protobuf.Edition = (function() {
|
354801
354186
|
var valuesById = {}, values = Object.create(valuesById);
|
354802
354187
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
354803
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
354804
354188
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
354805
354189
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
354806
354190
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
@@ -354825,7 +354209,6 @@
|
|
354825
354209
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
354826
354210
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
354827
354211
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
354828
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
354829
354212
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
354830
354213
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
354831
354214
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
@@ -354848,7 +354231,6 @@
|
|
354848
354231
|
this.dependency = [];
|
354849
354232
|
this.publicDependency = [];
|
354850
354233
|
this.weakDependency = [];
|
354851
|
-
this.optionDependency = [];
|
354852
354234
|
this.messageType = [];
|
354853
354235
|
this.enumType = [];
|
354854
354236
|
this.service = [];
|
@@ -354899,14 +354281,6 @@
|
|
354899
354281
|
*/
|
354900
354282
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
354901
354283
|
|
354902
|
-
/**
|
354903
|
-
* FileDescriptorProto optionDependency.
|
354904
|
-
* @member {Array.<string>} optionDependency
|
354905
|
-
* @memberof google.protobuf.FileDescriptorProto
|
354906
|
-
* @instance
|
354907
|
-
*/
|
354908
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
354909
|
-
|
354910
354284
|
/**
|
354911
354285
|
* FileDescriptorProto messageType.
|
354912
354286
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
@@ -355028,9 +354402,6 @@
|
|
355028
354402
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
355029
354403
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
355030
354404
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
355031
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
355032
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
355033
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
355034
354405
|
return writer;
|
355035
354406
|
};
|
355036
354407
|
|
@@ -355103,12 +354474,6 @@
|
|
355103
354474
|
message.weakDependency.push(reader.int32());
|
355104
354475
|
break;
|
355105
354476
|
}
|
355106
|
-
case 15: {
|
355107
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
355108
|
-
message.optionDependency = [];
|
355109
|
-
message.optionDependency.push(reader.string());
|
355110
|
-
break;
|
355111
|
-
}
|
355112
354477
|
case 4: {
|
355113
354478
|
if (!(message.messageType && message.messageType.length))
|
355114
354479
|
message.messageType = [];
|
@@ -355211,13 +354576,6 @@
|
|
355211
354576
|
if (!$util.isInteger(message.weakDependency[i]))
|
355212
354577
|
return "weakDependency: integer[] expected";
|
355213
354578
|
}
|
355214
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
355215
|
-
if (!Array.isArray(message.optionDependency))
|
355216
|
-
return "optionDependency: array expected";
|
355217
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
355218
|
-
if (!$util.isString(message.optionDependency[i]))
|
355219
|
-
return "optionDependency: string[] expected";
|
355220
|
-
}
|
355221
354579
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
355222
354580
|
if (!Array.isArray(message.messageType))
|
355223
354581
|
return "messageType: array expected";
|
@@ -355272,7 +354630,6 @@
|
|
355272
354630
|
default:
|
355273
354631
|
return "edition: enum value expected";
|
355274
354632
|
case 0:
|
355275
|
-
case 900:
|
355276
354633
|
case 998:
|
355277
354634
|
case 999:
|
355278
354635
|
case 1000:
|
@@ -355325,13 +354682,6 @@
|
|
355325
354682
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
355326
354683
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
355327
354684
|
}
|
355328
|
-
if (object.optionDependency) {
|
355329
|
-
if (!Array.isArray(object.optionDependency))
|
355330
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
355331
|
-
message.optionDependency = [];
|
355332
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
355333
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
355334
|
-
}
|
355335
354685
|
if (object.messageType) {
|
355336
354686
|
if (!Array.isArray(object.messageType))
|
355337
354687
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
@@ -355395,10 +354745,6 @@
|
|
355395
354745
|
case 0:
|
355396
354746
|
message.edition = 0;
|
355397
354747
|
break;
|
355398
|
-
case "EDITION_LEGACY":
|
355399
|
-
case 900:
|
355400
|
-
message.edition = 900;
|
355401
|
-
break;
|
355402
354748
|
case "EDITION_PROTO2":
|
355403
354749
|
case 998:
|
355404
354750
|
message.edition = 998;
|
@@ -355464,7 +354810,6 @@
|
|
355464
354810
|
object.extension = [];
|
355465
354811
|
object.publicDependency = [];
|
355466
354812
|
object.weakDependency = [];
|
355467
|
-
object.optionDependency = [];
|
355468
354813
|
}
|
355469
354814
|
if (options.defaults) {
|
355470
354815
|
object.name = "";
|
@@ -355521,11 +354866,6 @@
|
|
355521
354866
|
object.syntax = message.syntax;
|
355522
354867
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
355523
354868
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
355524
|
-
if (message.optionDependency && message.optionDependency.length) {
|
355525
|
-
object.optionDependency = [];
|
355526
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
355527
|
-
object.optionDependency[j] = message.optionDependency[j];
|
355528
|
-
}
|
355529
354869
|
return object;
|
355530
354870
|
};
|
355531
354871
|
|
@@ -355574,7 +354914,6 @@
|
|
355574
354914
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
355575
354915
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
355576
354916
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
355577
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
355578
354917
|
*/
|
355579
354918
|
|
355580
354919
|
/**
|
@@ -355680,14 +355019,6 @@
|
|
355680
355019
|
*/
|
355681
355020
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
355682
355021
|
|
355683
|
-
/**
|
355684
|
-
* DescriptorProto visibility.
|
355685
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
355686
|
-
* @memberof google.protobuf.DescriptorProto
|
355687
|
-
* @instance
|
355688
|
-
*/
|
355689
|
-
DescriptorProto.prototype.visibility = 0;
|
355690
|
-
|
355691
355022
|
/**
|
355692
355023
|
* Creates a new DescriptorProto instance using the specified properties.
|
355693
355024
|
* @function create
|
@@ -355740,8 +355071,6 @@
|
|
355740
355071
|
if (message.reservedName != null && message.reservedName.length)
|
355741
355072
|
for (var i = 0; i < message.reservedName.length; ++i)
|
355742
355073
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
355743
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
355744
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
355745
355074
|
return writer;
|
355746
355075
|
};
|
355747
355076
|
|
@@ -355834,10 +355163,6 @@
|
|
355834
355163
|
message.reservedName.push(reader.string());
|
355835
355164
|
break;
|
355836
355165
|
}
|
355837
|
-
case 11: {
|
355838
|
-
message.visibility = reader.int32();
|
355839
|
-
break;
|
355840
|
-
}
|
355841
355166
|
default:
|
355842
355167
|
reader.skipType(tag & 7);
|
355843
355168
|
break;
|
@@ -355951,15 +355276,6 @@
|
|
355951
355276
|
if (!$util.isString(message.reservedName[i]))
|
355952
355277
|
return "reservedName: string[] expected";
|
355953
355278
|
}
|
355954
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
355955
|
-
switch (message.visibility) {
|
355956
|
-
default:
|
355957
|
-
return "visibility: enum value expected";
|
355958
|
-
case 0:
|
355959
|
-
case 1:
|
355960
|
-
case 2:
|
355961
|
-
break;
|
355962
|
-
}
|
355963
355279
|
return null;
|
355964
355280
|
};
|
355965
355281
|
|
@@ -356059,26 +355375,6 @@
|
|
356059
355375
|
for (var i = 0; i < object.reservedName.length; ++i)
|
356060
355376
|
message.reservedName[i] = String(object.reservedName[i]);
|
356061
355377
|
}
|
356062
|
-
switch (object.visibility) {
|
356063
|
-
default:
|
356064
|
-
if (typeof object.visibility === "number") {
|
356065
|
-
message.visibility = object.visibility;
|
356066
|
-
break;
|
356067
|
-
}
|
356068
|
-
break;
|
356069
|
-
case "VISIBILITY_UNSET":
|
356070
|
-
case 0:
|
356071
|
-
message.visibility = 0;
|
356072
|
-
break;
|
356073
|
-
case "VISIBILITY_LOCAL":
|
356074
|
-
case 1:
|
356075
|
-
message.visibility = 1;
|
356076
|
-
break;
|
356077
|
-
case "VISIBILITY_EXPORT":
|
356078
|
-
case 2:
|
356079
|
-
message.visibility = 2;
|
356080
|
-
break;
|
356081
|
-
}
|
356082
355378
|
return message;
|
356083
355379
|
};
|
356084
355380
|
|
@@ -356108,7 +355404,6 @@
|
|
356108
355404
|
if (options.defaults) {
|
356109
355405
|
object.name = "";
|
356110
355406
|
object.options = null;
|
356111
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
356112
355407
|
}
|
356113
355408
|
if (message.name != null && message.hasOwnProperty("name"))
|
356114
355409
|
object.name = message.name;
|
@@ -356154,8 +355449,6 @@
|
|
356154
355449
|
for (var j = 0; j < message.reservedName.length; ++j)
|
356155
355450
|
object.reservedName[j] = message.reservedName[j];
|
356156
355451
|
}
|
356157
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
356158
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
356159
355452
|
return object;
|
356160
355453
|
};
|
356161
355454
|
|
@@ -358200,7 +357493,6 @@
|
|
358200
357493
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
358201
357494
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
358202
357495
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
358203
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
358204
357496
|
*/
|
358205
357497
|
|
358206
357498
|
/**
|
@@ -358261,14 +357553,6 @@
|
|
358261
357553
|
*/
|
358262
357554
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
358263
357555
|
|
358264
|
-
/**
|
358265
|
-
* EnumDescriptorProto visibility.
|
358266
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
358267
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
358268
|
-
* @instance
|
358269
|
-
*/
|
358270
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
358271
|
-
|
358272
357556
|
/**
|
358273
357557
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
358274
357558
|
* @function create
|
@@ -358306,8 +357590,6 @@
|
|
358306
357590
|
if (message.reservedName != null && message.reservedName.length)
|
358307
357591
|
for (var i = 0; i < message.reservedName.length; ++i)
|
358308
357592
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
358309
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
358310
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
358311
357593
|
return writer;
|
358312
357594
|
};
|
358313
357595
|
|
@@ -358370,10 +357652,6 @@
|
|
358370
357652
|
message.reservedName.push(reader.string());
|
358371
357653
|
break;
|
358372
357654
|
}
|
358373
|
-
case 6: {
|
358374
|
-
message.visibility = reader.int32();
|
358375
|
-
break;
|
358376
|
-
}
|
358377
357655
|
default:
|
358378
357656
|
reader.skipType(tag & 7);
|
358379
357657
|
break;
|
@@ -358442,15 +357720,6 @@
|
|
358442
357720
|
if (!$util.isString(message.reservedName[i]))
|
358443
357721
|
return "reservedName: string[] expected";
|
358444
357722
|
}
|
358445
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
358446
|
-
switch (message.visibility) {
|
358447
|
-
default:
|
358448
|
-
return "visibility: enum value expected";
|
358449
|
-
case 0:
|
358450
|
-
case 1:
|
358451
|
-
case 2:
|
358452
|
-
break;
|
358453
|
-
}
|
358454
357723
|
return null;
|
358455
357724
|
};
|
358456
357725
|
|
@@ -358500,26 +357769,6 @@
|
|
358500
357769
|
for (var i = 0; i < object.reservedName.length; ++i)
|
358501
357770
|
message.reservedName[i] = String(object.reservedName[i]);
|
358502
357771
|
}
|
358503
|
-
switch (object.visibility) {
|
358504
|
-
default:
|
358505
|
-
if (typeof object.visibility === "number") {
|
358506
|
-
message.visibility = object.visibility;
|
358507
|
-
break;
|
358508
|
-
}
|
358509
|
-
break;
|
358510
|
-
case "VISIBILITY_UNSET":
|
358511
|
-
case 0:
|
358512
|
-
message.visibility = 0;
|
358513
|
-
break;
|
358514
|
-
case "VISIBILITY_LOCAL":
|
358515
|
-
case 1:
|
358516
|
-
message.visibility = 1;
|
358517
|
-
break;
|
358518
|
-
case "VISIBILITY_EXPORT":
|
358519
|
-
case 2:
|
358520
|
-
message.visibility = 2;
|
358521
|
-
break;
|
358522
|
-
}
|
358523
357772
|
return message;
|
358524
357773
|
};
|
358525
357774
|
|
@@ -358544,7 +357793,6 @@
|
|
358544
357793
|
if (options.defaults) {
|
358545
357794
|
object.name = "";
|
358546
357795
|
object.options = null;
|
358547
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
358548
357796
|
}
|
358549
357797
|
if (message.name != null && message.hasOwnProperty("name"))
|
358550
357798
|
object.name = message.name;
|
@@ -358565,8 +357813,6 @@
|
|
358565
357813
|
for (var j = 0; j < message.reservedName.length; ++j)
|
358566
357814
|
object.reservedName[j] = message.reservedName[j];
|
358567
357815
|
}
|
358568
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
358569
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
358570
357816
|
return object;
|
358571
357817
|
};
|
358572
357818
|
|
@@ -360885,7 +360131,6 @@
|
|
360885
360131
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
360886
360132
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
360887
360133
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
360888
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
360889
360134
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
360890
360135
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
360891
360136
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
@@ -361006,14 +360251,6 @@
|
|
361006
360251
|
*/
|
361007
360252
|
FieldOptions.prototype.features = null;
|
361008
360253
|
|
361009
|
-
/**
|
361010
|
-
* FieldOptions featureSupport.
|
361011
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
361012
|
-
* @memberof google.protobuf.FieldOptions
|
361013
|
-
* @instance
|
361014
|
-
*/
|
361015
|
-
FieldOptions.prototype.featureSupport = null;
|
361016
|
-
|
361017
360254
|
/**
|
361018
360255
|
* FieldOptions uninterpretedOption.
|
361019
360256
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
@@ -361088,8 +360325,6 @@
|
|
361088
360325
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
361089
360326
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
361090
360327
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
361091
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
361092
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
361093
360328
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
361094
360329
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
361095
360330
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
@@ -361191,10 +360426,6 @@
|
|
361191
360426
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
361192
360427
|
break;
|
361193
360428
|
}
|
361194
|
-
case 22: {
|
361195
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
361196
|
-
break;
|
361197
|
-
}
|
361198
360429
|
case 999: {
|
361199
360430
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
361200
360431
|
message.uninterpretedOption = [];
|
@@ -361330,11 +360561,6 @@
|
|
361330
360561
|
if (error)
|
361331
360562
|
return "features." + error;
|
361332
360563
|
}
|
361333
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
361334
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
361335
|
-
if (error)
|
361336
|
-
return "featureSupport." + error;
|
361337
|
-
}
|
361338
360564
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
361339
360565
|
if (!Array.isArray(message.uninterpretedOption))
|
361340
360566
|
return "uninterpretedOption: array expected";
|
@@ -361523,11 +360749,6 @@
|
|
361523
360749
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
361524
360750
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
361525
360751
|
}
|
361526
|
-
if (object.featureSupport != null) {
|
361527
|
-
if (typeof object.featureSupport !== "object")
|
361528
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
361529
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
361530
|
-
}
|
361531
360752
|
if (object.uninterpretedOption) {
|
361532
360753
|
if (!Array.isArray(object.uninterpretedOption))
|
361533
360754
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
@@ -361625,7 +360846,6 @@
|
|
361625
360846
|
object.debugRedact = false;
|
361626
360847
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
361627
360848
|
object.features = null;
|
361628
|
-
object.featureSupport = null;
|
361629
360849
|
object[".google.api.resourceReference"] = null;
|
361630
360850
|
}
|
361631
360851
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
@@ -361658,8 +360878,6 @@
|
|
361658
360878
|
}
|
361659
360879
|
if (message.features != null && message.hasOwnProperty("features"))
|
361660
360880
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
361661
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
361662
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
361663
360881
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
361664
360882
|
object.uninterpretedOption = [];
|
361665
360883
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
@@ -361932,7 +361150,6 @@
|
|
361932
361150
|
default:
|
361933
361151
|
return "edition: enum value expected";
|
361934
361152
|
case 0:
|
361935
|
-
case 900:
|
361936
361153
|
case 998:
|
361937
361154
|
case 999:
|
361938
361155
|
case 1000:
|
@@ -361974,589 +361191,103 @@
|
|
361974
361191
|
case 0:
|
361975
361192
|
message.edition = 0;
|
361976
361193
|
break;
|
361977
|
-
case "EDITION_LEGACY":
|
361978
|
-
case 900:
|
361979
|
-
message.edition = 900;
|
361980
|
-
break;
|
361981
|
-
case "EDITION_PROTO2":
|
361982
|
-
case 998:
|
361983
|
-
message.edition = 998;
|
361984
|
-
break;
|
361985
|
-
case "EDITION_PROTO3":
|
361986
|
-
case 999:
|
361987
|
-
message.edition = 999;
|
361988
|
-
break;
|
361989
|
-
case "EDITION_2023":
|
361990
|
-
case 1000:
|
361991
|
-
message.edition = 1000;
|
361992
|
-
break;
|
361993
|
-
case "EDITION_2024":
|
361994
|
-
case 1001:
|
361995
|
-
message.edition = 1001;
|
361996
|
-
break;
|
361997
|
-
case "EDITION_1_TEST_ONLY":
|
361998
|
-
case 1:
|
361999
|
-
message.edition = 1;
|
362000
|
-
break;
|
362001
|
-
case "EDITION_2_TEST_ONLY":
|
362002
|
-
case 2:
|
362003
|
-
message.edition = 2;
|
362004
|
-
break;
|
362005
|
-
case "EDITION_99997_TEST_ONLY":
|
362006
|
-
case 99997:
|
362007
|
-
message.edition = 99997;
|
362008
|
-
break;
|
362009
|
-
case "EDITION_99998_TEST_ONLY":
|
362010
|
-
case 99998:
|
362011
|
-
message.edition = 99998;
|
362012
|
-
break;
|
362013
|
-
case "EDITION_99999_TEST_ONLY":
|
362014
|
-
case 99999:
|
362015
|
-
message.edition = 99999;
|
362016
|
-
break;
|
362017
|
-
case "EDITION_MAX":
|
362018
|
-
case 2147483647:
|
362019
|
-
message.edition = 2147483647;
|
362020
|
-
break;
|
362021
|
-
}
|
362022
|
-
if (object.value != null)
|
362023
|
-
message.value = String(object.value);
|
362024
|
-
return message;
|
362025
|
-
};
|
362026
|
-
|
362027
|
-
/**
|
362028
|
-
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
362029
|
-
* @function toObject
|
362030
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362031
|
-
* @static
|
362032
|
-
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
362033
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
362034
|
-
* @returns {Object.<string,*>} Plain object
|
362035
|
-
*/
|
362036
|
-
EditionDefault.toObject = function toObject(message, options) {
|
362037
|
-
if (!options)
|
362038
|
-
options = {};
|
362039
|
-
var object = {};
|
362040
|
-
if (options.defaults) {
|
362041
|
-
object.value = "";
|
362042
|
-
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
362043
|
-
}
|
362044
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
362045
|
-
object.value = message.value;
|
362046
|
-
if (message.edition != null && message.hasOwnProperty("edition"))
|
362047
|
-
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
362048
|
-
return object;
|
362049
|
-
};
|
362050
|
-
|
362051
|
-
/**
|
362052
|
-
* Converts this EditionDefault to JSON.
|
362053
|
-
* @function toJSON
|
362054
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362055
|
-
* @instance
|
362056
|
-
* @returns {Object.<string,*>} JSON object
|
362057
|
-
*/
|
362058
|
-
EditionDefault.prototype.toJSON = function toJSON() {
|
362059
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
362060
|
-
};
|
362061
|
-
|
362062
|
-
/**
|
362063
|
-
* Gets the default type url for EditionDefault
|
362064
|
-
* @function getTypeUrl
|
362065
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362066
|
-
* @static
|
362067
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
362068
|
-
* @returns {string} The default type url
|
362069
|
-
*/
|
362070
|
-
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
362071
|
-
if (typeUrlPrefix === undefined) {
|
362072
|
-
typeUrlPrefix = "type.googleapis.com";
|
362073
|
-
}
|
362074
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
362075
|
-
};
|
362076
|
-
|
362077
|
-
return EditionDefault;
|
362078
|
-
})();
|
362079
|
-
|
362080
|
-
FieldOptions.FeatureSupport = (function() {
|
362081
|
-
|
362082
|
-
/**
|
362083
|
-
* Properties of a FeatureSupport.
|
362084
|
-
* @memberof google.protobuf.FieldOptions
|
362085
|
-
* @interface IFeatureSupport
|
362086
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
362087
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
362088
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
362089
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
362090
|
-
*/
|
362091
|
-
|
362092
|
-
/**
|
362093
|
-
* Constructs a new FeatureSupport.
|
362094
|
-
* @memberof google.protobuf.FieldOptions
|
362095
|
-
* @classdesc Represents a FeatureSupport.
|
362096
|
-
* @implements IFeatureSupport
|
362097
|
-
* @constructor
|
362098
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
362099
|
-
*/
|
362100
|
-
function FeatureSupport(properties) {
|
362101
|
-
if (properties)
|
362102
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
362103
|
-
if (properties[keys[i]] != null)
|
362104
|
-
this[keys[i]] = properties[keys[i]];
|
362105
|
-
}
|
362106
|
-
|
362107
|
-
/**
|
362108
|
-
* FeatureSupport editionIntroduced.
|
362109
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
362110
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362111
|
-
* @instance
|
362112
|
-
*/
|
362113
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
362114
|
-
|
362115
|
-
/**
|
362116
|
-
* FeatureSupport editionDeprecated.
|
362117
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
362118
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362119
|
-
* @instance
|
362120
|
-
*/
|
362121
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
362122
|
-
|
362123
|
-
/**
|
362124
|
-
* FeatureSupport deprecationWarning.
|
362125
|
-
* @member {string} deprecationWarning
|
362126
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362127
|
-
* @instance
|
362128
|
-
*/
|
362129
|
-
FeatureSupport.prototype.deprecationWarning = "";
|
362130
|
-
|
362131
|
-
/**
|
362132
|
-
* FeatureSupport editionRemoved.
|
362133
|
-
* @member {google.protobuf.Edition} editionRemoved
|
362134
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362135
|
-
* @instance
|
362136
|
-
*/
|
362137
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
362138
|
-
|
362139
|
-
/**
|
362140
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
362141
|
-
* @function create
|
362142
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362143
|
-
* @static
|
362144
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
362145
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
362146
|
-
*/
|
362147
|
-
FeatureSupport.create = function create(properties) {
|
362148
|
-
return new FeatureSupport(properties);
|
362149
|
-
};
|
362150
|
-
|
362151
|
-
/**
|
362152
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
362153
|
-
* @function encode
|
362154
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362155
|
-
* @static
|
362156
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
362157
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
362158
|
-
* @returns {$protobuf.Writer} Writer
|
362159
|
-
*/
|
362160
|
-
FeatureSupport.encode = function encode(message, writer) {
|
362161
|
-
if (!writer)
|
362162
|
-
writer = $Writer.create();
|
362163
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
362164
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
362165
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
362166
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
362167
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
362168
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
362169
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
362170
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
362171
|
-
return writer;
|
362172
|
-
};
|
362173
|
-
|
362174
|
-
/**
|
362175
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
362176
|
-
* @function encodeDelimited
|
362177
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362178
|
-
* @static
|
362179
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
362180
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
362181
|
-
* @returns {$protobuf.Writer} Writer
|
362182
|
-
*/
|
362183
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
362184
|
-
return this.encode(message, writer).ldelim();
|
362185
|
-
};
|
362186
|
-
|
362187
|
-
/**
|
362188
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
362189
|
-
* @function decode
|
362190
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362191
|
-
* @static
|
362192
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
362193
|
-
* @param {number} [length] Message length if known beforehand
|
362194
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
362195
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
362196
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
362197
|
-
*/
|
362198
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
362199
|
-
if (!(reader instanceof $Reader))
|
362200
|
-
reader = $Reader.create(reader);
|
362201
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
362202
|
-
while (reader.pos < end) {
|
362203
|
-
var tag = reader.uint32();
|
362204
|
-
if (tag === error)
|
362205
|
-
break;
|
362206
|
-
switch (tag >>> 3) {
|
362207
|
-
case 1: {
|
362208
|
-
message.editionIntroduced = reader.int32();
|
362209
|
-
break;
|
362210
|
-
}
|
362211
|
-
case 2: {
|
362212
|
-
message.editionDeprecated = reader.int32();
|
362213
|
-
break;
|
362214
|
-
}
|
362215
|
-
case 3: {
|
362216
|
-
message.deprecationWarning = reader.string();
|
362217
|
-
break;
|
362218
|
-
}
|
362219
|
-
case 4: {
|
362220
|
-
message.editionRemoved = reader.int32();
|
362221
|
-
break;
|
362222
|
-
}
|
362223
|
-
default:
|
362224
|
-
reader.skipType(tag & 7);
|
362225
|
-
break;
|
362226
|
-
}
|
362227
|
-
}
|
362228
|
-
return message;
|
362229
|
-
};
|
362230
|
-
|
362231
|
-
/**
|
362232
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
362233
|
-
* @function decodeDelimited
|
362234
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362235
|
-
* @static
|
362236
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
362237
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
362238
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
362239
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
362240
|
-
*/
|
362241
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
362242
|
-
if (!(reader instanceof $Reader))
|
362243
|
-
reader = new $Reader(reader);
|
362244
|
-
return this.decode(reader, reader.uint32());
|
362245
|
-
};
|
362246
|
-
|
362247
|
-
/**
|
362248
|
-
* Verifies a FeatureSupport message.
|
362249
|
-
* @function verify
|
362250
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362251
|
-
* @static
|
362252
|
-
* @param {Object.<string,*>} message Plain object to verify
|
362253
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
362254
|
-
*/
|
362255
|
-
FeatureSupport.verify = function verify(message) {
|
362256
|
-
if (typeof message !== "object" || message === null)
|
362257
|
-
return "object expected";
|
362258
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
362259
|
-
switch (message.editionIntroduced) {
|
362260
|
-
default:
|
362261
|
-
return "editionIntroduced: enum value expected";
|
362262
|
-
case 0:
|
362263
|
-
case 900:
|
362264
|
-
case 998:
|
362265
|
-
case 999:
|
362266
|
-
case 1000:
|
362267
|
-
case 1001:
|
362268
|
-
case 1:
|
362269
|
-
case 2:
|
362270
|
-
case 99997:
|
362271
|
-
case 99998:
|
362272
|
-
case 99999:
|
362273
|
-
case 2147483647:
|
362274
|
-
break;
|
362275
|
-
}
|
362276
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
362277
|
-
switch (message.editionDeprecated) {
|
362278
|
-
default:
|
362279
|
-
return "editionDeprecated: enum value expected";
|
362280
|
-
case 0:
|
362281
|
-
case 900:
|
362282
|
-
case 998:
|
362283
|
-
case 999:
|
362284
|
-
case 1000:
|
362285
|
-
case 1001:
|
362286
|
-
case 1:
|
362287
|
-
case 2:
|
362288
|
-
case 99997:
|
362289
|
-
case 99998:
|
362290
|
-
case 99999:
|
362291
|
-
case 2147483647:
|
362292
|
-
break;
|
362293
|
-
}
|
362294
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
362295
|
-
if (!$util.isString(message.deprecationWarning))
|
362296
|
-
return "deprecationWarning: string expected";
|
362297
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
362298
|
-
switch (message.editionRemoved) {
|
362299
|
-
default:
|
362300
|
-
return "editionRemoved: enum value expected";
|
362301
|
-
case 0:
|
362302
|
-
case 900:
|
362303
|
-
case 998:
|
362304
|
-
case 999:
|
362305
|
-
case 1000:
|
362306
|
-
case 1001:
|
362307
|
-
case 1:
|
362308
|
-
case 2:
|
362309
|
-
case 99997:
|
362310
|
-
case 99998:
|
362311
|
-
case 99999:
|
362312
|
-
case 2147483647:
|
362313
|
-
break;
|
362314
|
-
}
|
362315
|
-
return null;
|
362316
|
-
};
|
362317
|
-
|
362318
|
-
/**
|
362319
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
362320
|
-
* @function fromObject
|
362321
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
362322
|
-
* @static
|
362323
|
-
* @param {Object.<string,*>} object Plain object
|
362324
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
362325
|
-
*/
|
362326
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
362327
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
362328
|
-
return object;
|
362329
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
362330
|
-
switch (object.editionIntroduced) {
|
362331
|
-
default:
|
362332
|
-
if (typeof object.editionIntroduced === "number") {
|
362333
|
-
message.editionIntroduced = object.editionIntroduced;
|
362334
|
-
break;
|
362335
|
-
}
|
362336
|
-
break;
|
362337
|
-
case "EDITION_UNKNOWN":
|
362338
|
-
case 0:
|
362339
|
-
message.editionIntroduced = 0;
|
362340
|
-
break;
|
362341
|
-
case "EDITION_LEGACY":
|
362342
|
-
case 900:
|
362343
|
-
message.editionIntroduced = 900;
|
362344
|
-
break;
|
362345
|
-
case "EDITION_PROTO2":
|
362346
|
-
case 998:
|
362347
|
-
message.editionIntroduced = 998;
|
362348
|
-
break;
|
362349
|
-
case "EDITION_PROTO3":
|
362350
|
-
case 999:
|
362351
|
-
message.editionIntroduced = 999;
|
362352
|
-
break;
|
362353
|
-
case "EDITION_2023":
|
362354
|
-
case 1000:
|
362355
|
-
message.editionIntroduced = 1000;
|
362356
|
-
break;
|
362357
|
-
case "EDITION_2024":
|
362358
|
-
case 1001:
|
362359
|
-
message.editionIntroduced = 1001;
|
362360
|
-
break;
|
362361
|
-
case "EDITION_1_TEST_ONLY":
|
362362
|
-
case 1:
|
362363
|
-
message.editionIntroduced = 1;
|
362364
|
-
break;
|
362365
|
-
case "EDITION_2_TEST_ONLY":
|
362366
|
-
case 2:
|
362367
|
-
message.editionIntroduced = 2;
|
362368
|
-
break;
|
362369
|
-
case "EDITION_99997_TEST_ONLY":
|
362370
|
-
case 99997:
|
362371
|
-
message.editionIntroduced = 99997;
|
362372
|
-
break;
|
362373
|
-
case "EDITION_99998_TEST_ONLY":
|
362374
|
-
case 99998:
|
362375
|
-
message.editionIntroduced = 99998;
|
362376
|
-
break;
|
362377
|
-
case "EDITION_99999_TEST_ONLY":
|
362378
|
-
case 99999:
|
362379
|
-
message.editionIntroduced = 99999;
|
362380
|
-
break;
|
362381
|
-
case "EDITION_MAX":
|
362382
|
-
case 2147483647:
|
362383
|
-
message.editionIntroduced = 2147483647;
|
362384
|
-
break;
|
362385
|
-
}
|
362386
|
-
switch (object.editionDeprecated) {
|
362387
|
-
default:
|
362388
|
-
if (typeof object.editionDeprecated === "number") {
|
362389
|
-
message.editionDeprecated = object.editionDeprecated;
|
362390
|
-
break;
|
362391
|
-
}
|
362392
|
-
break;
|
362393
|
-
case "EDITION_UNKNOWN":
|
362394
|
-
case 0:
|
362395
|
-
message.editionDeprecated = 0;
|
362396
|
-
break;
|
362397
|
-
case "EDITION_LEGACY":
|
362398
|
-
case 900:
|
362399
|
-
message.editionDeprecated = 900;
|
362400
|
-
break;
|
362401
|
-
case "EDITION_PROTO2":
|
362402
|
-
case 998:
|
362403
|
-
message.editionDeprecated = 998;
|
362404
|
-
break;
|
362405
|
-
case "EDITION_PROTO3":
|
362406
|
-
case 999:
|
362407
|
-
message.editionDeprecated = 999;
|
362408
|
-
break;
|
362409
|
-
case "EDITION_2023":
|
362410
|
-
case 1000:
|
362411
|
-
message.editionDeprecated = 1000;
|
362412
|
-
break;
|
362413
|
-
case "EDITION_2024":
|
362414
|
-
case 1001:
|
362415
|
-
message.editionDeprecated = 1001;
|
362416
|
-
break;
|
362417
|
-
case "EDITION_1_TEST_ONLY":
|
362418
|
-
case 1:
|
362419
|
-
message.editionDeprecated = 1;
|
362420
|
-
break;
|
362421
|
-
case "EDITION_2_TEST_ONLY":
|
362422
|
-
case 2:
|
362423
|
-
message.editionDeprecated = 2;
|
362424
|
-
break;
|
362425
|
-
case "EDITION_99997_TEST_ONLY":
|
362426
|
-
case 99997:
|
362427
|
-
message.editionDeprecated = 99997;
|
362428
|
-
break;
|
362429
|
-
case "EDITION_99998_TEST_ONLY":
|
362430
|
-
case 99998:
|
362431
|
-
message.editionDeprecated = 99998;
|
362432
|
-
break;
|
362433
|
-
case "EDITION_99999_TEST_ONLY":
|
362434
|
-
case 99999:
|
362435
|
-
message.editionDeprecated = 99999;
|
362436
|
-
break;
|
362437
|
-
case "EDITION_MAX":
|
362438
|
-
case 2147483647:
|
362439
|
-
message.editionDeprecated = 2147483647;
|
362440
|
-
break;
|
362441
|
-
}
|
362442
|
-
if (object.deprecationWarning != null)
|
362443
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
362444
|
-
switch (object.editionRemoved) {
|
362445
|
-
default:
|
362446
|
-
if (typeof object.editionRemoved === "number") {
|
362447
|
-
message.editionRemoved = object.editionRemoved;
|
362448
|
-
break;
|
362449
|
-
}
|
362450
|
-
break;
|
362451
|
-
case "EDITION_UNKNOWN":
|
362452
|
-
case 0:
|
362453
|
-
message.editionRemoved = 0;
|
362454
|
-
break;
|
362455
|
-
case "EDITION_LEGACY":
|
362456
|
-
case 900:
|
362457
|
-
message.editionRemoved = 900;
|
362458
|
-
break;
|
362459
361194
|
case "EDITION_PROTO2":
|
362460
361195
|
case 998:
|
362461
|
-
message.
|
361196
|
+
message.edition = 998;
|
362462
361197
|
break;
|
362463
361198
|
case "EDITION_PROTO3":
|
362464
361199
|
case 999:
|
362465
|
-
message.
|
361200
|
+
message.edition = 999;
|
362466
361201
|
break;
|
362467
361202
|
case "EDITION_2023":
|
362468
361203
|
case 1000:
|
362469
|
-
message.
|
361204
|
+
message.edition = 1000;
|
362470
361205
|
break;
|
362471
361206
|
case "EDITION_2024":
|
362472
361207
|
case 1001:
|
362473
|
-
message.
|
361208
|
+
message.edition = 1001;
|
362474
361209
|
break;
|
362475
361210
|
case "EDITION_1_TEST_ONLY":
|
362476
361211
|
case 1:
|
362477
|
-
message.
|
361212
|
+
message.edition = 1;
|
362478
361213
|
break;
|
362479
361214
|
case "EDITION_2_TEST_ONLY":
|
362480
361215
|
case 2:
|
362481
|
-
message.
|
361216
|
+
message.edition = 2;
|
362482
361217
|
break;
|
362483
361218
|
case "EDITION_99997_TEST_ONLY":
|
362484
361219
|
case 99997:
|
362485
|
-
message.
|
361220
|
+
message.edition = 99997;
|
362486
361221
|
break;
|
362487
361222
|
case "EDITION_99998_TEST_ONLY":
|
362488
361223
|
case 99998:
|
362489
|
-
message.
|
361224
|
+
message.edition = 99998;
|
362490
361225
|
break;
|
362491
361226
|
case "EDITION_99999_TEST_ONLY":
|
362492
361227
|
case 99999:
|
362493
|
-
message.
|
361228
|
+
message.edition = 99999;
|
362494
361229
|
break;
|
362495
361230
|
case "EDITION_MAX":
|
362496
361231
|
case 2147483647:
|
362497
|
-
message.
|
361232
|
+
message.edition = 2147483647;
|
362498
361233
|
break;
|
362499
361234
|
}
|
361235
|
+
if (object.value != null)
|
361236
|
+
message.value = String(object.value);
|
362500
361237
|
return message;
|
362501
361238
|
};
|
362502
361239
|
|
362503
361240
|
/**
|
362504
|
-
* Creates a plain object from
|
361241
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
362505
361242
|
* @function toObject
|
362506
|
-
* @memberof google.protobuf.FieldOptions.
|
361243
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362507
361244
|
* @static
|
362508
|
-
* @param {google.protobuf.FieldOptions.
|
361245
|
+
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
362509
361246
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
362510
361247
|
* @returns {Object.<string,*>} Plain object
|
362511
361248
|
*/
|
362512
|
-
|
361249
|
+
EditionDefault.toObject = function toObject(message, options) {
|
362513
361250
|
if (!options)
|
362514
361251
|
options = {};
|
362515
361252
|
var object = {};
|
362516
361253
|
if (options.defaults) {
|
362517
|
-
object.
|
362518
|
-
object.
|
362519
|
-
object.deprecationWarning = "";
|
362520
|
-
object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
361254
|
+
object.value = "";
|
361255
|
+
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
362521
361256
|
}
|
362522
|
-
if (message.
|
362523
|
-
object.
|
362524
|
-
if (message.
|
362525
|
-
object.
|
362526
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
362527
|
-
object.deprecationWarning = message.deprecationWarning;
|
362528
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
362529
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
361257
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
361258
|
+
object.value = message.value;
|
361259
|
+
if (message.edition != null && message.hasOwnProperty("edition"))
|
361260
|
+
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
362530
361261
|
return object;
|
362531
361262
|
};
|
362532
361263
|
|
362533
361264
|
/**
|
362534
|
-
* Converts this
|
361265
|
+
* Converts this EditionDefault to JSON.
|
362535
361266
|
* @function toJSON
|
362536
|
-
* @memberof google.protobuf.FieldOptions.
|
361267
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362537
361268
|
* @instance
|
362538
361269
|
* @returns {Object.<string,*>} JSON object
|
362539
361270
|
*/
|
362540
|
-
|
361271
|
+
EditionDefault.prototype.toJSON = function toJSON() {
|
362541
361272
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
362542
361273
|
};
|
362543
361274
|
|
362544
361275
|
/**
|
362545
|
-
* Gets the default type url for
|
361276
|
+
* Gets the default type url for EditionDefault
|
362546
361277
|
* @function getTypeUrl
|
362547
|
-
* @memberof google.protobuf.FieldOptions.
|
361278
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
362548
361279
|
* @static
|
362549
361280
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
362550
361281
|
* @returns {string} The default type url
|
362551
361282
|
*/
|
362552
|
-
|
361283
|
+
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
362553
361284
|
if (typeUrlPrefix === undefined) {
|
362554
361285
|
typeUrlPrefix = "type.googleapis.com";
|
362555
361286
|
}
|
362556
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.
|
361287
|
+
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
362557
361288
|
};
|
362558
361289
|
|
362559
|
-
return
|
361290
|
+
return EditionDefault;
|
362560
361291
|
})();
|
362561
361292
|
|
362562
361293
|
return FieldOptions;
|
@@ -363151,7 +361882,6 @@
|
|
363151
361882
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
363152
361883
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
363153
361884
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
363154
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
363155
361885
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
363156
361886
|
*/
|
363157
361887
|
|
@@ -363195,14 +361925,6 @@
|
|
363195
361925
|
*/
|
363196
361926
|
EnumValueOptions.prototype.debugRedact = false;
|
363197
361927
|
|
363198
|
-
/**
|
363199
|
-
* EnumValueOptions featureSupport.
|
363200
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
363201
|
-
* @memberof google.protobuf.EnumValueOptions
|
363202
|
-
* @instance
|
363203
|
-
*/
|
363204
|
-
EnumValueOptions.prototype.featureSupport = null;
|
363205
|
-
|
363206
361928
|
/**
|
363207
361929
|
* EnumValueOptions uninterpretedOption.
|
363208
361930
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
@@ -363241,8 +361963,6 @@
|
|
363241
361963
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
363242
361964
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
363243
361965
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
363244
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
363245
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
363246
361966
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
363247
361967
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
363248
361968
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
@@ -363294,10 +362014,6 @@
|
|
363294
362014
|
message.debugRedact = reader.bool();
|
363295
362015
|
break;
|
363296
362016
|
}
|
363297
|
-
case 4: {
|
363298
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
363299
|
-
break;
|
363300
|
-
}
|
363301
362017
|
case 999: {
|
363302
362018
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
363303
362019
|
message.uninterpretedOption = [];
|
@@ -363350,11 +362066,6 @@
|
|
363350
362066
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
363351
362067
|
if (typeof message.debugRedact !== "boolean")
|
363352
362068
|
return "debugRedact: boolean expected";
|
363353
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
363354
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
363355
|
-
if (error)
|
363356
|
-
return "featureSupport." + error;
|
363357
|
-
}
|
363358
362069
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
363359
362070
|
if (!Array.isArray(message.uninterpretedOption))
|
363360
362071
|
return "uninterpretedOption: array expected";
|
@@ -363388,11 +362099,6 @@
|
|
363388
362099
|
}
|
363389
362100
|
if (object.debugRedact != null)
|
363390
362101
|
message.debugRedact = Boolean(object.debugRedact);
|
363391
|
-
if (object.featureSupport != null) {
|
363392
|
-
if (typeof object.featureSupport !== "object")
|
363393
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
363394
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
363395
|
-
}
|
363396
362102
|
if (object.uninterpretedOption) {
|
363397
362103
|
if (!Array.isArray(object.uninterpretedOption))
|
363398
362104
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
@@ -363425,7 +362131,6 @@
|
|
363425
362131
|
object.deprecated = false;
|
363426
362132
|
object.features = null;
|
363427
362133
|
object.debugRedact = false;
|
363428
|
-
object.featureSupport = null;
|
363429
362134
|
}
|
363430
362135
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
363431
362136
|
object.deprecated = message.deprecated;
|
@@ -363433,8 +362138,6 @@
|
|
363433
362138
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
363434
362139
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
363435
362140
|
object.debugRedact = message.debugRedact;
|
363436
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
363437
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
363438
362141
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
363439
362142
|
object.uninterpretedOption = [];
|
363440
362143
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
@@ -364902,8 +363605,6 @@
|
|
364902
363605
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
364903
363606
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
364904
363607
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
364905
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
364906
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
364907
363608
|
*/
|
364908
363609
|
|
364909
363610
|
/**
|
@@ -364969,22 +363670,6 @@
|
|
364969
363670
|
*/
|
364970
363671
|
FeatureSet.prototype.jsonFormat = 0;
|
364971
363672
|
|
364972
|
-
/**
|
364973
|
-
* FeatureSet enforceNamingStyle.
|
364974
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
364975
|
-
* @memberof google.protobuf.FeatureSet
|
364976
|
-
* @instance
|
364977
|
-
*/
|
364978
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
364979
|
-
|
364980
|
-
/**
|
364981
|
-
* FeatureSet defaultSymbolVisibility.
|
364982
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
364983
|
-
* @memberof google.protobuf.FeatureSet
|
364984
|
-
* @instance
|
364985
|
-
*/
|
364986
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
364987
|
-
|
364988
363673
|
/**
|
364989
363674
|
* Creates a new FeatureSet instance using the specified properties.
|
364990
363675
|
* @function create
|
@@ -365021,10 +363706,6 @@
|
|
365021
363706
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
365022
363707
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
365023
363708
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
365024
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
365025
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
365026
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
365027
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
365028
363709
|
return writer;
|
365029
363710
|
};
|
365030
363711
|
|
@@ -365085,14 +363766,6 @@
|
|
365085
363766
|
message.jsonFormat = reader.int32();
|
365086
363767
|
break;
|
365087
363768
|
}
|
365088
|
-
case 7: {
|
365089
|
-
message.enforceNamingStyle = reader.int32();
|
365090
|
-
break;
|
365091
|
-
}
|
365092
|
-
case 8: {
|
365093
|
-
message.defaultSymbolVisibility = reader.int32();
|
365094
|
-
break;
|
365095
|
-
}
|
365096
363769
|
default:
|
365097
363770
|
reader.skipType(tag & 7);
|
365098
363771
|
break;
|
@@ -365183,26 +363856,6 @@
|
|
365183
363856
|
case 2:
|
365184
363857
|
break;
|
365185
363858
|
}
|
365186
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
365187
|
-
switch (message.enforceNamingStyle) {
|
365188
|
-
default:
|
365189
|
-
return "enforceNamingStyle: enum value expected";
|
365190
|
-
case 0:
|
365191
|
-
case 1:
|
365192
|
-
case 2:
|
365193
|
-
break;
|
365194
|
-
}
|
365195
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
365196
|
-
switch (message.defaultSymbolVisibility) {
|
365197
|
-
default:
|
365198
|
-
return "defaultSymbolVisibility: enum value expected";
|
365199
|
-
case 0:
|
365200
|
-
case 1:
|
365201
|
-
case 2:
|
365202
|
-
case 3:
|
365203
|
-
case 4:
|
365204
|
-
break;
|
365205
|
-
}
|
365206
363859
|
return null;
|
365207
363860
|
};
|
365208
363861
|
|
@@ -365342,54 +363995,6 @@
|
|
365342
363995
|
message.jsonFormat = 2;
|
365343
363996
|
break;
|
365344
363997
|
}
|
365345
|
-
switch (object.enforceNamingStyle) {
|
365346
|
-
default:
|
365347
|
-
if (typeof object.enforceNamingStyle === "number") {
|
365348
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
365349
|
-
break;
|
365350
|
-
}
|
365351
|
-
break;
|
365352
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
365353
|
-
case 0:
|
365354
|
-
message.enforceNamingStyle = 0;
|
365355
|
-
break;
|
365356
|
-
case "STYLE2024":
|
365357
|
-
case 1:
|
365358
|
-
message.enforceNamingStyle = 1;
|
365359
|
-
break;
|
365360
|
-
case "STYLE_LEGACY":
|
365361
|
-
case 2:
|
365362
|
-
message.enforceNamingStyle = 2;
|
365363
|
-
break;
|
365364
|
-
}
|
365365
|
-
switch (object.defaultSymbolVisibility) {
|
365366
|
-
default:
|
365367
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
365368
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
365369
|
-
break;
|
365370
|
-
}
|
365371
|
-
break;
|
365372
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
365373
|
-
case 0:
|
365374
|
-
message.defaultSymbolVisibility = 0;
|
365375
|
-
break;
|
365376
|
-
case "EXPORT_ALL":
|
365377
|
-
case 1:
|
365378
|
-
message.defaultSymbolVisibility = 1;
|
365379
|
-
break;
|
365380
|
-
case "EXPORT_TOP_LEVEL":
|
365381
|
-
case 2:
|
365382
|
-
message.defaultSymbolVisibility = 2;
|
365383
|
-
break;
|
365384
|
-
case "LOCAL_ALL":
|
365385
|
-
case 3:
|
365386
|
-
message.defaultSymbolVisibility = 3;
|
365387
|
-
break;
|
365388
|
-
case "STRICT":
|
365389
|
-
case 4:
|
365390
|
-
message.defaultSymbolVisibility = 4;
|
365391
|
-
break;
|
365392
|
-
}
|
365393
363998
|
return message;
|
365394
363999
|
};
|
365395
364000
|
|
@@ -365413,8 +364018,6 @@
|
|
365413
364018
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
365414
364019
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
365415
364020
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
365416
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
365417
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
365418
364021
|
}
|
365419
364022
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
365420
364023
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
@@ -365428,10 +364031,6 @@
|
|
365428
364031
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
365429
364032
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
365430
364033
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
365431
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
365432
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
365433
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
365434
|
-
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;
|
365435
364034
|
return object;
|
365436
364035
|
};
|
365437
364036
|
|
@@ -365559,219 +364158,6 @@
|
|
365559
364158
|
return values;
|
365560
364159
|
})();
|
365561
364160
|
|
365562
|
-
/**
|
365563
|
-
* EnforceNamingStyle enum.
|
365564
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
365565
|
-
* @enum {number}
|
365566
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
365567
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
365568
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
365569
|
-
*/
|
365570
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
365571
|
-
var valuesById = {}, values = Object.create(valuesById);
|
365572
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
365573
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
365574
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
365575
|
-
return values;
|
365576
|
-
})();
|
365577
|
-
|
365578
|
-
FeatureSet.VisibilityFeature = (function() {
|
365579
|
-
|
365580
|
-
/**
|
365581
|
-
* Properties of a VisibilityFeature.
|
365582
|
-
* @memberof google.protobuf.FeatureSet
|
365583
|
-
* @interface IVisibilityFeature
|
365584
|
-
*/
|
365585
|
-
|
365586
|
-
/**
|
365587
|
-
* Constructs a new VisibilityFeature.
|
365588
|
-
* @memberof google.protobuf.FeatureSet
|
365589
|
-
* @classdesc Represents a VisibilityFeature.
|
365590
|
-
* @implements IVisibilityFeature
|
365591
|
-
* @constructor
|
365592
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
365593
|
-
*/
|
365594
|
-
function VisibilityFeature(properties) {
|
365595
|
-
if (properties)
|
365596
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
365597
|
-
if (properties[keys[i]] != null)
|
365598
|
-
this[keys[i]] = properties[keys[i]];
|
365599
|
-
}
|
365600
|
-
|
365601
|
-
/**
|
365602
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
365603
|
-
* @function create
|
365604
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365605
|
-
* @static
|
365606
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
365607
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
365608
|
-
*/
|
365609
|
-
VisibilityFeature.create = function create(properties) {
|
365610
|
-
return new VisibilityFeature(properties);
|
365611
|
-
};
|
365612
|
-
|
365613
|
-
/**
|
365614
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
365615
|
-
* @function encode
|
365616
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365617
|
-
* @static
|
365618
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
365619
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
365620
|
-
* @returns {$protobuf.Writer} Writer
|
365621
|
-
*/
|
365622
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
365623
|
-
if (!writer)
|
365624
|
-
writer = $Writer.create();
|
365625
|
-
return writer;
|
365626
|
-
};
|
365627
|
-
|
365628
|
-
/**
|
365629
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
365630
|
-
* @function encodeDelimited
|
365631
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365632
|
-
* @static
|
365633
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
365634
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
365635
|
-
* @returns {$protobuf.Writer} Writer
|
365636
|
-
*/
|
365637
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
365638
|
-
return this.encode(message, writer).ldelim();
|
365639
|
-
};
|
365640
|
-
|
365641
|
-
/**
|
365642
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
365643
|
-
* @function decode
|
365644
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365645
|
-
* @static
|
365646
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
365647
|
-
* @param {number} [length] Message length if known beforehand
|
365648
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
365649
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
365650
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
365651
|
-
*/
|
365652
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
365653
|
-
if (!(reader instanceof $Reader))
|
365654
|
-
reader = $Reader.create(reader);
|
365655
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
365656
|
-
while (reader.pos < end) {
|
365657
|
-
var tag = reader.uint32();
|
365658
|
-
if (tag === error)
|
365659
|
-
break;
|
365660
|
-
switch (tag >>> 3) {
|
365661
|
-
default:
|
365662
|
-
reader.skipType(tag & 7);
|
365663
|
-
break;
|
365664
|
-
}
|
365665
|
-
}
|
365666
|
-
return message;
|
365667
|
-
};
|
365668
|
-
|
365669
|
-
/**
|
365670
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
365671
|
-
* @function decodeDelimited
|
365672
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365673
|
-
* @static
|
365674
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
365675
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
365676
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
365677
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
365678
|
-
*/
|
365679
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
365680
|
-
if (!(reader instanceof $Reader))
|
365681
|
-
reader = new $Reader(reader);
|
365682
|
-
return this.decode(reader, reader.uint32());
|
365683
|
-
};
|
365684
|
-
|
365685
|
-
/**
|
365686
|
-
* Verifies a VisibilityFeature message.
|
365687
|
-
* @function verify
|
365688
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365689
|
-
* @static
|
365690
|
-
* @param {Object.<string,*>} message Plain object to verify
|
365691
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
365692
|
-
*/
|
365693
|
-
VisibilityFeature.verify = function verify(message) {
|
365694
|
-
if (typeof message !== "object" || message === null)
|
365695
|
-
return "object expected";
|
365696
|
-
return null;
|
365697
|
-
};
|
365698
|
-
|
365699
|
-
/**
|
365700
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
365701
|
-
* @function fromObject
|
365702
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365703
|
-
* @static
|
365704
|
-
* @param {Object.<string,*>} object Plain object
|
365705
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
365706
|
-
*/
|
365707
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
365708
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
365709
|
-
return object;
|
365710
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
365711
|
-
};
|
365712
|
-
|
365713
|
-
/**
|
365714
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
365715
|
-
* @function toObject
|
365716
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365717
|
-
* @static
|
365718
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
365719
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
365720
|
-
* @returns {Object.<string,*>} Plain object
|
365721
|
-
*/
|
365722
|
-
VisibilityFeature.toObject = function toObject() {
|
365723
|
-
return {};
|
365724
|
-
};
|
365725
|
-
|
365726
|
-
/**
|
365727
|
-
* Converts this VisibilityFeature to JSON.
|
365728
|
-
* @function toJSON
|
365729
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365730
|
-
* @instance
|
365731
|
-
* @returns {Object.<string,*>} JSON object
|
365732
|
-
*/
|
365733
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
365734
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
365735
|
-
};
|
365736
|
-
|
365737
|
-
/**
|
365738
|
-
* Gets the default type url for VisibilityFeature
|
365739
|
-
* @function getTypeUrl
|
365740
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
365741
|
-
* @static
|
365742
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
365743
|
-
* @returns {string} The default type url
|
365744
|
-
*/
|
365745
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
365746
|
-
if (typeUrlPrefix === undefined) {
|
365747
|
-
typeUrlPrefix = "type.googleapis.com";
|
365748
|
-
}
|
365749
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
365750
|
-
};
|
365751
|
-
|
365752
|
-
/**
|
365753
|
-
* DefaultSymbolVisibility enum.
|
365754
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
365755
|
-
* @enum {number}
|
365756
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
365757
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
365758
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
365759
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
365760
|
-
* @property {number} STRICT=4 STRICT value
|
365761
|
-
*/
|
365762
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
365763
|
-
var valuesById = {}, values = Object.create(valuesById);
|
365764
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
365765
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
365766
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
365767
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
365768
|
-
values[valuesById[4] = "STRICT"] = 4;
|
365769
|
-
return values;
|
365770
|
-
})();
|
365771
|
-
|
365772
|
-
return VisibilityFeature;
|
365773
|
-
})();
|
365774
|
-
|
365775
364161
|
return FeatureSet;
|
365776
364162
|
})();
|
365777
364163
|
|
@@ -365956,7 +364342,6 @@
|
|
365956
364342
|
default:
|
365957
364343
|
return "minimumEdition: enum value expected";
|
365958
364344
|
case 0:
|
365959
|
-
case 900:
|
365960
364345
|
case 998:
|
365961
364346
|
case 999:
|
365962
364347
|
case 1000:
|
@@ -365974,7 +364359,6 @@
|
|
365974
364359
|
default:
|
365975
364360
|
return "maximumEdition: enum value expected";
|
365976
364361
|
case 0:
|
365977
|
-
case 900:
|
365978
364362
|
case 998:
|
365979
364363
|
case 999:
|
365980
364364
|
case 1000:
|
@@ -366023,10 +364407,6 @@
|
|
366023
364407
|
case 0:
|
366024
364408
|
message.minimumEdition = 0;
|
366025
364409
|
break;
|
366026
|
-
case "EDITION_LEGACY":
|
366027
|
-
case 900:
|
366028
|
-
message.minimumEdition = 900;
|
366029
|
-
break;
|
366030
364410
|
case "EDITION_PROTO2":
|
366031
364411
|
case 998:
|
366032
364412
|
message.minimumEdition = 998;
|
@@ -366079,10 +364459,6 @@
|
|
366079
364459
|
case 0:
|
366080
364460
|
message.maximumEdition = 0;
|
366081
364461
|
break;
|
366082
|
-
case "EDITION_LEGACY":
|
366083
|
-
case 900:
|
366084
|
-
message.maximumEdition = 900;
|
366085
|
-
break;
|
366086
364462
|
case "EDITION_PROTO2":
|
366087
364463
|
case 998:
|
366088
364464
|
message.maximumEdition = 998;
|
@@ -366191,8 +364567,7 @@
|
|
366191
364567
|
* @memberof google.protobuf.FeatureSetDefaults
|
366192
364568
|
* @interface IFeatureSetEditionDefault
|
366193
364569
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
366194
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
366195
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
364570
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
366196
364571
|
*/
|
366197
364572
|
|
366198
364573
|
/**
|
@@ -366219,20 +364594,12 @@
|
|
366219
364594
|
FeatureSetEditionDefault.prototype.edition = 0;
|
366220
364595
|
|
366221
364596
|
/**
|
366222
|
-
* FeatureSetEditionDefault
|
366223
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
366224
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
366225
|
-
* @instance
|
366226
|
-
*/
|
366227
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
366228
|
-
|
366229
|
-
/**
|
366230
|
-
* FeatureSetEditionDefault fixedFeatures.
|
366231
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
364597
|
+
* FeatureSetEditionDefault features.
|
364598
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
366232
364599
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
366233
364600
|
* @instance
|
366234
364601
|
*/
|
366235
|
-
FeatureSetEditionDefault.prototype.
|
364602
|
+
FeatureSetEditionDefault.prototype.features = null;
|
366236
364603
|
|
366237
364604
|
/**
|
366238
364605
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
@@ -366258,12 +364625,10 @@
|
|
366258
364625
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
366259
364626
|
if (!writer)
|
366260
364627
|
writer = $Writer.create();
|
364628
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
364629
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
366261
364630
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
366262
364631
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
366263
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
366264
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
366265
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
366266
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
366267
364632
|
return writer;
|
366268
364633
|
};
|
366269
364634
|
|
@@ -366304,12 +364669,8 @@
|
|
366304
364669
|
message.edition = reader.int32();
|
366305
364670
|
break;
|
366306
364671
|
}
|
366307
|
-
case
|
366308
|
-
message.
|
366309
|
-
break;
|
366310
|
-
}
|
366311
|
-
case 5: {
|
366312
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
364672
|
+
case 2: {
|
364673
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
366313
364674
|
break;
|
366314
364675
|
}
|
366315
364676
|
default:
|
@@ -366352,7 +364713,6 @@
|
|
366352
364713
|
default:
|
366353
364714
|
return "edition: enum value expected";
|
366354
364715
|
case 0:
|
366355
|
-
case 900:
|
366356
364716
|
case 998:
|
366357
364717
|
case 999:
|
366358
364718
|
case 1000:
|
@@ -366365,15 +364725,10 @@
|
|
366365
364725
|
case 2147483647:
|
366366
364726
|
break;
|
366367
364727
|
}
|
366368
|
-
if (message.
|
366369
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
366370
|
-
if (error)
|
366371
|
-
return "overridableFeatures." + error;
|
366372
|
-
}
|
366373
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
366374
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
364728
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
364729
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
366375
364730
|
if (error)
|
366376
|
-
return "
|
364731
|
+
return "features." + error;
|
366377
364732
|
}
|
366378
364733
|
return null;
|
366379
364734
|
};
|
@@ -366401,10 +364756,6 @@
|
|
366401
364756
|
case 0:
|
366402
364757
|
message.edition = 0;
|
366403
364758
|
break;
|
366404
|
-
case "EDITION_LEGACY":
|
366405
|
-
case 900:
|
366406
|
-
message.edition = 900;
|
366407
|
-
break;
|
366408
364759
|
case "EDITION_PROTO2":
|
366409
364760
|
case 998:
|
366410
364761
|
message.edition = 998;
|
@@ -366446,15 +364797,10 @@
|
|
366446
364797
|
message.edition = 2147483647;
|
366447
364798
|
break;
|
366448
364799
|
}
|
366449
|
-
if (object.
|
366450
|
-
if (typeof object.
|
366451
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
366452
|
-
message.
|
366453
|
-
}
|
366454
|
-
if (object.fixedFeatures != null) {
|
366455
|
-
if (typeof object.fixedFeatures !== "object")
|
366456
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
366457
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
364800
|
+
if (object.features != null) {
|
364801
|
+
if (typeof object.features !== "object")
|
364802
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
364803
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
366458
364804
|
}
|
366459
364805
|
return message;
|
366460
364806
|
};
|
@@ -366473,16 +364819,13 @@
|
|
366473
364819
|
options = {};
|
366474
364820
|
var object = {};
|
366475
364821
|
if (options.defaults) {
|
364822
|
+
object.features = null;
|
366476
364823
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
366477
|
-
object.overridableFeatures = null;
|
366478
|
-
object.fixedFeatures = null;
|
366479
364824
|
}
|
364825
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
364826
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
366480
364827
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
366481
364828
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
366482
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
366483
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
366484
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
366485
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
366486
364829
|
return object;
|
366487
364830
|
};
|
366488
364831
|
|
@@ -367697,22 +366040,6 @@
|
|
367697
366040
|
return GeneratedCodeInfo;
|
367698
366041
|
})();
|
367699
366042
|
|
367700
|
-
/**
|
367701
|
-
* SymbolVisibility enum.
|
367702
|
-
* @name google.protobuf.SymbolVisibility
|
367703
|
-
* @enum {number}
|
367704
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
367705
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
367706
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
367707
|
-
*/
|
367708
|
-
protobuf.SymbolVisibility = (function() {
|
367709
|
-
var valuesById = {}, values = Object.create(valuesById);
|
367710
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
367711
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
367712
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
367713
|
-
return values;
|
367714
|
-
})();
|
367715
|
-
|
367716
366043
|
protobuf.Struct = (function() {
|
367717
366044
|
|
367718
366045
|
/**
|