@googlemaps/fleetengine-delivery 0.6.0 → 0.6.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 +52 -135
- package/build/protos/protos.d.ts +4 -518
- package/build/protos/protos.js +51 -1724
- package/build/protos/protos.json +22 -193
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
|
@@ -12819,7 +12819,6 @@
|
|
|
12819
12819
|
* @interface ICommonLanguageSettings
|
|
12820
12820
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
|
12821
12821
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
|
12822
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
|
12823
12822
|
*/
|
|
12824
12823
|
|
|
12825
12824
|
/**
|
|
@@ -12854,14 +12853,6 @@
|
|
|
12854
12853
|
*/
|
|
12855
12854
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
|
12856
12855
|
|
|
12857
|
-
/**
|
|
12858
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
|
12859
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
|
12860
|
-
* @memberof google.api.CommonLanguageSettings
|
|
12861
|
-
* @instance
|
|
12862
|
-
*/
|
|
12863
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
|
12864
|
-
|
|
12865
12856
|
/**
|
|
12866
12857
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
12867
12858
|
* @function create
|
|
@@ -12894,8 +12885,6 @@
|
|
|
12894
12885
|
writer.int32(message.destinations[i]);
|
|
12895
12886
|
writer.ldelim();
|
|
12896
12887
|
}
|
|
12897
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
|
12898
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
12899
12888
|
return writer;
|
|
12900
12889
|
};
|
|
12901
12890
|
|
|
@@ -12947,10 +12936,6 @@
|
|
|
12947
12936
|
message.destinations.push(reader.int32());
|
|
12948
12937
|
break;
|
|
12949
12938
|
}
|
|
12950
|
-
case 3: {
|
|
12951
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
|
12952
|
-
break;
|
|
12953
|
-
}
|
|
12954
12939
|
default:
|
|
12955
12940
|
reader.skipType(tag & 7);
|
|
12956
12941
|
break;
|
|
@@ -13002,11 +12987,6 @@
|
|
|
13002
12987
|
break;
|
|
13003
12988
|
}
|
|
13004
12989
|
}
|
|
13005
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
|
13006
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
|
13007
|
-
if (error)
|
|
13008
|
-
return "selectiveGapicGeneration." + error;
|
|
13009
|
-
}
|
|
13010
12990
|
return null;
|
|
13011
12991
|
};
|
|
13012
12992
|
|
|
@@ -13049,11 +13029,6 @@
|
|
|
13049
13029
|
break;
|
|
13050
13030
|
}
|
|
13051
13031
|
}
|
|
13052
|
-
if (object.selectiveGapicGeneration != null) {
|
|
13053
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
|
13054
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
|
13055
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
|
13056
|
-
}
|
|
13057
13032
|
return message;
|
|
13058
13033
|
};
|
|
13059
13034
|
|
|
@@ -13072,10 +13047,8 @@
|
|
|
13072
13047
|
var object = {};
|
|
13073
13048
|
if (options.arrays || options.defaults)
|
|
13074
13049
|
object.destinations = [];
|
|
13075
|
-
if (options.defaults)
|
|
13050
|
+
if (options.defaults)
|
|
13076
13051
|
object.referenceDocsUri = "";
|
|
13077
|
-
object.selectiveGapicGeneration = null;
|
|
13078
|
-
}
|
|
13079
13052
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
|
13080
13053
|
object.referenceDocsUri = message.referenceDocsUri;
|
|
13081
13054
|
if (message.destinations && message.destinations.length) {
|
|
@@ -13083,8 +13056,6 @@
|
|
|
13083
13056
|
for (var j = 0; j < message.destinations.length; ++j)
|
|
13084
13057
|
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];
|
|
13085
13058
|
}
|
|
13086
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
|
13087
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
|
13088
13059
|
return object;
|
|
13089
13060
|
};
|
|
13090
13061
|
|
|
@@ -14907,7 +14878,6 @@
|
|
|
14907
14878
|
* @memberof google.api
|
|
14908
14879
|
* @interface IPythonSettings
|
|
14909
14880
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
|
14910
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
|
14911
14881
|
*/
|
|
14912
14882
|
|
|
14913
14883
|
/**
|
|
@@ -14933,14 +14903,6 @@
|
|
|
14933
14903
|
*/
|
|
14934
14904
|
PythonSettings.prototype.common = null;
|
|
14935
14905
|
|
|
14936
|
-
/**
|
|
14937
|
-
* PythonSettings experimentalFeatures.
|
|
14938
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
|
14939
|
-
* @memberof google.api.PythonSettings
|
|
14940
|
-
* @instance
|
|
14941
|
-
*/
|
|
14942
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
|
14943
|
-
|
|
14944
14906
|
/**
|
|
14945
14907
|
* Creates a new PythonSettings instance using the specified properties.
|
|
14946
14908
|
* @function create
|
|
@@ -14967,8 +14929,6 @@
|
|
|
14967
14929
|
writer = $Writer.create();
|
|
14968
14930
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
14969
14931
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14970
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
|
14971
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
14972
14932
|
return writer;
|
|
14973
14933
|
};
|
|
14974
14934
|
|
|
@@ -15009,10 +14969,6 @@
|
|
|
15009
14969
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
15010
14970
|
break;
|
|
15011
14971
|
}
|
|
15012
|
-
case 2: {
|
|
15013
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
|
15014
|
-
break;
|
|
15015
|
-
}
|
|
15016
14972
|
default:
|
|
15017
14973
|
reader.skipType(tag & 7);
|
|
15018
14974
|
break;
|
|
@@ -15053,11 +15009,6 @@
|
|
|
15053
15009
|
if (error)
|
|
15054
15010
|
return "common." + error;
|
|
15055
15011
|
}
|
|
15056
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
|
15057
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
|
15058
|
-
if (error)
|
|
15059
|
-
return "experimentalFeatures." + error;
|
|
15060
|
-
}
|
|
15061
15012
|
return null;
|
|
15062
15013
|
};
|
|
15063
15014
|
|
|
@@ -15078,11 +15029,6 @@
|
|
|
15078
15029
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
|
15079
15030
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
15080
15031
|
}
|
|
15081
|
-
if (object.experimentalFeatures != null) {
|
|
15082
|
-
if (typeof object.experimentalFeatures !== "object")
|
|
15083
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
|
15084
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
|
15085
|
-
}
|
|
15086
15032
|
return message;
|
|
15087
15033
|
};
|
|
15088
15034
|
|
|
@@ -15099,14 +15045,10 @@
|
|
|
15099
15045
|
if (!options)
|
|
15100
15046
|
options = {};
|
|
15101
15047
|
var object = {};
|
|
15102
|
-
if (options.defaults)
|
|
15048
|
+
if (options.defaults)
|
|
15103
15049
|
object.common = null;
|
|
15104
|
-
object.experimentalFeatures = null;
|
|
15105
|
-
}
|
|
15106
15050
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
15107
15051
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
15108
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
|
15109
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
|
15110
15052
|
return object;
|
|
15111
15053
|
};
|
|
15112
15054
|
|
|
@@ -15136,258 +15078,6 @@
|
|
|
15136
15078
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
|
15137
15079
|
};
|
|
15138
15080
|
|
|
15139
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
|
15140
|
-
|
|
15141
|
-
/**
|
|
15142
|
-
* Properties of an ExperimentalFeatures.
|
|
15143
|
-
* @memberof google.api.PythonSettings
|
|
15144
|
-
* @interface IExperimentalFeatures
|
|
15145
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
|
15146
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
|
15147
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
|
15148
|
-
*/
|
|
15149
|
-
|
|
15150
|
-
/**
|
|
15151
|
-
* Constructs a new ExperimentalFeatures.
|
|
15152
|
-
* @memberof google.api.PythonSettings
|
|
15153
|
-
* @classdesc Represents an ExperimentalFeatures.
|
|
15154
|
-
* @implements IExperimentalFeatures
|
|
15155
|
-
* @constructor
|
|
15156
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
15157
|
-
*/
|
|
15158
|
-
function ExperimentalFeatures(properties) {
|
|
15159
|
-
if (properties)
|
|
15160
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15161
|
-
if (properties[keys[i]] != null)
|
|
15162
|
-
this[keys[i]] = properties[keys[i]];
|
|
15163
|
-
}
|
|
15164
|
-
|
|
15165
|
-
/**
|
|
15166
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
|
15167
|
-
* @member {boolean} restAsyncIoEnabled
|
|
15168
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15169
|
-
* @instance
|
|
15170
|
-
*/
|
|
15171
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
|
15172
|
-
|
|
15173
|
-
/**
|
|
15174
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
|
15175
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
|
15176
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15177
|
-
* @instance
|
|
15178
|
-
*/
|
|
15179
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
|
15180
|
-
|
|
15181
|
-
/**
|
|
15182
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
|
15183
|
-
* @member {boolean} unversionedPackageDisabled
|
|
15184
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15185
|
-
* @instance
|
|
15186
|
-
*/
|
|
15187
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
|
15188
|
-
|
|
15189
|
-
/**
|
|
15190
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
15191
|
-
* @function create
|
|
15192
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15193
|
-
* @static
|
|
15194
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
15195
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
|
15196
|
-
*/
|
|
15197
|
-
ExperimentalFeatures.create = function create(properties) {
|
|
15198
|
-
return new ExperimentalFeatures(properties);
|
|
15199
|
-
};
|
|
15200
|
-
|
|
15201
|
-
/**
|
|
15202
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
15203
|
-
* @function encode
|
|
15204
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15205
|
-
* @static
|
|
15206
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
15207
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15208
|
-
* @returns {$protobuf.Writer} Writer
|
|
15209
|
-
*/
|
|
15210
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
|
15211
|
-
if (!writer)
|
|
15212
|
-
writer = $Writer.create();
|
|
15213
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
|
15214
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
|
15215
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
|
15216
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
|
15217
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
|
15218
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
|
15219
|
-
return writer;
|
|
15220
|
-
};
|
|
15221
|
-
|
|
15222
|
-
/**
|
|
15223
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
15224
|
-
* @function encodeDelimited
|
|
15225
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15226
|
-
* @static
|
|
15227
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
15228
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15229
|
-
* @returns {$protobuf.Writer} Writer
|
|
15230
|
-
*/
|
|
15231
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15232
|
-
return this.encode(message, writer).ldelim();
|
|
15233
|
-
};
|
|
15234
|
-
|
|
15235
|
-
/**
|
|
15236
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
15237
|
-
* @function decode
|
|
15238
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15239
|
-
* @static
|
|
15240
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15241
|
-
* @param {number} [length] Message length if known beforehand
|
|
15242
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15243
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15244
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15245
|
-
*/
|
|
15246
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
|
15247
|
-
if (!(reader instanceof $Reader))
|
|
15248
|
-
reader = $Reader.create(reader);
|
|
15249
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
15250
|
-
while (reader.pos < end) {
|
|
15251
|
-
var tag = reader.uint32();
|
|
15252
|
-
if (tag === error)
|
|
15253
|
-
break;
|
|
15254
|
-
switch (tag >>> 3) {
|
|
15255
|
-
case 1: {
|
|
15256
|
-
message.restAsyncIoEnabled = reader.bool();
|
|
15257
|
-
break;
|
|
15258
|
-
}
|
|
15259
|
-
case 2: {
|
|
15260
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
|
15261
|
-
break;
|
|
15262
|
-
}
|
|
15263
|
-
case 3: {
|
|
15264
|
-
message.unversionedPackageDisabled = reader.bool();
|
|
15265
|
-
break;
|
|
15266
|
-
}
|
|
15267
|
-
default:
|
|
15268
|
-
reader.skipType(tag & 7);
|
|
15269
|
-
break;
|
|
15270
|
-
}
|
|
15271
|
-
}
|
|
15272
|
-
return message;
|
|
15273
|
-
};
|
|
15274
|
-
|
|
15275
|
-
/**
|
|
15276
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
15277
|
-
* @function decodeDelimited
|
|
15278
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15279
|
-
* @static
|
|
15280
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15281
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15282
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15283
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15284
|
-
*/
|
|
15285
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
|
15286
|
-
if (!(reader instanceof $Reader))
|
|
15287
|
-
reader = new $Reader(reader);
|
|
15288
|
-
return this.decode(reader, reader.uint32());
|
|
15289
|
-
};
|
|
15290
|
-
|
|
15291
|
-
/**
|
|
15292
|
-
* Verifies an ExperimentalFeatures message.
|
|
15293
|
-
* @function verify
|
|
15294
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15295
|
-
* @static
|
|
15296
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
15297
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15298
|
-
*/
|
|
15299
|
-
ExperimentalFeatures.verify = function verify(message) {
|
|
15300
|
-
if (typeof message !== "object" || message === null)
|
|
15301
|
-
return "object expected";
|
|
15302
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
15303
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
|
15304
|
-
return "restAsyncIoEnabled: boolean expected";
|
|
15305
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
15306
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
|
15307
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
|
15308
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
15309
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
|
15310
|
-
return "unversionedPackageDisabled: boolean expected";
|
|
15311
|
-
return null;
|
|
15312
|
-
};
|
|
15313
|
-
|
|
15314
|
-
/**
|
|
15315
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
15316
|
-
* @function fromObject
|
|
15317
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15318
|
-
* @static
|
|
15319
|
-
* @param {Object.<string,*>} object Plain object
|
|
15320
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15321
|
-
*/
|
|
15322
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
|
15323
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
|
15324
|
-
return object;
|
|
15325
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
15326
|
-
if (object.restAsyncIoEnabled != null)
|
|
15327
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
|
15328
|
-
if (object.protobufPythonicTypesEnabled != null)
|
|
15329
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
|
15330
|
-
if (object.unversionedPackageDisabled != null)
|
|
15331
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
|
15332
|
-
return message;
|
|
15333
|
-
};
|
|
15334
|
-
|
|
15335
|
-
/**
|
|
15336
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
15337
|
-
* @function toObject
|
|
15338
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15339
|
-
* @static
|
|
15340
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
|
15341
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15342
|
-
* @returns {Object.<string,*>} Plain object
|
|
15343
|
-
*/
|
|
15344
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
|
15345
|
-
if (!options)
|
|
15346
|
-
options = {};
|
|
15347
|
-
var object = {};
|
|
15348
|
-
if (options.defaults) {
|
|
15349
|
-
object.restAsyncIoEnabled = false;
|
|
15350
|
-
object.protobufPythonicTypesEnabled = false;
|
|
15351
|
-
object.unversionedPackageDisabled = false;
|
|
15352
|
-
}
|
|
15353
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
15354
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
|
15355
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
15356
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
|
15357
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
15358
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
|
15359
|
-
return object;
|
|
15360
|
-
};
|
|
15361
|
-
|
|
15362
|
-
/**
|
|
15363
|
-
* Converts this ExperimentalFeatures to JSON.
|
|
15364
|
-
* @function toJSON
|
|
15365
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15366
|
-
* @instance
|
|
15367
|
-
* @returns {Object.<string,*>} JSON object
|
|
15368
|
-
*/
|
|
15369
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
|
15370
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15371
|
-
};
|
|
15372
|
-
|
|
15373
|
-
/**
|
|
15374
|
-
* Gets the default type url for ExperimentalFeatures
|
|
15375
|
-
* @function getTypeUrl
|
|
15376
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15377
|
-
* @static
|
|
15378
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15379
|
-
* @returns {string} The default type url
|
|
15380
|
-
*/
|
|
15381
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15382
|
-
if (typeUrlPrefix === undefined) {
|
|
15383
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
15384
|
-
}
|
|
15385
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
|
15386
|
-
};
|
|
15387
|
-
|
|
15388
|
-
return ExperimentalFeatures;
|
|
15389
|
-
})();
|
|
15390
|
-
|
|
15391
15081
|
return PythonSettings;
|
|
15392
15082
|
})();
|
|
15393
15083
|
|
|
@@ -16264,7 +15954,6 @@
|
|
|
16264
15954
|
* @memberof google.api
|
|
16265
15955
|
* @interface IGoSettings
|
|
16266
15956
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
|
16267
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
|
16268
15957
|
*/
|
|
16269
15958
|
|
|
16270
15959
|
/**
|
|
@@ -16276,7 +15965,6 @@
|
|
|
16276
15965
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
|
16277
15966
|
*/
|
|
16278
15967
|
function GoSettings(properties) {
|
|
16279
|
-
this.renamedServices = {};
|
|
16280
15968
|
if (properties)
|
|
16281
15969
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16282
15970
|
if (properties[keys[i]] != null)
|
|
@@ -16291,14 +15979,6 @@
|
|
|
16291
15979
|
*/
|
|
16292
15980
|
GoSettings.prototype.common = null;
|
|
16293
15981
|
|
|
16294
|
-
/**
|
|
16295
|
-
* GoSettings renamedServices.
|
|
16296
|
-
* @member {Object.<string,string>} renamedServices
|
|
16297
|
-
* @memberof google.api.GoSettings
|
|
16298
|
-
* @instance
|
|
16299
|
-
*/
|
|
16300
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
|
16301
|
-
|
|
16302
15982
|
/**
|
|
16303
15983
|
* Creates a new GoSettings instance using the specified properties.
|
|
16304
15984
|
* @function create
|
|
@@ -16325,9 +16005,6 @@
|
|
|
16325
16005
|
writer = $Writer.create();
|
|
16326
16006
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
16327
16007
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
16328
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
16329
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
16330
|
-
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();
|
|
16331
16008
|
return writer;
|
|
16332
16009
|
};
|
|
16333
16010
|
|
|
@@ -16358,7 +16035,7 @@
|
|
|
16358
16035
|
GoSettings.decode = function decode(reader, length, error) {
|
|
16359
16036
|
if (!(reader instanceof $Reader))
|
|
16360
16037
|
reader = $Reader.create(reader);
|
|
16361
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
|
16038
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
|
16362
16039
|
while (reader.pos < end) {
|
|
16363
16040
|
var tag = reader.uint32();
|
|
16364
16041
|
if (tag === error)
|
|
@@ -16368,29 +16045,6 @@
|
|
|
16368
16045
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
16369
16046
|
break;
|
|
16370
16047
|
}
|
|
16371
|
-
case 2: {
|
|
16372
|
-
if (message.renamedServices === $util.emptyObject)
|
|
16373
|
-
message.renamedServices = {};
|
|
16374
|
-
var end2 = reader.uint32() + reader.pos;
|
|
16375
|
-
key = "";
|
|
16376
|
-
value = "";
|
|
16377
|
-
while (reader.pos < end2) {
|
|
16378
|
-
var tag2 = reader.uint32();
|
|
16379
|
-
switch (tag2 >>> 3) {
|
|
16380
|
-
case 1:
|
|
16381
|
-
key = reader.string();
|
|
16382
|
-
break;
|
|
16383
|
-
case 2:
|
|
16384
|
-
value = reader.string();
|
|
16385
|
-
break;
|
|
16386
|
-
default:
|
|
16387
|
-
reader.skipType(tag2 & 7);
|
|
16388
|
-
break;
|
|
16389
|
-
}
|
|
16390
|
-
}
|
|
16391
|
-
message.renamedServices[key] = value;
|
|
16392
|
-
break;
|
|
16393
|
-
}
|
|
16394
16048
|
default:
|
|
16395
16049
|
reader.skipType(tag & 7);
|
|
16396
16050
|
break;
|
|
@@ -16431,14 +16085,6 @@
|
|
|
16431
16085
|
if (error)
|
|
16432
16086
|
return "common." + error;
|
|
16433
16087
|
}
|
|
16434
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
16435
|
-
if (!$util.isObject(message.renamedServices))
|
|
16436
|
-
return "renamedServices: object expected";
|
|
16437
|
-
var key = Object.keys(message.renamedServices);
|
|
16438
|
-
for (var i = 0; i < key.length; ++i)
|
|
16439
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
16440
|
-
return "renamedServices: string{k:string} expected";
|
|
16441
|
-
}
|
|
16442
16088
|
return null;
|
|
16443
16089
|
};
|
|
16444
16090
|
|
|
@@ -16459,13 +16105,6 @@
|
|
|
16459
16105
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
|
16460
16106
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
16461
16107
|
}
|
|
16462
|
-
if (object.renamedServices) {
|
|
16463
|
-
if (typeof object.renamedServices !== "object")
|
|
16464
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
|
16465
|
-
message.renamedServices = {};
|
|
16466
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
16467
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
16468
|
-
}
|
|
16469
16108
|
return message;
|
|
16470
16109
|
};
|
|
16471
16110
|
|
|
@@ -16482,18 +16121,10 @@
|
|
|
16482
16121
|
if (!options)
|
|
16483
16122
|
options = {};
|
|
16484
16123
|
var object = {};
|
|
16485
|
-
if (options.objects || options.defaults)
|
|
16486
|
-
object.renamedServices = {};
|
|
16487
16124
|
if (options.defaults)
|
|
16488
16125
|
object.common = null;
|
|
16489
16126
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
16490
16127
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
16491
|
-
var keys2;
|
|
16492
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
16493
|
-
object.renamedServices = {};
|
|
16494
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
16495
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
16496
|
-
}
|
|
16497
16128
|
return object;
|
|
16498
16129
|
};
|
|
16499
16130
|
|
|
@@ -17132,251 +16763,6 @@
|
|
|
17132
16763
|
return values;
|
|
17133
16764
|
})();
|
|
17134
16765
|
|
|
17135
|
-
api.SelectiveGapicGeneration = (function() {
|
|
17136
|
-
|
|
17137
|
-
/**
|
|
17138
|
-
* Properties of a SelectiveGapicGeneration.
|
|
17139
|
-
* @memberof google.api
|
|
17140
|
-
* @interface ISelectiveGapicGeneration
|
|
17141
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
|
17142
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
|
17143
|
-
*/
|
|
17144
|
-
|
|
17145
|
-
/**
|
|
17146
|
-
* Constructs a new SelectiveGapicGeneration.
|
|
17147
|
-
* @memberof google.api
|
|
17148
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
|
17149
|
-
* @implements ISelectiveGapicGeneration
|
|
17150
|
-
* @constructor
|
|
17151
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
17152
|
-
*/
|
|
17153
|
-
function SelectiveGapicGeneration(properties) {
|
|
17154
|
-
this.methods = [];
|
|
17155
|
-
if (properties)
|
|
17156
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17157
|
-
if (properties[keys[i]] != null)
|
|
17158
|
-
this[keys[i]] = properties[keys[i]];
|
|
17159
|
-
}
|
|
17160
|
-
|
|
17161
|
-
/**
|
|
17162
|
-
* SelectiveGapicGeneration methods.
|
|
17163
|
-
* @member {Array.<string>} methods
|
|
17164
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17165
|
-
* @instance
|
|
17166
|
-
*/
|
|
17167
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
|
17168
|
-
|
|
17169
|
-
/**
|
|
17170
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
|
17171
|
-
* @member {boolean} generateOmittedAsInternal
|
|
17172
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17173
|
-
* @instance
|
|
17174
|
-
*/
|
|
17175
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
|
17176
|
-
|
|
17177
|
-
/**
|
|
17178
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
17179
|
-
* @function create
|
|
17180
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17181
|
-
* @static
|
|
17182
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
17183
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
|
17184
|
-
*/
|
|
17185
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
|
17186
|
-
return new SelectiveGapicGeneration(properties);
|
|
17187
|
-
};
|
|
17188
|
-
|
|
17189
|
-
/**
|
|
17190
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
17191
|
-
* @function encode
|
|
17192
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17193
|
-
* @static
|
|
17194
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
17195
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17196
|
-
* @returns {$protobuf.Writer} Writer
|
|
17197
|
-
*/
|
|
17198
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
|
17199
|
-
if (!writer)
|
|
17200
|
-
writer = $Writer.create();
|
|
17201
|
-
if (message.methods != null && message.methods.length)
|
|
17202
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
17203
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
|
17204
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
|
17205
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
|
17206
|
-
return writer;
|
|
17207
|
-
};
|
|
17208
|
-
|
|
17209
|
-
/**
|
|
17210
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
17211
|
-
* @function encodeDelimited
|
|
17212
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17213
|
-
* @static
|
|
17214
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
17215
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17216
|
-
* @returns {$protobuf.Writer} Writer
|
|
17217
|
-
*/
|
|
17218
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17219
|
-
return this.encode(message, writer).ldelim();
|
|
17220
|
-
};
|
|
17221
|
-
|
|
17222
|
-
/**
|
|
17223
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
17224
|
-
* @function decode
|
|
17225
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17226
|
-
* @static
|
|
17227
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17228
|
-
* @param {number} [length] Message length if known beforehand
|
|
17229
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17230
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17231
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17232
|
-
*/
|
|
17233
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
|
17234
|
-
if (!(reader instanceof $Reader))
|
|
17235
|
-
reader = $Reader.create(reader);
|
|
17236
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
|
17237
|
-
while (reader.pos < end) {
|
|
17238
|
-
var tag = reader.uint32();
|
|
17239
|
-
if (tag === error)
|
|
17240
|
-
break;
|
|
17241
|
-
switch (tag >>> 3) {
|
|
17242
|
-
case 1: {
|
|
17243
|
-
if (!(message.methods && message.methods.length))
|
|
17244
|
-
message.methods = [];
|
|
17245
|
-
message.methods.push(reader.string());
|
|
17246
|
-
break;
|
|
17247
|
-
}
|
|
17248
|
-
case 2: {
|
|
17249
|
-
message.generateOmittedAsInternal = reader.bool();
|
|
17250
|
-
break;
|
|
17251
|
-
}
|
|
17252
|
-
default:
|
|
17253
|
-
reader.skipType(tag & 7);
|
|
17254
|
-
break;
|
|
17255
|
-
}
|
|
17256
|
-
}
|
|
17257
|
-
return message;
|
|
17258
|
-
};
|
|
17259
|
-
|
|
17260
|
-
/**
|
|
17261
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
17262
|
-
* @function decodeDelimited
|
|
17263
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17264
|
-
* @static
|
|
17265
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17266
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17267
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17268
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17269
|
-
*/
|
|
17270
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
|
17271
|
-
if (!(reader instanceof $Reader))
|
|
17272
|
-
reader = new $Reader(reader);
|
|
17273
|
-
return this.decode(reader, reader.uint32());
|
|
17274
|
-
};
|
|
17275
|
-
|
|
17276
|
-
/**
|
|
17277
|
-
* Verifies a SelectiveGapicGeneration message.
|
|
17278
|
-
* @function verify
|
|
17279
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17280
|
-
* @static
|
|
17281
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
17282
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17283
|
-
*/
|
|
17284
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
|
17285
|
-
if (typeof message !== "object" || message === null)
|
|
17286
|
-
return "object expected";
|
|
17287
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
|
17288
|
-
if (!Array.isArray(message.methods))
|
|
17289
|
-
return "methods: array expected";
|
|
17290
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
17291
|
-
if (!$util.isString(message.methods[i]))
|
|
17292
|
-
return "methods: string[] expected";
|
|
17293
|
-
}
|
|
17294
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
17295
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
|
17296
|
-
return "generateOmittedAsInternal: boolean expected";
|
|
17297
|
-
return null;
|
|
17298
|
-
};
|
|
17299
|
-
|
|
17300
|
-
/**
|
|
17301
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
17302
|
-
* @function fromObject
|
|
17303
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17304
|
-
* @static
|
|
17305
|
-
* @param {Object.<string,*>} object Plain object
|
|
17306
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17307
|
-
*/
|
|
17308
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
|
17309
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
|
17310
|
-
return object;
|
|
17311
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
|
17312
|
-
if (object.methods) {
|
|
17313
|
-
if (!Array.isArray(object.methods))
|
|
17314
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
|
17315
|
-
message.methods = [];
|
|
17316
|
-
for (var i = 0; i < object.methods.length; ++i)
|
|
17317
|
-
message.methods[i] = String(object.methods[i]);
|
|
17318
|
-
}
|
|
17319
|
-
if (object.generateOmittedAsInternal != null)
|
|
17320
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
|
17321
|
-
return message;
|
|
17322
|
-
};
|
|
17323
|
-
|
|
17324
|
-
/**
|
|
17325
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
17326
|
-
* @function toObject
|
|
17327
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17328
|
-
* @static
|
|
17329
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
|
17330
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17331
|
-
* @returns {Object.<string,*>} Plain object
|
|
17332
|
-
*/
|
|
17333
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
|
17334
|
-
if (!options)
|
|
17335
|
-
options = {};
|
|
17336
|
-
var object = {};
|
|
17337
|
-
if (options.arrays || options.defaults)
|
|
17338
|
-
object.methods = [];
|
|
17339
|
-
if (options.defaults)
|
|
17340
|
-
object.generateOmittedAsInternal = false;
|
|
17341
|
-
if (message.methods && message.methods.length) {
|
|
17342
|
-
object.methods = [];
|
|
17343
|
-
for (var j = 0; j < message.methods.length; ++j)
|
|
17344
|
-
object.methods[j] = message.methods[j];
|
|
17345
|
-
}
|
|
17346
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
17347
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
|
17348
|
-
return object;
|
|
17349
|
-
};
|
|
17350
|
-
|
|
17351
|
-
/**
|
|
17352
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
|
17353
|
-
* @function toJSON
|
|
17354
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17355
|
-
* @instance
|
|
17356
|
-
* @returns {Object.<string,*>} JSON object
|
|
17357
|
-
*/
|
|
17358
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
|
17359
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17360
|
-
};
|
|
17361
|
-
|
|
17362
|
-
/**
|
|
17363
|
-
* Gets the default type url for SelectiveGapicGeneration
|
|
17364
|
-
* @function getTypeUrl
|
|
17365
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17366
|
-
* @static
|
|
17367
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17368
|
-
* @returns {string} The default type url
|
|
17369
|
-
*/
|
|
17370
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17371
|
-
if (typeUrlPrefix === undefined) {
|
|
17372
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
17373
|
-
}
|
|
17374
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
|
17375
|
-
};
|
|
17376
|
-
|
|
17377
|
-
return SelectiveGapicGeneration;
|
|
17378
|
-
})();
|
|
17379
|
-
|
|
17380
16766
|
/**
|
|
17381
16767
|
* LaunchStage enum.
|
|
17382
16768
|
* @name google.api.LaunchStage
|
|
@@ -18789,7 +18175,6 @@
|
|
|
18789
18175
|
* @name google.protobuf.Edition
|
|
18790
18176
|
* @enum {number}
|
|
18791
18177
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
|
18792
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
|
18793
18178
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
|
18794
18179
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
|
18795
18180
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
|
@@ -18804,7 +18189,6 @@
|
|
|
18804
18189
|
protobuf.Edition = (function() {
|
|
18805
18190
|
var valuesById = {}, values = Object.create(valuesById);
|
|
18806
18191
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
|
18807
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
|
18808
18192
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
|
18809
18193
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
|
18810
18194
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
|
@@ -18829,7 +18213,6 @@
|
|
|
18829
18213
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
|
18830
18214
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
|
18831
18215
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
|
18832
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
|
18833
18216
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
|
18834
18217
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
|
18835
18218
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
|
@@ -18852,7 +18235,6 @@
|
|
|
18852
18235
|
this.dependency = [];
|
|
18853
18236
|
this.publicDependency = [];
|
|
18854
18237
|
this.weakDependency = [];
|
|
18855
|
-
this.optionDependency = [];
|
|
18856
18238
|
this.messageType = [];
|
|
18857
18239
|
this.enumType = [];
|
|
18858
18240
|
this.service = [];
|
|
@@ -18903,14 +18285,6 @@
|
|
|
18903
18285
|
*/
|
|
18904
18286
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
|
18905
18287
|
|
|
18906
|
-
/**
|
|
18907
|
-
* FileDescriptorProto optionDependency.
|
|
18908
|
-
* @member {Array.<string>} optionDependency
|
|
18909
|
-
* @memberof google.protobuf.FileDescriptorProto
|
|
18910
|
-
* @instance
|
|
18911
|
-
*/
|
|
18912
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
|
18913
|
-
|
|
18914
18288
|
/**
|
|
18915
18289
|
* FileDescriptorProto messageType.
|
|
18916
18290
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
|
@@ -19032,9 +18406,6 @@
|
|
|
19032
18406
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
|
19033
18407
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
19034
18408
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
|
19035
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
|
19036
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
19037
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
|
19038
18409
|
return writer;
|
|
19039
18410
|
};
|
|
19040
18411
|
|
|
@@ -19107,12 +18478,6 @@
|
|
|
19107
18478
|
message.weakDependency.push(reader.int32());
|
|
19108
18479
|
break;
|
|
19109
18480
|
}
|
|
19110
|
-
case 15: {
|
|
19111
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
|
19112
|
-
message.optionDependency = [];
|
|
19113
|
-
message.optionDependency.push(reader.string());
|
|
19114
|
-
break;
|
|
19115
|
-
}
|
|
19116
18481
|
case 4: {
|
|
19117
18482
|
if (!(message.messageType && message.messageType.length))
|
|
19118
18483
|
message.messageType = [];
|
|
@@ -19215,13 +18580,6 @@
|
|
|
19215
18580
|
if (!$util.isInteger(message.weakDependency[i]))
|
|
19216
18581
|
return "weakDependency: integer[] expected";
|
|
19217
18582
|
}
|
|
19218
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
|
19219
|
-
if (!Array.isArray(message.optionDependency))
|
|
19220
|
-
return "optionDependency: array expected";
|
|
19221
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
19222
|
-
if (!$util.isString(message.optionDependency[i]))
|
|
19223
|
-
return "optionDependency: string[] expected";
|
|
19224
|
-
}
|
|
19225
18583
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
|
19226
18584
|
if (!Array.isArray(message.messageType))
|
|
19227
18585
|
return "messageType: array expected";
|
|
@@ -19276,7 +18634,6 @@
|
|
|
19276
18634
|
default:
|
|
19277
18635
|
return "edition: enum value expected";
|
|
19278
18636
|
case 0:
|
|
19279
|
-
case 900:
|
|
19280
18637
|
case 998:
|
|
19281
18638
|
case 999:
|
|
19282
18639
|
case 1000:
|
|
@@ -19329,13 +18686,6 @@
|
|
|
19329
18686
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
|
19330
18687
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
|
19331
18688
|
}
|
|
19332
|
-
if (object.optionDependency) {
|
|
19333
|
-
if (!Array.isArray(object.optionDependency))
|
|
19334
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
|
19335
|
-
message.optionDependency = [];
|
|
19336
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
|
19337
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
|
19338
|
-
}
|
|
19339
18689
|
if (object.messageType) {
|
|
19340
18690
|
if (!Array.isArray(object.messageType))
|
|
19341
18691
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
|
@@ -19399,10 +18749,6 @@
|
|
|
19399
18749
|
case 0:
|
|
19400
18750
|
message.edition = 0;
|
|
19401
18751
|
break;
|
|
19402
|
-
case "EDITION_LEGACY":
|
|
19403
|
-
case 900:
|
|
19404
|
-
message.edition = 900;
|
|
19405
|
-
break;
|
|
19406
18752
|
case "EDITION_PROTO2":
|
|
19407
18753
|
case 998:
|
|
19408
18754
|
message.edition = 998;
|
|
@@ -19468,7 +18814,6 @@
|
|
|
19468
18814
|
object.extension = [];
|
|
19469
18815
|
object.publicDependency = [];
|
|
19470
18816
|
object.weakDependency = [];
|
|
19471
|
-
object.optionDependency = [];
|
|
19472
18817
|
}
|
|
19473
18818
|
if (options.defaults) {
|
|
19474
18819
|
object.name = "";
|
|
@@ -19525,11 +18870,6 @@
|
|
|
19525
18870
|
object.syntax = message.syntax;
|
|
19526
18871
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
19527
18872
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
19528
|
-
if (message.optionDependency && message.optionDependency.length) {
|
|
19529
|
-
object.optionDependency = [];
|
|
19530
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
|
19531
|
-
object.optionDependency[j] = message.optionDependency[j];
|
|
19532
|
-
}
|
|
19533
18873
|
return object;
|
|
19534
18874
|
};
|
|
19535
18875
|
|
|
@@ -19578,7 +18918,6 @@
|
|
|
19578
18918
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
|
19579
18919
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
|
19580
18920
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
|
19581
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
|
19582
18921
|
*/
|
|
19583
18922
|
|
|
19584
18923
|
/**
|
|
@@ -19684,14 +19023,6 @@
|
|
|
19684
19023
|
*/
|
|
19685
19024
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
19686
19025
|
|
|
19687
|
-
/**
|
|
19688
|
-
* DescriptorProto visibility.
|
|
19689
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
19690
|
-
* @memberof google.protobuf.DescriptorProto
|
|
19691
|
-
* @instance
|
|
19692
|
-
*/
|
|
19693
|
-
DescriptorProto.prototype.visibility = 0;
|
|
19694
|
-
|
|
19695
19026
|
/**
|
|
19696
19027
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
19697
19028
|
* @function create
|
|
@@ -19744,8 +19075,6 @@
|
|
|
19744
19075
|
if (message.reservedName != null && message.reservedName.length)
|
|
19745
19076
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
19746
19077
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
|
19747
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
19748
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
|
19749
19078
|
return writer;
|
|
19750
19079
|
};
|
|
19751
19080
|
|
|
@@ -19838,10 +19167,6 @@
|
|
|
19838
19167
|
message.reservedName.push(reader.string());
|
|
19839
19168
|
break;
|
|
19840
19169
|
}
|
|
19841
|
-
case 11: {
|
|
19842
|
-
message.visibility = reader.int32();
|
|
19843
|
-
break;
|
|
19844
|
-
}
|
|
19845
19170
|
default:
|
|
19846
19171
|
reader.skipType(tag & 7);
|
|
19847
19172
|
break;
|
|
@@ -19955,15 +19280,6 @@
|
|
|
19955
19280
|
if (!$util.isString(message.reservedName[i]))
|
|
19956
19281
|
return "reservedName: string[] expected";
|
|
19957
19282
|
}
|
|
19958
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
19959
|
-
switch (message.visibility) {
|
|
19960
|
-
default:
|
|
19961
|
-
return "visibility: enum value expected";
|
|
19962
|
-
case 0:
|
|
19963
|
-
case 1:
|
|
19964
|
-
case 2:
|
|
19965
|
-
break;
|
|
19966
|
-
}
|
|
19967
19283
|
return null;
|
|
19968
19284
|
};
|
|
19969
19285
|
|
|
@@ -20063,26 +19379,6 @@
|
|
|
20063
19379
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
20064
19380
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
20065
19381
|
}
|
|
20066
|
-
switch (object.visibility) {
|
|
20067
|
-
default:
|
|
20068
|
-
if (typeof object.visibility === "number") {
|
|
20069
|
-
message.visibility = object.visibility;
|
|
20070
|
-
break;
|
|
20071
|
-
}
|
|
20072
|
-
break;
|
|
20073
|
-
case "VISIBILITY_UNSET":
|
|
20074
|
-
case 0:
|
|
20075
|
-
message.visibility = 0;
|
|
20076
|
-
break;
|
|
20077
|
-
case "VISIBILITY_LOCAL":
|
|
20078
|
-
case 1:
|
|
20079
|
-
message.visibility = 1;
|
|
20080
|
-
break;
|
|
20081
|
-
case "VISIBILITY_EXPORT":
|
|
20082
|
-
case 2:
|
|
20083
|
-
message.visibility = 2;
|
|
20084
|
-
break;
|
|
20085
|
-
}
|
|
20086
19382
|
return message;
|
|
20087
19383
|
};
|
|
20088
19384
|
|
|
@@ -20112,7 +19408,6 @@
|
|
|
20112
19408
|
if (options.defaults) {
|
|
20113
19409
|
object.name = "";
|
|
20114
19410
|
object.options = null;
|
|
20115
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
20116
19411
|
}
|
|
20117
19412
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
20118
19413
|
object.name = message.name;
|
|
@@ -20158,8 +19453,6 @@
|
|
|
20158
19453
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
20159
19454
|
object.reservedName[j] = message.reservedName[j];
|
|
20160
19455
|
}
|
|
20161
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
20162
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
20163
19456
|
return object;
|
|
20164
19457
|
};
|
|
20165
19458
|
|
|
@@ -22204,7 +21497,6 @@
|
|
|
22204
21497
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
|
22205
21498
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
|
22206
21499
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
|
22207
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
|
22208
21500
|
*/
|
|
22209
21501
|
|
|
22210
21502
|
/**
|
|
@@ -22265,14 +21557,6 @@
|
|
|
22265
21557
|
*/
|
|
22266
21558
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
22267
21559
|
|
|
22268
|
-
/**
|
|
22269
|
-
* EnumDescriptorProto visibility.
|
|
22270
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
22271
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
|
22272
|
-
* @instance
|
|
22273
|
-
*/
|
|
22274
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
|
22275
|
-
|
|
22276
21560
|
/**
|
|
22277
21561
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
22278
21562
|
* @function create
|
|
@@ -22310,8 +21594,6 @@
|
|
|
22310
21594
|
if (message.reservedName != null && message.reservedName.length)
|
|
22311
21595
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
22312
21596
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
|
22313
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
22314
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
|
22315
21597
|
return writer;
|
|
22316
21598
|
};
|
|
22317
21599
|
|
|
@@ -22374,10 +21656,6 @@
|
|
|
22374
21656
|
message.reservedName.push(reader.string());
|
|
22375
21657
|
break;
|
|
22376
21658
|
}
|
|
22377
|
-
case 6: {
|
|
22378
|
-
message.visibility = reader.int32();
|
|
22379
|
-
break;
|
|
22380
|
-
}
|
|
22381
21659
|
default:
|
|
22382
21660
|
reader.skipType(tag & 7);
|
|
22383
21661
|
break;
|
|
@@ -22446,15 +21724,6 @@
|
|
|
22446
21724
|
if (!$util.isString(message.reservedName[i]))
|
|
22447
21725
|
return "reservedName: string[] expected";
|
|
22448
21726
|
}
|
|
22449
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
22450
|
-
switch (message.visibility) {
|
|
22451
|
-
default:
|
|
22452
|
-
return "visibility: enum value expected";
|
|
22453
|
-
case 0:
|
|
22454
|
-
case 1:
|
|
22455
|
-
case 2:
|
|
22456
|
-
break;
|
|
22457
|
-
}
|
|
22458
21727
|
return null;
|
|
22459
21728
|
};
|
|
22460
21729
|
|
|
@@ -22504,26 +21773,6 @@
|
|
|
22504
21773
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
22505
21774
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
22506
21775
|
}
|
|
22507
|
-
switch (object.visibility) {
|
|
22508
|
-
default:
|
|
22509
|
-
if (typeof object.visibility === "number") {
|
|
22510
|
-
message.visibility = object.visibility;
|
|
22511
|
-
break;
|
|
22512
|
-
}
|
|
22513
|
-
break;
|
|
22514
|
-
case "VISIBILITY_UNSET":
|
|
22515
|
-
case 0:
|
|
22516
|
-
message.visibility = 0;
|
|
22517
|
-
break;
|
|
22518
|
-
case "VISIBILITY_LOCAL":
|
|
22519
|
-
case 1:
|
|
22520
|
-
message.visibility = 1;
|
|
22521
|
-
break;
|
|
22522
|
-
case "VISIBILITY_EXPORT":
|
|
22523
|
-
case 2:
|
|
22524
|
-
message.visibility = 2;
|
|
22525
|
-
break;
|
|
22526
|
-
}
|
|
22527
21776
|
return message;
|
|
22528
21777
|
};
|
|
22529
21778
|
|
|
@@ -22548,7 +21797,6 @@
|
|
|
22548
21797
|
if (options.defaults) {
|
|
22549
21798
|
object.name = "";
|
|
22550
21799
|
object.options = null;
|
|
22551
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
22552
21800
|
}
|
|
22553
21801
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
22554
21802
|
object.name = message.name;
|
|
@@ -22569,8 +21817,6 @@
|
|
|
22569
21817
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
22570
21818
|
object.reservedName[j] = message.reservedName[j];
|
|
22571
21819
|
}
|
|
22572
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
22573
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
22574
21820
|
return object;
|
|
22575
21821
|
};
|
|
22576
21822
|
|
|
@@ -24889,7 +24135,6 @@
|
|
|
24889
24135
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
|
24890
24136
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
24891
24137
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
24892
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
|
24893
24138
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
24894
24139
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
24895
24140
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -25010,14 +24255,6 @@
|
|
|
25010
24255
|
*/
|
|
25011
24256
|
FieldOptions.prototype.features = null;
|
|
25012
24257
|
|
|
25013
|
-
/**
|
|
25014
|
-
* FieldOptions featureSupport.
|
|
25015
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
25016
|
-
* @memberof google.protobuf.FieldOptions
|
|
25017
|
-
* @instance
|
|
25018
|
-
*/
|
|
25019
|
-
FieldOptions.prototype.featureSupport = null;
|
|
25020
|
-
|
|
25021
24258
|
/**
|
|
25022
24259
|
* FieldOptions uninterpretedOption.
|
|
25023
24260
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -25092,8 +24329,6 @@
|
|
|
25092
24329
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
25093
24330
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
25094
24331
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
25095
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
25096
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
25097
24332
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
25098
24333
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
25099
24334
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -25195,10 +24430,6 @@
|
|
|
25195
24430
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
25196
24431
|
break;
|
|
25197
24432
|
}
|
|
25198
|
-
case 22: {
|
|
25199
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
25200
|
-
break;
|
|
25201
|
-
}
|
|
25202
24433
|
case 999: {
|
|
25203
24434
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
25204
24435
|
message.uninterpretedOption = [];
|
|
@@ -25334,11 +24565,6 @@
|
|
|
25334
24565
|
if (error)
|
|
25335
24566
|
return "features." + error;
|
|
25336
24567
|
}
|
|
25337
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
25338
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
25339
|
-
if (error)
|
|
25340
|
-
return "featureSupport." + error;
|
|
25341
|
-
}
|
|
25342
24568
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
25343
24569
|
if (!Array.isArray(message.uninterpretedOption))
|
|
25344
24570
|
return "uninterpretedOption: array expected";
|
|
@@ -25527,11 +24753,6 @@
|
|
|
25527
24753
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
|
25528
24754
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
25529
24755
|
}
|
|
25530
|
-
if (object.featureSupport != null) {
|
|
25531
|
-
if (typeof object.featureSupport !== "object")
|
|
25532
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
|
25533
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
25534
|
-
}
|
|
25535
24756
|
if (object.uninterpretedOption) {
|
|
25536
24757
|
if (!Array.isArray(object.uninterpretedOption))
|
|
25537
24758
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
|
@@ -25629,7 +24850,6 @@
|
|
|
25629
24850
|
object.debugRedact = false;
|
|
25630
24851
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
25631
24852
|
object.features = null;
|
|
25632
|
-
object.featureSupport = null;
|
|
25633
24853
|
object[".google.api.resourceReference"] = null;
|
|
25634
24854
|
}
|
|
25635
24855
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -25662,8 +24882,6 @@
|
|
|
25662
24882
|
}
|
|
25663
24883
|
if (message.features != null && message.hasOwnProperty("features"))
|
|
25664
24884
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
25665
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
25666
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
25667
24885
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
25668
24886
|
object.uninterpretedOption = [];
|
|
25669
24887
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -25936,7 +25154,6 @@
|
|
|
25936
25154
|
default:
|
|
25937
25155
|
return "edition: enum value expected";
|
|
25938
25156
|
case 0:
|
|
25939
|
-
case 900:
|
|
25940
25157
|
case 998:
|
|
25941
25158
|
case 999:
|
|
25942
25159
|
case 1000:
|
|
@@ -25978,589 +25195,103 @@
|
|
|
25978
25195
|
case 0:
|
|
25979
25196
|
message.edition = 0;
|
|
25980
25197
|
break;
|
|
25981
|
-
case "EDITION_LEGACY":
|
|
25982
|
-
case 900:
|
|
25983
|
-
message.edition = 900;
|
|
25984
|
-
break;
|
|
25985
25198
|
case "EDITION_PROTO2":
|
|
25986
25199
|
case 998:
|
|
25987
25200
|
message.edition = 998;
|
|
25988
25201
|
break;
|
|
25989
25202
|
case "EDITION_PROTO3":
|
|
25990
25203
|
case 999:
|
|
25991
|
-
message.edition = 999;
|
|
25992
|
-
break;
|
|
25993
|
-
case "EDITION_2023":
|
|
25994
|
-
case 1000:
|
|
25995
|
-
message.edition = 1000;
|
|
25996
|
-
break;
|
|
25997
|
-
case "EDITION_2024":
|
|
25998
|
-
case 1001:
|
|
25999
|
-
message.edition = 1001;
|
|
26000
|
-
break;
|
|
26001
|
-
case "EDITION_1_TEST_ONLY":
|
|
26002
|
-
case 1:
|
|
26003
|
-
message.edition = 1;
|
|
26004
|
-
break;
|
|
26005
|
-
case "EDITION_2_TEST_ONLY":
|
|
26006
|
-
case 2:
|
|
26007
|
-
message.edition = 2;
|
|
26008
|
-
break;
|
|
26009
|
-
case "EDITION_99997_TEST_ONLY":
|
|
26010
|
-
case 99997:
|
|
26011
|
-
message.edition = 99997;
|
|
26012
|
-
break;
|
|
26013
|
-
case "EDITION_99998_TEST_ONLY":
|
|
26014
|
-
case 99998:
|
|
26015
|
-
message.edition = 99998;
|
|
26016
|
-
break;
|
|
26017
|
-
case "EDITION_99999_TEST_ONLY":
|
|
26018
|
-
case 99999:
|
|
26019
|
-
message.edition = 99999;
|
|
26020
|
-
break;
|
|
26021
|
-
case "EDITION_MAX":
|
|
26022
|
-
case 2147483647:
|
|
26023
|
-
message.edition = 2147483647;
|
|
26024
|
-
break;
|
|
26025
|
-
}
|
|
26026
|
-
if (object.value != null)
|
|
26027
|
-
message.value = String(object.value);
|
|
26028
|
-
return message;
|
|
26029
|
-
};
|
|
26030
|
-
|
|
26031
|
-
/**
|
|
26032
|
-
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
26033
|
-
* @function toObject
|
|
26034
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26035
|
-
* @static
|
|
26036
|
-
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
|
26037
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
26038
|
-
* @returns {Object.<string,*>} Plain object
|
|
26039
|
-
*/
|
|
26040
|
-
EditionDefault.toObject = function toObject(message, options) {
|
|
26041
|
-
if (!options)
|
|
26042
|
-
options = {};
|
|
26043
|
-
var object = {};
|
|
26044
|
-
if (options.defaults) {
|
|
26045
|
-
object.value = "";
|
|
26046
|
-
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
26047
|
-
}
|
|
26048
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
|
26049
|
-
object.value = message.value;
|
|
26050
|
-
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
26051
|
-
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
26052
|
-
return object;
|
|
26053
|
-
};
|
|
26054
|
-
|
|
26055
|
-
/**
|
|
26056
|
-
* Converts this EditionDefault to JSON.
|
|
26057
|
-
* @function toJSON
|
|
26058
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26059
|
-
* @instance
|
|
26060
|
-
* @returns {Object.<string,*>} JSON object
|
|
26061
|
-
*/
|
|
26062
|
-
EditionDefault.prototype.toJSON = function toJSON() {
|
|
26063
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
26064
|
-
};
|
|
26065
|
-
|
|
26066
|
-
/**
|
|
26067
|
-
* Gets the default type url for EditionDefault
|
|
26068
|
-
* @function getTypeUrl
|
|
26069
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26070
|
-
* @static
|
|
26071
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26072
|
-
* @returns {string} The default type url
|
|
26073
|
-
*/
|
|
26074
|
-
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
26075
|
-
if (typeUrlPrefix === undefined) {
|
|
26076
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
26077
|
-
}
|
|
26078
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
|
26079
|
-
};
|
|
26080
|
-
|
|
26081
|
-
return EditionDefault;
|
|
26082
|
-
})();
|
|
26083
|
-
|
|
26084
|
-
FieldOptions.FeatureSupport = (function() {
|
|
26085
|
-
|
|
26086
|
-
/**
|
|
26087
|
-
* Properties of a FeatureSupport.
|
|
26088
|
-
* @memberof google.protobuf.FieldOptions
|
|
26089
|
-
* @interface IFeatureSupport
|
|
26090
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
|
26091
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
|
26092
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
|
26093
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
|
26094
|
-
*/
|
|
26095
|
-
|
|
26096
|
-
/**
|
|
26097
|
-
* Constructs a new FeatureSupport.
|
|
26098
|
-
* @memberof google.protobuf.FieldOptions
|
|
26099
|
-
* @classdesc Represents a FeatureSupport.
|
|
26100
|
-
* @implements IFeatureSupport
|
|
26101
|
-
* @constructor
|
|
26102
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
26103
|
-
*/
|
|
26104
|
-
function FeatureSupport(properties) {
|
|
26105
|
-
if (properties)
|
|
26106
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
26107
|
-
if (properties[keys[i]] != null)
|
|
26108
|
-
this[keys[i]] = properties[keys[i]];
|
|
26109
|
-
}
|
|
26110
|
-
|
|
26111
|
-
/**
|
|
26112
|
-
* FeatureSupport editionIntroduced.
|
|
26113
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
|
26114
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26115
|
-
* @instance
|
|
26116
|
-
*/
|
|
26117
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
|
26118
|
-
|
|
26119
|
-
/**
|
|
26120
|
-
* FeatureSupport editionDeprecated.
|
|
26121
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
|
26122
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26123
|
-
* @instance
|
|
26124
|
-
*/
|
|
26125
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
|
26126
|
-
|
|
26127
|
-
/**
|
|
26128
|
-
* FeatureSupport deprecationWarning.
|
|
26129
|
-
* @member {string} deprecationWarning
|
|
26130
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26131
|
-
* @instance
|
|
26132
|
-
*/
|
|
26133
|
-
FeatureSupport.prototype.deprecationWarning = "";
|
|
26134
|
-
|
|
26135
|
-
/**
|
|
26136
|
-
* FeatureSupport editionRemoved.
|
|
26137
|
-
* @member {google.protobuf.Edition} editionRemoved
|
|
26138
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26139
|
-
* @instance
|
|
26140
|
-
*/
|
|
26141
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
|
26142
|
-
|
|
26143
|
-
/**
|
|
26144
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
|
26145
|
-
* @function create
|
|
26146
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26147
|
-
* @static
|
|
26148
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
26149
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
|
26150
|
-
*/
|
|
26151
|
-
FeatureSupport.create = function create(properties) {
|
|
26152
|
-
return new FeatureSupport(properties);
|
|
26153
|
-
};
|
|
26154
|
-
|
|
26155
|
-
/**
|
|
26156
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
26157
|
-
* @function encode
|
|
26158
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26159
|
-
* @static
|
|
26160
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
26161
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26162
|
-
* @returns {$protobuf.Writer} Writer
|
|
26163
|
-
*/
|
|
26164
|
-
FeatureSupport.encode = function encode(message, writer) {
|
|
26165
|
-
if (!writer)
|
|
26166
|
-
writer = $Writer.create();
|
|
26167
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
|
26168
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
|
26169
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
|
26170
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
|
26171
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
|
26172
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
|
26173
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
|
26174
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
|
26175
|
-
return writer;
|
|
26176
|
-
};
|
|
26177
|
-
|
|
26178
|
-
/**
|
|
26179
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
26180
|
-
* @function encodeDelimited
|
|
26181
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26182
|
-
* @static
|
|
26183
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
26184
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26185
|
-
* @returns {$protobuf.Writer} Writer
|
|
26186
|
-
*/
|
|
26187
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
|
26188
|
-
return this.encode(message, writer).ldelim();
|
|
26189
|
-
};
|
|
26190
|
-
|
|
26191
|
-
/**
|
|
26192
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
26193
|
-
* @function decode
|
|
26194
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26195
|
-
* @static
|
|
26196
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26197
|
-
* @param {number} [length] Message length if known beforehand
|
|
26198
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26199
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26200
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26201
|
-
*/
|
|
26202
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
|
26203
|
-
if (!(reader instanceof $Reader))
|
|
26204
|
-
reader = $Reader.create(reader);
|
|
26205
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
26206
|
-
while (reader.pos < end) {
|
|
26207
|
-
var tag = reader.uint32();
|
|
26208
|
-
if (tag === error)
|
|
26209
|
-
break;
|
|
26210
|
-
switch (tag >>> 3) {
|
|
26211
|
-
case 1: {
|
|
26212
|
-
message.editionIntroduced = reader.int32();
|
|
26213
|
-
break;
|
|
26214
|
-
}
|
|
26215
|
-
case 2: {
|
|
26216
|
-
message.editionDeprecated = reader.int32();
|
|
26217
|
-
break;
|
|
26218
|
-
}
|
|
26219
|
-
case 3: {
|
|
26220
|
-
message.deprecationWarning = reader.string();
|
|
26221
|
-
break;
|
|
26222
|
-
}
|
|
26223
|
-
case 4: {
|
|
26224
|
-
message.editionRemoved = reader.int32();
|
|
26225
|
-
break;
|
|
26226
|
-
}
|
|
26227
|
-
default:
|
|
26228
|
-
reader.skipType(tag & 7);
|
|
26229
|
-
break;
|
|
26230
|
-
}
|
|
26231
|
-
}
|
|
26232
|
-
return message;
|
|
26233
|
-
};
|
|
26234
|
-
|
|
26235
|
-
/**
|
|
26236
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
26237
|
-
* @function decodeDelimited
|
|
26238
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26239
|
-
* @static
|
|
26240
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26241
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26242
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26243
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26244
|
-
*/
|
|
26245
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
|
26246
|
-
if (!(reader instanceof $Reader))
|
|
26247
|
-
reader = new $Reader(reader);
|
|
26248
|
-
return this.decode(reader, reader.uint32());
|
|
26249
|
-
};
|
|
26250
|
-
|
|
26251
|
-
/**
|
|
26252
|
-
* Verifies a FeatureSupport message.
|
|
26253
|
-
* @function verify
|
|
26254
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26255
|
-
* @static
|
|
26256
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
26257
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
26258
|
-
*/
|
|
26259
|
-
FeatureSupport.verify = function verify(message) {
|
|
26260
|
-
if (typeof message !== "object" || message === null)
|
|
26261
|
-
return "object expected";
|
|
26262
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
26263
|
-
switch (message.editionIntroduced) {
|
|
26264
|
-
default:
|
|
26265
|
-
return "editionIntroduced: enum value expected";
|
|
26266
|
-
case 0:
|
|
26267
|
-
case 900:
|
|
26268
|
-
case 998:
|
|
26269
|
-
case 999:
|
|
26270
|
-
case 1000:
|
|
26271
|
-
case 1001:
|
|
26272
|
-
case 1:
|
|
26273
|
-
case 2:
|
|
26274
|
-
case 99997:
|
|
26275
|
-
case 99998:
|
|
26276
|
-
case 99999:
|
|
26277
|
-
case 2147483647:
|
|
26278
|
-
break;
|
|
26279
|
-
}
|
|
26280
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
26281
|
-
switch (message.editionDeprecated) {
|
|
26282
|
-
default:
|
|
26283
|
-
return "editionDeprecated: enum value expected";
|
|
26284
|
-
case 0:
|
|
26285
|
-
case 900:
|
|
26286
|
-
case 998:
|
|
26287
|
-
case 999:
|
|
26288
|
-
case 1000:
|
|
26289
|
-
case 1001:
|
|
26290
|
-
case 1:
|
|
26291
|
-
case 2:
|
|
26292
|
-
case 99997:
|
|
26293
|
-
case 99998:
|
|
26294
|
-
case 99999:
|
|
26295
|
-
case 2147483647:
|
|
26296
|
-
break;
|
|
26297
|
-
}
|
|
26298
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
26299
|
-
if (!$util.isString(message.deprecationWarning))
|
|
26300
|
-
return "deprecationWarning: string expected";
|
|
26301
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
26302
|
-
switch (message.editionRemoved) {
|
|
26303
|
-
default:
|
|
26304
|
-
return "editionRemoved: enum value expected";
|
|
26305
|
-
case 0:
|
|
26306
|
-
case 900:
|
|
26307
|
-
case 998:
|
|
26308
|
-
case 999:
|
|
26309
|
-
case 1000:
|
|
26310
|
-
case 1001:
|
|
26311
|
-
case 1:
|
|
26312
|
-
case 2:
|
|
26313
|
-
case 99997:
|
|
26314
|
-
case 99998:
|
|
26315
|
-
case 99999:
|
|
26316
|
-
case 2147483647:
|
|
26317
|
-
break;
|
|
26318
|
-
}
|
|
26319
|
-
return null;
|
|
26320
|
-
};
|
|
26321
|
-
|
|
26322
|
-
/**
|
|
26323
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
26324
|
-
* @function fromObject
|
|
26325
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26326
|
-
* @static
|
|
26327
|
-
* @param {Object.<string,*>} object Plain object
|
|
26328
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26329
|
-
*/
|
|
26330
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
|
26331
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
|
26332
|
-
return object;
|
|
26333
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
26334
|
-
switch (object.editionIntroduced) {
|
|
26335
|
-
default:
|
|
26336
|
-
if (typeof object.editionIntroduced === "number") {
|
|
26337
|
-
message.editionIntroduced = object.editionIntroduced;
|
|
26338
|
-
break;
|
|
26339
|
-
}
|
|
26340
|
-
break;
|
|
26341
|
-
case "EDITION_UNKNOWN":
|
|
26342
|
-
case 0:
|
|
26343
|
-
message.editionIntroduced = 0;
|
|
26344
|
-
break;
|
|
26345
|
-
case "EDITION_LEGACY":
|
|
26346
|
-
case 900:
|
|
26347
|
-
message.editionIntroduced = 900;
|
|
26348
|
-
break;
|
|
26349
|
-
case "EDITION_PROTO2":
|
|
26350
|
-
case 998:
|
|
26351
|
-
message.editionIntroduced = 998;
|
|
26352
|
-
break;
|
|
26353
|
-
case "EDITION_PROTO3":
|
|
26354
|
-
case 999:
|
|
26355
|
-
message.editionIntroduced = 999;
|
|
26356
|
-
break;
|
|
26357
|
-
case "EDITION_2023":
|
|
26358
|
-
case 1000:
|
|
26359
|
-
message.editionIntroduced = 1000;
|
|
26360
|
-
break;
|
|
26361
|
-
case "EDITION_2024":
|
|
26362
|
-
case 1001:
|
|
26363
|
-
message.editionIntroduced = 1001;
|
|
26364
|
-
break;
|
|
26365
|
-
case "EDITION_1_TEST_ONLY":
|
|
26366
|
-
case 1:
|
|
26367
|
-
message.editionIntroduced = 1;
|
|
26368
|
-
break;
|
|
26369
|
-
case "EDITION_2_TEST_ONLY":
|
|
26370
|
-
case 2:
|
|
26371
|
-
message.editionIntroduced = 2;
|
|
26372
|
-
break;
|
|
26373
|
-
case "EDITION_99997_TEST_ONLY":
|
|
26374
|
-
case 99997:
|
|
26375
|
-
message.editionIntroduced = 99997;
|
|
26376
|
-
break;
|
|
26377
|
-
case "EDITION_99998_TEST_ONLY":
|
|
26378
|
-
case 99998:
|
|
26379
|
-
message.editionIntroduced = 99998;
|
|
26380
|
-
break;
|
|
26381
|
-
case "EDITION_99999_TEST_ONLY":
|
|
26382
|
-
case 99999:
|
|
26383
|
-
message.editionIntroduced = 99999;
|
|
26384
|
-
break;
|
|
26385
|
-
case "EDITION_MAX":
|
|
26386
|
-
case 2147483647:
|
|
26387
|
-
message.editionIntroduced = 2147483647;
|
|
26388
|
-
break;
|
|
26389
|
-
}
|
|
26390
|
-
switch (object.editionDeprecated) {
|
|
26391
|
-
default:
|
|
26392
|
-
if (typeof object.editionDeprecated === "number") {
|
|
26393
|
-
message.editionDeprecated = object.editionDeprecated;
|
|
26394
|
-
break;
|
|
26395
|
-
}
|
|
26396
|
-
break;
|
|
26397
|
-
case "EDITION_UNKNOWN":
|
|
26398
|
-
case 0:
|
|
26399
|
-
message.editionDeprecated = 0;
|
|
26400
|
-
break;
|
|
26401
|
-
case "EDITION_LEGACY":
|
|
26402
|
-
case 900:
|
|
26403
|
-
message.editionDeprecated = 900;
|
|
26404
|
-
break;
|
|
26405
|
-
case "EDITION_PROTO2":
|
|
26406
|
-
case 998:
|
|
26407
|
-
message.editionDeprecated = 998;
|
|
26408
|
-
break;
|
|
26409
|
-
case "EDITION_PROTO3":
|
|
26410
|
-
case 999:
|
|
26411
|
-
message.editionDeprecated = 999;
|
|
26412
|
-
break;
|
|
26413
|
-
case "EDITION_2023":
|
|
26414
|
-
case 1000:
|
|
26415
|
-
message.editionDeprecated = 1000;
|
|
26416
|
-
break;
|
|
26417
|
-
case "EDITION_2024":
|
|
26418
|
-
case 1001:
|
|
26419
|
-
message.editionDeprecated = 1001;
|
|
26420
|
-
break;
|
|
26421
|
-
case "EDITION_1_TEST_ONLY":
|
|
26422
|
-
case 1:
|
|
26423
|
-
message.editionDeprecated = 1;
|
|
26424
|
-
break;
|
|
26425
|
-
case "EDITION_2_TEST_ONLY":
|
|
26426
|
-
case 2:
|
|
26427
|
-
message.editionDeprecated = 2;
|
|
26428
|
-
break;
|
|
26429
|
-
case "EDITION_99997_TEST_ONLY":
|
|
26430
|
-
case 99997:
|
|
26431
|
-
message.editionDeprecated = 99997;
|
|
26432
|
-
break;
|
|
26433
|
-
case "EDITION_99998_TEST_ONLY":
|
|
26434
|
-
case 99998:
|
|
26435
|
-
message.editionDeprecated = 99998;
|
|
26436
|
-
break;
|
|
26437
|
-
case "EDITION_99999_TEST_ONLY":
|
|
26438
|
-
case 99999:
|
|
26439
|
-
message.editionDeprecated = 99999;
|
|
26440
|
-
break;
|
|
26441
|
-
case "EDITION_MAX":
|
|
26442
|
-
case 2147483647:
|
|
26443
|
-
message.editionDeprecated = 2147483647;
|
|
26444
|
-
break;
|
|
26445
|
-
}
|
|
26446
|
-
if (object.deprecationWarning != null)
|
|
26447
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
|
26448
|
-
switch (object.editionRemoved) {
|
|
26449
|
-
default:
|
|
26450
|
-
if (typeof object.editionRemoved === "number") {
|
|
26451
|
-
message.editionRemoved = object.editionRemoved;
|
|
26452
|
-
break;
|
|
26453
|
-
}
|
|
26454
|
-
break;
|
|
26455
|
-
case "EDITION_UNKNOWN":
|
|
26456
|
-
case 0:
|
|
26457
|
-
message.editionRemoved = 0;
|
|
26458
|
-
break;
|
|
26459
|
-
case "EDITION_LEGACY":
|
|
26460
|
-
case 900:
|
|
26461
|
-
message.editionRemoved = 900;
|
|
26462
|
-
break;
|
|
26463
|
-
case "EDITION_PROTO2":
|
|
26464
|
-
case 998:
|
|
26465
|
-
message.editionRemoved = 998;
|
|
26466
|
-
break;
|
|
26467
|
-
case "EDITION_PROTO3":
|
|
26468
|
-
case 999:
|
|
26469
|
-
message.editionRemoved = 999;
|
|
25204
|
+
message.edition = 999;
|
|
26470
25205
|
break;
|
|
26471
25206
|
case "EDITION_2023":
|
|
26472
25207
|
case 1000:
|
|
26473
|
-
message.
|
|
25208
|
+
message.edition = 1000;
|
|
26474
25209
|
break;
|
|
26475
25210
|
case "EDITION_2024":
|
|
26476
25211
|
case 1001:
|
|
26477
|
-
message.
|
|
25212
|
+
message.edition = 1001;
|
|
26478
25213
|
break;
|
|
26479
25214
|
case "EDITION_1_TEST_ONLY":
|
|
26480
25215
|
case 1:
|
|
26481
|
-
message.
|
|
25216
|
+
message.edition = 1;
|
|
26482
25217
|
break;
|
|
26483
25218
|
case "EDITION_2_TEST_ONLY":
|
|
26484
25219
|
case 2:
|
|
26485
|
-
message.
|
|
25220
|
+
message.edition = 2;
|
|
26486
25221
|
break;
|
|
26487
25222
|
case "EDITION_99997_TEST_ONLY":
|
|
26488
25223
|
case 99997:
|
|
26489
|
-
message.
|
|
25224
|
+
message.edition = 99997;
|
|
26490
25225
|
break;
|
|
26491
25226
|
case "EDITION_99998_TEST_ONLY":
|
|
26492
25227
|
case 99998:
|
|
26493
|
-
message.
|
|
25228
|
+
message.edition = 99998;
|
|
26494
25229
|
break;
|
|
26495
25230
|
case "EDITION_99999_TEST_ONLY":
|
|
26496
25231
|
case 99999:
|
|
26497
|
-
message.
|
|
25232
|
+
message.edition = 99999;
|
|
26498
25233
|
break;
|
|
26499
25234
|
case "EDITION_MAX":
|
|
26500
25235
|
case 2147483647:
|
|
26501
|
-
message.
|
|
25236
|
+
message.edition = 2147483647;
|
|
26502
25237
|
break;
|
|
26503
25238
|
}
|
|
25239
|
+
if (object.value != null)
|
|
25240
|
+
message.value = String(object.value);
|
|
26504
25241
|
return message;
|
|
26505
25242
|
};
|
|
26506
25243
|
|
|
26507
25244
|
/**
|
|
26508
|
-
* Creates a plain object from
|
|
25245
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
26509
25246
|
* @function toObject
|
|
26510
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25247
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26511
25248
|
* @static
|
|
26512
|
-
* @param {google.protobuf.FieldOptions.
|
|
25249
|
+
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
|
26513
25250
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
26514
25251
|
* @returns {Object.<string,*>} Plain object
|
|
26515
25252
|
*/
|
|
26516
|
-
|
|
25253
|
+
EditionDefault.toObject = function toObject(message, options) {
|
|
26517
25254
|
if (!options)
|
|
26518
25255
|
options = {};
|
|
26519
25256
|
var object = {};
|
|
26520
25257
|
if (options.defaults) {
|
|
26521
|
-
object.
|
|
26522
|
-
object.
|
|
26523
|
-
|
|
26524
|
-
|
|
26525
|
-
|
|
26526
|
-
if (message.
|
|
26527
|
-
object.
|
|
26528
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
26529
|
-
object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
|
|
26530
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
26531
|
-
object.deprecationWarning = message.deprecationWarning;
|
|
26532
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
26533
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
|
25258
|
+
object.value = "";
|
|
25259
|
+
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
25260
|
+
}
|
|
25261
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
25262
|
+
object.value = message.value;
|
|
25263
|
+
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
25264
|
+
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
26534
25265
|
return object;
|
|
26535
25266
|
};
|
|
26536
25267
|
|
|
26537
25268
|
/**
|
|
26538
|
-
* Converts this
|
|
25269
|
+
* Converts this EditionDefault to JSON.
|
|
26539
25270
|
* @function toJSON
|
|
26540
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25271
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26541
25272
|
* @instance
|
|
26542
25273
|
* @returns {Object.<string,*>} JSON object
|
|
26543
25274
|
*/
|
|
26544
|
-
|
|
25275
|
+
EditionDefault.prototype.toJSON = function toJSON() {
|
|
26545
25276
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
26546
25277
|
};
|
|
26547
25278
|
|
|
26548
25279
|
/**
|
|
26549
|
-
* Gets the default type url for
|
|
25280
|
+
* Gets the default type url for EditionDefault
|
|
26550
25281
|
* @function getTypeUrl
|
|
26551
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25282
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26552
25283
|
* @static
|
|
26553
25284
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26554
25285
|
* @returns {string} The default type url
|
|
26555
25286
|
*/
|
|
26556
|
-
|
|
25287
|
+
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
26557
25288
|
if (typeUrlPrefix === undefined) {
|
|
26558
25289
|
typeUrlPrefix = "type.googleapis.com";
|
|
26559
25290
|
}
|
|
26560
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.
|
|
25291
|
+
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
|
26561
25292
|
};
|
|
26562
25293
|
|
|
26563
|
-
return
|
|
25294
|
+
return EditionDefault;
|
|
26564
25295
|
})();
|
|
26565
25296
|
|
|
26566
25297
|
return FieldOptions;
|
|
@@ -27155,7 +25886,6 @@
|
|
|
27155
25886
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
27156
25887
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
27157
25888
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
27158
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
|
27159
25889
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
27160
25890
|
*/
|
|
27161
25891
|
|
|
@@ -27199,14 +25929,6 @@
|
|
|
27199
25929
|
*/
|
|
27200
25930
|
EnumValueOptions.prototype.debugRedact = false;
|
|
27201
25931
|
|
|
27202
|
-
/**
|
|
27203
|
-
* EnumValueOptions featureSupport.
|
|
27204
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
27205
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
27206
|
-
* @instance
|
|
27207
|
-
*/
|
|
27208
|
-
EnumValueOptions.prototype.featureSupport = null;
|
|
27209
|
-
|
|
27210
25932
|
/**
|
|
27211
25933
|
* EnumValueOptions uninterpretedOption.
|
|
27212
25934
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -27245,8 +25967,6 @@
|
|
|
27245
25967
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
27246
25968
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
27247
25969
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
27248
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
27249
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
27250
25970
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
27251
25971
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
27252
25972
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -27298,10 +26018,6 @@
|
|
|
27298
26018
|
message.debugRedact = reader.bool();
|
|
27299
26019
|
break;
|
|
27300
26020
|
}
|
|
27301
|
-
case 4: {
|
|
27302
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
27303
|
-
break;
|
|
27304
|
-
}
|
|
27305
26021
|
case 999: {
|
|
27306
26022
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
27307
26023
|
message.uninterpretedOption = [];
|
|
@@ -27354,11 +26070,6 @@
|
|
|
27354
26070
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
27355
26071
|
if (typeof message.debugRedact !== "boolean")
|
|
27356
26072
|
return "debugRedact: boolean expected";
|
|
27357
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
27358
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
27359
|
-
if (error)
|
|
27360
|
-
return "featureSupport." + error;
|
|
27361
|
-
}
|
|
27362
26073
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
27363
26074
|
if (!Array.isArray(message.uninterpretedOption))
|
|
27364
26075
|
return "uninterpretedOption: array expected";
|
|
@@ -27392,11 +26103,6 @@
|
|
|
27392
26103
|
}
|
|
27393
26104
|
if (object.debugRedact != null)
|
|
27394
26105
|
message.debugRedact = Boolean(object.debugRedact);
|
|
27395
|
-
if (object.featureSupport != null) {
|
|
27396
|
-
if (typeof object.featureSupport !== "object")
|
|
27397
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
|
27398
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
27399
|
-
}
|
|
27400
26106
|
if (object.uninterpretedOption) {
|
|
27401
26107
|
if (!Array.isArray(object.uninterpretedOption))
|
|
27402
26108
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -27429,7 +26135,6 @@
|
|
|
27429
26135
|
object.deprecated = false;
|
|
27430
26136
|
object.features = null;
|
|
27431
26137
|
object.debugRedact = false;
|
|
27432
|
-
object.featureSupport = null;
|
|
27433
26138
|
}
|
|
27434
26139
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
27435
26140
|
object.deprecated = message.deprecated;
|
|
@@ -27437,8 +26142,6 @@
|
|
|
27437
26142
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
27438
26143
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
27439
26144
|
object.debugRedact = message.debugRedact;
|
|
27440
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
27441
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
27442
26145
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
27443
26146
|
object.uninterpretedOption = [];
|
|
27444
26147
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -28906,8 +27609,6 @@
|
|
|
28906
27609
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
|
28907
27610
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
28908
27611
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
28909
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
|
28910
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
|
28911
27612
|
*/
|
|
28912
27613
|
|
|
28913
27614
|
/**
|
|
@@ -28973,22 +27674,6 @@
|
|
|
28973
27674
|
*/
|
|
28974
27675
|
FeatureSet.prototype.jsonFormat = 0;
|
|
28975
27676
|
|
|
28976
|
-
/**
|
|
28977
|
-
* FeatureSet enforceNamingStyle.
|
|
28978
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
|
28979
|
-
* @memberof google.protobuf.FeatureSet
|
|
28980
|
-
* @instance
|
|
28981
|
-
*/
|
|
28982
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
|
28983
|
-
|
|
28984
|
-
/**
|
|
28985
|
-
* FeatureSet defaultSymbolVisibility.
|
|
28986
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
|
28987
|
-
* @memberof google.protobuf.FeatureSet
|
|
28988
|
-
* @instance
|
|
28989
|
-
*/
|
|
28990
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
|
28991
|
-
|
|
28992
27677
|
/**
|
|
28993
27678
|
* Creates a new FeatureSet instance using the specified properties.
|
|
28994
27679
|
* @function create
|
|
@@ -29025,10 +27710,6 @@
|
|
|
29025
27710
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
29026
27711
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
29027
27712
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
29028
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
|
29029
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
|
29030
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
|
29031
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
|
29032
27713
|
return writer;
|
|
29033
27714
|
};
|
|
29034
27715
|
|
|
@@ -29089,14 +27770,6 @@
|
|
|
29089
27770
|
message.jsonFormat = reader.int32();
|
|
29090
27771
|
break;
|
|
29091
27772
|
}
|
|
29092
|
-
case 7: {
|
|
29093
|
-
message.enforceNamingStyle = reader.int32();
|
|
29094
|
-
break;
|
|
29095
|
-
}
|
|
29096
|
-
case 8: {
|
|
29097
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
29098
|
-
break;
|
|
29099
|
-
}
|
|
29100
27773
|
default:
|
|
29101
27774
|
reader.skipType(tag & 7);
|
|
29102
27775
|
break;
|
|
@@ -29187,26 +27860,6 @@
|
|
|
29187
27860
|
case 2:
|
|
29188
27861
|
break;
|
|
29189
27862
|
}
|
|
29190
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
29191
|
-
switch (message.enforceNamingStyle) {
|
|
29192
|
-
default:
|
|
29193
|
-
return "enforceNamingStyle: enum value expected";
|
|
29194
|
-
case 0:
|
|
29195
|
-
case 1:
|
|
29196
|
-
case 2:
|
|
29197
|
-
break;
|
|
29198
|
-
}
|
|
29199
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
29200
|
-
switch (message.defaultSymbolVisibility) {
|
|
29201
|
-
default:
|
|
29202
|
-
return "defaultSymbolVisibility: enum value expected";
|
|
29203
|
-
case 0:
|
|
29204
|
-
case 1:
|
|
29205
|
-
case 2:
|
|
29206
|
-
case 3:
|
|
29207
|
-
case 4:
|
|
29208
|
-
break;
|
|
29209
|
-
}
|
|
29210
27863
|
return null;
|
|
29211
27864
|
};
|
|
29212
27865
|
|
|
@@ -29346,54 +27999,6 @@
|
|
|
29346
27999
|
message.jsonFormat = 2;
|
|
29347
28000
|
break;
|
|
29348
28001
|
}
|
|
29349
|
-
switch (object.enforceNamingStyle) {
|
|
29350
|
-
default:
|
|
29351
|
-
if (typeof object.enforceNamingStyle === "number") {
|
|
29352
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
|
29353
|
-
break;
|
|
29354
|
-
}
|
|
29355
|
-
break;
|
|
29356
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
|
29357
|
-
case 0:
|
|
29358
|
-
message.enforceNamingStyle = 0;
|
|
29359
|
-
break;
|
|
29360
|
-
case "STYLE2024":
|
|
29361
|
-
case 1:
|
|
29362
|
-
message.enforceNamingStyle = 1;
|
|
29363
|
-
break;
|
|
29364
|
-
case "STYLE_LEGACY":
|
|
29365
|
-
case 2:
|
|
29366
|
-
message.enforceNamingStyle = 2;
|
|
29367
|
-
break;
|
|
29368
|
-
}
|
|
29369
|
-
switch (object.defaultSymbolVisibility) {
|
|
29370
|
-
default:
|
|
29371
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
|
29372
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
|
29373
|
-
break;
|
|
29374
|
-
}
|
|
29375
|
-
break;
|
|
29376
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
|
29377
|
-
case 0:
|
|
29378
|
-
message.defaultSymbolVisibility = 0;
|
|
29379
|
-
break;
|
|
29380
|
-
case "EXPORT_ALL":
|
|
29381
|
-
case 1:
|
|
29382
|
-
message.defaultSymbolVisibility = 1;
|
|
29383
|
-
break;
|
|
29384
|
-
case "EXPORT_TOP_LEVEL":
|
|
29385
|
-
case 2:
|
|
29386
|
-
message.defaultSymbolVisibility = 2;
|
|
29387
|
-
break;
|
|
29388
|
-
case "LOCAL_ALL":
|
|
29389
|
-
case 3:
|
|
29390
|
-
message.defaultSymbolVisibility = 3;
|
|
29391
|
-
break;
|
|
29392
|
-
case "STRICT":
|
|
29393
|
-
case 4:
|
|
29394
|
-
message.defaultSymbolVisibility = 4;
|
|
29395
|
-
break;
|
|
29396
|
-
}
|
|
29397
28002
|
return message;
|
|
29398
28003
|
};
|
|
29399
28004
|
|
|
@@ -29417,8 +28022,6 @@
|
|
|
29417
28022
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
|
29418
28023
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
29419
28024
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
29420
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
|
29421
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
|
29422
28025
|
}
|
|
29423
28026
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
29424
28027
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
@@ -29432,10 +28035,6 @@
|
|
|
29432
28035
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
29433
28036
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
29434
28037
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
29435
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
29436
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
|
29437
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
29438
|
-
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;
|
|
29439
28038
|
return object;
|
|
29440
28039
|
};
|
|
29441
28040
|
|
|
@@ -29563,219 +28162,6 @@
|
|
|
29563
28162
|
return values;
|
|
29564
28163
|
})();
|
|
29565
28164
|
|
|
29566
|
-
/**
|
|
29567
|
-
* EnforceNamingStyle enum.
|
|
29568
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
|
29569
|
-
* @enum {number}
|
|
29570
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
|
29571
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
|
29572
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
|
29573
|
-
*/
|
|
29574
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
|
29575
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
29576
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
|
29577
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
|
29578
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
|
29579
|
-
return values;
|
|
29580
|
-
})();
|
|
29581
|
-
|
|
29582
|
-
FeatureSet.VisibilityFeature = (function() {
|
|
29583
|
-
|
|
29584
|
-
/**
|
|
29585
|
-
* Properties of a VisibilityFeature.
|
|
29586
|
-
* @memberof google.protobuf.FeatureSet
|
|
29587
|
-
* @interface IVisibilityFeature
|
|
29588
|
-
*/
|
|
29589
|
-
|
|
29590
|
-
/**
|
|
29591
|
-
* Constructs a new VisibilityFeature.
|
|
29592
|
-
* @memberof google.protobuf.FeatureSet
|
|
29593
|
-
* @classdesc Represents a VisibilityFeature.
|
|
29594
|
-
* @implements IVisibilityFeature
|
|
29595
|
-
* @constructor
|
|
29596
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
29597
|
-
*/
|
|
29598
|
-
function VisibilityFeature(properties) {
|
|
29599
|
-
if (properties)
|
|
29600
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
29601
|
-
if (properties[keys[i]] != null)
|
|
29602
|
-
this[keys[i]] = properties[keys[i]];
|
|
29603
|
-
}
|
|
29604
|
-
|
|
29605
|
-
/**
|
|
29606
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
|
29607
|
-
* @function create
|
|
29608
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29609
|
-
* @static
|
|
29610
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
29611
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
|
29612
|
-
*/
|
|
29613
|
-
VisibilityFeature.create = function create(properties) {
|
|
29614
|
-
return new VisibilityFeature(properties);
|
|
29615
|
-
};
|
|
29616
|
-
|
|
29617
|
-
/**
|
|
29618
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
29619
|
-
* @function encode
|
|
29620
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29621
|
-
* @static
|
|
29622
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
29623
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29624
|
-
* @returns {$protobuf.Writer} Writer
|
|
29625
|
-
*/
|
|
29626
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
|
29627
|
-
if (!writer)
|
|
29628
|
-
writer = $Writer.create();
|
|
29629
|
-
return writer;
|
|
29630
|
-
};
|
|
29631
|
-
|
|
29632
|
-
/**
|
|
29633
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
29634
|
-
* @function encodeDelimited
|
|
29635
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29636
|
-
* @static
|
|
29637
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
29638
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
29639
|
-
* @returns {$protobuf.Writer} Writer
|
|
29640
|
-
*/
|
|
29641
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
|
29642
|
-
return this.encode(message, writer).ldelim();
|
|
29643
|
-
};
|
|
29644
|
-
|
|
29645
|
-
/**
|
|
29646
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
29647
|
-
* @function decode
|
|
29648
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29649
|
-
* @static
|
|
29650
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29651
|
-
* @param {number} [length] Message length if known beforehand
|
|
29652
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
29653
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29654
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29655
|
-
*/
|
|
29656
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
|
29657
|
-
if (!(reader instanceof $Reader))
|
|
29658
|
-
reader = $Reader.create(reader);
|
|
29659
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
29660
|
-
while (reader.pos < end) {
|
|
29661
|
-
var tag = reader.uint32();
|
|
29662
|
-
if (tag === error)
|
|
29663
|
-
break;
|
|
29664
|
-
switch (tag >>> 3) {
|
|
29665
|
-
default:
|
|
29666
|
-
reader.skipType(tag & 7);
|
|
29667
|
-
break;
|
|
29668
|
-
}
|
|
29669
|
-
}
|
|
29670
|
-
return message;
|
|
29671
|
-
};
|
|
29672
|
-
|
|
29673
|
-
/**
|
|
29674
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
29675
|
-
* @function decodeDelimited
|
|
29676
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29677
|
-
* @static
|
|
29678
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
29679
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
29680
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
29681
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
29682
|
-
*/
|
|
29683
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
|
29684
|
-
if (!(reader instanceof $Reader))
|
|
29685
|
-
reader = new $Reader(reader);
|
|
29686
|
-
return this.decode(reader, reader.uint32());
|
|
29687
|
-
};
|
|
29688
|
-
|
|
29689
|
-
/**
|
|
29690
|
-
* Verifies a VisibilityFeature message.
|
|
29691
|
-
* @function verify
|
|
29692
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29693
|
-
* @static
|
|
29694
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
29695
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
29696
|
-
*/
|
|
29697
|
-
VisibilityFeature.verify = function verify(message) {
|
|
29698
|
-
if (typeof message !== "object" || message === null)
|
|
29699
|
-
return "object expected";
|
|
29700
|
-
return null;
|
|
29701
|
-
};
|
|
29702
|
-
|
|
29703
|
-
/**
|
|
29704
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
29705
|
-
* @function fromObject
|
|
29706
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29707
|
-
* @static
|
|
29708
|
-
* @param {Object.<string,*>} object Plain object
|
|
29709
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
29710
|
-
*/
|
|
29711
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
|
29712
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
|
29713
|
-
return object;
|
|
29714
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
29715
|
-
};
|
|
29716
|
-
|
|
29717
|
-
/**
|
|
29718
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
29719
|
-
* @function toObject
|
|
29720
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29721
|
-
* @static
|
|
29722
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
|
29723
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
29724
|
-
* @returns {Object.<string,*>} Plain object
|
|
29725
|
-
*/
|
|
29726
|
-
VisibilityFeature.toObject = function toObject() {
|
|
29727
|
-
return {};
|
|
29728
|
-
};
|
|
29729
|
-
|
|
29730
|
-
/**
|
|
29731
|
-
* Converts this VisibilityFeature to JSON.
|
|
29732
|
-
* @function toJSON
|
|
29733
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29734
|
-
* @instance
|
|
29735
|
-
* @returns {Object.<string,*>} JSON object
|
|
29736
|
-
*/
|
|
29737
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
|
29738
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
29739
|
-
};
|
|
29740
|
-
|
|
29741
|
-
/**
|
|
29742
|
-
* Gets the default type url for VisibilityFeature
|
|
29743
|
-
* @function getTypeUrl
|
|
29744
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
29745
|
-
* @static
|
|
29746
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
29747
|
-
* @returns {string} The default type url
|
|
29748
|
-
*/
|
|
29749
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
29750
|
-
if (typeUrlPrefix === undefined) {
|
|
29751
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
29752
|
-
}
|
|
29753
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
|
29754
|
-
};
|
|
29755
|
-
|
|
29756
|
-
/**
|
|
29757
|
-
* DefaultSymbolVisibility enum.
|
|
29758
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
29759
|
-
* @enum {number}
|
|
29760
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
|
29761
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
|
29762
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
|
29763
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
|
29764
|
-
* @property {number} STRICT=4 STRICT value
|
|
29765
|
-
*/
|
|
29766
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
|
29767
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
29768
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
|
29769
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
|
29770
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
|
29771
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
|
29772
|
-
values[valuesById[4] = "STRICT"] = 4;
|
|
29773
|
-
return values;
|
|
29774
|
-
})();
|
|
29775
|
-
|
|
29776
|
-
return VisibilityFeature;
|
|
29777
|
-
})();
|
|
29778
|
-
|
|
29779
28165
|
return FeatureSet;
|
|
29780
28166
|
})();
|
|
29781
28167
|
|
|
@@ -29960,7 +28346,6 @@
|
|
|
29960
28346
|
default:
|
|
29961
28347
|
return "minimumEdition: enum value expected";
|
|
29962
28348
|
case 0:
|
|
29963
|
-
case 900:
|
|
29964
28349
|
case 998:
|
|
29965
28350
|
case 999:
|
|
29966
28351
|
case 1000:
|
|
@@ -29978,7 +28363,6 @@
|
|
|
29978
28363
|
default:
|
|
29979
28364
|
return "maximumEdition: enum value expected";
|
|
29980
28365
|
case 0:
|
|
29981
|
-
case 900:
|
|
29982
28366
|
case 998:
|
|
29983
28367
|
case 999:
|
|
29984
28368
|
case 1000:
|
|
@@ -30027,10 +28411,6 @@
|
|
|
30027
28411
|
case 0:
|
|
30028
28412
|
message.minimumEdition = 0;
|
|
30029
28413
|
break;
|
|
30030
|
-
case "EDITION_LEGACY":
|
|
30031
|
-
case 900:
|
|
30032
|
-
message.minimumEdition = 900;
|
|
30033
|
-
break;
|
|
30034
28414
|
case "EDITION_PROTO2":
|
|
30035
28415
|
case 998:
|
|
30036
28416
|
message.minimumEdition = 998;
|
|
@@ -30083,10 +28463,6 @@
|
|
|
30083
28463
|
case 0:
|
|
30084
28464
|
message.maximumEdition = 0;
|
|
30085
28465
|
break;
|
|
30086
|
-
case "EDITION_LEGACY":
|
|
30087
|
-
case 900:
|
|
30088
|
-
message.maximumEdition = 900;
|
|
30089
|
-
break;
|
|
30090
28466
|
case "EDITION_PROTO2":
|
|
30091
28467
|
case 998:
|
|
30092
28468
|
message.maximumEdition = 998;
|
|
@@ -30195,8 +28571,7 @@
|
|
|
30195
28571
|
* @memberof google.protobuf.FeatureSetDefaults
|
|
30196
28572
|
* @interface IFeatureSetEditionDefault
|
|
30197
28573
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
|
30198
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
|
30199
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
|
28574
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
|
30200
28575
|
*/
|
|
30201
28576
|
|
|
30202
28577
|
/**
|
|
@@ -30223,20 +28598,12 @@
|
|
|
30223
28598
|
FeatureSetEditionDefault.prototype.edition = 0;
|
|
30224
28599
|
|
|
30225
28600
|
/**
|
|
30226
|
-
* FeatureSetEditionDefault
|
|
30227
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
|
30228
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
30229
|
-
* @instance
|
|
30230
|
-
*/
|
|
30231
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
|
30232
|
-
|
|
30233
|
-
/**
|
|
30234
|
-
* FeatureSetEditionDefault fixedFeatures.
|
|
30235
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
|
28601
|
+
* FeatureSetEditionDefault features.
|
|
28602
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
30236
28603
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
30237
28604
|
* @instance
|
|
30238
28605
|
*/
|
|
30239
|
-
FeatureSetEditionDefault.prototype.
|
|
28606
|
+
FeatureSetEditionDefault.prototype.features = null;
|
|
30240
28607
|
|
|
30241
28608
|
/**
|
|
30242
28609
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -30262,12 +28629,10 @@
|
|
|
30262
28629
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
|
30263
28630
|
if (!writer)
|
|
30264
28631
|
writer = $Writer.create();
|
|
28632
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
28633
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
30265
28634
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
30266
28635
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
|
30267
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
|
30268
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
30269
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
|
30270
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
30271
28636
|
return writer;
|
|
30272
28637
|
};
|
|
30273
28638
|
|
|
@@ -30308,12 +28673,8 @@
|
|
|
30308
28673
|
message.edition = reader.int32();
|
|
30309
28674
|
break;
|
|
30310
28675
|
}
|
|
30311
|
-
case
|
|
30312
|
-
message.
|
|
30313
|
-
break;
|
|
30314
|
-
}
|
|
30315
|
-
case 5: {
|
|
30316
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
28676
|
+
case 2: {
|
|
28677
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
30317
28678
|
break;
|
|
30318
28679
|
}
|
|
30319
28680
|
default:
|
|
@@ -30356,7 +28717,6 @@
|
|
|
30356
28717
|
default:
|
|
30357
28718
|
return "edition: enum value expected";
|
|
30358
28719
|
case 0:
|
|
30359
|
-
case 900:
|
|
30360
28720
|
case 998:
|
|
30361
28721
|
case 999:
|
|
30362
28722
|
case 1000:
|
|
@@ -30369,15 +28729,10 @@
|
|
|
30369
28729
|
case 2147483647:
|
|
30370
28730
|
break;
|
|
30371
28731
|
}
|
|
30372
|
-
if (message.
|
|
30373
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
|
30374
|
-
if (error)
|
|
30375
|
-
return "overridableFeatures." + error;
|
|
30376
|
-
}
|
|
30377
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
|
30378
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
|
28732
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
|
28733
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
30379
28734
|
if (error)
|
|
30380
|
-
return "
|
|
28735
|
+
return "features." + error;
|
|
30381
28736
|
}
|
|
30382
28737
|
return null;
|
|
30383
28738
|
};
|
|
@@ -30405,10 +28760,6 @@
|
|
|
30405
28760
|
case 0:
|
|
30406
28761
|
message.edition = 0;
|
|
30407
28762
|
break;
|
|
30408
|
-
case "EDITION_LEGACY":
|
|
30409
|
-
case 900:
|
|
30410
|
-
message.edition = 900;
|
|
30411
|
-
break;
|
|
30412
28763
|
case "EDITION_PROTO2":
|
|
30413
28764
|
case 998:
|
|
30414
28765
|
message.edition = 998;
|
|
@@ -30450,15 +28801,10 @@
|
|
|
30450
28801
|
message.edition = 2147483647;
|
|
30451
28802
|
break;
|
|
30452
28803
|
}
|
|
30453
|
-
if (object.
|
|
30454
|
-
if (typeof object.
|
|
30455
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
30456
|
-
message.
|
|
30457
|
-
}
|
|
30458
|
-
if (object.fixedFeatures != null) {
|
|
30459
|
-
if (typeof object.fixedFeatures !== "object")
|
|
30460
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
|
30461
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
|
28804
|
+
if (object.features != null) {
|
|
28805
|
+
if (typeof object.features !== "object")
|
|
28806
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
|
28807
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
30462
28808
|
}
|
|
30463
28809
|
return message;
|
|
30464
28810
|
};
|
|
@@ -30477,16 +28823,13 @@
|
|
|
30477
28823
|
options = {};
|
|
30478
28824
|
var object = {};
|
|
30479
28825
|
if (options.defaults) {
|
|
28826
|
+
object.features = null;
|
|
30480
28827
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
30481
|
-
object.overridableFeatures = null;
|
|
30482
|
-
object.fixedFeatures = null;
|
|
30483
28828
|
}
|
|
28829
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
|
28830
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
30484
28831
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
30485
28832
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
30486
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
|
30487
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
|
30488
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
|
30489
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
|
30490
28833
|
return object;
|
|
30491
28834
|
};
|
|
30492
28835
|
|
|
@@ -31701,22 +30044,6 @@
|
|
|
31701
30044
|
return GeneratedCodeInfo;
|
|
31702
30045
|
})();
|
|
31703
30046
|
|
|
31704
|
-
/**
|
|
31705
|
-
* SymbolVisibility enum.
|
|
31706
|
-
* @name google.protobuf.SymbolVisibility
|
|
31707
|
-
* @enum {number}
|
|
31708
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
|
31709
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
|
31710
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
|
31711
|
-
*/
|
|
31712
|
-
protobuf.SymbolVisibility = (function() {
|
|
31713
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
31714
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
|
31715
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
|
31716
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
|
31717
|
-
return values;
|
|
31718
|
-
})();
|
|
31719
|
-
|
|
31720
30047
|
protobuf.Timestamp = (function() {
|
|
31721
30048
|
|
|
31722
30049
|
/**
|