@google-shopping/lfp 0.8.0 → 0.9.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 +40 -119
- package/build/protos/protos.d.ts +4 -621
- package/build/protos/protos.js +154 -2077
- package/build/protos/protos.json +22 -206
- package/build/src/index.d.ts +12 -12
- package/build/src/index.js +4 -4
- package/build/src/index.js.map +1 -1
- package/build/src/v1/gapic_metadata.json +1 -1
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
|
@@ -13321,7 +13321,6 @@
|
|
|
13321
13321
|
* @interface ICommonLanguageSettings
|
|
13322
13322
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
|
13323
13323
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
|
13324
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
|
13325
13324
|
*/
|
|
13326
13325
|
|
|
13327
13326
|
/**
|
|
@@ -13356,14 +13355,6 @@
|
|
|
13356
13355
|
*/
|
|
13357
13356
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
|
13358
13357
|
|
|
13359
|
-
/**
|
|
13360
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
|
13361
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
|
13362
|
-
* @memberof google.api.CommonLanguageSettings
|
|
13363
|
-
* @instance
|
|
13364
|
-
*/
|
|
13365
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
|
13366
|
-
|
|
13367
13358
|
/**
|
|
13368
13359
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
13369
13360
|
* @function create
|
|
@@ -13396,8 +13387,6 @@
|
|
|
13396
13387
|
writer.int32(message.destinations[i]);
|
|
13397
13388
|
writer.ldelim();
|
|
13398
13389
|
}
|
|
13399
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
|
13400
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
13401
13390
|
return writer;
|
|
13402
13391
|
};
|
|
13403
13392
|
|
|
@@ -13449,10 +13438,6 @@
|
|
|
13449
13438
|
message.destinations.push(reader.int32());
|
|
13450
13439
|
break;
|
|
13451
13440
|
}
|
|
13452
|
-
case 3: {
|
|
13453
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
|
13454
|
-
break;
|
|
13455
|
-
}
|
|
13456
13441
|
default:
|
|
13457
13442
|
reader.skipType(tag & 7);
|
|
13458
13443
|
break;
|
|
@@ -13504,11 +13489,6 @@
|
|
|
13504
13489
|
break;
|
|
13505
13490
|
}
|
|
13506
13491
|
}
|
|
13507
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
|
13508
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
|
13509
|
-
if (error)
|
|
13510
|
-
return "selectiveGapicGeneration." + error;
|
|
13511
|
-
}
|
|
13512
13492
|
return null;
|
|
13513
13493
|
};
|
|
13514
13494
|
|
|
@@ -13551,11 +13531,6 @@
|
|
|
13551
13531
|
break;
|
|
13552
13532
|
}
|
|
13553
13533
|
}
|
|
13554
|
-
if (object.selectiveGapicGeneration != null) {
|
|
13555
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
|
13556
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
|
13557
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
|
13558
|
-
}
|
|
13559
13534
|
return message;
|
|
13560
13535
|
};
|
|
13561
13536
|
|
|
@@ -13574,10 +13549,8 @@
|
|
|
13574
13549
|
var object = {};
|
|
13575
13550
|
if (options.arrays || options.defaults)
|
|
13576
13551
|
object.destinations = [];
|
|
13577
|
-
if (options.defaults)
|
|
13552
|
+
if (options.defaults)
|
|
13578
13553
|
object.referenceDocsUri = "";
|
|
13579
|
-
object.selectiveGapicGeneration = null;
|
|
13580
|
-
}
|
|
13581
13554
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
|
13582
13555
|
object.referenceDocsUri = message.referenceDocsUri;
|
|
13583
13556
|
if (message.destinations && message.destinations.length) {
|
|
@@ -13585,8 +13558,6 @@
|
|
|
13585
13558
|
for (var j = 0; j < message.destinations.length; ++j)
|
|
13586
13559
|
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];
|
|
13587
13560
|
}
|
|
13588
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
|
13589
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
|
13590
13561
|
return object;
|
|
13591
13562
|
};
|
|
13592
13563
|
|
|
@@ -15409,7 +15380,6 @@
|
|
|
15409
15380
|
* @memberof google.api
|
|
15410
15381
|
* @interface IPythonSettings
|
|
15411
15382
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
|
15412
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
|
15413
15383
|
*/
|
|
15414
15384
|
|
|
15415
15385
|
/**
|
|
@@ -15435,14 +15405,6 @@
|
|
|
15435
15405
|
*/
|
|
15436
15406
|
PythonSettings.prototype.common = null;
|
|
15437
15407
|
|
|
15438
|
-
/**
|
|
15439
|
-
* PythonSettings experimentalFeatures.
|
|
15440
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
|
15441
|
-
* @memberof google.api.PythonSettings
|
|
15442
|
-
* @instance
|
|
15443
|
-
*/
|
|
15444
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
|
15445
|
-
|
|
15446
15408
|
/**
|
|
15447
15409
|
* Creates a new PythonSettings instance using the specified properties.
|
|
15448
15410
|
* @function create
|
|
@@ -15469,8 +15431,6 @@
|
|
|
15469
15431
|
writer = $Writer.create();
|
|
15470
15432
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
15471
15433
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
15472
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
|
15473
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
15474
15434
|
return writer;
|
|
15475
15435
|
};
|
|
15476
15436
|
|
|
@@ -15511,10 +15471,6 @@
|
|
|
15511
15471
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
15512
15472
|
break;
|
|
15513
15473
|
}
|
|
15514
|
-
case 2: {
|
|
15515
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
|
15516
|
-
break;
|
|
15517
|
-
}
|
|
15518
15474
|
default:
|
|
15519
15475
|
reader.skipType(tag & 7);
|
|
15520
15476
|
break;
|
|
@@ -15555,11 +15511,6 @@
|
|
|
15555
15511
|
if (error)
|
|
15556
15512
|
return "common." + error;
|
|
15557
15513
|
}
|
|
15558
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
|
15559
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
|
15560
|
-
if (error)
|
|
15561
|
-
return "experimentalFeatures." + error;
|
|
15562
|
-
}
|
|
15563
15514
|
return null;
|
|
15564
15515
|
};
|
|
15565
15516
|
|
|
@@ -15580,11 +15531,6 @@
|
|
|
15580
15531
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
|
15581
15532
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
15582
15533
|
}
|
|
15583
|
-
if (object.experimentalFeatures != null) {
|
|
15584
|
-
if (typeof object.experimentalFeatures !== "object")
|
|
15585
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
|
15586
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
|
15587
|
-
}
|
|
15588
15534
|
return message;
|
|
15589
15535
|
};
|
|
15590
15536
|
|
|
@@ -15601,14 +15547,10 @@
|
|
|
15601
15547
|
if (!options)
|
|
15602
15548
|
options = {};
|
|
15603
15549
|
var object = {};
|
|
15604
|
-
if (options.defaults)
|
|
15550
|
+
if (options.defaults)
|
|
15605
15551
|
object.common = null;
|
|
15606
|
-
object.experimentalFeatures = null;
|
|
15607
|
-
}
|
|
15608
15552
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
15609
15553
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
15610
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
|
15611
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
|
15612
15554
|
return object;
|
|
15613
15555
|
};
|
|
15614
15556
|
|
|
@@ -15638,258 +15580,6 @@
|
|
|
15638
15580
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
|
15639
15581
|
};
|
|
15640
15582
|
|
|
15641
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
|
15642
|
-
|
|
15643
|
-
/**
|
|
15644
|
-
* Properties of an ExperimentalFeatures.
|
|
15645
|
-
* @memberof google.api.PythonSettings
|
|
15646
|
-
* @interface IExperimentalFeatures
|
|
15647
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
|
15648
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
|
15649
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
|
15650
|
-
*/
|
|
15651
|
-
|
|
15652
|
-
/**
|
|
15653
|
-
* Constructs a new ExperimentalFeatures.
|
|
15654
|
-
* @memberof google.api.PythonSettings
|
|
15655
|
-
* @classdesc Represents an ExperimentalFeatures.
|
|
15656
|
-
* @implements IExperimentalFeatures
|
|
15657
|
-
* @constructor
|
|
15658
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
15659
|
-
*/
|
|
15660
|
-
function ExperimentalFeatures(properties) {
|
|
15661
|
-
if (properties)
|
|
15662
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
15663
|
-
if (properties[keys[i]] != null)
|
|
15664
|
-
this[keys[i]] = properties[keys[i]];
|
|
15665
|
-
}
|
|
15666
|
-
|
|
15667
|
-
/**
|
|
15668
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
|
15669
|
-
* @member {boolean} restAsyncIoEnabled
|
|
15670
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15671
|
-
* @instance
|
|
15672
|
-
*/
|
|
15673
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
|
15674
|
-
|
|
15675
|
-
/**
|
|
15676
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
|
15677
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
|
15678
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15679
|
-
* @instance
|
|
15680
|
-
*/
|
|
15681
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
|
15682
|
-
|
|
15683
|
-
/**
|
|
15684
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
|
15685
|
-
* @member {boolean} unversionedPackageDisabled
|
|
15686
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15687
|
-
* @instance
|
|
15688
|
-
*/
|
|
15689
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
|
15690
|
-
|
|
15691
|
-
/**
|
|
15692
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
15693
|
-
* @function create
|
|
15694
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15695
|
-
* @static
|
|
15696
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
15697
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
|
15698
|
-
*/
|
|
15699
|
-
ExperimentalFeatures.create = function create(properties) {
|
|
15700
|
-
return new ExperimentalFeatures(properties);
|
|
15701
|
-
};
|
|
15702
|
-
|
|
15703
|
-
/**
|
|
15704
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
15705
|
-
* @function encode
|
|
15706
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15707
|
-
* @static
|
|
15708
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
15709
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15710
|
-
* @returns {$protobuf.Writer} Writer
|
|
15711
|
-
*/
|
|
15712
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
|
15713
|
-
if (!writer)
|
|
15714
|
-
writer = $Writer.create();
|
|
15715
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
|
15716
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
|
15717
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
|
15718
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
|
15719
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
|
15720
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
|
15721
|
-
return writer;
|
|
15722
|
-
};
|
|
15723
|
-
|
|
15724
|
-
/**
|
|
15725
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
15726
|
-
* @function encodeDelimited
|
|
15727
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15728
|
-
* @static
|
|
15729
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
15730
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
15731
|
-
* @returns {$protobuf.Writer} Writer
|
|
15732
|
-
*/
|
|
15733
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
|
15734
|
-
return this.encode(message, writer).ldelim();
|
|
15735
|
-
};
|
|
15736
|
-
|
|
15737
|
-
/**
|
|
15738
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
15739
|
-
* @function decode
|
|
15740
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15741
|
-
* @static
|
|
15742
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15743
|
-
* @param {number} [length] Message length if known beforehand
|
|
15744
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15745
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15746
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15747
|
-
*/
|
|
15748
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
|
15749
|
-
if (!(reader instanceof $Reader))
|
|
15750
|
-
reader = $Reader.create(reader);
|
|
15751
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
15752
|
-
while (reader.pos < end) {
|
|
15753
|
-
var tag = reader.uint32();
|
|
15754
|
-
if (tag === error)
|
|
15755
|
-
break;
|
|
15756
|
-
switch (tag >>> 3) {
|
|
15757
|
-
case 1: {
|
|
15758
|
-
message.restAsyncIoEnabled = reader.bool();
|
|
15759
|
-
break;
|
|
15760
|
-
}
|
|
15761
|
-
case 2: {
|
|
15762
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
|
15763
|
-
break;
|
|
15764
|
-
}
|
|
15765
|
-
case 3: {
|
|
15766
|
-
message.unversionedPackageDisabled = reader.bool();
|
|
15767
|
-
break;
|
|
15768
|
-
}
|
|
15769
|
-
default:
|
|
15770
|
-
reader.skipType(tag & 7);
|
|
15771
|
-
break;
|
|
15772
|
-
}
|
|
15773
|
-
}
|
|
15774
|
-
return message;
|
|
15775
|
-
};
|
|
15776
|
-
|
|
15777
|
-
/**
|
|
15778
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
15779
|
-
* @function decodeDelimited
|
|
15780
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15781
|
-
* @static
|
|
15782
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
15783
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15784
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
15785
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
15786
|
-
*/
|
|
15787
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
|
15788
|
-
if (!(reader instanceof $Reader))
|
|
15789
|
-
reader = new $Reader(reader);
|
|
15790
|
-
return this.decode(reader, reader.uint32());
|
|
15791
|
-
};
|
|
15792
|
-
|
|
15793
|
-
/**
|
|
15794
|
-
* Verifies an ExperimentalFeatures message.
|
|
15795
|
-
* @function verify
|
|
15796
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15797
|
-
* @static
|
|
15798
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
15799
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
15800
|
-
*/
|
|
15801
|
-
ExperimentalFeatures.verify = function verify(message) {
|
|
15802
|
-
if (typeof message !== "object" || message === null)
|
|
15803
|
-
return "object expected";
|
|
15804
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
15805
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
|
15806
|
-
return "restAsyncIoEnabled: boolean expected";
|
|
15807
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
15808
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
|
15809
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
|
15810
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
15811
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
|
15812
|
-
return "unversionedPackageDisabled: boolean expected";
|
|
15813
|
-
return null;
|
|
15814
|
-
};
|
|
15815
|
-
|
|
15816
|
-
/**
|
|
15817
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
15818
|
-
* @function fromObject
|
|
15819
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15820
|
-
* @static
|
|
15821
|
-
* @param {Object.<string,*>} object Plain object
|
|
15822
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
15823
|
-
*/
|
|
15824
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
|
15825
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
|
15826
|
-
return object;
|
|
15827
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
15828
|
-
if (object.restAsyncIoEnabled != null)
|
|
15829
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
|
15830
|
-
if (object.protobufPythonicTypesEnabled != null)
|
|
15831
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
|
15832
|
-
if (object.unversionedPackageDisabled != null)
|
|
15833
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
|
15834
|
-
return message;
|
|
15835
|
-
};
|
|
15836
|
-
|
|
15837
|
-
/**
|
|
15838
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
15839
|
-
* @function toObject
|
|
15840
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15841
|
-
* @static
|
|
15842
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
|
15843
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15844
|
-
* @returns {Object.<string,*>} Plain object
|
|
15845
|
-
*/
|
|
15846
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
|
15847
|
-
if (!options)
|
|
15848
|
-
options = {};
|
|
15849
|
-
var object = {};
|
|
15850
|
-
if (options.defaults) {
|
|
15851
|
-
object.restAsyncIoEnabled = false;
|
|
15852
|
-
object.protobufPythonicTypesEnabled = false;
|
|
15853
|
-
object.unversionedPackageDisabled = false;
|
|
15854
|
-
}
|
|
15855
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
15856
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
|
15857
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
15858
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
|
15859
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
15860
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
|
15861
|
-
return object;
|
|
15862
|
-
};
|
|
15863
|
-
|
|
15864
|
-
/**
|
|
15865
|
-
* Converts this ExperimentalFeatures to JSON.
|
|
15866
|
-
* @function toJSON
|
|
15867
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15868
|
-
* @instance
|
|
15869
|
-
* @returns {Object.<string,*>} JSON object
|
|
15870
|
-
*/
|
|
15871
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
|
15872
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15873
|
-
};
|
|
15874
|
-
|
|
15875
|
-
/**
|
|
15876
|
-
* Gets the default type url for ExperimentalFeatures
|
|
15877
|
-
* @function getTypeUrl
|
|
15878
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
15879
|
-
* @static
|
|
15880
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15881
|
-
* @returns {string} The default type url
|
|
15882
|
-
*/
|
|
15883
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15884
|
-
if (typeUrlPrefix === undefined) {
|
|
15885
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
15886
|
-
}
|
|
15887
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
|
15888
|
-
};
|
|
15889
|
-
|
|
15890
|
-
return ExperimentalFeatures;
|
|
15891
|
-
})();
|
|
15892
|
-
|
|
15893
15583
|
return PythonSettings;
|
|
15894
15584
|
})();
|
|
15895
15585
|
|
|
@@ -16766,7 +16456,6 @@
|
|
|
16766
16456
|
* @memberof google.api
|
|
16767
16457
|
* @interface IGoSettings
|
|
16768
16458
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
|
16769
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
|
16770
16459
|
*/
|
|
16771
16460
|
|
|
16772
16461
|
/**
|
|
@@ -16778,7 +16467,6 @@
|
|
|
16778
16467
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
|
16779
16468
|
*/
|
|
16780
16469
|
function GoSettings(properties) {
|
|
16781
|
-
this.renamedServices = {};
|
|
16782
16470
|
if (properties)
|
|
16783
16471
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
16784
16472
|
if (properties[keys[i]] != null)
|
|
@@ -16793,14 +16481,6 @@
|
|
|
16793
16481
|
*/
|
|
16794
16482
|
GoSettings.prototype.common = null;
|
|
16795
16483
|
|
|
16796
|
-
/**
|
|
16797
|
-
* GoSettings renamedServices.
|
|
16798
|
-
* @member {Object.<string,string>} renamedServices
|
|
16799
|
-
* @memberof google.api.GoSettings
|
|
16800
|
-
* @instance
|
|
16801
|
-
*/
|
|
16802
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
|
16803
|
-
|
|
16804
16484
|
/**
|
|
16805
16485
|
* Creates a new GoSettings instance using the specified properties.
|
|
16806
16486
|
* @function create
|
|
@@ -16827,9 +16507,6 @@
|
|
|
16827
16507
|
writer = $Writer.create();
|
|
16828
16508
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
16829
16509
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
16830
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
16831
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
16832
|
-
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();
|
|
16833
16510
|
return writer;
|
|
16834
16511
|
};
|
|
16835
16512
|
|
|
@@ -16860,7 +16537,7 @@
|
|
|
16860
16537
|
GoSettings.decode = function decode(reader, length, error) {
|
|
16861
16538
|
if (!(reader instanceof $Reader))
|
|
16862
16539
|
reader = $Reader.create(reader);
|
|
16863
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
|
16540
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
|
16864
16541
|
while (reader.pos < end) {
|
|
16865
16542
|
var tag = reader.uint32();
|
|
16866
16543
|
if (tag === error)
|
|
@@ -16870,29 +16547,6 @@
|
|
|
16870
16547
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
16871
16548
|
break;
|
|
16872
16549
|
}
|
|
16873
|
-
case 2: {
|
|
16874
|
-
if (message.renamedServices === $util.emptyObject)
|
|
16875
|
-
message.renamedServices = {};
|
|
16876
|
-
var end2 = reader.uint32() + reader.pos;
|
|
16877
|
-
key = "";
|
|
16878
|
-
value = "";
|
|
16879
|
-
while (reader.pos < end2) {
|
|
16880
|
-
var tag2 = reader.uint32();
|
|
16881
|
-
switch (tag2 >>> 3) {
|
|
16882
|
-
case 1:
|
|
16883
|
-
key = reader.string();
|
|
16884
|
-
break;
|
|
16885
|
-
case 2:
|
|
16886
|
-
value = reader.string();
|
|
16887
|
-
break;
|
|
16888
|
-
default:
|
|
16889
|
-
reader.skipType(tag2 & 7);
|
|
16890
|
-
break;
|
|
16891
|
-
}
|
|
16892
|
-
}
|
|
16893
|
-
message.renamedServices[key] = value;
|
|
16894
|
-
break;
|
|
16895
|
-
}
|
|
16896
16550
|
default:
|
|
16897
16551
|
reader.skipType(tag & 7);
|
|
16898
16552
|
break;
|
|
@@ -16933,14 +16587,6 @@
|
|
|
16933
16587
|
if (error)
|
|
16934
16588
|
return "common." + error;
|
|
16935
16589
|
}
|
|
16936
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
16937
|
-
if (!$util.isObject(message.renamedServices))
|
|
16938
|
-
return "renamedServices: object expected";
|
|
16939
|
-
var key = Object.keys(message.renamedServices);
|
|
16940
|
-
for (var i = 0; i < key.length; ++i)
|
|
16941
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
16942
|
-
return "renamedServices: string{k:string} expected";
|
|
16943
|
-
}
|
|
16944
16590
|
return null;
|
|
16945
16591
|
};
|
|
16946
16592
|
|
|
@@ -16961,13 +16607,6 @@
|
|
|
16961
16607
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
|
16962
16608
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
16963
16609
|
}
|
|
16964
|
-
if (object.renamedServices) {
|
|
16965
|
-
if (typeof object.renamedServices !== "object")
|
|
16966
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
|
16967
|
-
message.renamedServices = {};
|
|
16968
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
16969
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
16970
|
-
}
|
|
16971
16610
|
return message;
|
|
16972
16611
|
};
|
|
16973
16612
|
|
|
@@ -16984,18 +16623,10 @@
|
|
|
16984
16623
|
if (!options)
|
|
16985
16624
|
options = {};
|
|
16986
16625
|
var object = {};
|
|
16987
|
-
if (options.objects || options.defaults)
|
|
16988
|
-
object.renamedServices = {};
|
|
16989
16626
|
if (options.defaults)
|
|
16990
16627
|
object.common = null;
|
|
16991
16628
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
16992
16629
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
16993
|
-
var keys2;
|
|
16994
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
16995
|
-
object.renamedServices = {};
|
|
16996
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
16997
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
16998
|
-
}
|
|
16999
16630
|
return object;
|
|
17000
16631
|
};
|
|
17001
16632
|
|
|
@@ -17634,251 +17265,6 @@
|
|
|
17634
17265
|
return values;
|
|
17635
17266
|
})();
|
|
17636
17267
|
|
|
17637
|
-
api.SelectiveGapicGeneration = (function() {
|
|
17638
|
-
|
|
17639
|
-
/**
|
|
17640
|
-
* Properties of a SelectiveGapicGeneration.
|
|
17641
|
-
* @memberof google.api
|
|
17642
|
-
* @interface ISelectiveGapicGeneration
|
|
17643
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
|
17644
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
|
17645
|
-
*/
|
|
17646
|
-
|
|
17647
|
-
/**
|
|
17648
|
-
* Constructs a new SelectiveGapicGeneration.
|
|
17649
|
-
* @memberof google.api
|
|
17650
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
|
17651
|
-
* @implements ISelectiveGapicGeneration
|
|
17652
|
-
* @constructor
|
|
17653
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
17654
|
-
*/
|
|
17655
|
-
function SelectiveGapicGeneration(properties) {
|
|
17656
|
-
this.methods = [];
|
|
17657
|
-
if (properties)
|
|
17658
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
17659
|
-
if (properties[keys[i]] != null)
|
|
17660
|
-
this[keys[i]] = properties[keys[i]];
|
|
17661
|
-
}
|
|
17662
|
-
|
|
17663
|
-
/**
|
|
17664
|
-
* SelectiveGapicGeneration methods.
|
|
17665
|
-
* @member {Array.<string>} methods
|
|
17666
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17667
|
-
* @instance
|
|
17668
|
-
*/
|
|
17669
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
|
17670
|
-
|
|
17671
|
-
/**
|
|
17672
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
|
17673
|
-
* @member {boolean} generateOmittedAsInternal
|
|
17674
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17675
|
-
* @instance
|
|
17676
|
-
*/
|
|
17677
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
|
17678
|
-
|
|
17679
|
-
/**
|
|
17680
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
17681
|
-
* @function create
|
|
17682
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17683
|
-
* @static
|
|
17684
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
17685
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
|
17686
|
-
*/
|
|
17687
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
|
17688
|
-
return new SelectiveGapicGeneration(properties);
|
|
17689
|
-
};
|
|
17690
|
-
|
|
17691
|
-
/**
|
|
17692
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
17693
|
-
* @function encode
|
|
17694
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17695
|
-
* @static
|
|
17696
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
17697
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17698
|
-
* @returns {$protobuf.Writer} Writer
|
|
17699
|
-
*/
|
|
17700
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
|
17701
|
-
if (!writer)
|
|
17702
|
-
writer = $Writer.create();
|
|
17703
|
-
if (message.methods != null && message.methods.length)
|
|
17704
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
17705
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
|
17706
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
|
17707
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
|
17708
|
-
return writer;
|
|
17709
|
-
};
|
|
17710
|
-
|
|
17711
|
-
/**
|
|
17712
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
17713
|
-
* @function encodeDelimited
|
|
17714
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17715
|
-
* @static
|
|
17716
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
17717
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
17718
|
-
* @returns {$protobuf.Writer} Writer
|
|
17719
|
-
*/
|
|
17720
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
17721
|
-
return this.encode(message, writer).ldelim();
|
|
17722
|
-
};
|
|
17723
|
-
|
|
17724
|
-
/**
|
|
17725
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
17726
|
-
* @function decode
|
|
17727
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17728
|
-
* @static
|
|
17729
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17730
|
-
* @param {number} [length] Message length if known beforehand
|
|
17731
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17732
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17733
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17734
|
-
*/
|
|
17735
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
|
17736
|
-
if (!(reader instanceof $Reader))
|
|
17737
|
-
reader = $Reader.create(reader);
|
|
17738
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
|
17739
|
-
while (reader.pos < end) {
|
|
17740
|
-
var tag = reader.uint32();
|
|
17741
|
-
if (tag === error)
|
|
17742
|
-
break;
|
|
17743
|
-
switch (tag >>> 3) {
|
|
17744
|
-
case 1: {
|
|
17745
|
-
if (!(message.methods && message.methods.length))
|
|
17746
|
-
message.methods = [];
|
|
17747
|
-
message.methods.push(reader.string());
|
|
17748
|
-
break;
|
|
17749
|
-
}
|
|
17750
|
-
case 2: {
|
|
17751
|
-
message.generateOmittedAsInternal = reader.bool();
|
|
17752
|
-
break;
|
|
17753
|
-
}
|
|
17754
|
-
default:
|
|
17755
|
-
reader.skipType(tag & 7);
|
|
17756
|
-
break;
|
|
17757
|
-
}
|
|
17758
|
-
}
|
|
17759
|
-
return message;
|
|
17760
|
-
};
|
|
17761
|
-
|
|
17762
|
-
/**
|
|
17763
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
17764
|
-
* @function decodeDelimited
|
|
17765
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17766
|
-
* @static
|
|
17767
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
17768
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17769
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
17770
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
17771
|
-
*/
|
|
17772
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
|
17773
|
-
if (!(reader instanceof $Reader))
|
|
17774
|
-
reader = new $Reader(reader);
|
|
17775
|
-
return this.decode(reader, reader.uint32());
|
|
17776
|
-
};
|
|
17777
|
-
|
|
17778
|
-
/**
|
|
17779
|
-
* Verifies a SelectiveGapicGeneration message.
|
|
17780
|
-
* @function verify
|
|
17781
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17782
|
-
* @static
|
|
17783
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
17784
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
17785
|
-
*/
|
|
17786
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
|
17787
|
-
if (typeof message !== "object" || message === null)
|
|
17788
|
-
return "object expected";
|
|
17789
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
|
17790
|
-
if (!Array.isArray(message.methods))
|
|
17791
|
-
return "methods: array expected";
|
|
17792
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
17793
|
-
if (!$util.isString(message.methods[i]))
|
|
17794
|
-
return "methods: string[] expected";
|
|
17795
|
-
}
|
|
17796
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
17797
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
|
17798
|
-
return "generateOmittedAsInternal: boolean expected";
|
|
17799
|
-
return null;
|
|
17800
|
-
};
|
|
17801
|
-
|
|
17802
|
-
/**
|
|
17803
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
17804
|
-
* @function fromObject
|
|
17805
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17806
|
-
* @static
|
|
17807
|
-
* @param {Object.<string,*>} object Plain object
|
|
17808
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
17809
|
-
*/
|
|
17810
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
|
17811
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
|
17812
|
-
return object;
|
|
17813
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
|
17814
|
-
if (object.methods) {
|
|
17815
|
-
if (!Array.isArray(object.methods))
|
|
17816
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
|
17817
|
-
message.methods = [];
|
|
17818
|
-
for (var i = 0; i < object.methods.length; ++i)
|
|
17819
|
-
message.methods[i] = String(object.methods[i]);
|
|
17820
|
-
}
|
|
17821
|
-
if (object.generateOmittedAsInternal != null)
|
|
17822
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
|
17823
|
-
return message;
|
|
17824
|
-
};
|
|
17825
|
-
|
|
17826
|
-
/**
|
|
17827
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
17828
|
-
* @function toObject
|
|
17829
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17830
|
-
* @static
|
|
17831
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
|
17832
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
17833
|
-
* @returns {Object.<string,*>} Plain object
|
|
17834
|
-
*/
|
|
17835
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
|
17836
|
-
if (!options)
|
|
17837
|
-
options = {};
|
|
17838
|
-
var object = {};
|
|
17839
|
-
if (options.arrays || options.defaults)
|
|
17840
|
-
object.methods = [];
|
|
17841
|
-
if (options.defaults)
|
|
17842
|
-
object.generateOmittedAsInternal = false;
|
|
17843
|
-
if (message.methods && message.methods.length) {
|
|
17844
|
-
object.methods = [];
|
|
17845
|
-
for (var j = 0; j < message.methods.length; ++j)
|
|
17846
|
-
object.methods[j] = message.methods[j];
|
|
17847
|
-
}
|
|
17848
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
17849
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
|
17850
|
-
return object;
|
|
17851
|
-
};
|
|
17852
|
-
|
|
17853
|
-
/**
|
|
17854
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
|
17855
|
-
* @function toJSON
|
|
17856
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17857
|
-
* @instance
|
|
17858
|
-
* @returns {Object.<string,*>} JSON object
|
|
17859
|
-
*/
|
|
17860
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
|
17861
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
17862
|
-
};
|
|
17863
|
-
|
|
17864
|
-
/**
|
|
17865
|
-
* Gets the default type url for SelectiveGapicGeneration
|
|
17866
|
-
* @function getTypeUrl
|
|
17867
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
17868
|
-
* @static
|
|
17869
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
17870
|
-
* @returns {string} The default type url
|
|
17871
|
-
*/
|
|
17872
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
17873
|
-
if (typeUrlPrefix === undefined) {
|
|
17874
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
17875
|
-
}
|
|
17876
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
|
17877
|
-
};
|
|
17878
|
-
|
|
17879
|
-
return SelectiveGapicGeneration;
|
|
17880
|
-
})();
|
|
17881
|
-
|
|
17882
17268
|
/**
|
|
17883
17269
|
* LaunchStage enum.
|
|
17884
17270
|
* @name google.api.LaunchStage
|
|
@@ -18628,7 +18014,6 @@
|
|
|
18628
18014
|
* @memberof google.api
|
|
18629
18015
|
* @interface IFieldInfo
|
|
18630
18016
|
* @property {google.api.FieldInfo.Format|null} [format] FieldInfo format
|
|
18631
|
-
* @property {Array.<google.api.ITypeReference>|null} [referencedTypes] FieldInfo referencedTypes
|
|
18632
18017
|
*/
|
|
18633
18018
|
|
|
18634
18019
|
/**
|
|
@@ -18640,7 +18025,6 @@
|
|
|
18640
18025
|
* @param {google.api.IFieldInfo=} [properties] Properties to set
|
|
18641
18026
|
*/
|
|
18642
18027
|
function FieldInfo(properties) {
|
|
18643
|
-
this.referencedTypes = [];
|
|
18644
18028
|
if (properties)
|
|
18645
18029
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
18646
18030
|
if (properties[keys[i]] != null)
|
|
@@ -18655,14 +18039,6 @@
|
|
|
18655
18039
|
*/
|
|
18656
18040
|
FieldInfo.prototype.format = 0;
|
|
18657
18041
|
|
|
18658
|
-
/**
|
|
18659
|
-
* FieldInfo referencedTypes.
|
|
18660
|
-
* @member {Array.<google.api.ITypeReference>} referencedTypes
|
|
18661
|
-
* @memberof google.api.FieldInfo
|
|
18662
|
-
* @instance
|
|
18663
|
-
*/
|
|
18664
|
-
FieldInfo.prototype.referencedTypes = $util.emptyArray;
|
|
18665
|
-
|
|
18666
18042
|
/**
|
|
18667
18043
|
* Creates a new FieldInfo instance using the specified properties.
|
|
18668
18044
|
* @function create
|
|
@@ -18689,9 +18065,6 @@
|
|
|
18689
18065
|
writer = $Writer.create();
|
|
18690
18066
|
if (message.format != null && Object.hasOwnProperty.call(message, "format"))
|
|
18691
18067
|
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.format);
|
|
18692
|
-
if (message.referencedTypes != null && message.referencedTypes.length)
|
|
18693
|
-
for (var i = 0; i < message.referencedTypes.length; ++i)
|
|
18694
|
-
$root.google.api.TypeReference.encode(message.referencedTypes[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
18695
18068
|
return writer;
|
|
18696
18069
|
};
|
|
18697
18070
|
|
|
@@ -18732,12 +18105,6 @@
|
|
|
18732
18105
|
message.format = reader.int32();
|
|
18733
18106
|
break;
|
|
18734
18107
|
}
|
|
18735
|
-
case 2: {
|
|
18736
|
-
if (!(message.referencedTypes && message.referencedTypes.length))
|
|
18737
|
-
message.referencedTypes = [];
|
|
18738
|
-
message.referencedTypes.push($root.google.api.TypeReference.decode(reader, reader.uint32()));
|
|
18739
|
-
break;
|
|
18740
|
-
}
|
|
18741
18108
|
default:
|
|
18742
18109
|
reader.skipType(tag & 7);
|
|
18743
18110
|
break;
|
|
@@ -18784,15 +18151,6 @@
|
|
|
18784
18151
|
case 4:
|
|
18785
18152
|
break;
|
|
18786
18153
|
}
|
|
18787
|
-
if (message.referencedTypes != null && message.hasOwnProperty("referencedTypes")) {
|
|
18788
|
-
if (!Array.isArray(message.referencedTypes))
|
|
18789
|
-
return "referencedTypes: array expected";
|
|
18790
|
-
for (var i = 0; i < message.referencedTypes.length; ++i) {
|
|
18791
|
-
var error = $root.google.api.TypeReference.verify(message.referencedTypes[i]);
|
|
18792
|
-
if (error)
|
|
18793
|
-
return "referencedTypes." + error;
|
|
18794
|
-
}
|
|
18795
|
-
}
|
|
18796
18154
|
return null;
|
|
18797
18155
|
};
|
|
18798
18156
|
|
|
@@ -18836,16 +18194,6 @@
|
|
|
18836
18194
|
message.format = 4;
|
|
18837
18195
|
break;
|
|
18838
18196
|
}
|
|
18839
|
-
if (object.referencedTypes) {
|
|
18840
|
-
if (!Array.isArray(object.referencedTypes))
|
|
18841
|
-
throw TypeError(".google.api.FieldInfo.referencedTypes: array expected");
|
|
18842
|
-
message.referencedTypes = [];
|
|
18843
|
-
for (var i = 0; i < object.referencedTypes.length; ++i) {
|
|
18844
|
-
if (typeof object.referencedTypes[i] !== "object")
|
|
18845
|
-
throw TypeError(".google.api.FieldInfo.referencedTypes: object expected");
|
|
18846
|
-
message.referencedTypes[i] = $root.google.api.TypeReference.fromObject(object.referencedTypes[i]);
|
|
18847
|
-
}
|
|
18848
|
-
}
|
|
18849
18197
|
return message;
|
|
18850
18198
|
};
|
|
18851
18199
|
|
|
@@ -18862,17 +18210,10 @@
|
|
|
18862
18210
|
if (!options)
|
|
18863
18211
|
options = {};
|
|
18864
18212
|
var object = {};
|
|
18865
|
-
if (options.arrays || options.defaults)
|
|
18866
|
-
object.referencedTypes = [];
|
|
18867
18213
|
if (options.defaults)
|
|
18868
18214
|
object.format = options.enums === String ? "FORMAT_UNSPECIFIED" : 0;
|
|
18869
18215
|
if (message.format != null && message.hasOwnProperty("format"))
|
|
18870
18216
|
object.format = options.enums === String ? $root.google.api.FieldInfo.Format[message.format] === undefined ? message.format : $root.google.api.FieldInfo.Format[message.format] : message.format;
|
|
18871
|
-
if (message.referencedTypes && message.referencedTypes.length) {
|
|
18872
|
-
object.referencedTypes = [];
|
|
18873
|
-
for (var j = 0; j < message.referencedTypes.length; ++j)
|
|
18874
|
-
object.referencedTypes[j] = $root.google.api.TypeReference.toObject(message.referencedTypes[j], options);
|
|
18875
|
-
}
|
|
18876
18217
|
return object;
|
|
18877
18218
|
};
|
|
18878
18219
|
|
|
@@ -18925,24 +18266,37 @@
|
|
|
18925
18266
|
return FieldInfo;
|
|
18926
18267
|
})();
|
|
18927
18268
|
|
|
18928
|
-
api
|
|
18269
|
+
return api;
|
|
18270
|
+
})();
|
|
18271
|
+
|
|
18272
|
+
google.protobuf = (function() {
|
|
18273
|
+
|
|
18274
|
+
/**
|
|
18275
|
+
* Namespace protobuf.
|
|
18276
|
+
* @memberof google
|
|
18277
|
+
* @namespace
|
|
18278
|
+
*/
|
|
18279
|
+
var protobuf = {};
|
|
18280
|
+
|
|
18281
|
+
protobuf.FileDescriptorSet = (function() {
|
|
18929
18282
|
|
|
18930
18283
|
/**
|
|
18931
|
-
* Properties of a
|
|
18932
|
-
* @memberof google.
|
|
18933
|
-
* @interface
|
|
18934
|
-
* @property {
|
|
18284
|
+
* Properties of a FileDescriptorSet.
|
|
18285
|
+
* @memberof google.protobuf
|
|
18286
|
+
* @interface IFileDescriptorSet
|
|
18287
|
+
* @property {Array.<google.protobuf.IFileDescriptorProto>|null} [file] FileDescriptorSet file
|
|
18935
18288
|
*/
|
|
18936
18289
|
|
|
18937
18290
|
/**
|
|
18938
|
-
* Constructs a new
|
|
18939
|
-
* @memberof google.
|
|
18940
|
-
* @classdesc Represents a
|
|
18941
|
-
* @implements
|
|
18291
|
+
* Constructs a new FileDescriptorSet.
|
|
18292
|
+
* @memberof google.protobuf
|
|
18293
|
+
* @classdesc Represents a FileDescriptorSet.
|
|
18294
|
+
* @implements IFileDescriptorSet
|
|
18942
18295
|
* @constructor
|
|
18943
|
-
* @param {google.
|
|
18296
|
+
* @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
|
|
18944
18297
|
*/
|
|
18945
|
-
function
|
|
18298
|
+
function FileDescriptorSet(properties) {
|
|
18299
|
+
this.file = [];
|
|
18946
18300
|
if (properties)
|
|
18947
18301
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
18948
18302
|
if (properties[keys[i]] != null)
|
|
@@ -18950,77 +18304,80 @@
|
|
|
18950
18304
|
}
|
|
18951
18305
|
|
|
18952
18306
|
/**
|
|
18953
|
-
*
|
|
18954
|
-
* @member {
|
|
18955
|
-
* @memberof google.
|
|
18307
|
+
* FileDescriptorSet file.
|
|
18308
|
+
* @member {Array.<google.protobuf.IFileDescriptorProto>} file
|
|
18309
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
18956
18310
|
* @instance
|
|
18957
18311
|
*/
|
|
18958
|
-
|
|
18312
|
+
FileDescriptorSet.prototype.file = $util.emptyArray;
|
|
18959
18313
|
|
|
18960
18314
|
/**
|
|
18961
|
-
* Creates a new
|
|
18315
|
+
* Creates a new FileDescriptorSet instance using the specified properties.
|
|
18962
18316
|
* @function create
|
|
18963
|
-
* @memberof google.
|
|
18317
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
18964
18318
|
* @static
|
|
18965
|
-
* @param {google.
|
|
18966
|
-
* @returns {google.
|
|
18319
|
+
* @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
|
|
18320
|
+
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet instance
|
|
18967
18321
|
*/
|
|
18968
|
-
|
|
18969
|
-
return new
|
|
18322
|
+
FileDescriptorSet.create = function create(properties) {
|
|
18323
|
+
return new FileDescriptorSet(properties);
|
|
18970
18324
|
};
|
|
18971
18325
|
|
|
18972
18326
|
/**
|
|
18973
|
-
* Encodes the specified
|
|
18327
|
+
* Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
18974
18328
|
* @function encode
|
|
18975
|
-
* @memberof google.
|
|
18329
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
18976
18330
|
* @static
|
|
18977
|
-
* @param {google.
|
|
18331
|
+
* @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
|
|
18978
18332
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
18979
18333
|
* @returns {$protobuf.Writer} Writer
|
|
18980
18334
|
*/
|
|
18981
|
-
|
|
18335
|
+
FileDescriptorSet.encode = function encode(message, writer) {
|
|
18982
18336
|
if (!writer)
|
|
18983
18337
|
writer = $Writer.create();
|
|
18984
|
-
if (message.
|
|
18985
|
-
|
|
18338
|
+
if (message.file != null && message.file.length)
|
|
18339
|
+
for (var i = 0; i < message.file.length; ++i)
|
|
18340
|
+
$root.google.protobuf.FileDescriptorProto.encode(message.file[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
18986
18341
|
return writer;
|
|
18987
18342
|
};
|
|
18988
18343
|
|
|
18989
18344
|
/**
|
|
18990
|
-
* Encodes the specified
|
|
18345
|
+
* Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
18991
18346
|
* @function encodeDelimited
|
|
18992
|
-
* @memberof google.
|
|
18347
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
18993
18348
|
* @static
|
|
18994
|
-
* @param {google.
|
|
18349
|
+
* @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
|
|
18995
18350
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
18996
18351
|
* @returns {$protobuf.Writer} Writer
|
|
18997
18352
|
*/
|
|
18998
|
-
|
|
18353
|
+
FileDescriptorSet.encodeDelimited = function encodeDelimited(message, writer) {
|
|
18999
18354
|
return this.encode(message, writer).ldelim();
|
|
19000
18355
|
};
|
|
19001
18356
|
|
|
19002
18357
|
/**
|
|
19003
|
-
* Decodes a
|
|
18358
|
+
* Decodes a FileDescriptorSet message from the specified reader or buffer.
|
|
19004
18359
|
* @function decode
|
|
19005
|
-
* @memberof google.
|
|
18360
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19006
18361
|
* @static
|
|
19007
18362
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19008
18363
|
* @param {number} [length] Message length if known beforehand
|
|
19009
|
-
* @returns {google.
|
|
18364
|
+
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19010
18365
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19011
18366
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19012
18367
|
*/
|
|
19013
|
-
|
|
18368
|
+
FileDescriptorSet.decode = function decode(reader, length, error) {
|
|
19014
18369
|
if (!(reader instanceof $Reader))
|
|
19015
18370
|
reader = $Reader.create(reader);
|
|
19016
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.
|
|
18371
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FileDescriptorSet();
|
|
19017
18372
|
while (reader.pos < end) {
|
|
19018
18373
|
var tag = reader.uint32();
|
|
19019
18374
|
if (tag === error)
|
|
19020
18375
|
break;
|
|
19021
18376
|
switch (tag >>> 3) {
|
|
19022
18377
|
case 1: {
|
|
19023
|
-
message.
|
|
18378
|
+
if (!(message.file && message.file.length))
|
|
18379
|
+
message.file = [];
|
|
18380
|
+
message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32()));
|
|
19024
18381
|
break;
|
|
19025
18382
|
}
|
|
19026
18383
|
default:
|
|
@@ -19032,340 +18389,119 @@
|
|
|
19032
18389
|
};
|
|
19033
18390
|
|
|
19034
18391
|
/**
|
|
19035
|
-
* Decodes a
|
|
18392
|
+
* Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
|
19036
18393
|
* @function decodeDelimited
|
|
19037
|
-
* @memberof google.
|
|
18394
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19038
18395
|
* @static
|
|
19039
18396
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19040
|
-
* @returns {google.
|
|
18397
|
+
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19041
18398
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19042
18399
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19043
18400
|
*/
|
|
19044
|
-
|
|
18401
|
+
FileDescriptorSet.decodeDelimited = function decodeDelimited(reader) {
|
|
19045
18402
|
if (!(reader instanceof $Reader))
|
|
19046
18403
|
reader = new $Reader(reader);
|
|
19047
18404
|
return this.decode(reader, reader.uint32());
|
|
19048
18405
|
};
|
|
19049
18406
|
|
|
19050
18407
|
/**
|
|
19051
|
-
* Verifies a
|
|
18408
|
+
* Verifies a FileDescriptorSet message.
|
|
19052
18409
|
* @function verify
|
|
19053
|
-
* @memberof google.
|
|
18410
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19054
18411
|
* @static
|
|
19055
18412
|
* @param {Object.<string,*>} message Plain object to verify
|
|
19056
18413
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19057
18414
|
*/
|
|
19058
|
-
|
|
18415
|
+
FileDescriptorSet.verify = function verify(message) {
|
|
19059
18416
|
if (typeof message !== "object" || message === null)
|
|
19060
18417
|
return "object expected";
|
|
19061
|
-
if (message.
|
|
19062
|
-
if (
|
|
19063
|
-
return "
|
|
18418
|
+
if (message.file != null && message.hasOwnProperty("file")) {
|
|
18419
|
+
if (!Array.isArray(message.file))
|
|
18420
|
+
return "file: array expected";
|
|
18421
|
+
for (var i = 0; i < message.file.length; ++i) {
|
|
18422
|
+
var error = $root.google.protobuf.FileDescriptorProto.verify(message.file[i]);
|
|
18423
|
+
if (error)
|
|
18424
|
+
return "file." + error;
|
|
18425
|
+
}
|
|
18426
|
+
}
|
|
19064
18427
|
return null;
|
|
19065
18428
|
};
|
|
19066
18429
|
|
|
19067
18430
|
/**
|
|
19068
|
-
* Creates a
|
|
18431
|
+
* Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
|
19069
18432
|
* @function fromObject
|
|
19070
|
-
* @memberof google.
|
|
18433
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19071
18434
|
* @static
|
|
19072
18435
|
* @param {Object.<string,*>} object Plain object
|
|
19073
|
-
* @returns {google.
|
|
18436
|
+
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19074
18437
|
*/
|
|
19075
|
-
|
|
19076
|
-
if (object instanceof $root.google.
|
|
18438
|
+
FileDescriptorSet.fromObject = function fromObject(object) {
|
|
18439
|
+
if (object instanceof $root.google.protobuf.FileDescriptorSet)
|
|
19077
18440
|
return object;
|
|
19078
|
-
var message = new $root.google.
|
|
19079
|
-
if (object.
|
|
19080
|
-
|
|
18441
|
+
var message = new $root.google.protobuf.FileDescriptorSet();
|
|
18442
|
+
if (object.file) {
|
|
18443
|
+
if (!Array.isArray(object.file))
|
|
18444
|
+
throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");
|
|
18445
|
+
message.file = [];
|
|
18446
|
+
for (var i = 0; i < object.file.length; ++i) {
|
|
18447
|
+
if (typeof object.file[i] !== "object")
|
|
18448
|
+
throw TypeError(".google.protobuf.FileDescriptorSet.file: object expected");
|
|
18449
|
+
message.file[i] = $root.google.protobuf.FileDescriptorProto.fromObject(object.file[i]);
|
|
18450
|
+
}
|
|
18451
|
+
}
|
|
19081
18452
|
return message;
|
|
19082
18453
|
};
|
|
19083
18454
|
|
|
19084
18455
|
/**
|
|
19085
|
-
* Creates a plain object from a
|
|
18456
|
+
* Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
|
19086
18457
|
* @function toObject
|
|
19087
|
-
* @memberof google.
|
|
18458
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19088
18459
|
* @static
|
|
19089
|
-
* @param {google.
|
|
18460
|
+
* @param {google.protobuf.FileDescriptorSet} message FileDescriptorSet
|
|
19090
18461
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19091
18462
|
* @returns {Object.<string,*>} Plain object
|
|
19092
18463
|
*/
|
|
19093
|
-
|
|
18464
|
+
FileDescriptorSet.toObject = function toObject(message, options) {
|
|
19094
18465
|
if (!options)
|
|
19095
18466
|
options = {};
|
|
19096
18467
|
var object = {};
|
|
19097
|
-
if (options.defaults)
|
|
19098
|
-
object.
|
|
19099
|
-
if (message.
|
|
19100
|
-
object.
|
|
18468
|
+
if (options.arrays || options.defaults)
|
|
18469
|
+
object.file = [];
|
|
18470
|
+
if (message.file && message.file.length) {
|
|
18471
|
+
object.file = [];
|
|
18472
|
+
for (var j = 0; j < message.file.length; ++j)
|
|
18473
|
+
object.file[j] = $root.google.protobuf.FileDescriptorProto.toObject(message.file[j], options);
|
|
18474
|
+
}
|
|
19101
18475
|
return object;
|
|
19102
18476
|
};
|
|
19103
18477
|
|
|
19104
18478
|
/**
|
|
19105
|
-
* Converts this
|
|
18479
|
+
* Converts this FileDescriptorSet to JSON.
|
|
19106
18480
|
* @function toJSON
|
|
19107
|
-
* @memberof google.
|
|
18481
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19108
18482
|
* @instance
|
|
19109
18483
|
* @returns {Object.<string,*>} JSON object
|
|
19110
18484
|
*/
|
|
19111
|
-
|
|
18485
|
+
FileDescriptorSet.prototype.toJSON = function toJSON() {
|
|
19112
18486
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
19113
18487
|
};
|
|
19114
18488
|
|
|
19115
18489
|
/**
|
|
19116
|
-
* Gets the default type url for
|
|
18490
|
+
* Gets the default type url for FileDescriptorSet
|
|
19117
18491
|
* @function getTypeUrl
|
|
19118
|
-
* @memberof google.
|
|
18492
|
+
* @memberof google.protobuf.FileDescriptorSet
|
|
19119
18493
|
* @static
|
|
19120
18494
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19121
18495
|
* @returns {string} The default type url
|
|
19122
18496
|
*/
|
|
19123
|
-
|
|
18497
|
+
FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19124
18498
|
if (typeUrlPrefix === undefined) {
|
|
19125
18499
|
typeUrlPrefix = "type.googleapis.com";
|
|
19126
18500
|
}
|
|
19127
|
-
return typeUrlPrefix + "/google.
|
|
18501
|
+
return typeUrlPrefix + "/google.protobuf.FileDescriptorSet";
|
|
19128
18502
|
};
|
|
19129
18503
|
|
|
19130
|
-
return
|
|
19131
|
-
})();
|
|
19132
|
-
|
|
19133
|
-
return api;
|
|
19134
|
-
})();
|
|
19135
|
-
|
|
19136
|
-
google.protobuf = (function() {
|
|
19137
|
-
|
|
19138
|
-
/**
|
|
19139
|
-
* Namespace protobuf.
|
|
19140
|
-
* @memberof google
|
|
19141
|
-
* @namespace
|
|
19142
|
-
*/
|
|
19143
|
-
var protobuf = {};
|
|
19144
|
-
|
|
19145
|
-
protobuf.FileDescriptorSet = (function() {
|
|
19146
|
-
|
|
19147
|
-
/**
|
|
19148
|
-
* Properties of a FileDescriptorSet.
|
|
19149
|
-
* @memberof google.protobuf
|
|
19150
|
-
* @interface IFileDescriptorSet
|
|
19151
|
-
* @property {Array.<google.protobuf.IFileDescriptorProto>|null} [file] FileDescriptorSet file
|
|
19152
|
-
*/
|
|
19153
|
-
|
|
19154
|
-
/**
|
|
19155
|
-
* Constructs a new FileDescriptorSet.
|
|
19156
|
-
* @memberof google.protobuf
|
|
19157
|
-
* @classdesc Represents a FileDescriptorSet.
|
|
19158
|
-
* @implements IFileDescriptorSet
|
|
19159
|
-
* @constructor
|
|
19160
|
-
* @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
|
|
19161
|
-
*/
|
|
19162
|
-
function FileDescriptorSet(properties) {
|
|
19163
|
-
this.file = [];
|
|
19164
|
-
if (properties)
|
|
19165
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
19166
|
-
if (properties[keys[i]] != null)
|
|
19167
|
-
this[keys[i]] = properties[keys[i]];
|
|
19168
|
-
}
|
|
19169
|
-
|
|
19170
|
-
/**
|
|
19171
|
-
* FileDescriptorSet file.
|
|
19172
|
-
* @member {Array.<google.protobuf.IFileDescriptorProto>} file
|
|
19173
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19174
|
-
* @instance
|
|
19175
|
-
*/
|
|
19176
|
-
FileDescriptorSet.prototype.file = $util.emptyArray;
|
|
19177
|
-
|
|
19178
|
-
/**
|
|
19179
|
-
* Creates a new FileDescriptorSet instance using the specified properties.
|
|
19180
|
-
* @function create
|
|
19181
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19182
|
-
* @static
|
|
19183
|
-
* @param {google.protobuf.IFileDescriptorSet=} [properties] Properties to set
|
|
19184
|
-
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet instance
|
|
19185
|
-
*/
|
|
19186
|
-
FileDescriptorSet.create = function create(properties) {
|
|
19187
|
-
return new FileDescriptorSet(properties);
|
|
19188
|
-
};
|
|
19189
|
-
|
|
19190
|
-
/**
|
|
19191
|
-
* Encodes the specified FileDescriptorSet message. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
19192
|
-
* @function encode
|
|
19193
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19194
|
-
* @static
|
|
19195
|
-
* @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
|
|
19196
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19197
|
-
* @returns {$protobuf.Writer} Writer
|
|
19198
|
-
*/
|
|
19199
|
-
FileDescriptorSet.encode = function encode(message, writer) {
|
|
19200
|
-
if (!writer)
|
|
19201
|
-
writer = $Writer.create();
|
|
19202
|
-
if (message.file != null && message.file.length)
|
|
19203
|
-
for (var i = 0; i < message.file.length; ++i)
|
|
19204
|
-
$root.google.protobuf.FileDescriptorProto.encode(message.file[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
19205
|
-
return writer;
|
|
19206
|
-
};
|
|
19207
|
-
|
|
19208
|
-
/**
|
|
19209
|
-
* Encodes the specified FileDescriptorSet message, length delimited. Does not implicitly {@link google.protobuf.FileDescriptorSet.verify|verify} messages.
|
|
19210
|
-
* @function encodeDelimited
|
|
19211
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19212
|
-
* @static
|
|
19213
|
-
* @param {google.protobuf.IFileDescriptorSet} message FileDescriptorSet message or plain object to encode
|
|
19214
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
19215
|
-
* @returns {$protobuf.Writer} Writer
|
|
19216
|
-
*/
|
|
19217
|
-
FileDescriptorSet.encodeDelimited = function encodeDelimited(message, writer) {
|
|
19218
|
-
return this.encode(message, writer).ldelim();
|
|
19219
|
-
};
|
|
19220
|
-
|
|
19221
|
-
/**
|
|
19222
|
-
* Decodes a FileDescriptorSet message from the specified reader or buffer.
|
|
19223
|
-
* @function decode
|
|
19224
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19225
|
-
* @static
|
|
19226
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19227
|
-
* @param {number} [length] Message length if known beforehand
|
|
19228
|
-
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19229
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19230
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19231
|
-
*/
|
|
19232
|
-
FileDescriptorSet.decode = function decode(reader, length, error) {
|
|
19233
|
-
if (!(reader instanceof $Reader))
|
|
19234
|
-
reader = $Reader.create(reader);
|
|
19235
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FileDescriptorSet();
|
|
19236
|
-
while (reader.pos < end) {
|
|
19237
|
-
var tag = reader.uint32();
|
|
19238
|
-
if (tag === error)
|
|
19239
|
-
break;
|
|
19240
|
-
switch (tag >>> 3) {
|
|
19241
|
-
case 1: {
|
|
19242
|
-
if (!(message.file && message.file.length))
|
|
19243
|
-
message.file = [];
|
|
19244
|
-
message.file.push($root.google.protobuf.FileDescriptorProto.decode(reader, reader.uint32()));
|
|
19245
|
-
break;
|
|
19246
|
-
}
|
|
19247
|
-
default:
|
|
19248
|
-
reader.skipType(tag & 7);
|
|
19249
|
-
break;
|
|
19250
|
-
}
|
|
19251
|
-
}
|
|
19252
|
-
return message;
|
|
19253
|
-
};
|
|
19254
|
-
|
|
19255
|
-
/**
|
|
19256
|
-
* Decodes a FileDescriptorSet message from the specified reader or buffer, length delimited.
|
|
19257
|
-
* @function decodeDelimited
|
|
19258
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19259
|
-
* @static
|
|
19260
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
19261
|
-
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19262
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
19263
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
19264
|
-
*/
|
|
19265
|
-
FileDescriptorSet.decodeDelimited = function decodeDelimited(reader) {
|
|
19266
|
-
if (!(reader instanceof $Reader))
|
|
19267
|
-
reader = new $Reader(reader);
|
|
19268
|
-
return this.decode(reader, reader.uint32());
|
|
19269
|
-
};
|
|
19270
|
-
|
|
19271
|
-
/**
|
|
19272
|
-
* Verifies a FileDescriptorSet message.
|
|
19273
|
-
* @function verify
|
|
19274
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19275
|
-
* @static
|
|
19276
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
19277
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
19278
|
-
*/
|
|
19279
|
-
FileDescriptorSet.verify = function verify(message) {
|
|
19280
|
-
if (typeof message !== "object" || message === null)
|
|
19281
|
-
return "object expected";
|
|
19282
|
-
if (message.file != null && message.hasOwnProperty("file")) {
|
|
19283
|
-
if (!Array.isArray(message.file))
|
|
19284
|
-
return "file: array expected";
|
|
19285
|
-
for (var i = 0; i < message.file.length; ++i) {
|
|
19286
|
-
var error = $root.google.protobuf.FileDescriptorProto.verify(message.file[i]);
|
|
19287
|
-
if (error)
|
|
19288
|
-
return "file." + error;
|
|
19289
|
-
}
|
|
19290
|
-
}
|
|
19291
|
-
return null;
|
|
19292
|
-
};
|
|
19293
|
-
|
|
19294
|
-
/**
|
|
19295
|
-
* Creates a FileDescriptorSet message from a plain object. Also converts values to their respective internal types.
|
|
19296
|
-
* @function fromObject
|
|
19297
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19298
|
-
* @static
|
|
19299
|
-
* @param {Object.<string,*>} object Plain object
|
|
19300
|
-
* @returns {google.protobuf.FileDescriptorSet} FileDescriptorSet
|
|
19301
|
-
*/
|
|
19302
|
-
FileDescriptorSet.fromObject = function fromObject(object) {
|
|
19303
|
-
if (object instanceof $root.google.protobuf.FileDescriptorSet)
|
|
19304
|
-
return object;
|
|
19305
|
-
var message = new $root.google.protobuf.FileDescriptorSet();
|
|
19306
|
-
if (object.file) {
|
|
19307
|
-
if (!Array.isArray(object.file))
|
|
19308
|
-
throw TypeError(".google.protobuf.FileDescriptorSet.file: array expected");
|
|
19309
|
-
message.file = [];
|
|
19310
|
-
for (var i = 0; i < object.file.length; ++i) {
|
|
19311
|
-
if (typeof object.file[i] !== "object")
|
|
19312
|
-
throw TypeError(".google.protobuf.FileDescriptorSet.file: object expected");
|
|
19313
|
-
message.file[i] = $root.google.protobuf.FileDescriptorProto.fromObject(object.file[i]);
|
|
19314
|
-
}
|
|
19315
|
-
}
|
|
19316
|
-
return message;
|
|
19317
|
-
};
|
|
19318
|
-
|
|
19319
|
-
/**
|
|
19320
|
-
* Creates a plain object from a FileDescriptorSet message. Also converts values to other types if specified.
|
|
19321
|
-
* @function toObject
|
|
19322
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19323
|
-
* @static
|
|
19324
|
-
* @param {google.protobuf.FileDescriptorSet} message FileDescriptorSet
|
|
19325
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
19326
|
-
* @returns {Object.<string,*>} Plain object
|
|
19327
|
-
*/
|
|
19328
|
-
FileDescriptorSet.toObject = function toObject(message, options) {
|
|
19329
|
-
if (!options)
|
|
19330
|
-
options = {};
|
|
19331
|
-
var object = {};
|
|
19332
|
-
if (options.arrays || options.defaults)
|
|
19333
|
-
object.file = [];
|
|
19334
|
-
if (message.file && message.file.length) {
|
|
19335
|
-
object.file = [];
|
|
19336
|
-
for (var j = 0; j < message.file.length; ++j)
|
|
19337
|
-
object.file[j] = $root.google.protobuf.FileDescriptorProto.toObject(message.file[j], options);
|
|
19338
|
-
}
|
|
19339
|
-
return object;
|
|
19340
|
-
};
|
|
19341
|
-
|
|
19342
|
-
/**
|
|
19343
|
-
* Converts this FileDescriptorSet to JSON.
|
|
19344
|
-
* @function toJSON
|
|
19345
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19346
|
-
* @instance
|
|
19347
|
-
* @returns {Object.<string,*>} JSON object
|
|
19348
|
-
*/
|
|
19349
|
-
FileDescriptorSet.prototype.toJSON = function toJSON() {
|
|
19350
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
19351
|
-
};
|
|
19352
|
-
|
|
19353
|
-
/**
|
|
19354
|
-
* Gets the default type url for FileDescriptorSet
|
|
19355
|
-
* @function getTypeUrl
|
|
19356
|
-
* @memberof google.protobuf.FileDescriptorSet
|
|
19357
|
-
* @static
|
|
19358
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
19359
|
-
* @returns {string} The default type url
|
|
19360
|
-
*/
|
|
19361
|
-
FileDescriptorSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
19362
|
-
if (typeUrlPrefix === undefined) {
|
|
19363
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
19364
|
-
}
|
|
19365
|
-
return typeUrlPrefix + "/google.protobuf.FileDescriptorSet";
|
|
19366
|
-
};
|
|
19367
|
-
|
|
19368
|
-
return FileDescriptorSet;
|
|
18504
|
+
return FileDescriptorSet;
|
|
19369
18505
|
})();
|
|
19370
18506
|
|
|
19371
18507
|
/**
|
|
@@ -19373,7 +18509,6 @@
|
|
|
19373
18509
|
* @name google.protobuf.Edition
|
|
19374
18510
|
* @enum {number}
|
|
19375
18511
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
|
19376
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
|
19377
18512
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
|
19378
18513
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
|
19379
18514
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
|
@@ -19388,7 +18523,6 @@
|
|
|
19388
18523
|
protobuf.Edition = (function() {
|
|
19389
18524
|
var valuesById = {}, values = Object.create(valuesById);
|
|
19390
18525
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
|
19391
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
|
19392
18526
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
|
19393
18527
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
|
19394
18528
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
|
@@ -19413,7 +18547,6 @@
|
|
|
19413
18547
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
|
19414
18548
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
|
19415
18549
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
|
19416
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
|
19417
18550
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
|
19418
18551
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
|
19419
18552
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
|
@@ -19436,7 +18569,6 @@
|
|
|
19436
18569
|
this.dependency = [];
|
|
19437
18570
|
this.publicDependency = [];
|
|
19438
18571
|
this.weakDependency = [];
|
|
19439
|
-
this.optionDependency = [];
|
|
19440
18572
|
this.messageType = [];
|
|
19441
18573
|
this.enumType = [];
|
|
19442
18574
|
this.service = [];
|
|
@@ -19487,14 +18619,6 @@
|
|
|
19487
18619
|
*/
|
|
19488
18620
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
|
19489
18621
|
|
|
19490
|
-
/**
|
|
19491
|
-
* FileDescriptorProto optionDependency.
|
|
19492
|
-
* @member {Array.<string>} optionDependency
|
|
19493
|
-
* @memberof google.protobuf.FileDescriptorProto
|
|
19494
|
-
* @instance
|
|
19495
|
-
*/
|
|
19496
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
|
19497
|
-
|
|
19498
18622
|
/**
|
|
19499
18623
|
* FileDescriptorProto messageType.
|
|
19500
18624
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
|
@@ -19616,9 +18740,6 @@
|
|
|
19616
18740
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
|
19617
18741
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
19618
18742
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
|
19619
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
|
19620
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
19621
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
|
19622
18743
|
return writer;
|
|
19623
18744
|
};
|
|
19624
18745
|
|
|
@@ -19691,12 +18812,6 @@
|
|
|
19691
18812
|
message.weakDependency.push(reader.int32());
|
|
19692
18813
|
break;
|
|
19693
18814
|
}
|
|
19694
|
-
case 15: {
|
|
19695
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
|
19696
|
-
message.optionDependency = [];
|
|
19697
|
-
message.optionDependency.push(reader.string());
|
|
19698
|
-
break;
|
|
19699
|
-
}
|
|
19700
18815
|
case 4: {
|
|
19701
18816
|
if (!(message.messageType && message.messageType.length))
|
|
19702
18817
|
message.messageType = [];
|
|
@@ -19799,13 +18914,6 @@
|
|
|
19799
18914
|
if (!$util.isInteger(message.weakDependency[i]))
|
|
19800
18915
|
return "weakDependency: integer[] expected";
|
|
19801
18916
|
}
|
|
19802
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
|
19803
|
-
if (!Array.isArray(message.optionDependency))
|
|
19804
|
-
return "optionDependency: array expected";
|
|
19805
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
19806
|
-
if (!$util.isString(message.optionDependency[i]))
|
|
19807
|
-
return "optionDependency: string[] expected";
|
|
19808
|
-
}
|
|
19809
18917
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
|
19810
18918
|
if (!Array.isArray(message.messageType))
|
|
19811
18919
|
return "messageType: array expected";
|
|
@@ -19860,7 +18968,6 @@
|
|
|
19860
18968
|
default:
|
|
19861
18969
|
return "edition: enum value expected";
|
|
19862
18970
|
case 0:
|
|
19863
|
-
case 900:
|
|
19864
18971
|
case 998:
|
|
19865
18972
|
case 999:
|
|
19866
18973
|
case 1000:
|
|
@@ -19913,13 +19020,6 @@
|
|
|
19913
19020
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
|
19914
19021
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
|
19915
19022
|
}
|
|
19916
|
-
if (object.optionDependency) {
|
|
19917
|
-
if (!Array.isArray(object.optionDependency))
|
|
19918
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
|
19919
|
-
message.optionDependency = [];
|
|
19920
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
|
19921
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
|
19922
|
-
}
|
|
19923
19023
|
if (object.messageType) {
|
|
19924
19024
|
if (!Array.isArray(object.messageType))
|
|
19925
19025
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
|
@@ -19983,10 +19083,6 @@
|
|
|
19983
19083
|
case 0:
|
|
19984
19084
|
message.edition = 0;
|
|
19985
19085
|
break;
|
|
19986
|
-
case "EDITION_LEGACY":
|
|
19987
|
-
case 900:
|
|
19988
|
-
message.edition = 900;
|
|
19989
|
-
break;
|
|
19990
19086
|
case "EDITION_PROTO2":
|
|
19991
19087
|
case 998:
|
|
19992
19088
|
message.edition = 998;
|
|
@@ -20052,7 +19148,6 @@
|
|
|
20052
19148
|
object.extension = [];
|
|
20053
19149
|
object.publicDependency = [];
|
|
20054
19150
|
object.weakDependency = [];
|
|
20055
|
-
object.optionDependency = [];
|
|
20056
19151
|
}
|
|
20057
19152
|
if (options.defaults) {
|
|
20058
19153
|
object.name = "";
|
|
@@ -20109,11 +19204,6 @@
|
|
|
20109
19204
|
object.syntax = message.syntax;
|
|
20110
19205
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
20111
19206
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
20112
|
-
if (message.optionDependency && message.optionDependency.length) {
|
|
20113
|
-
object.optionDependency = [];
|
|
20114
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
|
20115
|
-
object.optionDependency[j] = message.optionDependency[j];
|
|
20116
|
-
}
|
|
20117
19207
|
return object;
|
|
20118
19208
|
};
|
|
20119
19209
|
|
|
@@ -20162,7 +19252,6 @@
|
|
|
20162
19252
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
|
20163
19253
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
|
20164
19254
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
|
20165
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
|
20166
19255
|
*/
|
|
20167
19256
|
|
|
20168
19257
|
/**
|
|
@@ -20268,14 +19357,6 @@
|
|
|
20268
19357
|
*/
|
|
20269
19358
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
20270
19359
|
|
|
20271
|
-
/**
|
|
20272
|
-
* DescriptorProto visibility.
|
|
20273
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
20274
|
-
* @memberof google.protobuf.DescriptorProto
|
|
20275
|
-
* @instance
|
|
20276
|
-
*/
|
|
20277
|
-
DescriptorProto.prototype.visibility = 0;
|
|
20278
|
-
|
|
20279
19360
|
/**
|
|
20280
19361
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
20281
19362
|
* @function create
|
|
@@ -20328,8 +19409,6 @@
|
|
|
20328
19409
|
if (message.reservedName != null && message.reservedName.length)
|
|
20329
19410
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
20330
19411
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
|
20331
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
20332
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
|
20333
19412
|
return writer;
|
|
20334
19413
|
};
|
|
20335
19414
|
|
|
@@ -20422,10 +19501,6 @@
|
|
|
20422
19501
|
message.reservedName.push(reader.string());
|
|
20423
19502
|
break;
|
|
20424
19503
|
}
|
|
20425
|
-
case 11: {
|
|
20426
|
-
message.visibility = reader.int32();
|
|
20427
|
-
break;
|
|
20428
|
-
}
|
|
20429
19504
|
default:
|
|
20430
19505
|
reader.skipType(tag & 7);
|
|
20431
19506
|
break;
|
|
@@ -20539,15 +19614,6 @@
|
|
|
20539
19614
|
if (!$util.isString(message.reservedName[i]))
|
|
20540
19615
|
return "reservedName: string[] expected";
|
|
20541
19616
|
}
|
|
20542
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
20543
|
-
switch (message.visibility) {
|
|
20544
|
-
default:
|
|
20545
|
-
return "visibility: enum value expected";
|
|
20546
|
-
case 0:
|
|
20547
|
-
case 1:
|
|
20548
|
-
case 2:
|
|
20549
|
-
break;
|
|
20550
|
-
}
|
|
20551
19617
|
return null;
|
|
20552
19618
|
};
|
|
20553
19619
|
|
|
@@ -20647,26 +19713,6 @@
|
|
|
20647
19713
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
20648
19714
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
20649
19715
|
}
|
|
20650
|
-
switch (object.visibility) {
|
|
20651
|
-
default:
|
|
20652
|
-
if (typeof object.visibility === "number") {
|
|
20653
|
-
message.visibility = object.visibility;
|
|
20654
|
-
break;
|
|
20655
|
-
}
|
|
20656
|
-
break;
|
|
20657
|
-
case "VISIBILITY_UNSET":
|
|
20658
|
-
case 0:
|
|
20659
|
-
message.visibility = 0;
|
|
20660
|
-
break;
|
|
20661
|
-
case "VISIBILITY_LOCAL":
|
|
20662
|
-
case 1:
|
|
20663
|
-
message.visibility = 1;
|
|
20664
|
-
break;
|
|
20665
|
-
case "VISIBILITY_EXPORT":
|
|
20666
|
-
case 2:
|
|
20667
|
-
message.visibility = 2;
|
|
20668
|
-
break;
|
|
20669
|
-
}
|
|
20670
19716
|
return message;
|
|
20671
19717
|
};
|
|
20672
19718
|
|
|
@@ -20696,7 +19742,6 @@
|
|
|
20696
19742
|
if (options.defaults) {
|
|
20697
19743
|
object.name = "";
|
|
20698
19744
|
object.options = null;
|
|
20699
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
20700
19745
|
}
|
|
20701
19746
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
20702
19747
|
object.name = message.name;
|
|
@@ -20742,8 +19787,6 @@
|
|
|
20742
19787
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
20743
19788
|
object.reservedName[j] = message.reservedName[j];
|
|
20744
19789
|
}
|
|
20745
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
20746
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
20747
19790
|
return object;
|
|
20748
19791
|
};
|
|
20749
19792
|
|
|
@@ -22788,7 +21831,6 @@
|
|
|
22788
21831
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
|
22789
21832
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
|
22790
21833
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
|
22791
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
|
22792
21834
|
*/
|
|
22793
21835
|
|
|
22794
21836
|
/**
|
|
@@ -22849,14 +21891,6 @@
|
|
|
22849
21891
|
*/
|
|
22850
21892
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
22851
21893
|
|
|
22852
|
-
/**
|
|
22853
|
-
* EnumDescriptorProto visibility.
|
|
22854
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
22855
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
|
22856
|
-
* @instance
|
|
22857
|
-
*/
|
|
22858
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
|
22859
|
-
|
|
22860
21894
|
/**
|
|
22861
21895
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
22862
21896
|
* @function create
|
|
@@ -22894,8 +21928,6 @@
|
|
|
22894
21928
|
if (message.reservedName != null && message.reservedName.length)
|
|
22895
21929
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
22896
21930
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
|
22897
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
22898
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
|
22899
21931
|
return writer;
|
|
22900
21932
|
};
|
|
22901
21933
|
|
|
@@ -22958,10 +21990,6 @@
|
|
|
22958
21990
|
message.reservedName.push(reader.string());
|
|
22959
21991
|
break;
|
|
22960
21992
|
}
|
|
22961
|
-
case 6: {
|
|
22962
|
-
message.visibility = reader.int32();
|
|
22963
|
-
break;
|
|
22964
|
-
}
|
|
22965
21993
|
default:
|
|
22966
21994
|
reader.skipType(tag & 7);
|
|
22967
21995
|
break;
|
|
@@ -23030,15 +22058,6 @@
|
|
|
23030
22058
|
if (!$util.isString(message.reservedName[i]))
|
|
23031
22059
|
return "reservedName: string[] expected";
|
|
23032
22060
|
}
|
|
23033
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
23034
|
-
switch (message.visibility) {
|
|
23035
|
-
default:
|
|
23036
|
-
return "visibility: enum value expected";
|
|
23037
|
-
case 0:
|
|
23038
|
-
case 1:
|
|
23039
|
-
case 2:
|
|
23040
|
-
break;
|
|
23041
|
-
}
|
|
23042
22061
|
return null;
|
|
23043
22062
|
};
|
|
23044
22063
|
|
|
@@ -23088,26 +22107,6 @@
|
|
|
23088
22107
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
23089
22108
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
23090
22109
|
}
|
|
23091
|
-
switch (object.visibility) {
|
|
23092
|
-
default:
|
|
23093
|
-
if (typeof object.visibility === "number") {
|
|
23094
|
-
message.visibility = object.visibility;
|
|
23095
|
-
break;
|
|
23096
|
-
}
|
|
23097
|
-
break;
|
|
23098
|
-
case "VISIBILITY_UNSET":
|
|
23099
|
-
case 0:
|
|
23100
|
-
message.visibility = 0;
|
|
23101
|
-
break;
|
|
23102
|
-
case "VISIBILITY_LOCAL":
|
|
23103
|
-
case 1:
|
|
23104
|
-
message.visibility = 1;
|
|
23105
|
-
break;
|
|
23106
|
-
case "VISIBILITY_EXPORT":
|
|
23107
|
-
case 2:
|
|
23108
|
-
message.visibility = 2;
|
|
23109
|
-
break;
|
|
23110
|
-
}
|
|
23111
22110
|
return message;
|
|
23112
22111
|
};
|
|
23113
22112
|
|
|
@@ -23132,7 +22131,6 @@
|
|
|
23132
22131
|
if (options.defaults) {
|
|
23133
22132
|
object.name = "";
|
|
23134
22133
|
object.options = null;
|
|
23135
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
23136
22134
|
}
|
|
23137
22135
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
23138
22136
|
object.name = message.name;
|
|
@@ -23153,8 +22151,6 @@
|
|
|
23153
22151
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
23154
22152
|
object.reservedName[j] = message.reservedName[j];
|
|
23155
22153
|
}
|
|
23156
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
23157
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
23158
22154
|
return object;
|
|
23159
22155
|
};
|
|
23160
22156
|
|
|
@@ -25473,7 +24469,6 @@
|
|
|
25473
24469
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
|
25474
24470
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
25475
24471
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
25476
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
|
25477
24472
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
25478
24473
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
25479
24474
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -25595,14 +24590,6 @@
|
|
|
25595
24590
|
*/
|
|
25596
24591
|
FieldOptions.prototype.features = null;
|
|
25597
24592
|
|
|
25598
|
-
/**
|
|
25599
|
-
* FieldOptions featureSupport.
|
|
25600
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
25601
|
-
* @memberof google.protobuf.FieldOptions
|
|
25602
|
-
* @instance
|
|
25603
|
-
*/
|
|
25604
|
-
FieldOptions.prototype.featureSupport = null;
|
|
25605
|
-
|
|
25606
24593
|
/**
|
|
25607
24594
|
* FieldOptions uninterpretedOption.
|
|
25608
24595
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -25685,8 +24672,6 @@
|
|
|
25685
24672
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
25686
24673
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
25687
24674
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
25688
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
25689
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
25690
24675
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
25691
24676
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
25692
24677
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -25790,10 +24775,6 @@
|
|
|
25790
24775
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
25791
24776
|
break;
|
|
25792
24777
|
}
|
|
25793
|
-
case 22: {
|
|
25794
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
25795
|
-
break;
|
|
25796
|
-
}
|
|
25797
24778
|
case 999: {
|
|
25798
24779
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
25799
24780
|
message.uninterpretedOption = [];
|
|
@@ -25933,11 +24914,6 @@
|
|
|
25933
24914
|
if (error)
|
|
25934
24915
|
return "features." + error;
|
|
25935
24916
|
}
|
|
25936
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
25937
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
25938
|
-
if (error)
|
|
25939
|
-
return "featureSupport." + error;
|
|
25940
|
-
}
|
|
25941
24917
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
25942
24918
|
if (!Array.isArray(message.uninterpretedOption))
|
|
25943
24919
|
return "uninterpretedOption: array expected";
|
|
@@ -26131,11 +25107,6 @@
|
|
|
26131
25107
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
|
26132
25108
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
26133
25109
|
}
|
|
26134
|
-
if (object.featureSupport != null) {
|
|
26135
|
-
if (typeof object.featureSupport !== "object")
|
|
26136
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
|
26137
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
26138
|
-
}
|
|
26139
25110
|
if (object.uninterpretedOption) {
|
|
26140
25111
|
if (!Array.isArray(object.uninterpretedOption))
|
|
26141
25112
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
|
@@ -26238,7 +25209,6 @@
|
|
|
26238
25209
|
object.debugRedact = false;
|
|
26239
25210
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
26240
25211
|
object.features = null;
|
|
26241
|
-
object.featureSupport = null;
|
|
26242
25212
|
object[".google.api.resourceReference"] = null;
|
|
26243
25213
|
object[".google.api.fieldInfo"] = null;
|
|
26244
25214
|
}
|
|
@@ -26272,8 +25242,6 @@
|
|
|
26272
25242
|
}
|
|
26273
25243
|
if (message.features != null && message.hasOwnProperty("features"))
|
|
26274
25244
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
26275
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
26276
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
26277
25245
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
26278
25246
|
object.uninterpretedOption = [];
|
|
26279
25247
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -26548,7 +25516,6 @@
|
|
|
26548
25516
|
default:
|
|
26549
25517
|
return "edition: enum value expected";
|
|
26550
25518
|
case 0:
|
|
26551
|
-
case 900:
|
|
26552
25519
|
case 998:
|
|
26553
25520
|
case 999:
|
|
26554
25521
|
case 1000:
|
|
@@ -26590,589 +25557,103 @@
|
|
|
26590
25557
|
case 0:
|
|
26591
25558
|
message.edition = 0;
|
|
26592
25559
|
break;
|
|
26593
|
-
case "EDITION_LEGACY":
|
|
26594
|
-
case 900:
|
|
26595
|
-
message.edition = 900;
|
|
26596
|
-
break;
|
|
26597
25560
|
case "EDITION_PROTO2":
|
|
26598
25561
|
case 998:
|
|
26599
25562
|
message.edition = 998;
|
|
26600
25563
|
break;
|
|
26601
25564
|
case "EDITION_PROTO3":
|
|
26602
25565
|
case 999:
|
|
26603
|
-
message.edition = 999;
|
|
26604
|
-
break;
|
|
26605
|
-
case "EDITION_2023":
|
|
26606
|
-
case 1000:
|
|
26607
|
-
message.edition = 1000;
|
|
26608
|
-
break;
|
|
26609
|
-
case "EDITION_2024":
|
|
26610
|
-
case 1001:
|
|
26611
|
-
message.edition = 1001;
|
|
26612
|
-
break;
|
|
26613
|
-
case "EDITION_1_TEST_ONLY":
|
|
26614
|
-
case 1:
|
|
26615
|
-
message.edition = 1;
|
|
26616
|
-
break;
|
|
26617
|
-
case "EDITION_2_TEST_ONLY":
|
|
26618
|
-
case 2:
|
|
26619
|
-
message.edition = 2;
|
|
26620
|
-
break;
|
|
26621
|
-
case "EDITION_99997_TEST_ONLY":
|
|
26622
|
-
case 99997:
|
|
26623
|
-
message.edition = 99997;
|
|
26624
|
-
break;
|
|
26625
|
-
case "EDITION_99998_TEST_ONLY":
|
|
26626
|
-
case 99998:
|
|
26627
|
-
message.edition = 99998;
|
|
26628
|
-
break;
|
|
26629
|
-
case "EDITION_99999_TEST_ONLY":
|
|
26630
|
-
case 99999:
|
|
26631
|
-
message.edition = 99999;
|
|
26632
|
-
break;
|
|
26633
|
-
case "EDITION_MAX":
|
|
26634
|
-
case 2147483647:
|
|
26635
|
-
message.edition = 2147483647;
|
|
26636
|
-
break;
|
|
26637
|
-
}
|
|
26638
|
-
if (object.value != null)
|
|
26639
|
-
message.value = String(object.value);
|
|
26640
|
-
return message;
|
|
26641
|
-
};
|
|
26642
|
-
|
|
26643
|
-
/**
|
|
26644
|
-
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
26645
|
-
* @function toObject
|
|
26646
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26647
|
-
* @static
|
|
26648
|
-
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
|
26649
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
26650
|
-
* @returns {Object.<string,*>} Plain object
|
|
26651
|
-
*/
|
|
26652
|
-
EditionDefault.toObject = function toObject(message, options) {
|
|
26653
|
-
if (!options)
|
|
26654
|
-
options = {};
|
|
26655
|
-
var object = {};
|
|
26656
|
-
if (options.defaults) {
|
|
26657
|
-
object.value = "";
|
|
26658
|
-
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
26659
|
-
}
|
|
26660
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
|
26661
|
-
object.value = message.value;
|
|
26662
|
-
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
26663
|
-
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
26664
|
-
return object;
|
|
26665
|
-
};
|
|
26666
|
-
|
|
26667
|
-
/**
|
|
26668
|
-
* Converts this EditionDefault to JSON.
|
|
26669
|
-
* @function toJSON
|
|
26670
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26671
|
-
* @instance
|
|
26672
|
-
* @returns {Object.<string,*>} JSON object
|
|
26673
|
-
*/
|
|
26674
|
-
EditionDefault.prototype.toJSON = function toJSON() {
|
|
26675
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
26676
|
-
};
|
|
26677
|
-
|
|
26678
|
-
/**
|
|
26679
|
-
* Gets the default type url for EditionDefault
|
|
26680
|
-
* @function getTypeUrl
|
|
26681
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
26682
|
-
* @static
|
|
26683
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26684
|
-
* @returns {string} The default type url
|
|
26685
|
-
*/
|
|
26686
|
-
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
26687
|
-
if (typeUrlPrefix === undefined) {
|
|
26688
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
26689
|
-
}
|
|
26690
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
|
26691
|
-
};
|
|
26692
|
-
|
|
26693
|
-
return EditionDefault;
|
|
26694
|
-
})();
|
|
26695
|
-
|
|
26696
|
-
FieldOptions.FeatureSupport = (function() {
|
|
26697
|
-
|
|
26698
|
-
/**
|
|
26699
|
-
* Properties of a FeatureSupport.
|
|
26700
|
-
* @memberof google.protobuf.FieldOptions
|
|
26701
|
-
* @interface IFeatureSupport
|
|
26702
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
|
26703
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
|
26704
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
|
26705
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
|
26706
|
-
*/
|
|
26707
|
-
|
|
26708
|
-
/**
|
|
26709
|
-
* Constructs a new FeatureSupport.
|
|
26710
|
-
* @memberof google.protobuf.FieldOptions
|
|
26711
|
-
* @classdesc Represents a FeatureSupport.
|
|
26712
|
-
* @implements IFeatureSupport
|
|
26713
|
-
* @constructor
|
|
26714
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
26715
|
-
*/
|
|
26716
|
-
function FeatureSupport(properties) {
|
|
26717
|
-
if (properties)
|
|
26718
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
26719
|
-
if (properties[keys[i]] != null)
|
|
26720
|
-
this[keys[i]] = properties[keys[i]];
|
|
26721
|
-
}
|
|
26722
|
-
|
|
26723
|
-
/**
|
|
26724
|
-
* FeatureSupport editionIntroduced.
|
|
26725
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
|
26726
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26727
|
-
* @instance
|
|
26728
|
-
*/
|
|
26729
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
|
26730
|
-
|
|
26731
|
-
/**
|
|
26732
|
-
* FeatureSupport editionDeprecated.
|
|
26733
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
|
26734
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26735
|
-
* @instance
|
|
26736
|
-
*/
|
|
26737
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
|
26738
|
-
|
|
26739
|
-
/**
|
|
26740
|
-
* FeatureSupport deprecationWarning.
|
|
26741
|
-
* @member {string} deprecationWarning
|
|
26742
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26743
|
-
* @instance
|
|
26744
|
-
*/
|
|
26745
|
-
FeatureSupport.prototype.deprecationWarning = "";
|
|
26746
|
-
|
|
26747
|
-
/**
|
|
26748
|
-
* FeatureSupport editionRemoved.
|
|
26749
|
-
* @member {google.protobuf.Edition} editionRemoved
|
|
26750
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26751
|
-
* @instance
|
|
26752
|
-
*/
|
|
26753
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
|
26754
|
-
|
|
26755
|
-
/**
|
|
26756
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
|
26757
|
-
* @function create
|
|
26758
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26759
|
-
* @static
|
|
26760
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
26761
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
|
26762
|
-
*/
|
|
26763
|
-
FeatureSupport.create = function create(properties) {
|
|
26764
|
-
return new FeatureSupport(properties);
|
|
26765
|
-
};
|
|
26766
|
-
|
|
26767
|
-
/**
|
|
26768
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
26769
|
-
* @function encode
|
|
26770
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26771
|
-
* @static
|
|
26772
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
26773
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26774
|
-
* @returns {$protobuf.Writer} Writer
|
|
26775
|
-
*/
|
|
26776
|
-
FeatureSupport.encode = function encode(message, writer) {
|
|
26777
|
-
if (!writer)
|
|
26778
|
-
writer = $Writer.create();
|
|
26779
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
|
26780
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
|
26781
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
|
26782
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
|
26783
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
|
26784
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
|
26785
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
|
26786
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
|
26787
|
-
return writer;
|
|
26788
|
-
};
|
|
26789
|
-
|
|
26790
|
-
/**
|
|
26791
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
26792
|
-
* @function encodeDelimited
|
|
26793
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26794
|
-
* @static
|
|
26795
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
26796
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26797
|
-
* @returns {$protobuf.Writer} Writer
|
|
26798
|
-
*/
|
|
26799
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
|
26800
|
-
return this.encode(message, writer).ldelim();
|
|
26801
|
-
};
|
|
26802
|
-
|
|
26803
|
-
/**
|
|
26804
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
26805
|
-
* @function decode
|
|
26806
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26807
|
-
* @static
|
|
26808
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26809
|
-
* @param {number} [length] Message length if known beforehand
|
|
26810
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26811
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26812
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26813
|
-
*/
|
|
26814
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
|
26815
|
-
if (!(reader instanceof $Reader))
|
|
26816
|
-
reader = $Reader.create(reader);
|
|
26817
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
26818
|
-
while (reader.pos < end) {
|
|
26819
|
-
var tag = reader.uint32();
|
|
26820
|
-
if (tag === error)
|
|
26821
|
-
break;
|
|
26822
|
-
switch (tag >>> 3) {
|
|
26823
|
-
case 1: {
|
|
26824
|
-
message.editionIntroduced = reader.int32();
|
|
26825
|
-
break;
|
|
26826
|
-
}
|
|
26827
|
-
case 2: {
|
|
26828
|
-
message.editionDeprecated = reader.int32();
|
|
26829
|
-
break;
|
|
26830
|
-
}
|
|
26831
|
-
case 3: {
|
|
26832
|
-
message.deprecationWarning = reader.string();
|
|
26833
|
-
break;
|
|
26834
|
-
}
|
|
26835
|
-
case 4: {
|
|
26836
|
-
message.editionRemoved = reader.int32();
|
|
26837
|
-
break;
|
|
26838
|
-
}
|
|
26839
|
-
default:
|
|
26840
|
-
reader.skipType(tag & 7);
|
|
26841
|
-
break;
|
|
26842
|
-
}
|
|
26843
|
-
}
|
|
26844
|
-
return message;
|
|
26845
|
-
};
|
|
26846
|
-
|
|
26847
|
-
/**
|
|
26848
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
26849
|
-
* @function decodeDelimited
|
|
26850
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26851
|
-
* @static
|
|
26852
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26853
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26854
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26855
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26856
|
-
*/
|
|
26857
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
|
26858
|
-
if (!(reader instanceof $Reader))
|
|
26859
|
-
reader = new $Reader(reader);
|
|
26860
|
-
return this.decode(reader, reader.uint32());
|
|
26861
|
-
};
|
|
26862
|
-
|
|
26863
|
-
/**
|
|
26864
|
-
* Verifies a FeatureSupport message.
|
|
26865
|
-
* @function verify
|
|
26866
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26867
|
-
* @static
|
|
26868
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
26869
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
26870
|
-
*/
|
|
26871
|
-
FeatureSupport.verify = function verify(message) {
|
|
26872
|
-
if (typeof message !== "object" || message === null)
|
|
26873
|
-
return "object expected";
|
|
26874
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
26875
|
-
switch (message.editionIntroduced) {
|
|
26876
|
-
default:
|
|
26877
|
-
return "editionIntroduced: enum value expected";
|
|
26878
|
-
case 0:
|
|
26879
|
-
case 900:
|
|
26880
|
-
case 998:
|
|
26881
|
-
case 999:
|
|
26882
|
-
case 1000:
|
|
26883
|
-
case 1001:
|
|
26884
|
-
case 1:
|
|
26885
|
-
case 2:
|
|
26886
|
-
case 99997:
|
|
26887
|
-
case 99998:
|
|
26888
|
-
case 99999:
|
|
26889
|
-
case 2147483647:
|
|
26890
|
-
break;
|
|
26891
|
-
}
|
|
26892
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
26893
|
-
switch (message.editionDeprecated) {
|
|
26894
|
-
default:
|
|
26895
|
-
return "editionDeprecated: enum value expected";
|
|
26896
|
-
case 0:
|
|
26897
|
-
case 900:
|
|
26898
|
-
case 998:
|
|
26899
|
-
case 999:
|
|
26900
|
-
case 1000:
|
|
26901
|
-
case 1001:
|
|
26902
|
-
case 1:
|
|
26903
|
-
case 2:
|
|
26904
|
-
case 99997:
|
|
26905
|
-
case 99998:
|
|
26906
|
-
case 99999:
|
|
26907
|
-
case 2147483647:
|
|
26908
|
-
break;
|
|
26909
|
-
}
|
|
26910
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
26911
|
-
if (!$util.isString(message.deprecationWarning))
|
|
26912
|
-
return "deprecationWarning: string expected";
|
|
26913
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
26914
|
-
switch (message.editionRemoved) {
|
|
26915
|
-
default:
|
|
26916
|
-
return "editionRemoved: enum value expected";
|
|
26917
|
-
case 0:
|
|
26918
|
-
case 900:
|
|
26919
|
-
case 998:
|
|
26920
|
-
case 999:
|
|
26921
|
-
case 1000:
|
|
26922
|
-
case 1001:
|
|
26923
|
-
case 1:
|
|
26924
|
-
case 2:
|
|
26925
|
-
case 99997:
|
|
26926
|
-
case 99998:
|
|
26927
|
-
case 99999:
|
|
26928
|
-
case 2147483647:
|
|
26929
|
-
break;
|
|
26930
|
-
}
|
|
26931
|
-
return null;
|
|
26932
|
-
};
|
|
26933
|
-
|
|
26934
|
-
/**
|
|
26935
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
26936
|
-
* @function fromObject
|
|
26937
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
26938
|
-
* @static
|
|
26939
|
-
* @param {Object.<string,*>} object Plain object
|
|
26940
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
26941
|
-
*/
|
|
26942
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
|
26943
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
|
26944
|
-
return object;
|
|
26945
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
26946
|
-
switch (object.editionIntroduced) {
|
|
26947
|
-
default:
|
|
26948
|
-
if (typeof object.editionIntroduced === "number") {
|
|
26949
|
-
message.editionIntroduced = object.editionIntroduced;
|
|
26950
|
-
break;
|
|
26951
|
-
}
|
|
26952
|
-
break;
|
|
26953
|
-
case "EDITION_UNKNOWN":
|
|
26954
|
-
case 0:
|
|
26955
|
-
message.editionIntroduced = 0;
|
|
26956
|
-
break;
|
|
26957
|
-
case "EDITION_LEGACY":
|
|
26958
|
-
case 900:
|
|
26959
|
-
message.editionIntroduced = 900;
|
|
26960
|
-
break;
|
|
26961
|
-
case "EDITION_PROTO2":
|
|
26962
|
-
case 998:
|
|
26963
|
-
message.editionIntroduced = 998;
|
|
26964
|
-
break;
|
|
26965
|
-
case "EDITION_PROTO3":
|
|
26966
|
-
case 999:
|
|
26967
|
-
message.editionIntroduced = 999;
|
|
26968
|
-
break;
|
|
26969
|
-
case "EDITION_2023":
|
|
26970
|
-
case 1000:
|
|
26971
|
-
message.editionIntroduced = 1000;
|
|
26972
|
-
break;
|
|
26973
|
-
case "EDITION_2024":
|
|
26974
|
-
case 1001:
|
|
26975
|
-
message.editionIntroduced = 1001;
|
|
26976
|
-
break;
|
|
26977
|
-
case "EDITION_1_TEST_ONLY":
|
|
26978
|
-
case 1:
|
|
26979
|
-
message.editionIntroduced = 1;
|
|
26980
|
-
break;
|
|
26981
|
-
case "EDITION_2_TEST_ONLY":
|
|
26982
|
-
case 2:
|
|
26983
|
-
message.editionIntroduced = 2;
|
|
26984
|
-
break;
|
|
26985
|
-
case "EDITION_99997_TEST_ONLY":
|
|
26986
|
-
case 99997:
|
|
26987
|
-
message.editionIntroduced = 99997;
|
|
26988
|
-
break;
|
|
26989
|
-
case "EDITION_99998_TEST_ONLY":
|
|
26990
|
-
case 99998:
|
|
26991
|
-
message.editionIntroduced = 99998;
|
|
26992
|
-
break;
|
|
26993
|
-
case "EDITION_99999_TEST_ONLY":
|
|
26994
|
-
case 99999:
|
|
26995
|
-
message.editionIntroduced = 99999;
|
|
26996
|
-
break;
|
|
26997
|
-
case "EDITION_MAX":
|
|
26998
|
-
case 2147483647:
|
|
26999
|
-
message.editionIntroduced = 2147483647;
|
|
27000
|
-
break;
|
|
27001
|
-
}
|
|
27002
|
-
switch (object.editionDeprecated) {
|
|
27003
|
-
default:
|
|
27004
|
-
if (typeof object.editionDeprecated === "number") {
|
|
27005
|
-
message.editionDeprecated = object.editionDeprecated;
|
|
27006
|
-
break;
|
|
27007
|
-
}
|
|
27008
|
-
break;
|
|
27009
|
-
case "EDITION_UNKNOWN":
|
|
27010
|
-
case 0:
|
|
27011
|
-
message.editionDeprecated = 0;
|
|
27012
|
-
break;
|
|
27013
|
-
case "EDITION_LEGACY":
|
|
27014
|
-
case 900:
|
|
27015
|
-
message.editionDeprecated = 900;
|
|
27016
|
-
break;
|
|
27017
|
-
case "EDITION_PROTO2":
|
|
27018
|
-
case 998:
|
|
27019
|
-
message.editionDeprecated = 998;
|
|
27020
|
-
break;
|
|
27021
|
-
case "EDITION_PROTO3":
|
|
27022
|
-
case 999:
|
|
27023
|
-
message.editionDeprecated = 999;
|
|
27024
|
-
break;
|
|
27025
|
-
case "EDITION_2023":
|
|
27026
|
-
case 1000:
|
|
27027
|
-
message.editionDeprecated = 1000;
|
|
27028
|
-
break;
|
|
27029
|
-
case "EDITION_2024":
|
|
27030
|
-
case 1001:
|
|
27031
|
-
message.editionDeprecated = 1001;
|
|
27032
|
-
break;
|
|
27033
|
-
case "EDITION_1_TEST_ONLY":
|
|
27034
|
-
case 1:
|
|
27035
|
-
message.editionDeprecated = 1;
|
|
27036
|
-
break;
|
|
27037
|
-
case "EDITION_2_TEST_ONLY":
|
|
27038
|
-
case 2:
|
|
27039
|
-
message.editionDeprecated = 2;
|
|
27040
|
-
break;
|
|
27041
|
-
case "EDITION_99997_TEST_ONLY":
|
|
27042
|
-
case 99997:
|
|
27043
|
-
message.editionDeprecated = 99997;
|
|
27044
|
-
break;
|
|
27045
|
-
case "EDITION_99998_TEST_ONLY":
|
|
27046
|
-
case 99998:
|
|
27047
|
-
message.editionDeprecated = 99998;
|
|
27048
|
-
break;
|
|
27049
|
-
case "EDITION_99999_TEST_ONLY":
|
|
27050
|
-
case 99999:
|
|
27051
|
-
message.editionDeprecated = 99999;
|
|
27052
|
-
break;
|
|
27053
|
-
case "EDITION_MAX":
|
|
27054
|
-
case 2147483647:
|
|
27055
|
-
message.editionDeprecated = 2147483647;
|
|
27056
|
-
break;
|
|
27057
|
-
}
|
|
27058
|
-
if (object.deprecationWarning != null)
|
|
27059
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
|
27060
|
-
switch (object.editionRemoved) {
|
|
27061
|
-
default:
|
|
27062
|
-
if (typeof object.editionRemoved === "number") {
|
|
27063
|
-
message.editionRemoved = object.editionRemoved;
|
|
27064
|
-
break;
|
|
27065
|
-
}
|
|
27066
|
-
break;
|
|
27067
|
-
case "EDITION_UNKNOWN":
|
|
27068
|
-
case 0:
|
|
27069
|
-
message.editionRemoved = 0;
|
|
27070
|
-
break;
|
|
27071
|
-
case "EDITION_LEGACY":
|
|
27072
|
-
case 900:
|
|
27073
|
-
message.editionRemoved = 900;
|
|
27074
|
-
break;
|
|
27075
|
-
case "EDITION_PROTO2":
|
|
27076
|
-
case 998:
|
|
27077
|
-
message.editionRemoved = 998;
|
|
27078
|
-
break;
|
|
27079
|
-
case "EDITION_PROTO3":
|
|
27080
|
-
case 999:
|
|
27081
|
-
message.editionRemoved = 999;
|
|
25566
|
+
message.edition = 999;
|
|
27082
25567
|
break;
|
|
27083
25568
|
case "EDITION_2023":
|
|
27084
25569
|
case 1000:
|
|
27085
|
-
message.
|
|
25570
|
+
message.edition = 1000;
|
|
27086
25571
|
break;
|
|
27087
25572
|
case "EDITION_2024":
|
|
27088
25573
|
case 1001:
|
|
27089
|
-
message.
|
|
25574
|
+
message.edition = 1001;
|
|
27090
25575
|
break;
|
|
27091
25576
|
case "EDITION_1_TEST_ONLY":
|
|
27092
25577
|
case 1:
|
|
27093
|
-
message.
|
|
25578
|
+
message.edition = 1;
|
|
27094
25579
|
break;
|
|
27095
25580
|
case "EDITION_2_TEST_ONLY":
|
|
27096
25581
|
case 2:
|
|
27097
|
-
message.
|
|
25582
|
+
message.edition = 2;
|
|
27098
25583
|
break;
|
|
27099
25584
|
case "EDITION_99997_TEST_ONLY":
|
|
27100
25585
|
case 99997:
|
|
27101
|
-
message.
|
|
25586
|
+
message.edition = 99997;
|
|
27102
25587
|
break;
|
|
27103
25588
|
case "EDITION_99998_TEST_ONLY":
|
|
27104
25589
|
case 99998:
|
|
27105
|
-
message.
|
|
25590
|
+
message.edition = 99998;
|
|
27106
25591
|
break;
|
|
27107
25592
|
case "EDITION_99999_TEST_ONLY":
|
|
27108
25593
|
case 99999:
|
|
27109
|
-
message.
|
|
25594
|
+
message.edition = 99999;
|
|
27110
25595
|
break;
|
|
27111
25596
|
case "EDITION_MAX":
|
|
27112
25597
|
case 2147483647:
|
|
27113
|
-
message.
|
|
25598
|
+
message.edition = 2147483647;
|
|
27114
25599
|
break;
|
|
27115
25600
|
}
|
|
25601
|
+
if (object.value != null)
|
|
25602
|
+
message.value = String(object.value);
|
|
27116
25603
|
return message;
|
|
27117
25604
|
};
|
|
27118
25605
|
|
|
27119
25606
|
/**
|
|
27120
|
-
* Creates a plain object from
|
|
25607
|
+
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
27121
25608
|
* @function toObject
|
|
27122
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25609
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
27123
25610
|
* @static
|
|
27124
|
-
* @param {google.protobuf.FieldOptions.
|
|
25611
|
+
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
|
27125
25612
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
27126
25613
|
* @returns {Object.<string,*>} Plain object
|
|
27127
25614
|
*/
|
|
27128
|
-
|
|
25615
|
+
EditionDefault.toObject = function toObject(message, options) {
|
|
27129
25616
|
if (!options)
|
|
27130
25617
|
options = {};
|
|
27131
25618
|
var object = {};
|
|
27132
25619
|
if (options.defaults) {
|
|
27133
|
-
object.
|
|
27134
|
-
object.
|
|
27135
|
-
object.deprecationWarning = "";
|
|
27136
|
-
object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
25620
|
+
object.value = "";
|
|
25621
|
+
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
27137
25622
|
}
|
|
27138
|
-
if (message.
|
|
27139
|
-
object.
|
|
27140
|
-
if (message.
|
|
27141
|
-
object.
|
|
27142
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
27143
|
-
object.deprecationWarning = message.deprecationWarning;
|
|
27144
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
27145
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
|
25623
|
+
if (message.value != null && message.hasOwnProperty("value"))
|
|
25624
|
+
object.value = message.value;
|
|
25625
|
+
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
25626
|
+
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
27146
25627
|
return object;
|
|
27147
25628
|
};
|
|
27148
25629
|
|
|
27149
25630
|
/**
|
|
27150
|
-
* Converts this
|
|
25631
|
+
* Converts this EditionDefault to JSON.
|
|
27151
25632
|
* @function toJSON
|
|
27152
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25633
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
27153
25634
|
* @instance
|
|
27154
25635
|
* @returns {Object.<string,*>} JSON object
|
|
27155
25636
|
*/
|
|
27156
|
-
|
|
25637
|
+
EditionDefault.prototype.toJSON = function toJSON() {
|
|
27157
25638
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
27158
25639
|
};
|
|
27159
25640
|
|
|
27160
25641
|
/**
|
|
27161
|
-
* Gets the default type url for
|
|
25642
|
+
* Gets the default type url for EditionDefault
|
|
27162
25643
|
* @function getTypeUrl
|
|
27163
|
-
* @memberof google.protobuf.FieldOptions.
|
|
25644
|
+
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
27164
25645
|
* @static
|
|
27165
25646
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
27166
25647
|
* @returns {string} The default type url
|
|
27167
25648
|
*/
|
|
27168
|
-
|
|
25649
|
+
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
27169
25650
|
if (typeUrlPrefix === undefined) {
|
|
27170
25651
|
typeUrlPrefix = "type.googleapis.com";
|
|
27171
25652
|
}
|
|
27172
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.
|
|
25653
|
+
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
|
27173
25654
|
};
|
|
27174
25655
|
|
|
27175
|
-
return
|
|
25656
|
+
return EditionDefault;
|
|
27176
25657
|
})();
|
|
27177
25658
|
|
|
27178
25659
|
return FieldOptions;
|
|
@@ -27767,7 +26248,6 @@
|
|
|
27767
26248
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
27768
26249
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
27769
26250
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
27770
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
|
27771
26251
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
27772
26252
|
*/
|
|
27773
26253
|
|
|
@@ -27811,14 +26291,6 @@
|
|
|
27811
26291
|
*/
|
|
27812
26292
|
EnumValueOptions.prototype.debugRedact = false;
|
|
27813
26293
|
|
|
27814
|
-
/**
|
|
27815
|
-
* EnumValueOptions featureSupport.
|
|
27816
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
27817
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
27818
|
-
* @instance
|
|
27819
|
-
*/
|
|
27820
|
-
EnumValueOptions.prototype.featureSupport = null;
|
|
27821
|
-
|
|
27822
26294
|
/**
|
|
27823
26295
|
* EnumValueOptions uninterpretedOption.
|
|
27824
26296
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -27857,8 +26329,6 @@
|
|
|
27857
26329
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
27858
26330
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
27859
26331
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
27860
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
27861
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
27862
26332
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
27863
26333
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
27864
26334
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -27910,10 +26380,6 @@
|
|
|
27910
26380
|
message.debugRedact = reader.bool();
|
|
27911
26381
|
break;
|
|
27912
26382
|
}
|
|
27913
|
-
case 4: {
|
|
27914
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
27915
|
-
break;
|
|
27916
|
-
}
|
|
27917
26383
|
case 999: {
|
|
27918
26384
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
27919
26385
|
message.uninterpretedOption = [];
|
|
@@ -27966,11 +26432,6 @@
|
|
|
27966
26432
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
27967
26433
|
if (typeof message.debugRedact !== "boolean")
|
|
27968
26434
|
return "debugRedact: boolean expected";
|
|
27969
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
27970
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
27971
|
-
if (error)
|
|
27972
|
-
return "featureSupport." + error;
|
|
27973
|
-
}
|
|
27974
26435
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
27975
26436
|
if (!Array.isArray(message.uninterpretedOption))
|
|
27976
26437
|
return "uninterpretedOption: array expected";
|
|
@@ -28004,11 +26465,6 @@
|
|
|
28004
26465
|
}
|
|
28005
26466
|
if (object.debugRedact != null)
|
|
28006
26467
|
message.debugRedact = Boolean(object.debugRedact);
|
|
28007
|
-
if (object.featureSupport != null) {
|
|
28008
|
-
if (typeof object.featureSupport !== "object")
|
|
28009
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
|
28010
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
28011
|
-
}
|
|
28012
26468
|
if (object.uninterpretedOption) {
|
|
28013
26469
|
if (!Array.isArray(object.uninterpretedOption))
|
|
28014
26470
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -28041,7 +26497,6 @@
|
|
|
28041
26497
|
object.deprecated = false;
|
|
28042
26498
|
object.features = null;
|
|
28043
26499
|
object.debugRedact = false;
|
|
28044
|
-
object.featureSupport = null;
|
|
28045
26500
|
}
|
|
28046
26501
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
28047
26502
|
object.deprecated = message.deprecated;
|
|
@@ -28049,8 +26504,6 @@
|
|
|
28049
26504
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
28050
26505
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
28051
26506
|
object.debugRedact = message.debugRedact;
|
|
28052
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
28053
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
28054
26507
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
28055
26508
|
object.uninterpretedOption = [];
|
|
28056
26509
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -29490,8 +27943,6 @@
|
|
|
29490
27943
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
|
29491
27944
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
29492
27945
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
29493
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
|
29494
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
|
29495
27946
|
*/
|
|
29496
27947
|
|
|
29497
27948
|
/**
|
|
@@ -29557,22 +28008,6 @@
|
|
|
29557
28008
|
*/
|
|
29558
28009
|
FeatureSet.prototype.jsonFormat = 0;
|
|
29559
28010
|
|
|
29560
|
-
/**
|
|
29561
|
-
* FeatureSet enforceNamingStyle.
|
|
29562
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
|
29563
|
-
* @memberof google.protobuf.FeatureSet
|
|
29564
|
-
* @instance
|
|
29565
|
-
*/
|
|
29566
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
|
29567
|
-
|
|
29568
|
-
/**
|
|
29569
|
-
* FeatureSet defaultSymbolVisibility.
|
|
29570
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
|
29571
|
-
* @memberof google.protobuf.FeatureSet
|
|
29572
|
-
* @instance
|
|
29573
|
-
*/
|
|
29574
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
|
29575
|
-
|
|
29576
28011
|
/**
|
|
29577
28012
|
* Creates a new FeatureSet instance using the specified properties.
|
|
29578
28013
|
* @function create
|
|
@@ -29609,10 +28044,6 @@
|
|
|
29609
28044
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
29610
28045
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
29611
28046
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
29612
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
|
29613
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
|
29614
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
|
29615
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
|
29616
28047
|
return writer;
|
|
29617
28048
|
};
|
|
29618
28049
|
|
|
@@ -29673,14 +28104,6 @@
|
|
|
29673
28104
|
message.jsonFormat = reader.int32();
|
|
29674
28105
|
break;
|
|
29675
28106
|
}
|
|
29676
|
-
case 7: {
|
|
29677
|
-
message.enforceNamingStyle = reader.int32();
|
|
29678
|
-
break;
|
|
29679
|
-
}
|
|
29680
|
-
case 8: {
|
|
29681
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
29682
|
-
break;
|
|
29683
|
-
}
|
|
29684
28107
|
default:
|
|
29685
28108
|
reader.skipType(tag & 7);
|
|
29686
28109
|
break;
|
|
@@ -29771,26 +28194,6 @@
|
|
|
29771
28194
|
case 2:
|
|
29772
28195
|
break;
|
|
29773
28196
|
}
|
|
29774
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
29775
|
-
switch (message.enforceNamingStyle) {
|
|
29776
|
-
default:
|
|
29777
|
-
return "enforceNamingStyle: enum value expected";
|
|
29778
|
-
case 0:
|
|
29779
|
-
case 1:
|
|
29780
|
-
case 2:
|
|
29781
|
-
break;
|
|
29782
|
-
}
|
|
29783
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
29784
|
-
switch (message.defaultSymbolVisibility) {
|
|
29785
|
-
default:
|
|
29786
|
-
return "defaultSymbolVisibility: enum value expected";
|
|
29787
|
-
case 0:
|
|
29788
|
-
case 1:
|
|
29789
|
-
case 2:
|
|
29790
|
-
case 3:
|
|
29791
|
-
case 4:
|
|
29792
|
-
break;
|
|
29793
|
-
}
|
|
29794
28197
|
return null;
|
|
29795
28198
|
};
|
|
29796
28199
|
|
|
@@ -29930,54 +28333,6 @@
|
|
|
29930
28333
|
message.jsonFormat = 2;
|
|
29931
28334
|
break;
|
|
29932
28335
|
}
|
|
29933
|
-
switch (object.enforceNamingStyle) {
|
|
29934
|
-
default:
|
|
29935
|
-
if (typeof object.enforceNamingStyle === "number") {
|
|
29936
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
|
29937
|
-
break;
|
|
29938
|
-
}
|
|
29939
|
-
break;
|
|
29940
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
|
29941
|
-
case 0:
|
|
29942
|
-
message.enforceNamingStyle = 0;
|
|
29943
|
-
break;
|
|
29944
|
-
case "STYLE2024":
|
|
29945
|
-
case 1:
|
|
29946
|
-
message.enforceNamingStyle = 1;
|
|
29947
|
-
break;
|
|
29948
|
-
case "STYLE_LEGACY":
|
|
29949
|
-
case 2:
|
|
29950
|
-
message.enforceNamingStyle = 2;
|
|
29951
|
-
break;
|
|
29952
|
-
}
|
|
29953
|
-
switch (object.defaultSymbolVisibility) {
|
|
29954
|
-
default:
|
|
29955
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
|
29956
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
|
29957
|
-
break;
|
|
29958
|
-
}
|
|
29959
|
-
break;
|
|
29960
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
|
29961
|
-
case 0:
|
|
29962
|
-
message.defaultSymbolVisibility = 0;
|
|
29963
|
-
break;
|
|
29964
|
-
case "EXPORT_ALL":
|
|
29965
|
-
case 1:
|
|
29966
|
-
message.defaultSymbolVisibility = 1;
|
|
29967
|
-
break;
|
|
29968
|
-
case "EXPORT_TOP_LEVEL":
|
|
29969
|
-
case 2:
|
|
29970
|
-
message.defaultSymbolVisibility = 2;
|
|
29971
|
-
break;
|
|
29972
|
-
case "LOCAL_ALL":
|
|
29973
|
-
case 3:
|
|
29974
|
-
message.defaultSymbolVisibility = 3;
|
|
29975
|
-
break;
|
|
29976
|
-
case "STRICT":
|
|
29977
|
-
case 4:
|
|
29978
|
-
message.defaultSymbolVisibility = 4;
|
|
29979
|
-
break;
|
|
29980
|
-
}
|
|
29981
28336
|
return message;
|
|
29982
28337
|
};
|
|
29983
28338
|
|
|
@@ -30001,8 +28356,6 @@
|
|
|
30001
28356
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
|
30002
28357
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
30003
28358
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
30004
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
|
30005
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
|
30006
28359
|
}
|
|
30007
28360
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
30008
28361
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
@@ -30016,10 +28369,6 @@
|
|
|
30016
28369
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
30017
28370
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
30018
28371
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
30019
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
30020
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
|
30021
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
30022
|
-
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;
|
|
30023
28372
|
return object;
|
|
30024
28373
|
};
|
|
30025
28374
|
|
|
@@ -30147,219 +28496,6 @@
|
|
|
30147
28496
|
return values;
|
|
30148
28497
|
})();
|
|
30149
28498
|
|
|
30150
|
-
/**
|
|
30151
|
-
* EnforceNamingStyle enum.
|
|
30152
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
|
30153
|
-
* @enum {number}
|
|
30154
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
|
30155
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
|
30156
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
|
30157
|
-
*/
|
|
30158
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
|
30159
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
30160
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
|
30161
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
|
30162
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
|
30163
|
-
return values;
|
|
30164
|
-
})();
|
|
30165
|
-
|
|
30166
|
-
FeatureSet.VisibilityFeature = (function() {
|
|
30167
|
-
|
|
30168
|
-
/**
|
|
30169
|
-
* Properties of a VisibilityFeature.
|
|
30170
|
-
* @memberof google.protobuf.FeatureSet
|
|
30171
|
-
* @interface IVisibilityFeature
|
|
30172
|
-
*/
|
|
30173
|
-
|
|
30174
|
-
/**
|
|
30175
|
-
* Constructs a new VisibilityFeature.
|
|
30176
|
-
* @memberof google.protobuf.FeatureSet
|
|
30177
|
-
* @classdesc Represents a VisibilityFeature.
|
|
30178
|
-
* @implements IVisibilityFeature
|
|
30179
|
-
* @constructor
|
|
30180
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
30181
|
-
*/
|
|
30182
|
-
function VisibilityFeature(properties) {
|
|
30183
|
-
if (properties)
|
|
30184
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
30185
|
-
if (properties[keys[i]] != null)
|
|
30186
|
-
this[keys[i]] = properties[keys[i]];
|
|
30187
|
-
}
|
|
30188
|
-
|
|
30189
|
-
/**
|
|
30190
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
|
30191
|
-
* @function create
|
|
30192
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30193
|
-
* @static
|
|
30194
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
30195
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
|
30196
|
-
*/
|
|
30197
|
-
VisibilityFeature.create = function create(properties) {
|
|
30198
|
-
return new VisibilityFeature(properties);
|
|
30199
|
-
};
|
|
30200
|
-
|
|
30201
|
-
/**
|
|
30202
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
30203
|
-
* @function encode
|
|
30204
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30205
|
-
* @static
|
|
30206
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
30207
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30208
|
-
* @returns {$protobuf.Writer} Writer
|
|
30209
|
-
*/
|
|
30210
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
|
30211
|
-
if (!writer)
|
|
30212
|
-
writer = $Writer.create();
|
|
30213
|
-
return writer;
|
|
30214
|
-
};
|
|
30215
|
-
|
|
30216
|
-
/**
|
|
30217
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
30218
|
-
* @function encodeDelimited
|
|
30219
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30220
|
-
* @static
|
|
30221
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
30222
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
30223
|
-
* @returns {$protobuf.Writer} Writer
|
|
30224
|
-
*/
|
|
30225
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
|
30226
|
-
return this.encode(message, writer).ldelim();
|
|
30227
|
-
};
|
|
30228
|
-
|
|
30229
|
-
/**
|
|
30230
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
30231
|
-
* @function decode
|
|
30232
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30233
|
-
* @static
|
|
30234
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30235
|
-
* @param {number} [length] Message length if known beforehand
|
|
30236
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
30237
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30238
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30239
|
-
*/
|
|
30240
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
|
30241
|
-
if (!(reader instanceof $Reader))
|
|
30242
|
-
reader = $Reader.create(reader);
|
|
30243
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
30244
|
-
while (reader.pos < end) {
|
|
30245
|
-
var tag = reader.uint32();
|
|
30246
|
-
if (tag === error)
|
|
30247
|
-
break;
|
|
30248
|
-
switch (tag >>> 3) {
|
|
30249
|
-
default:
|
|
30250
|
-
reader.skipType(tag & 7);
|
|
30251
|
-
break;
|
|
30252
|
-
}
|
|
30253
|
-
}
|
|
30254
|
-
return message;
|
|
30255
|
-
};
|
|
30256
|
-
|
|
30257
|
-
/**
|
|
30258
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
30259
|
-
* @function decodeDelimited
|
|
30260
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30261
|
-
* @static
|
|
30262
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
30263
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
30264
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
30265
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
30266
|
-
*/
|
|
30267
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
|
30268
|
-
if (!(reader instanceof $Reader))
|
|
30269
|
-
reader = new $Reader(reader);
|
|
30270
|
-
return this.decode(reader, reader.uint32());
|
|
30271
|
-
};
|
|
30272
|
-
|
|
30273
|
-
/**
|
|
30274
|
-
* Verifies a VisibilityFeature message.
|
|
30275
|
-
* @function verify
|
|
30276
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30277
|
-
* @static
|
|
30278
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
30279
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
30280
|
-
*/
|
|
30281
|
-
VisibilityFeature.verify = function verify(message) {
|
|
30282
|
-
if (typeof message !== "object" || message === null)
|
|
30283
|
-
return "object expected";
|
|
30284
|
-
return null;
|
|
30285
|
-
};
|
|
30286
|
-
|
|
30287
|
-
/**
|
|
30288
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
30289
|
-
* @function fromObject
|
|
30290
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30291
|
-
* @static
|
|
30292
|
-
* @param {Object.<string,*>} object Plain object
|
|
30293
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
30294
|
-
*/
|
|
30295
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
|
30296
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
|
30297
|
-
return object;
|
|
30298
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
30299
|
-
};
|
|
30300
|
-
|
|
30301
|
-
/**
|
|
30302
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
30303
|
-
* @function toObject
|
|
30304
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30305
|
-
* @static
|
|
30306
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
|
30307
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
30308
|
-
* @returns {Object.<string,*>} Plain object
|
|
30309
|
-
*/
|
|
30310
|
-
VisibilityFeature.toObject = function toObject() {
|
|
30311
|
-
return {};
|
|
30312
|
-
};
|
|
30313
|
-
|
|
30314
|
-
/**
|
|
30315
|
-
* Converts this VisibilityFeature to JSON.
|
|
30316
|
-
* @function toJSON
|
|
30317
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30318
|
-
* @instance
|
|
30319
|
-
* @returns {Object.<string,*>} JSON object
|
|
30320
|
-
*/
|
|
30321
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
|
30322
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
30323
|
-
};
|
|
30324
|
-
|
|
30325
|
-
/**
|
|
30326
|
-
* Gets the default type url for VisibilityFeature
|
|
30327
|
-
* @function getTypeUrl
|
|
30328
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
30329
|
-
* @static
|
|
30330
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
30331
|
-
* @returns {string} The default type url
|
|
30332
|
-
*/
|
|
30333
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
30334
|
-
if (typeUrlPrefix === undefined) {
|
|
30335
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
30336
|
-
}
|
|
30337
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
|
30338
|
-
};
|
|
30339
|
-
|
|
30340
|
-
/**
|
|
30341
|
-
* DefaultSymbolVisibility enum.
|
|
30342
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
30343
|
-
* @enum {number}
|
|
30344
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
|
30345
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
|
30346
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
|
30347
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
|
30348
|
-
* @property {number} STRICT=4 STRICT value
|
|
30349
|
-
*/
|
|
30350
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
|
30351
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
30352
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
|
30353
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
|
30354
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
|
30355
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
|
30356
|
-
values[valuesById[4] = "STRICT"] = 4;
|
|
30357
|
-
return values;
|
|
30358
|
-
})();
|
|
30359
|
-
|
|
30360
|
-
return VisibilityFeature;
|
|
30361
|
-
})();
|
|
30362
|
-
|
|
30363
28499
|
return FeatureSet;
|
|
30364
28500
|
})();
|
|
30365
28501
|
|
|
@@ -30544,7 +28680,6 @@
|
|
|
30544
28680
|
default:
|
|
30545
28681
|
return "minimumEdition: enum value expected";
|
|
30546
28682
|
case 0:
|
|
30547
|
-
case 900:
|
|
30548
28683
|
case 998:
|
|
30549
28684
|
case 999:
|
|
30550
28685
|
case 1000:
|
|
@@ -30562,7 +28697,6 @@
|
|
|
30562
28697
|
default:
|
|
30563
28698
|
return "maximumEdition: enum value expected";
|
|
30564
28699
|
case 0:
|
|
30565
|
-
case 900:
|
|
30566
28700
|
case 998:
|
|
30567
28701
|
case 999:
|
|
30568
28702
|
case 1000:
|
|
@@ -30611,10 +28745,6 @@
|
|
|
30611
28745
|
case 0:
|
|
30612
28746
|
message.minimumEdition = 0;
|
|
30613
28747
|
break;
|
|
30614
|
-
case "EDITION_LEGACY":
|
|
30615
|
-
case 900:
|
|
30616
|
-
message.minimumEdition = 900;
|
|
30617
|
-
break;
|
|
30618
28748
|
case "EDITION_PROTO2":
|
|
30619
28749
|
case 998:
|
|
30620
28750
|
message.minimumEdition = 998;
|
|
@@ -30667,10 +28797,6 @@
|
|
|
30667
28797
|
case 0:
|
|
30668
28798
|
message.maximumEdition = 0;
|
|
30669
28799
|
break;
|
|
30670
|
-
case "EDITION_LEGACY":
|
|
30671
|
-
case 900:
|
|
30672
|
-
message.maximumEdition = 900;
|
|
30673
|
-
break;
|
|
30674
28800
|
case "EDITION_PROTO2":
|
|
30675
28801
|
case 998:
|
|
30676
28802
|
message.maximumEdition = 998;
|
|
@@ -30779,8 +28905,7 @@
|
|
|
30779
28905
|
* @memberof google.protobuf.FeatureSetDefaults
|
|
30780
28906
|
* @interface IFeatureSetEditionDefault
|
|
30781
28907
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
|
30782
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
|
30783
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
|
28908
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
|
30784
28909
|
*/
|
|
30785
28910
|
|
|
30786
28911
|
/**
|
|
@@ -30807,20 +28932,12 @@
|
|
|
30807
28932
|
FeatureSetEditionDefault.prototype.edition = 0;
|
|
30808
28933
|
|
|
30809
28934
|
/**
|
|
30810
|
-
* FeatureSetEditionDefault
|
|
30811
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
|
30812
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
30813
|
-
* @instance
|
|
30814
|
-
*/
|
|
30815
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
|
30816
|
-
|
|
30817
|
-
/**
|
|
30818
|
-
* FeatureSetEditionDefault fixedFeatures.
|
|
30819
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
|
28935
|
+
* FeatureSetEditionDefault features.
|
|
28936
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
30820
28937
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
30821
28938
|
* @instance
|
|
30822
28939
|
*/
|
|
30823
|
-
FeatureSetEditionDefault.prototype.
|
|
28940
|
+
FeatureSetEditionDefault.prototype.features = null;
|
|
30824
28941
|
|
|
30825
28942
|
/**
|
|
30826
28943
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -30846,12 +28963,10 @@
|
|
|
30846
28963
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
|
30847
28964
|
if (!writer)
|
|
30848
28965
|
writer = $Writer.create();
|
|
28966
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
28967
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
30849
28968
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
30850
28969
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
|
30851
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
|
30852
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
30853
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
|
30854
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
30855
28970
|
return writer;
|
|
30856
28971
|
};
|
|
30857
28972
|
|
|
@@ -30892,12 +29007,8 @@
|
|
|
30892
29007
|
message.edition = reader.int32();
|
|
30893
29008
|
break;
|
|
30894
29009
|
}
|
|
30895
|
-
case
|
|
30896
|
-
message.
|
|
30897
|
-
break;
|
|
30898
|
-
}
|
|
30899
|
-
case 5: {
|
|
30900
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
29010
|
+
case 2: {
|
|
29011
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
30901
29012
|
break;
|
|
30902
29013
|
}
|
|
30903
29014
|
default:
|
|
@@ -30940,7 +29051,6 @@
|
|
|
30940
29051
|
default:
|
|
30941
29052
|
return "edition: enum value expected";
|
|
30942
29053
|
case 0:
|
|
30943
|
-
case 900:
|
|
30944
29054
|
case 998:
|
|
30945
29055
|
case 999:
|
|
30946
29056
|
case 1000:
|
|
@@ -30953,15 +29063,10 @@
|
|
|
30953
29063
|
case 2147483647:
|
|
30954
29064
|
break;
|
|
30955
29065
|
}
|
|
30956
|
-
if (message.
|
|
30957
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
|
30958
|
-
if (error)
|
|
30959
|
-
return "overridableFeatures." + error;
|
|
30960
|
-
}
|
|
30961
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
|
30962
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
|
29066
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
|
29067
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
30963
29068
|
if (error)
|
|
30964
|
-
return "
|
|
29069
|
+
return "features." + error;
|
|
30965
29070
|
}
|
|
30966
29071
|
return null;
|
|
30967
29072
|
};
|
|
@@ -30989,10 +29094,6 @@
|
|
|
30989
29094
|
case 0:
|
|
30990
29095
|
message.edition = 0;
|
|
30991
29096
|
break;
|
|
30992
|
-
case "EDITION_LEGACY":
|
|
30993
|
-
case 900:
|
|
30994
|
-
message.edition = 900;
|
|
30995
|
-
break;
|
|
30996
29097
|
case "EDITION_PROTO2":
|
|
30997
29098
|
case 998:
|
|
30998
29099
|
message.edition = 998;
|
|
@@ -31034,15 +29135,10 @@
|
|
|
31034
29135
|
message.edition = 2147483647;
|
|
31035
29136
|
break;
|
|
31036
29137
|
}
|
|
31037
|
-
if (object.
|
|
31038
|
-
if (typeof object.
|
|
31039
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
31040
|
-
message.
|
|
31041
|
-
}
|
|
31042
|
-
if (object.fixedFeatures != null) {
|
|
31043
|
-
if (typeof object.fixedFeatures !== "object")
|
|
31044
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
|
31045
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
|
29138
|
+
if (object.features != null) {
|
|
29139
|
+
if (typeof object.features !== "object")
|
|
29140
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
|
29141
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
31046
29142
|
}
|
|
31047
29143
|
return message;
|
|
31048
29144
|
};
|
|
@@ -31061,16 +29157,13 @@
|
|
|
31061
29157
|
options = {};
|
|
31062
29158
|
var object = {};
|
|
31063
29159
|
if (options.defaults) {
|
|
29160
|
+
object.features = null;
|
|
31064
29161
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
31065
|
-
object.overridableFeatures = null;
|
|
31066
|
-
object.fixedFeatures = null;
|
|
31067
29162
|
}
|
|
29163
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
|
29164
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
31068
29165
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
31069
29166
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
31070
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
|
31071
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
|
31072
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
|
31073
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
|
31074
29167
|
return object;
|
|
31075
29168
|
};
|
|
31076
29169
|
|
|
@@ -32285,22 +30378,6 @@
|
|
|
32285
30378
|
return GeneratedCodeInfo;
|
|
32286
30379
|
})();
|
|
32287
30380
|
|
|
32288
|
-
/**
|
|
32289
|
-
* SymbolVisibility enum.
|
|
32290
|
-
* @name google.protobuf.SymbolVisibility
|
|
32291
|
-
* @enum {number}
|
|
32292
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
|
32293
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
|
32294
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
|
32295
|
-
*/
|
|
32296
|
-
protobuf.SymbolVisibility = (function() {
|
|
32297
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
32298
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
|
32299
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
|
32300
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
|
32301
|
-
return values;
|
|
32302
|
-
})();
|
|
32303
|
-
|
|
32304
30381
|
protobuf.Duration = (function() {
|
|
32305
30382
|
|
|
32306
30383
|
/**
|