@google-cloud/dlp 5.1.0 → 5.1.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/CHANGELOG.md +7 -0
- package/build/protos/protos.d.ts +5 -535
- package/build/protos/protos.js +136 -1985
- package/build/protos/protos.json +4 -288
- package/package.json +3 -3
package/build/protos/protos.js
CHANGED
|
@@ -78759,7 +78759,6 @@
|
|
|
78759
78759
|
* @property {string|null} [docTagPrefix] Publishing docTagPrefix
|
|
78760
78760
|
* @property {google.api.ClientLibraryOrganization|null} [organization] Publishing organization
|
|
78761
78761
|
* @property {Array.<google.api.IClientLibrarySettings>|null} [librarySettings] Publishing librarySettings
|
|
78762
|
-
* @property {string|null} [protoReferenceDocumentationUri] Publishing protoReferenceDocumentationUri
|
|
78763
78762
|
*/
|
|
78764
78763
|
|
|
78765
78764
|
/**
|
|
@@ -78852,14 +78851,6 @@
|
|
|
78852
78851
|
*/
|
|
78853
78852
|
Publishing.prototype.librarySettings = $util.emptyArray;
|
|
78854
78853
|
|
|
78855
|
-
/**
|
|
78856
|
-
* Publishing protoReferenceDocumentationUri.
|
|
78857
|
-
* @member {string} protoReferenceDocumentationUri
|
|
78858
|
-
* @memberof google.api.Publishing
|
|
78859
|
-
* @instance
|
|
78860
|
-
*/
|
|
78861
|
-
Publishing.prototype.protoReferenceDocumentationUri = "";
|
|
78862
|
-
|
|
78863
78854
|
/**
|
|
78864
78855
|
* Creates a new Publishing instance using the specified properties.
|
|
78865
78856
|
* @function create
|
|
@@ -78905,8 +78896,6 @@
|
|
|
78905
78896
|
if (message.librarySettings != null && message.librarySettings.length)
|
|
78906
78897
|
for (var i = 0; i < message.librarySettings.length; ++i)
|
|
78907
78898
|
$root.google.api.ClientLibrarySettings.encode(message.librarySettings[i], writer.uint32(/* id 109, wireType 2 =*/874).fork()).ldelim();
|
|
78908
|
-
if (message.protoReferenceDocumentationUri != null && Object.hasOwnProperty.call(message, "protoReferenceDocumentationUri"))
|
|
78909
|
-
writer.uint32(/* id 110, wireType 2 =*/882).string(message.protoReferenceDocumentationUri);
|
|
78910
78899
|
return writer;
|
|
78911
78900
|
};
|
|
78912
78901
|
|
|
@@ -78983,10 +78972,6 @@
|
|
|
78983
78972
|
message.librarySettings.push($root.google.api.ClientLibrarySettings.decode(reader, reader.uint32()));
|
|
78984
78973
|
break;
|
|
78985
78974
|
}
|
|
78986
|
-
case 110: {
|
|
78987
|
-
message.protoReferenceDocumentationUri = reader.string();
|
|
78988
|
-
break;
|
|
78989
|
-
}
|
|
78990
78975
|
default:
|
|
78991
78976
|
reader.skipType(tag & 7);
|
|
78992
78977
|
break;
|
|
@@ -79062,9 +79047,6 @@
|
|
|
79062
79047
|
case 2:
|
|
79063
79048
|
case 3:
|
|
79064
79049
|
case 4:
|
|
79065
|
-
case 5:
|
|
79066
|
-
case 6:
|
|
79067
|
-
case 7:
|
|
79068
79050
|
break;
|
|
79069
79051
|
}
|
|
79070
79052
|
if (message.librarySettings != null && message.hasOwnProperty("librarySettings")) {
|
|
@@ -79076,9 +79058,6 @@
|
|
|
79076
79058
|
return "librarySettings." + error;
|
|
79077
79059
|
}
|
|
79078
79060
|
}
|
|
79079
|
-
if (message.protoReferenceDocumentationUri != null && message.hasOwnProperty("protoReferenceDocumentationUri"))
|
|
79080
|
-
if (!$util.isString(message.protoReferenceDocumentationUri))
|
|
79081
|
-
return "protoReferenceDocumentationUri: string expected";
|
|
79082
79061
|
return null;
|
|
79083
79062
|
};
|
|
79084
79063
|
|
|
@@ -79148,18 +79127,6 @@
|
|
|
79148
79127
|
case 4:
|
|
79149
79128
|
message.organization = 4;
|
|
79150
79129
|
break;
|
|
79151
|
-
case "SHOPPING":
|
|
79152
|
-
case 5:
|
|
79153
|
-
message.organization = 5;
|
|
79154
|
-
break;
|
|
79155
|
-
case "GEO":
|
|
79156
|
-
case 6:
|
|
79157
|
-
message.organization = 6;
|
|
79158
|
-
break;
|
|
79159
|
-
case "GENERATIVE_AI":
|
|
79160
|
-
case 7:
|
|
79161
|
-
message.organization = 7;
|
|
79162
|
-
break;
|
|
79163
79130
|
}
|
|
79164
79131
|
if (object.librarySettings) {
|
|
79165
79132
|
if (!Array.isArray(object.librarySettings))
|
|
@@ -79171,8 +79138,6 @@
|
|
|
79171
79138
|
message.librarySettings[i] = $root.google.api.ClientLibrarySettings.fromObject(object.librarySettings[i]);
|
|
79172
79139
|
}
|
|
79173
79140
|
}
|
|
79174
|
-
if (object.protoReferenceDocumentationUri != null)
|
|
79175
|
-
message.protoReferenceDocumentationUri = String(object.protoReferenceDocumentationUri);
|
|
79176
79141
|
return message;
|
|
79177
79142
|
};
|
|
79178
79143
|
|
|
@@ -79201,7 +79166,6 @@
|
|
|
79201
79166
|
object.githubLabel = "";
|
|
79202
79167
|
object.docTagPrefix = "";
|
|
79203
79168
|
object.organization = options.enums === String ? "CLIENT_LIBRARY_ORGANIZATION_UNSPECIFIED" : 0;
|
|
79204
|
-
object.protoReferenceDocumentationUri = "";
|
|
79205
79169
|
}
|
|
79206
79170
|
if (message.methodSettings && message.methodSettings.length) {
|
|
79207
79171
|
object.methodSettings = [];
|
|
@@ -79230,8 +79194,6 @@
|
|
|
79230
79194
|
for (var j = 0; j < message.librarySettings.length; ++j)
|
|
79231
79195
|
object.librarySettings[j] = $root.google.api.ClientLibrarySettings.toObject(message.librarySettings[j], options);
|
|
79232
79196
|
}
|
|
79233
|
-
if (message.protoReferenceDocumentationUri != null && message.hasOwnProperty("protoReferenceDocumentationUri"))
|
|
79234
|
-
object.protoReferenceDocumentationUri = message.protoReferenceDocumentationUri;
|
|
79235
79197
|
return object;
|
|
79236
79198
|
};
|
|
79237
79199
|
|
|
@@ -80394,11 +80356,6 @@
|
|
|
80394
80356
|
* @memberof google.api
|
|
80395
80357
|
* @interface IDotnetSettings
|
|
80396
80358
|
* @property {google.api.ICommonLanguageSettings|null} [common] DotnetSettings common
|
|
80397
|
-
* @property {Object.<string,string>|null} [renamedServices] DotnetSettings renamedServices
|
|
80398
|
-
* @property {Object.<string,string>|null} [renamedResources] DotnetSettings renamedResources
|
|
80399
|
-
* @property {Array.<string>|null} [ignoredResources] DotnetSettings ignoredResources
|
|
80400
|
-
* @property {Array.<string>|null} [forcedNamespaceAliases] DotnetSettings forcedNamespaceAliases
|
|
80401
|
-
* @property {Array.<string>|null} [handwrittenSignatures] DotnetSettings handwrittenSignatures
|
|
80402
80359
|
*/
|
|
80403
80360
|
|
|
80404
80361
|
/**
|
|
@@ -80410,11 +80367,6 @@
|
|
|
80410
80367
|
* @param {google.api.IDotnetSettings=} [properties] Properties to set
|
|
80411
80368
|
*/
|
|
80412
80369
|
function DotnetSettings(properties) {
|
|
80413
|
-
this.renamedServices = {};
|
|
80414
|
-
this.renamedResources = {};
|
|
80415
|
-
this.ignoredResources = [];
|
|
80416
|
-
this.forcedNamespaceAliases = [];
|
|
80417
|
-
this.handwrittenSignatures = [];
|
|
80418
80370
|
if (properties)
|
|
80419
80371
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
80420
80372
|
if (properties[keys[i]] != null)
|
|
@@ -80429,46 +80381,6 @@
|
|
|
80429
80381
|
*/
|
|
80430
80382
|
DotnetSettings.prototype.common = null;
|
|
80431
80383
|
|
|
80432
|
-
/**
|
|
80433
|
-
* DotnetSettings renamedServices.
|
|
80434
|
-
* @member {Object.<string,string>} renamedServices
|
|
80435
|
-
* @memberof google.api.DotnetSettings
|
|
80436
|
-
* @instance
|
|
80437
|
-
*/
|
|
80438
|
-
DotnetSettings.prototype.renamedServices = $util.emptyObject;
|
|
80439
|
-
|
|
80440
|
-
/**
|
|
80441
|
-
* DotnetSettings renamedResources.
|
|
80442
|
-
* @member {Object.<string,string>} renamedResources
|
|
80443
|
-
* @memberof google.api.DotnetSettings
|
|
80444
|
-
* @instance
|
|
80445
|
-
*/
|
|
80446
|
-
DotnetSettings.prototype.renamedResources = $util.emptyObject;
|
|
80447
|
-
|
|
80448
|
-
/**
|
|
80449
|
-
* DotnetSettings ignoredResources.
|
|
80450
|
-
* @member {Array.<string>} ignoredResources
|
|
80451
|
-
* @memberof google.api.DotnetSettings
|
|
80452
|
-
* @instance
|
|
80453
|
-
*/
|
|
80454
|
-
DotnetSettings.prototype.ignoredResources = $util.emptyArray;
|
|
80455
|
-
|
|
80456
|
-
/**
|
|
80457
|
-
* DotnetSettings forcedNamespaceAliases.
|
|
80458
|
-
* @member {Array.<string>} forcedNamespaceAliases
|
|
80459
|
-
* @memberof google.api.DotnetSettings
|
|
80460
|
-
* @instance
|
|
80461
|
-
*/
|
|
80462
|
-
DotnetSettings.prototype.forcedNamespaceAliases = $util.emptyArray;
|
|
80463
|
-
|
|
80464
|
-
/**
|
|
80465
|
-
* DotnetSettings handwrittenSignatures.
|
|
80466
|
-
* @member {Array.<string>} handwrittenSignatures
|
|
80467
|
-
* @memberof google.api.DotnetSettings
|
|
80468
|
-
* @instance
|
|
80469
|
-
*/
|
|
80470
|
-
DotnetSettings.prototype.handwrittenSignatures = $util.emptyArray;
|
|
80471
|
-
|
|
80472
80384
|
/**
|
|
80473
80385
|
* Creates a new DotnetSettings instance using the specified properties.
|
|
80474
80386
|
* @function create
|
|
@@ -80495,21 +80407,6 @@
|
|
|
80495
80407
|
writer = $Writer.create();
|
|
80496
80408
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
80497
80409
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
80498
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
80499
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
80500
|
-
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();
|
|
80501
|
-
if (message.renamedResources != null && Object.hasOwnProperty.call(message, "renamedResources"))
|
|
80502
|
-
for (var keys = Object.keys(message.renamedResources), i = 0; i < keys.length; ++i)
|
|
80503
|
-
writer.uint32(/* id 3, wireType 2 =*/26).fork().uint32(/* id 1, wireType 2 =*/10).string(keys[i]).uint32(/* id 2, wireType 2 =*/18).string(message.renamedResources[keys[i]]).ldelim();
|
|
80504
|
-
if (message.ignoredResources != null && message.ignoredResources.length)
|
|
80505
|
-
for (var i = 0; i < message.ignoredResources.length; ++i)
|
|
80506
|
-
writer.uint32(/* id 4, wireType 2 =*/34).string(message.ignoredResources[i]);
|
|
80507
|
-
if (message.forcedNamespaceAliases != null && message.forcedNamespaceAliases.length)
|
|
80508
|
-
for (var i = 0; i < message.forcedNamespaceAliases.length; ++i)
|
|
80509
|
-
writer.uint32(/* id 5, wireType 2 =*/42).string(message.forcedNamespaceAliases[i]);
|
|
80510
|
-
if (message.handwrittenSignatures != null && message.handwrittenSignatures.length)
|
|
80511
|
-
for (var i = 0; i < message.handwrittenSignatures.length; ++i)
|
|
80512
|
-
writer.uint32(/* id 6, wireType 2 =*/50).string(message.handwrittenSignatures[i]);
|
|
80513
80410
|
return writer;
|
|
80514
80411
|
};
|
|
80515
80412
|
|
|
@@ -80540,7 +80437,7 @@
|
|
|
80540
80437
|
DotnetSettings.decode = function decode(reader, length) {
|
|
80541
80438
|
if (!(reader instanceof $Reader))
|
|
80542
80439
|
reader = $Reader.create(reader);
|
|
80543
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.DotnetSettings()
|
|
80440
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.DotnetSettings();
|
|
80544
80441
|
while (reader.pos < end) {
|
|
80545
80442
|
var tag = reader.uint32();
|
|
80546
80443
|
switch (tag >>> 3) {
|
|
@@ -80548,70 +80445,6 @@
|
|
|
80548
80445
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
80549
80446
|
break;
|
|
80550
80447
|
}
|
|
80551
|
-
case 2: {
|
|
80552
|
-
if (message.renamedServices === $util.emptyObject)
|
|
80553
|
-
message.renamedServices = {};
|
|
80554
|
-
var end2 = reader.uint32() + reader.pos;
|
|
80555
|
-
key = "";
|
|
80556
|
-
value = "";
|
|
80557
|
-
while (reader.pos < end2) {
|
|
80558
|
-
var tag2 = reader.uint32();
|
|
80559
|
-
switch (tag2 >>> 3) {
|
|
80560
|
-
case 1:
|
|
80561
|
-
key = reader.string();
|
|
80562
|
-
break;
|
|
80563
|
-
case 2:
|
|
80564
|
-
value = reader.string();
|
|
80565
|
-
break;
|
|
80566
|
-
default:
|
|
80567
|
-
reader.skipType(tag2 & 7);
|
|
80568
|
-
break;
|
|
80569
|
-
}
|
|
80570
|
-
}
|
|
80571
|
-
message.renamedServices[key] = value;
|
|
80572
|
-
break;
|
|
80573
|
-
}
|
|
80574
|
-
case 3: {
|
|
80575
|
-
if (message.renamedResources === $util.emptyObject)
|
|
80576
|
-
message.renamedResources = {};
|
|
80577
|
-
var end2 = reader.uint32() + reader.pos;
|
|
80578
|
-
key = "";
|
|
80579
|
-
value = "";
|
|
80580
|
-
while (reader.pos < end2) {
|
|
80581
|
-
var tag2 = reader.uint32();
|
|
80582
|
-
switch (tag2 >>> 3) {
|
|
80583
|
-
case 1:
|
|
80584
|
-
key = reader.string();
|
|
80585
|
-
break;
|
|
80586
|
-
case 2:
|
|
80587
|
-
value = reader.string();
|
|
80588
|
-
break;
|
|
80589
|
-
default:
|
|
80590
|
-
reader.skipType(tag2 & 7);
|
|
80591
|
-
break;
|
|
80592
|
-
}
|
|
80593
|
-
}
|
|
80594
|
-
message.renamedResources[key] = value;
|
|
80595
|
-
break;
|
|
80596
|
-
}
|
|
80597
|
-
case 4: {
|
|
80598
|
-
if (!(message.ignoredResources && message.ignoredResources.length))
|
|
80599
|
-
message.ignoredResources = [];
|
|
80600
|
-
message.ignoredResources.push(reader.string());
|
|
80601
|
-
break;
|
|
80602
|
-
}
|
|
80603
|
-
case 5: {
|
|
80604
|
-
if (!(message.forcedNamespaceAliases && message.forcedNamespaceAliases.length))
|
|
80605
|
-
message.forcedNamespaceAliases = [];
|
|
80606
|
-
message.forcedNamespaceAliases.push(reader.string());
|
|
80607
|
-
break;
|
|
80608
|
-
}
|
|
80609
|
-
case 6: {
|
|
80610
|
-
if (!(message.handwrittenSignatures && message.handwrittenSignatures.length))
|
|
80611
|
-
message.handwrittenSignatures = [];
|
|
80612
|
-
message.handwrittenSignatures.push(reader.string());
|
|
80613
|
-
break;
|
|
80614
|
-
}
|
|
80615
80448
|
default:
|
|
80616
80449
|
reader.skipType(tag & 7);
|
|
80617
80450
|
break;
|
|
@@ -80652,43 +80485,6 @@
|
|
|
80652
80485
|
if (error)
|
|
80653
80486
|
return "common." + error;
|
|
80654
80487
|
}
|
|
80655
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
80656
|
-
if (!$util.isObject(message.renamedServices))
|
|
80657
|
-
return "renamedServices: object expected";
|
|
80658
|
-
var key = Object.keys(message.renamedServices);
|
|
80659
|
-
for (var i = 0; i < key.length; ++i)
|
|
80660
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
80661
|
-
return "renamedServices: string{k:string} expected";
|
|
80662
|
-
}
|
|
80663
|
-
if (message.renamedResources != null && message.hasOwnProperty("renamedResources")) {
|
|
80664
|
-
if (!$util.isObject(message.renamedResources))
|
|
80665
|
-
return "renamedResources: object expected";
|
|
80666
|
-
var key = Object.keys(message.renamedResources);
|
|
80667
|
-
for (var i = 0; i < key.length; ++i)
|
|
80668
|
-
if (!$util.isString(message.renamedResources[key[i]]))
|
|
80669
|
-
return "renamedResources: string{k:string} expected";
|
|
80670
|
-
}
|
|
80671
|
-
if (message.ignoredResources != null && message.hasOwnProperty("ignoredResources")) {
|
|
80672
|
-
if (!Array.isArray(message.ignoredResources))
|
|
80673
|
-
return "ignoredResources: array expected";
|
|
80674
|
-
for (var i = 0; i < message.ignoredResources.length; ++i)
|
|
80675
|
-
if (!$util.isString(message.ignoredResources[i]))
|
|
80676
|
-
return "ignoredResources: string[] expected";
|
|
80677
|
-
}
|
|
80678
|
-
if (message.forcedNamespaceAliases != null && message.hasOwnProperty("forcedNamespaceAliases")) {
|
|
80679
|
-
if (!Array.isArray(message.forcedNamespaceAliases))
|
|
80680
|
-
return "forcedNamespaceAliases: array expected";
|
|
80681
|
-
for (var i = 0; i < message.forcedNamespaceAliases.length; ++i)
|
|
80682
|
-
if (!$util.isString(message.forcedNamespaceAliases[i]))
|
|
80683
|
-
return "forcedNamespaceAliases: string[] expected";
|
|
80684
|
-
}
|
|
80685
|
-
if (message.handwrittenSignatures != null && message.hasOwnProperty("handwrittenSignatures")) {
|
|
80686
|
-
if (!Array.isArray(message.handwrittenSignatures))
|
|
80687
|
-
return "handwrittenSignatures: array expected";
|
|
80688
|
-
for (var i = 0; i < message.handwrittenSignatures.length; ++i)
|
|
80689
|
-
if (!$util.isString(message.handwrittenSignatures[i]))
|
|
80690
|
-
return "handwrittenSignatures: string[] expected";
|
|
80691
|
-
}
|
|
80692
80488
|
return null;
|
|
80693
80489
|
};
|
|
80694
80490
|
|
|
@@ -80709,41 +80505,6 @@
|
|
|
80709
80505
|
throw TypeError(".google.api.DotnetSettings.common: object expected");
|
|
80710
80506
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
80711
80507
|
}
|
|
80712
|
-
if (object.renamedServices) {
|
|
80713
|
-
if (typeof object.renamedServices !== "object")
|
|
80714
|
-
throw TypeError(".google.api.DotnetSettings.renamedServices: object expected");
|
|
80715
|
-
message.renamedServices = {};
|
|
80716
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
80717
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
80718
|
-
}
|
|
80719
|
-
if (object.renamedResources) {
|
|
80720
|
-
if (typeof object.renamedResources !== "object")
|
|
80721
|
-
throw TypeError(".google.api.DotnetSettings.renamedResources: object expected");
|
|
80722
|
-
message.renamedResources = {};
|
|
80723
|
-
for (var keys = Object.keys(object.renamedResources), i = 0; i < keys.length; ++i)
|
|
80724
|
-
message.renamedResources[keys[i]] = String(object.renamedResources[keys[i]]);
|
|
80725
|
-
}
|
|
80726
|
-
if (object.ignoredResources) {
|
|
80727
|
-
if (!Array.isArray(object.ignoredResources))
|
|
80728
|
-
throw TypeError(".google.api.DotnetSettings.ignoredResources: array expected");
|
|
80729
|
-
message.ignoredResources = [];
|
|
80730
|
-
for (var i = 0; i < object.ignoredResources.length; ++i)
|
|
80731
|
-
message.ignoredResources[i] = String(object.ignoredResources[i]);
|
|
80732
|
-
}
|
|
80733
|
-
if (object.forcedNamespaceAliases) {
|
|
80734
|
-
if (!Array.isArray(object.forcedNamespaceAliases))
|
|
80735
|
-
throw TypeError(".google.api.DotnetSettings.forcedNamespaceAliases: array expected");
|
|
80736
|
-
message.forcedNamespaceAliases = [];
|
|
80737
|
-
for (var i = 0; i < object.forcedNamespaceAliases.length; ++i)
|
|
80738
|
-
message.forcedNamespaceAliases[i] = String(object.forcedNamespaceAliases[i]);
|
|
80739
|
-
}
|
|
80740
|
-
if (object.handwrittenSignatures) {
|
|
80741
|
-
if (!Array.isArray(object.handwrittenSignatures))
|
|
80742
|
-
throw TypeError(".google.api.DotnetSettings.handwrittenSignatures: array expected");
|
|
80743
|
-
message.handwrittenSignatures = [];
|
|
80744
|
-
for (var i = 0; i < object.handwrittenSignatures.length; ++i)
|
|
80745
|
-
message.handwrittenSignatures[i] = String(object.handwrittenSignatures[i]);
|
|
80746
|
-
}
|
|
80747
80508
|
return message;
|
|
80748
80509
|
};
|
|
80749
80510
|
|
|
@@ -80760,45 +80521,10 @@
|
|
|
80760
80521
|
if (!options)
|
|
80761
80522
|
options = {};
|
|
80762
80523
|
var object = {};
|
|
80763
|
-
if (options.arrays || options.defaults) {
|
|
80764
|
-
object.ignoredResources = [];
|
|
80765
|
-
object.forcedNamespaceAliases = [];
|
|
80766
|
-
object.handwrittenSignatures = [];
|
|
80767
|
-
}
|
|
80768
|
-
if (options.objects || options.defaults) {
|
|
80769
|
-
object.renamedServices = {};
|
|
80770
|
-
object.renamedResources = {};
|
|
80771
|
-
}
|
|
80772
80524
|
if (options.defaults)
|
|
80773
80525
|
object.common = null;
|
|
80774
80526
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
80775
80527
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
80776
|
-
var keys2;
|
|
80777
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
80778
|
-
object.renamedServices = {};
|
|
80779
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
80780
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
80781
|
-
}
|
|
80782
|
-
if (message.renamedResources && (keys2 = Object.keys(message.renamedResources)).length) {
|
|
80783
|
-
object.renamedResources = {};
|
|
80784
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
80785
|
-
object.renamedResources[keys2[j]] = message.renamedResources[keys2[j]];
|
|
80786
|
-
}
|
|
80787
|
-
if (message.ignoredResources && message.ignoredResources.length) {
|
|
80788
|
-
object.ignoredResources = [];
|
|
80789
|
-
for (var j = 0; j < message.ignoredResources.length; ++j)
|
|
80790
|
-
object.ignoredResources[j] = message.ignoredResources[j];
|
|
80791
|
-
}
|
|
80792
|
-
if (message.forcedNamespaceAliases && message.forcedNamespaceAliases.length) {
|
|
80793
|
-
object.forcedNamespaceAliases = [];
|
|
80794
|
-
for (var j = 0; j < message.forcedNamespaceAliases.length; ++j)
|
|
80795
|
-
object.forcedNamespaceAliases[j] = message.forcedNamespaceAliases[j];
|
|
80796
|
-
}
|
|
80797
|
-
if (message.handwrittenSignatures && message.handwrittenSignatures.length) {
|
|
80798
|
-
object.handwrittenSignatures = [];
|
|
80799
|
-
for (var j = 0; j < message.handwrittenSignatures.length; ++j)
|
|
80800
|
-
object.handwrittenSignatures[j] = message.handwrittenSignatures[j];
|
|
80801
|
-
}
|
|
80802
80528
|
return object;
|
|
80803
80529
|
};
|
|
80804
80530
|
|
|
@@ -81776,9 +81502,6 @@
|
|
|
81776
81502
|
* @property {number} ADS=2 ADS value
|
|
81777
81503
|
* @property {number} PHOTOS=3 PHOTOS value
|
|
81778
81504
|
* @property {number} STREET_VIEW=4 STREET_VIEW value
|
|
81779
|
-
* @property {number} SHOPPING=5 SHOPPING value
|
|
81780
|
-
* @property {number} GEO=6 GEO value
|
|
81781
|
-
* @property {number} GENERATIVE_AI=7 GENERATIVE_AI value
|
|
81782
81505
|
*/
|
|
81783
81506
|
api.ClientLibraryOrganization = (function() {
|
|
81784
81507
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -81787,9 +81510,6 @@
|
|
|
81787
81510
|
values[valuesById[2] = "ADS"] = 2;
|
|
81788
81511
|
values[valuesById[3] = "PHOTOS"] = 3;
|
|
81789
81512
|
values[valuesById[4] = "STREET_VIEW"] = 4;
|
|
81790
|
-
values[valuesById[5] = "SHOPPING"] = 5;
|
|
81791
|
-
values[valuesById[6] = "GEO"] = 6;
|
|
81792
|
-
values[valuesById[7] = "GENERATIVE_AI"] = 7;
|
|
81793
81513
|
return values;
|
|
81794
81514
|
})();
|
|
81795
81515
|
|
|
@@ -84485,9 +84205,6 @@
|
|
|
84485
84205
|
* @memberof google.protobuf
|
|
84486
84206
|
* @interface IExtensionRangeOptions
|
|
84487
84207
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] ExtensionRangeOptions uninterpretedOption
|
|
84488
|
-
* @property {Array.<google.protobuf.ExtensionRangeOptions.IDeclaration>|null} [declaration] ExtensionRangeOptions declaration
|
|
84489
|
-
* @property {google.protobuf.IFeatureSet|null} [features] ExtensionRangeOptions features
|
|
84490
|
-
* @property {google.protobuf.ExtensionRangeOptions.VerificationState|null} [verification] ExtensionRangeOptions verification
|
|
84491
84208
|
*/
|
|
84492
84209
|
|
|
84493
84210
|
/**
|
|
@@ -84500,7 +84217,6 @@
|
|
|
84500
84217
|
*/
|
|
84501
84218
|
function ExtensionRangeOptions(properties) {
|
|
84502
84219
|
this.uninterpretedOption = [];
|
|
84503
|
-
this.declaration = [];
|
|
84504
84220
|
if (properties)
|
|
84505
84221
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84506
84222
|
if (properties[keys[i]] != null)
|
|
@@ -84515,30 +84231,6 @@
|
|
|
84515
84231
|
*/
|
|
84516
84232
|
ExtensionRangeOptions.prototype.uninterpretedOption = $util.emptyArray;
|
|
84517
84233
|
|
|
84518
|
-
/**
|
|
84519
|
-
* ExtensionRangeOptions declaration.
|
|
84520
|
-
* @member {Array.<google.protobuf.ExtensionRangeOptions.IDeclaration>} declaration
|
|
84521
|
-
* @memberof google.protobuf.ExtensionRangeOptions
|
|
84522
|
-
* @instance
|
|
84523
|
-
*/
|
|
84524
|
-
ExtensionRangeOptions.prototype.declaration = $util.emptyArray;
|
|
84525
|
-
|
|
84526
|
-
/**
|
|
84527
|
-
* ExtensionRangeOptions features.
|
|
84528
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
84529
|
-
* @memberof google.protobuf.ExtensionRangeOptions
|
|
84530
|
-
* @instance
|
|
84531
|
-
*/
|
|
84532
|
-
ExtensionRangeOptions.prototype.features = null;
|
|
84533
|
-
|
|
84534
|
-
/**
|
|
84535
|
-
* ExtensionRangeOptions verification.
|
|
84536
|
-
* @member {google.protobuf.ExtensionRangeOptions.VerificationState} verification
|
|
84537
|
-
* @memberof google.protobuf.ExtensionRangeOptions
|
|
84538
|
-
* @instance
|
|
84539
|
-
*/
|
|
84540
|
-
ExtensionRangeOptions.prototype.verification = 1;
|
|
84541
|
-
|
|
84542
84234
|
/**
|
|
84543
84235
|
* Creates a new ExtensionRangeOptions instance using the specified properties.
|
|
84544
84236
|
* @function create
|
|
@@ -84563,13 +84255,6 @@
|
|
|
84563
84255
|
ExtensionRangeOptions.encode = function encode(message, writer) {
|
|
84564
84256
|
if (!writer)
|
|
84565
84257
|
writer = $Writer.create();
|
|
84566
|
-
if (message.declaration != null && message.declaration.length)
|
|
84567
|
-
for (var i = 0; i < message.declaration.length; ++i)
|
|
84568
|
-
$root.google.protobuf.ExtensionRangeOptions.Declaration.encode(message.declaration[i], writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
84569
|
-
if (message.verification != null && Object.hasOwnProperty.call(message, "verification"))
|
|
84570
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.verification);
|
|
84571
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
84572
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
|
|
84573
84258
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
84574
84259
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
84575
84260
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -84613,20 +84298,6 @@
|
|
|
84613
84298
|
message.uninterpretedOption.push($root.google.protobuf.UninterpretedOption.decode(reader, reader.uint32()));
|
|
84614
84299
|
break;
|
|
84615
84300
|
}
|
|
84616
|
-
case 2: {
|
|
84617
|
-
if (!(message.declaration && message.declaration.length))
|
|
84618
|
-
message.declaration = [];
|
|
84619
|
-
message.declaration.push($root.google.protobuf.ExtensionRangeOptions.Declaration.decode(reader, reader.uint32()));
|
|
84620
|
-
break;
|
|
84621
|
-
}
|
|
84622
|
-
case 50: {
|
|
84623
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
84624
|
-
break;
|
|
84625
|
-
}
|
|
84626
|
-
case 3: {
|
|
84627
|
-
message.verification = reader.int32();
|
|
84628
|
-
break;
|
|
84629
|
-
}
|
|
84630
84301
|
default:
|
|
84631
84302
|
reader.skipType(tag & 7);
|
|
84632
84303
|
break;
|
|
@@ -84671,28 +84342,6 @@
|
|
|
84671
84342
|
return "uninterpretedOption." + error;
|
|
84672
84343
|
}
|
|
84673
84344
|
}
|
|
84674
|
-
if (message.declaration != null && message.hasOwnProperty("declaration")) {
|
|
84675
|
-
if (!Array.isArray(message.declaration))
|
|
84676
|
-
return "declaration: array expected";
|
|
84677
|
-
for (var i = 0; i < message.declaration.length; ++i) {
|
|
84678
|
-
var error = $root.google.protobuf.ExtensionRangeOptions.Declaration.verify(message.declaration[i]);
|
|
84679
|
-
if (error)
|
|
84680
|
-
return "declaration." + error;
|
|
84681
|
-
}
|
|
84682
|
-
}
|
|
84683
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
84684
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
84685
|
-
if (error)
|
|
84686
|
-
return "features." + error;
|
|
84687
|
-
}
|
|
84688
|
-
if (message.verification != null && message.hasOwnProperty("verification"))
|
|
84689
|
-
switch (message.verification) {
|
|
84690
|
-
default:
|
|
84691
|
-
return "verification: enum value expected";
|
|
84692
|
-
case 0:
|
|
84693
|
-
case 1:
|
|
84694
|
-
break;
|
|
84695
|
-
}
|
|
84696
84345
|
return null;
|
|
84697
84346
|
};
|
|
84698
84347
|
|
|
@@ -84718,37 +84367,6 @@
|
|
|
84718
84367
|
message.uninterpretedOption[i] = $root.google.protobuf.UninterpretedOption.fromObject(object.uninterpretedOption[i]);
|
|
84719
84368
|
}
|
|
84720
84369
|
}
|
|
84721
|
-
if (object.declaration) {
|
|
84722
|
-
if (!Array.isArray(object.declaration))
|
|
84723
|
-
throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: array expected");
|
|
84724
|
-
message.declaration = [];
|
|
84725
|
-
for (var i = 0; i < object.declaration.length; ++i) {
|
|
84726
|
-
if (typeof object.declaration[i] !== "object")
|
|
84727
|
-
throw TypeError(".google.protobuf.ExtensionRangeOptions.declaration: object expected");
|
|
84728
|
-
message.declaration[i] = $root.google.protobuf.ExtensionRangeOptions.Declaration.fromObject(object.declaration[i]);
|
|
84729
|
-
}
|
|
84730
|
-
}
|
|
84731
|
-
if (object.features != null) {
|
|
84732
|
-
if (typeof object.features !== "object")
|
|
84733
|
-
throw TypeError(".google.protobuf.ExtensionRangeOptions.features: object expected");
|
|
84734
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
84735
|
-
}
|
|
84736
|
-
switch (object.verification) {
|
|
84737
|
-
case "DECLARATION":
|
|
84738
|
-
case 0:
|
|
84739
|
-
message.verification = 0;
|
|
84740
|
-
break;
|
|
84741
|
-
default:
|
|
84742
|
-
if (typeof object.verification === "number") {
|
|
84743
|
-
message.verification = object.verification;
|
|
84744
|
-
break;
|
|
84745
|
-
}
|
|
84746
|
-
break;
|
|
84747
|
-
case "UNVERIFIED":
|
|
84748
|
-
case 1:
|
|
84749
|
-
message.verification = 1;
|
|
84750
|
-
break;
|
|
84751
|
-
}
|
|
84752
84370
|
return message;
|
|
84753
84371
|
};
|
|
84754
84372
|
|
|
@@ -84765,23 +84383,8 @@
|
|
|
84765
84383
|
if (!options)
|
|
84766
84384
|
options = {};
|
|
84767
84385
|
var object = {};
|
|
84768
|
-
if (options.arrays || options.defaults)
|
|
84769
|
-
object.declaration = [];
|
|
84386
|
+
if (options.arrays || options.defaults)
|
|
84770
84387
|
object.uninterpretedOption = [];
|
|
84771
|
-
}
|
|
84772
|
-
if (options.defaults) {
|
|
84773
|
-
object.verification = options.enums === String ? "UNVERIFIED" : 1;
|
|
84774
|
-
object.features = null;
|
|
84775
|
-
}
|
|
84776
|
-
if (message.declaration && message.declaration.length) {
|
|
84777
|
-
object.declaration = [];
|
|
84778
|
-
for (var j = 0; j < message.declaration.length; ++j)
|
|
84779
|
-
object.declaration[j] = $root.google.protobuf.ExtensionRangeOptions.Declaration.toObject(message.declaration[j], options);
|
|
84780
|
-
}
|
|
84781
|
-
if (message.verification != null && message.hasOwnProperty("verification"))
|
|
84782
|
-
object.verification = options.enums === String ? $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] === undefined ? message.verification : $root.google.protobuf.ExtensionRangeOptions.VerificationState[message.verification] : message.verification;
|
|
84783
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
84784
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
84785
84388
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
84786
84389
|
object.uninterpretedOption = [];
|
|
84787
84390
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -84816,384 +84419,74 @@
|
|
|
84816
84419
|
return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions";
|
|
84817
84420
|
};
|
|
84818
84421
|
|
|
84819
|
-
ExtensionRangeOptions
|
|
84820
|
-
|
|
84821
|
-
/**
|
|
84822
|
-
* Properties of a Declaration.
|
|
84823
|
-
* @memberof google.protobuf.ExtensionRangeOptions
|
|
84824
|
-
* @interface IDeclaration
|
|
84825
|
-
* @property {number|null} [number] Declaration number
|
|
84826
|
-
* @property {string|null} [fullName] Declaration fullName
|
|
84827
|
-
* @property {string|null} [type] Declaration type
|
|
84828
|
-
* @property {boolean|null} [reserved] Declaration reserved
|
|
84829
|
-
* @property {boolean|null} [repeated] Declaration repeated
|
|
84830
|
-
*/
|
|
84422
|
+
return ExtensionRangeOptions;
|
|
84423
|
+
})();
|
|
84831
84424
|
|
|
84832
|
-
|
|
84833
|
-
* Constructs a new Declaration.
|
|
84834
|
-
* @memberof google.protobuf.ExtensionRangeOptions
|
|
84835
|
-
* @classdesc Represents a Declaration.
|
|
84836
|
-
* @implements IDeclaration
|
|
84837
|
-
* @constructor
|
|
84838
|
-
* @param {google.protobuf.ExtensionRangeOptions.IDeclaration=} [properties] Properties to set
|
|
84839
|
-
*/
|
|
84840
|
-
function Declaration(properties) {
|
|
84841
|
-
if (properties)
|
|
84842
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84843
|
-
if (properties[keys[i]] != null)
|
|
84844
|
-
this[keys[i]] = properties[keys[i]];
|
|
84845
|
-
}
|
|
84425
|
+
protobuf.FieldDescriptorProto = (function() {
|
|
84846
84426
|
|
|
84847
|
-
|
|
84848
|
-
|
|
84849
|
-
|
|
84850
|
-
|
|
84851
|
-
|
|
84852
|
-
|
|
84853
|
-
|
|
84427
|
+
/**
|
|
84428
|
+
* Properties of a FieldDescriptorProto.
|
|
84429
|
+
* @memberof google.protobuf
|
|
84430
|
+
* @interface IFieldDescriptorProto
|
|
84431
|
+
* @property {string|null} [name] FieldDescriptorProto name
|
|
84432
|
+
* @property {number|null} [number] FieldDescriptorProto number
|
|
84433
|
+
* @property {google.protobuf.FieldDescriptorProto.Label|null} [label] FieldDescriptorProto label
|
|
84434
|
+
* @property {google.protobuf.FieldDescriptorProto.Type|null} [type] FieldDescriptorProto type
|
|
84435
|
+
* @property {string|null} [typeName] FieldDescriptorProto typeName
|
|
84436
|
+
* @property {string|null} [extendee] FieldDescriptorProto extendee
|
|
84437
|
+
* @property {string|null} [defaultValue] FieldDescriptorProto defaultValue
|
|
84438
|
+
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
|
|
84439
|
+
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
|
|
84440
|
+
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
|
|
84441
|
+
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
|
|
84442
|
+
*/
|
|
84854
84443
|
|
|
84855
|
-
|
|
84856
|
-
|
|
84857
|
-
|
|
84858
|
-
|
|
84859
|
-
|
|
84860
|
-
|
|
84861
|
-
|
|
84444
|
+
/**
|
|
84445
|
+
* Constructs a new FieldDescriptorProto.
|
|
84446
|
+
* @memberof google.protobuf
|
|
84447
|
+
* @classdesc Represents a FieldDescriptorProto.
|
|
84448
|
+
* @implements IFieldDescriptorProto
|
|
84449
|
+
* @constructor
|
|
84450
|
+
* @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set
|
|
84451
|
+
*/
|
|
84452
|
+
function FieldDescriptorProto(properties) {
|
|
84453
|
+
if (properties)
|
|
84454
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
84455
|
+
if (properties[keys[i]] != null)
|
|
84456
|
+
this[keys[i]] = properties[keys[i]];
|
|
84457
|
+
}
|
|
84862
84458
|
|
|
84863
|
-
|
|
84864
|
-
|
|
84865
|
-
|
|
84866
|
-
|
|
84867
|
-
|
|
84868
|
-
|
|
84869
|
-
|
|
84459
|
+
/**
|
|
84460
|
+
* FieldDescriptorProto name.
|
|
84461
|
+
* @member {string} name
|
|
84462
|
+
* @memberof google.protobuf.FieldDescriptorProto
|
|
84463
|
+
* @instance
|
|
84464
|
+
*/
|
|
84465
|
+
FieldDescriptorProto.prototype.name = "";
|
|
84870
84466
|
|
|
84871
|
-
|
|
84872
|
-
|
|
84873
|
-
|
|
84874
|
-
|
|
84875
|
-
|
|
84876
|
-
|
|
84877
|
-
|
|
84467
|
+
/**
|
|
84468
|
+
* FieldDescriptorProto number.
|
|
84469
|
+
* @member {number} number
|
|
84470
|
+
* @memberof google.protobuf.FieldDescriptorProto
|
|
84471
|
+
* @instance
|
|
84472
|
+
*/
|
|
84473
|
+
FieldDescriptorProto.prototype.number = 0;
|
|
84878
84474
|
|
|
84879
|
-
|
|
84880
|
-
|
|
84881
|
-
|
|
84882
|
-
|
|
84883
|
-
|
|
84884
|
-
|
|
84885
|
-
|
|
84475
|
+
/**
|
|
84476
|
+
* FieldDescriptorProto label.
|
|
84477
|
+
* @member {google.protobuf.FieldDescriptorProto.Label} label
|
|
84478
|
+
* @memberof google.protobuf.FieldDescriptorProto
|
|
84479
|
+
* @instance
|
|
84480
|
+
*/
|
|
84481
|
+
FieldDescriptorProto.prototype.label = 1;
|
|
84886
84482
|
|
|
84887
|
-
|
|
84888
|
-
|
|
84889
|
-
|
|
84890
|
-
|
|
84891
|
-
|
|
84892
|
-
|
|
84893
|
-
|
|
84894
|
-
*/
|
|
84895
|
-
Declaration.create = function create(properties) {
|
|
84896
|
-
return new Declaration(properties);
|
|
84897
|
-
};
|
|
84898
|
-
|
|
84899
|
-
/**
|
|
84900
|
-
* Encodes the specified Declaration message. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
84901
|
-
* @function encode
|
|
84902
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
84903
|
-
* @static
|
|
84904
|
-
* @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
|
|
84905
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84906
|
-
* @returns {$protobuf.Writer} Writer
|
|
84907
|
-
*/
|
|
84908
|
-
Declaration.encode = function encode(message, writer) {
|
|
84909
|
-
if (!writer)
|
|
84910
|
-
writer = $Writer.create();
|
|
84911
|
-
if (message.number != null && Object.hasOwnProperty.call(message, "number"))
|
|
84912
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.number);
|
|
84913
|
-
if (message.fullName != null && Object.hasOwnProperty.call(message, "fullName"))
|
|
84914
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.fullName);
|
|
84915
|
-
if (message.type != null && Object.hasOwnProperty.call(message, "type"))
|
|
84916
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.type);
|
|
84917
|
-
if (message.reserved != null && Object.hasOwnProperty.call(message, "reserved"))
|
|
84918
|
-
writer.uint32(/* id 5, wireType 0 =*/40).bool(message.reserved);
|
|
84919
|
-
if (message.repeated != null && Object.hasOwnProperty.call(message, "repeated"))
|
|
84920
|
-
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.repeated);
|
|
84921
|
-
return writer;
|
|
84922
|
-
};
|
|
84923
|
-
|
|
84924
|
-
/**
|
|
84925
|
-
* Encodes the specified Declaration message, length delimited. Does not implicitly {@link google.protobuf.ExtensionRangeOptions.Declaration.verify|verify} messages.
|
|
84926
|
-
* @function encodeDelimited
|
|
84927
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
84928
|
-
* @static
|
|
84929
|
-
* @param {google.protobuf.ExtensionRangeOptions.IDeclaration} message Declaration message or plain object to encode
|
|
84930
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
84931
|
-
* @returns {$protobuf.Writer} Writer
|
|
84932
|
-
*/
|
|
84933
|
-
Declaration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
84934
|
-
return this.encode(message, writer).ldelim();
|
|
84935
|
-
};
|
|
84936
|
-
|
|
84937
|
-
/**
|
|
84938
|
-
* Decodes a Declaration message from the specified reader or buffer.
|
|
84939
|
-
* @function decode
|
|
84940
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
84941
|
-
* @static
|
|
84942
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84943
|
-
* @param {number} [length] Message length if known beforehand
|
|
84944
|
-
* @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
|
|
84945
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84946
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84947
|
-
*/
|
|
84948
|
-
Declaration.decode = function decode(reader, length) {
|
|
84949
|
-
if (!(reader instanceof $Reader))
|
|
84950
|
-
reader = $Reader.create(reader);
|
|
84951
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.ExtensionRangeOptions.Declaration();
|
|
84952
|
-
while (reader.pos < end) {
|
|
84953
|
-
var tag = reader.uint32();
|
|
84954
|
-
switch (tag >>> 3) {
|
|
84955
|
-
case 1: {
|
|
84956
|
-
message.number = reader.int32();
|
|
84957
|
-
break;
|
|
84958
|
-
}
|
|
84959
|
-
case 2: {
|
|
84960
|
-
message.fullName = reader.string();
|
|
84961
|
-
break;
|
|
84962
|
-
}
|
|
84963
|
-
case 3: {
|
|
84964
|
-
message.type = reader.string();
|
|
84965
|
-
break;
|
|
84966
|
-
}
|
|
84967
|
-
case 5: {
|
|
84968
|
-
message.reserved = reader.bool();
|
|
84969
|
-
break;
|
|
84970
|
-
}
|
|
84971
|
-
case 6: {
|
|
84972
|
-
message.repeated = reader.bool();
|
|
84973
|
-
break;
|
|
84974
|
-
}
|
|
84975
|
-
default:
|
|
84976
|
-
reader.skipType(tag & 7);
|
|
84977
|
-
break;
|
|
84978
|
-
}
|
|
84979
|
-
}
|
|
84980
|
-
return message;
|
|
84981
|
-
};
|
|
84982
|
-
|
|
84983
|
-
/**
|
|
84984
|
-
* Decodes a Declaration message from the specified reader or buffer, length delimited.
|
|
84985
|
-
* @function decodeDelimited
|
|
84986
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
84987
|
-
* @static
|
|
84988
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
84989
|
-
* @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
|
|
84990
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
84991
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
84992
|
-
*/
|
|
84993
|
-
Declaration.decodeDelimited = function decodeDelimited(reader) {
|
|
84994
|
-
if (!(reader instanceof $Reader))
|
|
84995
|
-
reader = new $Reader(reader);
|
|
84996
|
-
return this.decode(reader, reader.uint32());
|
|
84997
|
-
};
|
|
84998
|
-
|
|
84999
|
-
/**
|
|
85000
|
-
* Verifies a Declaration message.
|
|
85001
|
-
* @function verify
|
|
85002
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
85003
|
-
* @static
|
|
85004
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
85005
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
85006
|
-
*/
|
|
85007
|
-
Declaration.verify = function verify(message) {
|
|
85008
|
-
if (typeof message !== "object" || message === null)
|
|
85009
|
-
return "object expected";
|
|
85010
|
-
if (message.number != null && message.hasOwnProperty("number"))
|
|
85011
|
-
if (!$util.isInteger(message.number))
|
|
85012
|
-
return "number: integer expected";
|
|
85013
|
-
if (message.fullName != null && message.hasOwnProperty("fullName"))
|
|
85014
|
-
if (!$util.isString(message.fullName))
|
|
85015
|
-
return "fullName: string expected";
|
|
85016
|
-
if (message.type != null && message.hasOwnProperty("type"))
|
|
85017
|
-
if (!$util.isString(message.type))
|
|
85018
|
-
return "type: string expected";
|
|
85019
|
-
if (message.reserved != null && message.hasOwnProperty("reserved"))
|
|
85020
|
-
if (typeof message.reserved !== "boolean")
|
|
85021
|
-
return "reserved: boolean expected";
|
|
85022
|
-
if (message.repeated != null && message.hasOwnProperty("repeated"))
|
|
85023
|
-
if (typeof message.repeated !== "boolean")
|
|
85024
|
-
return "repeated: boolean expected";
|
|
85025
|
-
return null;
|
|
85026
|
-
};
|
|
85027
|
-
|
|
85028
|
-
/**
|
|
85029
|
-
* Creates a Declaration message from a plain object. Also converts values to their respective internal types.
|
|
85030
|
-
* @function fromObject
|
|
85031
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
85032
|
-
* @static
|
|
85033
|
-
* @param {Object.<string,*>} object Plain object
|
|
85034
|
-
* @returns {google.protobuf.ExtensionRangeOptions.Declaration} Declaration
|
|
85035
|
-
*/
|
|
85036
|
-
Declaration.fromObject = function fromObject(object) {
|
|
85037
|
-
if (object instanceof $root.google.protobuf.ExtensionRangeOptions.Declaration)
|
|
85038
|
-
return object;
|
|
85039
|
-
var message = new $root.google.protobuf.ExtensionRangeOptions.Declaration();
|
|
85040
|
-
if (object.number != null)
|
|
85041
|
-
message.number = object.number | 0;
|
|
85042
|
-
if (object.fullName != null)
|
|
85043
|
-
message.fullName = String(object.fullName);
|
|
85044
|
-
if (object.type != null)
|
|
85045
|
-
message.type = String(object.type);
|
|
85046
|
-
if (object.reserved != null)
|
|
85047
|
-
message.reserved = Boolean(object.reserved);
|
|
85048
|
-
if (object.repeated != null)
|
|
85049
|
-
message.repeated = Boolean(object.repeated);
|
|
85050
|
-
return message;
|
|
85051
|
-
};
|
|
85052
|
-
|
|
85053
|
-
/**
|
|
85054
|
-
* Creates a plain object from a Declaration message. Also converts values to other types if specified.
|
|
85055
|
-
* @function toObject
|
|
85056
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
85057
|
-
* @static
|
|
85058
|
-
* @param {google.protobuf.ExtensionRangeOptions.Declaration} message Declaration
|
|
85059
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
85060
|
-
* @returns {Object.<string,*>} Plain object
|
|
85061
|
-
*/
|
|
85062
|
-
Declaration.toObject = function toObject(message, options) {
|
|
85063
|
-
if (!options)
|
|
85064
|
-
options = {};
|
|
85065
|
-
var object = {};
|
|
85066
|
-
if (options.defaults) {
|
|
85067
|
-
object.number = 0;
|
|
85068
|
-
object.fullName = "";
|
|
85069
|
-
object.type = "";
|
|
85070
|
-
object.reserved = false;
|
|
85071
|
-
object.repeated = false;
|
|
85072
|
-
}
|
|
85073
|
-
if (message.number != null && message.hasOwnProperty("number"))
|
|
85074
|
-
object.number = message.number;
|
|
85075
|
-
if (message.fullName != null && message.hasOwnProperty("fullName"))
|
|
85076
|
-
object.fullName = message.fullName;
|
|
85077
|
-
if (message.type != null && message.hasOwnProperty("type"))
|
|
85078
|
-
object.type = message.type;
|
|
85079
|
-
if (message.reserved != null && message.hasOwnProperty("reserved"))
|
|
85080
|
-
object.reserved = message.reserved;
|
|
85081
|
-
if (message.repeated != null && message.hasOwnProperty("repeated"))
|
|
85082
|
-
object.repeated = message.repeated;
|
|
85083
|
-
return object;
|
|
85084
|
-
};
|
|
85085
|
-
|
|
85086
|
-
/**
|
|
85087
|
-
* Converts this Declaration to JSON.
|
|
85088
|
-
* @function toJSON
|
|
85089
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
85090
|
-
* @instance
|
|
85091
|
-
* @returns {Object.<string,*>} JSON object
|
|
85092
|
-
*/
|
|
85093
|
-
Declaration.prototype.toJSON = function toJSON() {
|
|
85094
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
85095
|
-
};
|
|
85096
|
-
|
|
85097
|
-
/**
|
|
85098
|
-
* Gets the default type url for Declaration
|
|
85099
|
-
* @function getTypeUrl
|
|
85100
|
-
* @memberof google.protobuf.ExtensionRangeOptions.Declaration
|
|
85101
|
-
* @static
|
|
85102
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
85103
|
-
* @returns {string} The default type url
|
|
85104
|
-
*/
|
|
85105
|
-
Declaration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
85106
|
-
if (typeUrlPrefix === undefined) {
|
|
85107
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
85108
|
-
}
|
|
85109
|
-
return typeUrlPrefix + "/google.protobuf.ExtensionRangeOptions.Declaration";
|
|
85110
|
-
};
|
|
85111
|
-
|
|
85112
|
-
return Declaration;
|
|
85113
|
-
})();
|
|
85114
|
-
|
|
85115
|
-
/**
|
|
85116
|
-
* VerificationState enum.
|
|
85117
|
-
* @name google.protobuf.ExtensionRangeOptions.VerificationState
|
|
85118
|
-
* @enum {number}
|
|
85119
|
-
* @property {number} DECLARATION=0 DECLARATION value
|
|
85120
|
-
* @property {number} UNVERIFIED=1 UNVERIFIED value
|
|
85121
|
-
*/
|
|
85122
|
-
ExtensionRangeOptions.VerificationState = (function() {
|
|
85123
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
85124
|
-
values[valuesById[0] = "DECLARATION"] = 0;
|
|
85125
|
-
values[valuesById[1] = "UNVERIFIED"] = 1;
|
|
85126
|
-
return values;
|
|
85127
|
-
})();
|
|
85128
|
-
|
|
85129
|
-
return ExtensionRangeOptions;
|
|
85130
|
-
})();
|
|
85131
|
-
|
|
85132
|
-
protobuf.FieldDescriptorProto = (function() {
|
|
85133
|
-
|
|
85134
|
-
/**
|
|
85135
|
-
* Properties of a FieldDescriptorProto.
|
|
85136
|
-
* @memberof google.protobuf
|
|
85137
|
-
* @interface IFieldDescriptorProto
|
|
85138
|
-
* @property {string|null} [name] FieldDescriptorProto name
|
|
85139
|
-
* @property {number|null} [number] FieldDescriptorProto number
|
|
85140
|
-
* @property {google.protobuf.FieldDescriptorProto.Label|null} [label] FieldDescriptorProto label
|
|
85141
|
-
* @property {google.protobuf.FieldDescriptorProto.Type|null} [type] FieldDescriptorProto type
|
|
85142
|
-
* @property {string|null} [typeName] FieldDescriptorProto typeName
|
|
85143
|
-
* @property {string|null} [extendee] FieldDescriptorProto extendee
|
|
85144
|
-
* @property {string|null} [defaultValue] FieldDescriptorProto defaultValue
|
|
85145
|
-
* @property {number|null} [oneofIndex] FieldDescriptorProto oneofIndex
|
|
85146
|
-
* @property {string|null} [jsonName] FieldDescriptorProto jsonName
|
|
85147
|
-
* @property {google.protobuf.IFieldOptions|null} [options] FieldDescriptorProto options
|
|
85148
|
-
* @property {boolean|null} [proto3Optional] FieldDescriptorProto proto3Optional
|
|
85149
|
-
*/
|
|
85150
|
-
|
|
85151
|
-
/**
|
|
85152
|
-
* Constructs a new FieldDescriptorProto.
|
|
85153
|
-
* @memberof google.protobuf
|
|
85154
|
-
* @classdesc Represents a FieldDescriptorProto.
|
|
85155
|
-
* @implements IFieldDescriptorProto
|
|
85156
|
-
* @constructor
|
|
85157
|
-
* @param {google.protobuf.IFieldDescriptorProto=} [properties] Properties to set
|
|
85158
|
-
*/
|
|
85159
|
-
function FieldDescriptorProto(properties) {
|
|
85160
|
-
if (properties)
|
|
85161
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
85162
|
-
if (properties[keys[i]] != null)
|
|
85163
|
-
this[keys[i]] = properties[keys[i]];
|
|
85164
|
-
}
|
|
85165
|
-
|
|
85166
|
-
/**
|
|
85167
|
-
* FieldDescriptorProto name.
|
|
85168
|
-
* @member {string} name
|
|
85169
|
-
* @memberof google.protobuf.FieldDescriptorProto
|
|
85170
|
-
* @instance
|
|
85171
|
-
*/
|
|
85172
|
-
FieldDescriptorProto.prototype.name = "";
|
|
85173
|
-
|
|
85174
|
-
/**
|
|
85175
|
-
* FieldDescriptorProto number.
|
|
85176
|
-
* @member {number} number
|
|
85177
|
-
* @memberof google.protobuf.FieldDescriptorProto
|
|
85178
|
-
* @instance
|
|
85179
|
-
*/
|
|
85180
|
-
FieldDescriptorProto.prototype.number = 0;
|
|
85181
|
-
|
|
85182
|
-
/**
|
|
85183
|
-
* FieldDescriptorProto label.
|
|
85184
|
-
* @member {google.protobuf.FieldDescriptorProto.Label} label
|
|
85185
|
-
* @memberof google.protobuf.FieldDescriptorProto
|
|
85186
|
-
* @instance
|
|
85187
|
-
*/
|
|
85188
|
-
FieldDescriptorProto.prototype.label = 1;
|
|
85189
|
-
|
|
85190
|
-
/**
|
|
85191
|
-
* FieldDescriptorProto type.
|
|
85192
|
-
* @member {google.protobuf.FieldDescriptorProto.Type} type
|
|
85193
|
-
* @memberof google.protobuf.FieldDescriptorProto
|
|
85194
|
-
* @instance
|
|
85195
|
-
*/
|
|
85196
|
-
FieldDescriptorProto.prototype.type = 1;
|
|
84483
|
+
/**
|
|
84484
|
+
* FieldDescriptorProto type.
|
|
84485
|
+
* @member {google.protobuf.FieldDescriptorProto.Type} type
|
|
84486
|
+
* @memberof google.protobuf.FieldDescriptorProto
|
|
84487
|
+
* @instance
|
|
84488
|
+
*/
|
|
84489
|
+
FieldDescriptorProto.prototype.type = 1;
|
|
85197
84490
|
|
|
85198
84491
|
/**
|
|
85199
84492
|
* FieldDescriptorProto typeName.
|
|
@@ -87455,7 +86748,6 @@
|
|
|
87455
86748
|
* @property {string|null} [phpNamespace] FileOptions phpNamespace
|
|
87456
86749
|
* @property {string|null} [phpMetadataNamespace] FileOptions phpMetadataNamespace
|
|
87457
86750
|
* @property {string|null} [rubyPackage] FileOptions rubyPackage
|
|
87458
|
-
* @property {google.protobuf.IFeatureSet|null} [features] FileOptions features
|
|
87459
86751
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FileOptions uninterpretedOption
|
|
87460
86752
|
* @property {Array.<google.api.IResourceDescriptor>|null} [".google.api.resourceDefinition"] FileOptions .google.api.resourceDefinition
|
|
87461
86753
|
*/
|
|
@@ -87637,14 +86929,6 @@
|
|
|
87637
86929
|
*/
|
|
87638
86930
|
FileOptions.prototype.rubyPackage = "";
|
|
87639
86931
|
|
|
87640
|
-
/**
|
|
87641
|
-
* FileOptions features.
|
|
87642
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
87643
|
-
* @memberof google.protobuf.FileOptions
|
|
87644
|
-
* @instance
|
|
87645
|
-
*/
|
|
87646
|
-
FileOptions.prototype.features = null;
|
|
87647
|
-
|
|
87648
86932
|
/**
|
|
87649
86933
|
* FileOptions uninterpretedOption.
|
|
87650
86934
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -87725,8 +87009,6 @@
|
|
|
87725
87009
|
writer.uint32(/* id 44, wireType 2 =*/354).string(message.phpMetadataNamespace);
|
|
87726
87010
|
if (message.rubyPackage != null && Object.hasOwnProperty.call(message, "rubyPackage"))
|
|
87727
87011
|
writer.uint32(/* id 45, wireType 2 =*/362).string(message.rubyPackage);
|
|
87728
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
87729
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 50, wireType 2 =*/402).fork()).ldelim();
|
|
87730
87012
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
87731
87013
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
87732
87014
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -87847,10 +87129,6 @@
|
|
|
87847
87129
|
message.rubyPackage = reader.string();
|
|
87848
87130
|
break;
|
|
87849
87131
|
}
|
|
87850
|
-
case 50: {
|
|
87851
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
87852
|
-
break;
|
|
87853
|
-
}
|
|
87854
87132
|
case 999: {
|
|
87855
87133
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
87856
87134
|
message.uninterpretedOption = [];
|
|
@@ -87964,11 +87242,6 @@
|
|
|
87964
87242
|
if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
|
|
87965
87243
|
if (!$util.isString(message.rubyPackage))
|
|
87966
87244
|
return "rubyPackage: string expected";
|
|
87967
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
87968
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
87969
|
-
if (error)
|
|
87970
|
-
return "features." + error;
|
|
87971
|
-
}
|
|
87972
87245
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
87973
87246
|
if (!Array.isArray(message.uninterpretedOption))
|
|
87974
87247
|
return "uninterpretedOption: array expected";
|
|
@@ -88060,11 +87333,6 @@
|
|
|
88060
87333
|
message.phpMetadataNamespace = String(object.phpMetadataNamespace);
|
|
88061
87334
|
if (object.rubyPackage != null)
|
|
88062
87335
|
message.rubyPackage = String(object.rubyPackage);
|
|
88063
|
-
if (object.features != null) {
|
|
88064
|
-
if (typeof object.features !== "object")
|
|
88065
|
-
throw TypeError(".google.protobuf.FileOptions.features: object expected");
|
|
88066
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
88067
|
-
}
|
|
88068
87336
|
if (object.uninterpretedOption) {
|
|
88069
87337
|
if (!Array.isArray(object.uninterpretedOption))
|
|
88070
87338
|
throw TypeError(".google.protobuf.FileOptions.uninterpretedOption: array expected");
|
|
@@ -88126,7 +87394,6 @@
|
|
|
88126
87394
|
object.phpGenericServices = false;
|
|
88127
87395
|
object.phpMetadataNamespace = "";
|
|
88128
87396
|
object.rubyPackage = "";
|
|
88129
|
-
object.features = null;
|
|
88130
87397
|
}
|
|
88131
87398
|
if (message.javaPackage != null && message.hasOwnProperty("javaPackage"))
|
|
88132
87399
|
object.javaPackage = message.javaPackage;
|
|
@@ -88168,8 +87435,6 @@
|
|
|
88168
87435
|
object.phpMetadataNamespace = message.phpMetadataNamespace;
|
|
88169
87436
|
if (message.rubyPackage != null && message.hasOwnProperty("rubyPackage"))
|
|
88170
87437
|
object.rubyPackage = message.rubyPackage;
|
|
88171
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
88172
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
88173
87438
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
88174
87439
|
object.uninterpretedOption = [];
|
|
88175
87440
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -88239,7 +87504,6 @@
|
|
|
88239
87504
|
* @property {boolean|null} [deprecated] MessageOptions deprecated
|
|
88240
87505
|
* @property {boolean|null} [mapEntry] MessageOptions mapEntry
|
|
88241
87506
|
* @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] MessageOptions deprecatedLegacyJsonFieldConflicts
|
|
88242
|
-
* @property {google.protobuf.IFeatureSet|null} [features] MessageOptions features
|
|
88243
87507
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] MessageOptions uninterpretedOption
|
|
88244
87508
|
* @property {google.api.IResourceDescriptor|null} [".google.api.resource"] MessageOptions .google.api.resource
|
|
88245
87509
|
*/
|
|
@@ -88300,14 +87564,6 @@
|
|
|
88300
87564
|
*/
|
|
88301
87565
|
MessageOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
|
|
88302
87566
|
|
|
88303
|
-
/**
|
|
88304
|
-
* MessageOptions features.
|
|
88305
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
88306
|
-
* @memberof google.protobuf.MessageOptions
|
|
88307
|
-
* @instance
|
|
88308
|
-
*/
|
|
88309
|
-
MessageOptions.prototype.features = null;
|
|
88310
|
-
|
|
88311
87567
|
/**
|
|
88312
87568
|
* MessageOptions uninterpretedOption.
|
|
88313
87569
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -88358,8 +87614,6 @@
|
|
|
88358
87614
|
writer.uint32(/* id 7, wireType 0 =*/56).bool(message.mapEntry);
|
|
88359
87615
|
if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
|
|
88360
87616
|
writer.uint32(/* id 11, wireType 0 =*/88).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
88361
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
88362
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 12, wireType 2 =*/98).fork()).ldelim();
|
|
88363
87617
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
88364
87618
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
88365
87619
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -88419,10 +87673,6 @@
|
|
|
88419
87673
|
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
88420
87674
|
break;
|
|
88421
87675
|
}
|
|
88422
|
-
case 12: {
|
|
88423
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
88424
|
-
break;
|
|
88425
|
-
}
|
|
88426
87676
|
case 999: {
|
|
88427
87677
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
88428
87678
|
message.uninterpretedOption = [];
|
|
@@ -88483,11 +87733,6 @@
|
|
|
88483
87733
|
if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
|
|
88484
87734
|
if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
|
|
88485
87735
|
return "deprecatedLegacyJsonFieldConflicts: boolean expected";
|
|
88486
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
88487
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
88488
|
-
if (error)
|
|
88489
|
-
return "features." + error;
|
|
88490
|
-
}
|
|
88491
87736
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
88492
87737
|
if (!Array.isArray(message.uninterpretedOption))
|
|
88493
87738
|
return "uninterpretedOption: array expected";
|
|
@@ -88527,11 +87772,6 @@
|
|
|
88527
87772
|
message.mapEntry = Boolean(object.mapEntry);
|
|
88528
87773
|
if (object.deprecatedLegacyJsonFieldConflicts != null)
|
|
88529
87774
|
message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
|
|
88530
|
-
if (object.features != null) {
|
|
88531
|
-
if (typeof object.features !== "object")
|
|
88532
|
-
throw TypeError(".google.protobuf.MessageOptions.features: object expected");
|
|
88533
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
88534
|
-
}
|
|
88535
87775
|
if (object.uninterpretedOption) {
|
|
88536
87776
|
if (!Array.isArray(object.uninterpretedOption))
|
|
88537
87777
|
throw TypeError(".google.protobuf.MessageOptions.uninterpretedOption: array expected");
|
|
@@ -88571,7 +87811,6 @@
|
|
|
88571
87811
|
object.deprecated = false;
|
|
88572
87812
|
object.mapEntry = false;
|
|
88573
87813
|
object.deprecatedLegacyJsonFieldConflicts = false;
|
|
88574
|
-
object.features = null;
|
|
88575
87814
|
object[".google.api.resource"] = null;
|
|
88576
87815
|
}
|
|
88577
87816
|
if (message.messageSetWireFormat != null && message.hasOwnProperty("messageSetWireFormat"))
|
|
@@ -88584,8 +87823,6 @@
|
|
|
88584
87823
|
object.mapEntry = message.mapEntry;
|
|
88585
87824
|
if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
|
|
88586
87825
|
object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
|
|
88587
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
88588
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
88589
87826
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
88590
87827
|
object.uninterpretedOption = [];
|
|
88591
87828
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -88640,9 +87877,7 @@
|
|
|
88640
87877
|
* @property {boolean|null} [weak] FieldOptions weak
|
|
88641
87878
|
* @property {boolean|null} [debugRedact] FieldOptions debugRedact
|
|
88642
87879
|
* @property {google.protobuf.FieldOptions.OptionRetention|null} [retention] FieldOptions retention
|
|
88643
|
-
* @property {
|
|
88644
|
-
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
88645
|
-
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
87880
|
+
* @property {google.protobuf.FieldOptions.OptionTargetType|null} [target] FieldOptions target
|
|
88646
87881
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
88647
87882
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
88648
87883
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -88657,8 +87892,6 @@
|
|
|
88657
87892
|
* @param {google.protobuf.IFieldOptions=} [properties] Properties to set
|
|
88658
87893
|
*/
|
|
88659
87894
|
function FieldOptions(properties) {
|
|
88660
|
-
this.targets = [];
|
|
88661
|
-
this.editionDefaults = [];
|
|
88662
87895
|
this.uninterpretedOption = [];
|
|
88663
87896
|
this[".google.api.fieldBehavior"] = [];
|
|
88664
87897
|
if (properties)
|
|
@@ -88740,28 +87973,12 @@
|
|
|
88740
87973
|
FieldOptions.prototype.retention = 0;
|
|
88741
87974
|
|
|
88742
87975
|
/**
|
|
88743
|
-
* FieldOptions
|
|
88744
|
-
* @member {
|
|
88745
|
-
* @memberof google.protobuf.FieldOptions
|
|
88746
|
-
* @instance
|
|
88747
|
-
*/
|
|
88748
|
-
FieldOptions.prototype.targets = $util.emptyArray;
|
|
88749
|
-
|
|
88750
|
-
/**
|
|
88751
|
-
* FieldOptions editionDefaults.
|
|
88752
|
-
* @member {Array.<google.protobuf.FieldOptions.IEditionDefault>} editionDefaults
|
|
88753
|
-
* @memberof google.protobuf.FieldOptions
|
|
88754
|
-
* @instance
|
|
88755
|
-
*/
|
|
88756
|
-
FieldOptions.prototype.editionDefaults = $util.emptyArray;
|
|
88757
|
-
|
|
88758
|
-
/**
|
|
88759
|
-
* FieldOptions features.
|
|
88760
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
87976
|
+
* FieldOptions target.
|
|
87977
|
+
* @member {google.protobuf.FieldOptions.OptionTargetType} target
|
|
88761
87978
|
* @memberof google.protobuf.FieldOptions
|
|
88762
87979
|
* @instance
|
|
88763
87980
|
*/
|
|
88764
|
-
FieldOptions.prototype.
|
|
87981
|
+
FieldOptions.prototype.target = 0;
|
|
88765
87982
|
|
|
88766
87983
|
/**
|
|
88767
87984
|
* FieldOptions uninterpretedOption.
|
|
@@ -88829,14 +88046,8 @@
|
|
|
88829
88046
|
writer.uint32(/* id 16, wireType 0 =*/128).bool(message.debugRedact);
|
|
88830
88047
|
if (message.retention != null && Object.hasOwnProperty.call(message, "retention"))
|
|
88831
88048
|
writer.uint32(/* id 17, wireType 0 =*/136).int32(message.retention);
|
|
88832
|
-
if (message.
|
|
88833
|
-
|
|
88834
|
-
writer.uint32(/* id 19, wireType 0 =*/152).int32(message.targets[i]);
|
|
88835
|
-
if (message.editionDefaults != null && message.editionDefaults.length)
|
|
88836
|
-
for (var i = 0; i < message.editionDefaults.length; ++i)
|
|
88837
|
-
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
88838
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
88839
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
88049
|
+
if (message.target != null && Object.hasOwnProperty.call(message, "target"))
|
|
88050
|
+
writer.uint32(/* id 18, wireType 0 =*/144).int32(message.target);
|
|
88840
88051
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
88841
88052
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
88842
88053
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -88918,25 +88129,8 @@
|
|
|
88918
88129
|
message.retention = reader.int32();
|
|
88919
88130
|
break;
|
|
88920
88131
|
}
|
|
88921
|
-
case
|
|
88922
|
-
|
|
88923
|
-
message.targets = [];
|
|
88924
|
-
if ((tag & 7) === 2) {
|
|
88925
|
-
var end2 = reader.uint32() + reader.pos;
|
|
88926
|
-
while (reader.pos < end2)
|
|
88927
|
-
message.targets.push(reader.int32());
|
|
88928
|
-
} else
|
|
88929
|
-
message.targets.push(reader.int32());
|
|
88930
|
-
break;
|
|
88931
|
-
}
|
|
88932
|
-
case 20: {
|
|
88933
|
-
if (!(message.editionDefaults && message.editionDefaults.length))
|
|
88934
|
-
message.editionDefaults = [];
|
|
88935
|
-
message.editionDefaults.push($root.google.protobuf.FieldOptions.EditionDefault.decode(reader, reader.uint32()));
|
|
88936
|
-
break;
|
|
88937
|
-
}
|
|
88938
|
-
case 21: {
|
|
88939
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
88132
|
+
case 18: {
|
|
88133
|
+
message.target = reader.int32();
|
|
88940
88134
|
break;
|
|
88941
88135
|
}
|
|
88942
88136
|
case 999: {
|
|
@@ -89040,40 +88234,22 @@
|
|
|
89040
88234
|
case 2:
|
|
89041
88235
|
break;
|
|
89042
88236
|
}
|
|
89043
|
-
if (message.
|
|
89044
|
-
|
|
89045
|
-
|
|
89046
|
-
|
|
89047
|
-
|
|
89048
|
-
|
|
89049
|
-
|
|
89050
|
-
|
|
89051
|
-
|
|
89052
|
-
|
|
89053
|
-
|
|
89054
|
-
|
|
89055
|
-
|
|
89056
|
-
|
|
89057
|
-
|
|
89058
|
-
case 8:
|
|
89059
|
-
case 9:
|
|
89060
|
-
break;
|
|
89061
|
-
}
|
|
89062
|
-
}
|
|
89063
|
-
if (message.editionDefaults != null && message.hasOwnProperty("editionDefaults")) {
|
|
89064
|
-
if (!Array.isArray(message.editionDefaults))
|
|
89065
|
-
return "editionDefaults: array expected";
|
|
89066
|
-
for (var i = 0; i < message.editionDefaults.length; ++i) {
|
|
89067
|
-
var error = $root.google.protobuf.FieldOptions.EditionDefault.verify(message.editionDefaults[i]);
|
|
89068
|
-
if (error)
|
|
89069
|
-
return "editionDefaults." + error;
|
|
88237
|
+
if (message.target != null && message.hasOwnProperty("target"))
|
|
88238
|
+
switch (message.target) {
|
|
88239
|
+
default:
|
|
88240
|
+
return "target: enum value expected";
|
|
88241
|
+
case 0:
|
|
88242
|
+
case 1:
|
|
88243
|
+
case 2:
|
|
88244
|
+
case 3:
|
|
88245
|
+
case 4:
|
|
88246
|
+
case 5:
|
|
88247
|
+
case 6:
|
|
88248
|
+
case 7:
|
|
88249
|
+
case 8:
|
|
88250
|
+
case 9:
|
|
88251
|
+
break;
|
|
89070
88252
|
}
|
|
89071
|
-
}
|
|
89072
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
89073
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
89074
|
-
if (error)
|
|
89075
|
-
return "features." + error;
|
|
89076
|
-
}
|
|
89077
88253
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
89078
88254
|
if (!Array.isArray(message.uninterpretedOption))
|
|
89079
88255
|
return "uninterpretedOption: array expected";
|
|
@@ -89193,73 +88369,53 @@
|
|
|
89193
88369
|
message.retention = 2;
|
|
89194
88370
|
break;
|
|
89195
88371
|
}
|
|
89196
|
-
|
|
89197
|
-
|
|
89198
|
-
|
|
89199
|
-
|
|
89200
|
-
|
|
89201
|
-
switch (object.targets[i]) {
|
|
89202
|
-
default:
|
|
89203
|
-
if (typeof object.targets[i] === "number") {
|
|
89204
|
-
message.targets[i] = object.targets[i];
|
|
89205
|
-
break;
|
|
89206
|
-
}
|
|
89207
|
-
case "TARGET_TYPE_UNKNOWN":
|
|
89208
|
-
case 0:
|
|
89209
|
-
message.targets[i] = 0;
|
|
89210
|
-
break;
|
|
89211
|
-
case "TARGET_TYPE_FILE":
|
|
89212
|
-
case 1:
|
|
89213
|
-
message.targets[i] = 1;
|
|
89214
|
-
break;
|
|
89215
|
-
case "TARGET_TYPE_EXTENSION_RANGE":
|
|
89216
|
-
case 2:
|
|
89217
|
-
message.targets[i] = 2;
|
|
89218
|
-
break;
|
|
89219
|
-
case "TARGET_TYPE_MESSAGE":
|
|
89220
|
-
case 3:
|
|
89221
|
-
message.targets[i] = 3;
|
|
89222
|
-
break;
|
|
89223
|
-
case "TARGET_TYPE_FIELD":
|
|
89224
|
-
case 4:
|
|
89225
|
-
message.targets[i] = 4;
|
|
89226
|
-
break;
|
|
89227
|
-
case "TARGET_TYPE_ONEOF":
|
|
89228
|
-
case 5:
|
|
89229
|
-
message.targets[i] = 5;
|
|
89230
|
-
break;
|
|
89231
|
-
case "TARGET_TYPE_ENUM":
|
|
89232
|
-
case 6:
|
|
89233
|
-
message.targets[i] = 6;
|
|
89234
|
-
break;
|
|
89235
|
-
case "TARGET_TYPE_ENUM_ENTRY":
|
|
89236
|
-
case 7:
|
|
89237
|
-
message.targets[i] = 7;
|
|
89238
|
-
break;
|
|
89239
|
-
case "TARGET_TYPE_SERVICE":
|
|
89240
|
-
case 8:
|
|
89241
|
-
message.targets[i] = 8;
|
|
89242
|
-
break;
|
|
89243
|
-
case "TARGET_TYPE_METHOD":
|
|
89244
|
-
case 9:
|
|
89245
|
-
message.targets[i] = 9;
|
|
89246
|
-
break;
|
|
89247
|
-
}
|
|
89248
|
-
}
|
|
89249
|
-
if (object.editionDefaults) {
|
|
89250
|
-
if (!Array.isArray(object.editionDefaults))
|
|
89251
|
-
throw TypeError(".google.protobuf.FieldOptions.editionDefaults: array expected");
|
|
89252
|
-
message.editionDefaults = [];
|
|
89253
|
-
for (var i = 0; i < object.editionDefaults.length; ++i) {
|
|
89254
|
-
if (typeof object.editionDefaults[i] !== "object")
|
|
89255
|
-
throw TypeError(".google.protobuf.FieldOptions.editionDefaults: object expected");
|
|
89256
|
-
message.editionDefaults[i] = $root.google.protobuf.FieldOptions.EditionDefault.fromObject(object.editionDefaults[i]);
|
|
88372
|
+
switch (object.target) {
|
|
88373
|
+
default:
|
|
88374
|
+
if (typeof object.target === "number") {
|
|
88375
|
+
message.target = object.target;
|
|
88376
|
+
break;
|
|
89257
88377
|
}
|
|
89258
|
-
|
|
89259
|
-
|
|
89260
|
-
|
|
89261
|
-
|
|
89262
|
-
|
|
88378
|
+
break;
|
|
88379
|
+
case "TARGET_TYPE_UNKNOWN":
|
|
88380
|
+
case 0:
|
|
88381
|
+
message.target = 0;
|
|
88382
|
+
break;
|
|
88383
|
+
case "TARGET_TYPE_FILE":
|
|
88384
|
+
case 1:
|
|
88385
|
+
message.target = 1;
|
|
88386
|
+
break;
|
|
88387
|
+
case "TARGET_TYPE_EXTENSION_RANGE":
|
|
88388
|
+
case 2:
|
|
88389
|
+
message.target = 2;
|
|
88390
|
+
break;
|
|
88391
|
+
case "TARGET_TYPE_MESSAGE":
|
|
88392
|
+
case 3:
|
|
88393
|
+
message.target = 3;
|
|
88394
|
+
break;
|
|
88395
|
+
case "TARGET_TYPE_FIELD":
|
|
88396
|
+
case 4:
|
|
88397
|
+
message.target = 4;
|
|
88398
|
+
break;
|
|
88399
|
+
case "TARGET_TYPE_ONEOF":
|
|
88400
|
+
case 5:
|
|
88401
|
+
message.target = 5;
|
|
88402
|
+
break;
|
|
88403
|
+
case "TARGET_TYPE_ENUM":
|
|
88404
|
+
case 6:
|
|
88405
|
+
message.target = 6;
|
|
88406
|
+
break;
|
|
88407
|
+
case "TARGET_TYPE_ENUM_ENTRY":
|
|
88408
|
+
case 7:
|
|
88409
|
+
message.target = 7;
|
|
88410
|
+
break;
|
|
88411
|
+
case "TARGET_TYPE_SERVICE":
|
|
88412
|
+
case 8:
|
|
88413
|
+
message.target = 8;
|
|
88414
|
+
break;
|
|
88415
|
+
case "TARGET_TYPE_METHOD":
|
|
88416
|
+
case 9:
|
|
88417
|
+
message.target = 9;
|
|
88418
|
+
break;
|
|
89263
88419
|
}
|
|
89264
88420
|
if (object.uninterpretedOption) {
|
|
89265
88421
|
if (!Array.isArray(object.uninterpretedOption))
|
|
@@ -89338,8 +88494,6 @@
|
|
|
89338
88494
|
options = {};
|
|
89339
88495
|
var object = {};
|
|
89340
88496
|
if (options.arrays || options.defaults) {
|
|
89341
|
-
object.targets = [];
|
|
89342
|
-
object.editionDefaults = [];
|
|
89343
88497
|
object.uninterpretedOption = [];
|
|
89344
88498
|
object[".google.api.fieldBehavior"] = [];
|
|
89345
88499
|
}
|
|
@@ -89353,7 +88507,7 @@
|
|
|
89353
88507
|
object.unverifiedLazy = false;
|
|
89354
88508
|
object.debugRedact = false;
|
|
89355
88509
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
89356
|
-
object.
|
|
88510
|
+
object.target = options.enums === String ? "TARGET_TYPE_UNKNOWN" : 0;
|
|
89357
88511
|
object[".google.api.resourceReference"] = null;
|
|
89358
88512
|
}
|
|
89359
88513
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -89374,18 +88528,8 @@
|
|
|
89374
88528
|
object.debugRedact = message.debugRedact;
|
|
89375
88529
|
if (message.retention != null && message.hasOwnProperty("retention"))
|
|
89376
88530
|
object.retention = options.enums === String ? $root.google.protobuf.FieldOptions.OptionRetention[message.retention] === undefined ? message.retention : $root.google.protobuf.FieldOptions.OptionRetention[message.retention] : message.retention;
|
|
89377
|
-
if (message.
|
|
89378
|
-
object.
|
|
89379
|
-
for (var j = 0; j < message.targets.length; ++j)
|
|
89380
|
-
object.targets[j] = options.enums === String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] === undefined ? message.targets[j] : $root.google.protobuf.FieldOptions.OptionTargetType[message.targets[j]] : message.targets[j];
|
|
89381
|
-
}
|
|
89382
|
-
if (message.editionDefaults && message.editionDefaults.length) {
|
|
89383
|
-
object.editionDefaults = [];
|
|
89384
|
-
for (var j = 0; j < message.editionDefaults.length; ++j)
|
|
89385
|
-
object.editionDefaults[j] = $root.google.protobuf.FieldOptions.EditionDefault.toObject(message.editionDefaults[j], options);
|
|
89386
|
-
}
|
|
89387
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
89388
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
88531
|
+
if (message.target != null && message.hasOwnProperty("target"))
|
|
88532
|
+
object.target = options.enums === String ? $root.google.protobuf.FieldOptions.OptionTargetType[message.target] === undefined ? message.target : $root.google.protobuf.FieldOptions.OptionTargetType[message.target] : message.target;
|
|
89389
88533
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
89390
88534
|
object.uninterpretedOption = [];
|
|
89391
88535
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -89505,233 +88649,6 @@
|
|
|
89505
88649
|
return values;
|
|
89506
88650
|
})();
|
|
89507
88651
|
|
|
89508
|
-
FieldOptions.EditionDefault = (function() {
|
|
89509
|
-
|
|
89510
|
-
/**
|
|
89511
|
-
* Properties of an EditionDefault.
|
|
89512
|
-
* @memberof google.protobuf.FieldOptions
|
|
89513
|
-
* @interface IEditionDefault
|
|
89514
|
-
* @property {string|null} [edition] EditionDefault edition
|
|
89515
|
-
* @property {string|null} [value] EditionDefault value
|
|
89516
|
-
*/
|
|
89517
|
-
|
|
89518
|
-
/**
|
|
89519
|
-
* Constructs a new EditionDefault.
|
|
89520
|
-
* @memberof google.protobuf.FieldOptions
|
|
89521
|
-
* @classdesc Represents an EditionDefault.
|
|
89522
|
-
* @implements IEditionDefault
|
|
89523
|
-
* @constructor
|
|
89524
|
-
* @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
|
|
89525
|
-
*/
|
|
89526
|
-
function EditionDefault(properties) {
|
|
89527
|
-
if (properties)
|
|
89528
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
89529
|
-
if (properties[keys[i]] != null)
|
|
89530
|
-
this[keys[i]] = properties[keys[i]];
|
|
89531
|
-
}
|
|
89532
|
-
|
|
89533
|
-
/**
|
|
89534
|
-
* EditionDefault edition.
|
|
89535
|
-
* @member {string} edition
|
|
89536
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89537
|
-
* @instance
|
|
89538
|
-
*/
|
|
89539
|
-
EditionDefault.prototype.edition = "";
|
|
89540
|
-
|
|
89541
|
-
/**
|
|
89542
|
-
* EditionDefault value.
|
|
89543
|
-
* @member {string} value
|
|
89544
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89545
|
-
* @instance
|
|
89546
|
-
*/
|
|
89547
|
-
EditionDefault.prototype.value = "";
|
|
89548
|
-
|
|
89549
|
-
/**
|
|
89550
|
-
* Creates a new EditionDefault instance using the specified properties.
|
|
89551
|
-
* @function create
|
|
89552
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89553
|
-
* @static
|
|
89554
|
-
* @param {google.protobuf.FieldOptions.IEditionDefault=} [properties] Properties to set
|
|
89555
|
-
* @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault instance
|
|
89556
|
-
*/
|
|
89557
|
-
EditionDefault.create = function create(properties) {
|
|
89558
|
-
return new EditionDefault(properties);
|
|
89559
|
-
};
|
|
89560
|
-
|
|
89561
|
-
/**
|
|
89562
|
-
* Encodes the specified EditionDefault message. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
89563
|
-
* @function encode
|
|
89564
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89565
|
-
* @static
|
|
89566
|
-
* @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
|
|
89567
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
89568
|
-
* @returns {$protobuf.Writer} Writer
|
|
89569
|
-
*/
|
|
89570
|
-
EditionDefault.encode = function encode(message, writer) {
|
|
89571
|
-
if (!writer)
|
|
89572
|
-
writer = $Writer.create();
|
|
89573
|
-
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
89574
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.edition);
|
|
89575
|
-
if (message.value != null && Object.hasOwnProperty.call(message, "value"))
|
|
89576
|
-
writer.uint32(/* id 2, wireType 2 =*/18).string(message.value);
|
|
89577
|
-
return writer;
|
|
89578
|
-
};
|
|
89579
|
-
|
|
89580
|
-
/**
|
|
89581
|
-
* Encodes the specified EditionDefault message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.EditionDefault.verify|verify} messages.
|
|
89582
|
-
* @function encodeDelimited
|
|
89583
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89584
|
-
* @static
|
|
89585
|
-
* @param {google.protobuf.FieldOptions.IEditionDefault} message EditionDefault message or plain object to encode
|
|
89586
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
89587
|
-
* @returns {$protobuf.Writer} Writer
|
|
89588
|
-
*/
|
|
89589
|
-
EditionDefault.encodeDelimited = function encodeDelimited(message, writer) {
|
|
89590
|
-
return this.encode(message, writer).ldelim();
|
|
89591
|
-
};
|
|
89592
|
-
|
|
89593
|
-
/**
|
|
89594
|
-
* Decodes an EditionDefault message from the specified reader or buffer.
|
|
89595
|
-
* @function decode
|
|
89596
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89597
|
-
* @static
|
|
89598
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
89599
|
-
* @param {number} [length] Message length if known beforehand
|
|
89600
|
-
* @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
|
|
89601
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
89602
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
89603
|
-
*/
|
|
89604
|
-
EditionDefault.decode = function decode(reader, length) {
|
|
89605
|
-
if (!(reader instanceof $Reader))
|
|
89606
|
-
reader = $Reader.create(reader);
|
|
89607
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.EditionDefault();
|
|
89608
|
-
while (reader.pos < end) {
|
|
89609
|
-
var tag = reader.uint32();
|
|
89610
|
-
switch (tag >>> 3) {
|
|
89611
|
-
case 1: {
|
|
89612
|
-
message.edition = reader.string();
|
|
89613
|
-
break;
|
|
89614
|
-
}
|
|
89615
|
-
case 2: {
|
|
89616
|
-
message.value = reader.string();
|
|
89617
|
-
break;
|
|
89618
|
-
}
|
|
89619
|
-
default:
|
|
89620
|
-
reader.skipType(tag & 7);
|
|
89621
|
-
break;
|
|
89622
|
-
}
|
|
89623
|
-
}
|
|
89624
|
-
return message;
|
|
89625
|
-
};
|
|
89626
|
-
|
|
89627
|
-
/**
|
|
89628
|
-
* Decodes an EditionDefault message from the specified reader or buffer, length delimited.
|
|
89629
|
-
* @function decodeDelimited
|
|
89630
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89631
|
-
* @static
|
|
89632
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
89633
|
-
* @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
|
|
89634
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
89635
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
89636
|
-
*/
|
|
89637
|
-
EditionDefault.decodeDelimited = function decodeDelimited(reader) {
|
|
89638
|
-
if (!(reader instanceof $Reader))
|
|
89639
|
-
reader = new $Reader(reader);
|
|
89640
|
-
return this.decode(reader, reader.uint32());
|
|
89641
|
-
};
|
|
89642
|
-
|
|
89643
|
-
/**
|
|
89644
|
-
* Verifies an EditionDefault message.
|
|
89645
|
-
* @function verify
|
|
89646
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89647
|
-
* @static
|
|
89648
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
89649
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
89650
|
-
*/
|
|
89651
|
-
EditionDefault.verify = function verify(message) {
|
|
89652
|
-
if (typeof message !== "object" || message === null)
|
|
89653
|
-
return "object expected";
|
|
89654
|
-
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
89655
|
-
if (!$util.isString(message.edition))
|
|
89656
|
-
return "edition: string expected";
|
|
89657
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
|
89658
|
-
if (!$util.isString(message.value))
|
|
89659
|
-
return "value: string expected";
|
|
89660
|
-
return null;
|
|
89661
|
-
};
|
|
89662
|
-
|
|
89663
|
-
/**
|
|
89664
|
-
* Creates an EditionDefault message from a plain object. Also converts values to their respective internal types.
|
|
89665
|
-
* @function fromObject
|
|
89666
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89667
|
-
* @static
|
|
89668
|
-
* @param {Object.<string,*>} object Plain object
|
|
89669
|
-
* @returns {google.protobuf.FieldOptions.EditionDefault} EditionDefault
|
|
89670
|
-
*/
|
|
89671
|
-
EditionDefault.fromObject = function fromObject(object) {
|
|
89672
|
-
if (object instanceof $root.google.protobuf.FieldOptions.EditionDefault)
|
|
89673
|
-
return object;
|
|
89674
|
-
var message = new $root.google.protobuf.FieldOptions.EditionDefault();
|
|
89675
|
-
if (object.edition != null)
|
|
89676
|
-
message.edition = String(object.edition);
|
|
89677
|
-
if (object.value != null)
|
|
89678
|
-
message.value = String(object.value);
|
|
89679
|
-
return message;
|
|
89680
|
-
};
|
|
89681
|
-
|
|
89682
|
-
/**
|
|
89683
|
-
* Creates a plain object from an EditionDefault message. Also converts values to other types if specified.
|
|
89684
|
-
* @function toObject
|
|
89685
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89686
|
-
* @static
|
|
89687
|
-
* @param {google.protobuf.FieldOptions.EditionDefault} message EditionDefault
|
|
89688
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
89689
|
-
* @returns {Object.<string,*>} Plain object
|
|
89690
|
-
*/
|
|
89691
|
-
EditionDefault.toObject = function toObject(message, options) {
|
|
89692
|
-
if (!options)
|
|
89693
|
-
options = {};
|
|
89694
|
-
var object = {};
|
|
89695
|
-
if (options.defaults) {
|
|
89696
|
-
object.edition = "";
|
|
89697
|
-
object.value = "";
|
|
89698
|
-
}
|
|
89699
|
-
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
89700
|
-
object.edition = message.edition;
|
|
89701
|
-
if (message.value != null && message.hasOwnProperty("value"))
|
|
89702
|
-
object.value = message.value;
|
|
89703
|
-
return object;
|
|
89704
|
-
};
|
|
89705
|
-
|
|
89706
|
-
/**
|
|
89707
|
-
* Converts this EditionDefault to JSON.
|
|
89708
|
-
* @function toJSON
|
|
89709
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89710
|
-
* @instance
|
|
89711
|
-
* @returns {Object.<string,*>} JSON object
|
|
89712
|
-
*/
|
|
89713
|
-
EditionDefault.prototype.toJSON = function toJSON() {
|
|
89714
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
89715
|
-
};
|
|
89716
|
-
|
|
89717
|
-
/**
|
|
89718
|
-
* Gets the default type url for EditionDefault
|
|
89719
|
-
* @function getTypeUrl
|
|
89720
|
-
* @memberof google.protobuf.FieldOptions.EditionDefault
|
|
89721
|
-
* @static
|
|
89722
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
89723
|
-
* @returns {string} The default type url
|
|
89724
|
-
*/
|
|
89725
|
-
EditionDefault.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
89726
|
-
if (typeUrlPrefix === undefined) {
|
|
89727
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
89728
|
-
}
|
|
89729
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.EditionDefault";
|
|
89730
|
-
};
|
|
89731
|
-
|
|
89732
|
-
return EditionDefault;
|
|
89733
|
-
})();
|
|
89734
|
-
|
|
89735
88652
|
return FieldOptions;
|
|
89736
88653
|
})();
|
|
89737
88654
|
|
|
@@ -89741,7 +88658,6 @@
|
|
|
89741
88658
|
* Properties of an OneofOptions.
|
|
89742
88659
|
* @memberof google.protobuf
|
|
89743
88660
|
* @interface IOneofOptions
|
|
89744
|
-
* @property {google.protobuf.IFeatureSet|null} [features] OneofOptions features
|
|
89745
88661
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] OneofOptions uninterpretedOption
|
|
89746
88662
|
*/
|
|
89747
88663
|
|
|
@@ -89761,14 +88677,6 @@
|
|
|
89761
88677
|
this[keys[i]] = properties[keys[i]];
|
|
89762
88678
|
}
|
|
89763
88679
|
|
|
89764
|
-
/**
|
|
89765
|
-
* OneofOptions features.
|
|
89766
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
89767
|
-
* @memberof google.protobuf.OneofOptions
|
|
89768
|
-
* @instance
|
|
89769
|
-
*/
|
|
89770
|
-
OneofOptions.prototype.features = null;
|
|
89771
|
-
|
|
89772
88680
|
/**
|
|
89773
88681
|
* OneofOptions uninterpretedOption.
|
|
89774
88682
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -89801,8 +88709,6 @@
|
|
|
89801
88709
|
OneofOptions.encode = function encode(message, writer) {
|
|
89802
88710
|
if (!writer)
|
|
89803
88711
|
writer = $Writer.create();
|
|
89804
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
89805
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
89806
88712
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
89807
88713
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
89808
88714
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -89840,10 +88746,6 @@
|
|
|
89840
88746
|
while (reader.pos < end) {
|
|
89841
88747
|
var tag = reader.uint32();
|
|
89842
88748
|
switch (tag >>> 3) {
|
|
89843
|
-
case 1: {
|
|
89844
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
89845
|
-
break;
|
|
89846
|
-
}
|
|
89847
88749
|
case 999: {
|
|
89848
88750
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
89849
88751
|
message.uninterpretedOption = [];
|
|
@@ -89885,11 +88787,6 @@
|
|
|
89885
88787
|
OneofOptions.verify = function verify(message) {
|
|
89886
88788
|
if (typeof message !== "object" || message === null)
|
|
89887
88789
|
return "object expected";
|
|
89888
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
89889
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
89890
|
-
if (error)
|
|
89891
|
-
return "features." + error;
|
|
89892
|
-
}
|
|
89893
88790
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
89894
88791
|
if (!Array.isArray(message.uninterpretedOption))
|
|
89895
88792
|
return "uninterpretedOption: array expected";
|
|
@@ -89914,11 +88811,6 @@
|
|
|
89914
88811
|
if (object instanceof $root.google.protobuf.OneofOptions)
|
|
89915
88812
|
return object;
|
|
89916
88813
|
var message = new $root.google.protobuf.OneofOptions();
|
|
89917
|
-
if (object.features != null) {
|
|
89918
|
-
if (typeof object.features !== "object")
|
|
89919
|
-
throw TypeError(".google.protobuf.OneofOptions.features: object expected");
|
|
89920
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
89921
|
-
}
|
|
89922
88814
|
if (object.uninterpretedOption) {
|
|
89923
88815
|
if (!Array.isArray(object.uninterpretedOption))
|
|
89924
88816
|
throw TypeError(".google.protobuf.OneofOptions.uninterpretedOption: array expected");
|
|
@@ -89947,10 +88839,6 @@
|
|
|
89947
88839
|
var object = {};
|
|
89948
88840
|
if (options.arrays || options.defaults)
|
|
89949
88841
|
object.uninterpretedOption = [];
|
|
89950
|
-
if (options.defaults)
|
|
89951
|
-
object.features = null;
|
|
89952
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
89953
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
89954
88842
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
89955
88843
|
object.uninterpretedOption = [];
|
|
89956
88844
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -89997,7 +88885,6 @@
|
|
|
89997
88885
|
* @property {boolean|null} [allowAlias] EnumOptions allowAlias
|
|
89998
88886
|
* @property {boolean|null} [deprecated] EnumOptions deprecated
|
|
89999
88887
|
* @property {boolean|null} [deprecatedLegacyJsonFieldConflicts] EnumOptions deprecatedLegacyJsonFieldConflicts
|
|
90000
|
-
* @property {google.protobuf.IFeatureSet|null} [features] EnumOptions features
|
|
90001
88888
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumOptions uninterpretedOption
|
|
90002
88889
|
*/
|
|
90003
88890
|
|
|
@@ -90041,14 +88928,6 @@
|
|
|
90041
88928
|
*/
|
|
90042
88929
|
EnumOptions.prototype.deprecatedLegacyJsonFieldConflicts = false;
|
|
90043
88930
|
|
|
90044
|
-
/**
|
|
90045
|
-
* EnumOptions features.
|
|
90046
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
90047
|
-
* @memberof google.protobuf.EnumOptions
|
|
90048
|
-
* @instance
|
|
90049
|
-
*/
|
|
90050
|
-
EnumOptions.prototype.features = null;
|
|
90051
|
-
|
|
90052
88931
|
/**
|
|
90053
88932
|
* EnumOptions uninterpretedOption.
|
|
90054
88933
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -90087,8 +88966,6 @@
|
|
|
90087
88966
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.deprecated);
|
|
90088
88967
|
if (message.deprecatedLegacyJsonFieldConflicts != null && Object.hasOwnProperty.call(message, "deprecatedLegacyJsonFieldConflicts"))
|
|
90089
88968
|
writer.uint32(/* id 6, wireType 0 =*/48).bool(message.deprecatedLegacyJsonFieldConflicts);
|
|
90090
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
90091
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
90092
88969
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
90093
88970
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
90094
88971
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -90138,10 +89015,6 @@
|
|
|
90138
89015
|
message.deprecatedLegacyJsonFieldConflicts = reader.bool();
|
|
90139
89016
|
break;
|
|
90140
89017
|
}
|
|
90141
|
-
case 7: {
|
|
90142
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
90143
|
-
break;
|
|
90144
|
-
}
|
|
90145
89018
|
case 999: {
|
|
90146
89019
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
90147
89020
|
message.uninterpretedOption = [];
|
|
@@ -90192,11 +89065,6 @@
|
|
|
90192
89065
|
if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
|
|
90193
89066
|
if (typeof message.deprecatedLegacyJsonFieldConflicts !== "boolean")
|
|
90194
89067
|
return "deprecatedLegacyJsonFieldConflicts: boolean expected";
|
|
90195
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
90196
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
90197
|
-
if (error)
|
|
90198
|
-
return "features." + error;
|
|
90199
|
-
}
|
|
90200
89068
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
90201
89069
|
if (!Array.isArray(message.uninterpretedOption))
|
|
90202
89070
|
return "uninterpretedOption: array expected";
|
|
@@ -90227,11 +89095,6 @@
|
|
|
90227
89095
|
message.deprecated = Boolean(object.deprecated);
|
|
90228
89096
|
if (object.deprecatedLegacyJsonFieldConflicts != null)
|
|
90229
89097
|
message.deprecatedLegacyJsonFieldConflicts = Boolean(object.deprecatedLegacyJsonFieldConflicts);
|
|
90230
|
-
if (object.features != null) {
|
|
90231
|
-
if (typeof object.features !== "object")
|
|
90232
|
-
throw TypeError(".google.protobuf.EnumOptions.features: object expected");
|
|
90233
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
90234
|
-
}
|
|
90235
89098
|
if (object.uninterpretedOption) {
|
|
90236
89099
|
if (!Array.isArray(object.uninterpretedOption))
|
|
90237
89100
|
throw TypeError(".google.protobuf.EnumOptions.uninterpretedOption: array expected");
|
|
@@ -90264,7 +89127,6 @@
|
|
|
90264
89127
|
object.allowAlias = false;
|
|
90265
89128
|
object.deprecated = false;
|
|
90266
89129
|
object.deprecatedLegacyJsonFieldConflicts = false;
|
|
90267
|
-
object.features = null;
|
|
90268
89130
|
}
|
|
90269
89131
|
if (message.allowAlias != null && message.hasOwnProperty("allowAlias"))
|
|
90270
89132
|
object.allowAlias = message.allowAlias;
|
|
@@ -90272,8 +89134,6 @@
|
|
|
90272
89134
|
object.deprecated = message.deprecated;
|
|
90273
89135
|
if (message.deprecatedLegacyJsonFieldConflicts != null && message.hasOwnProperty("deprecatedLegacyJsonFieldConflicts"))
|
|
90274
89136
|
object.deprecatedLegacyJsonFieldConflicts = message.deprecatedLegacyJsonFieldConflicts;
|
|
90275
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
90276
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
90277
89137
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
90278
89138
|
object.uninterpretedOption = [];
|
|
90279
89139
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -90318,8 +89178,6 @@
|
|
|
90318
89178
|
* @memberof google.protobuf
|
|
90319
89179
|
* @interface IEnumValueOptions
|
|
90320
89180
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
90321
|
-
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
90322
|
-
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
90323
89181
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
90324
89182
|
*/
|
|
90325
89183
|
|
|
@@ -90347,22 +89205,6 @@
|
|
|
90347
89205
|
*/
|
|
90348
89206
|
EnumValueOptions.prototype.deprecated = false;
|
|
90349
89207
|
|
|
90350
|
-
/**
|
|
90351
|
-
* EnumValueOptions features.
|
|
90352
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
90353
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
90354
|
-
* @instance
|
|
90355
|
-
*/
|
|
90356
|
-
EnumValueOptions.prototype.features = null;
|
|
90357
|
-
|
|
90358
|
-
/**
|
|
90359
|
-
* EnumValueOptions debugRedact.
|
|
90360
|
-
* @member {boolean} debugRedact
|
|
90361
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
90362
|
-
* @instance
|
|
90363
|
-
*/
|
|
90364
|
-
EnumValueOptions.prototype.debugRedact = false;
|
|
90365
|
-
|
|
90366
89208
|
/**
|
|
90367
89209
|
* EnumValueOptions uninterpretedOption.
|
|
90368
89210
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -90397,10 +89239,6 @@
|
|
|
90397
89239
|
writer = $Writer.create();
|
|
90398
89240
|
if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
|
|
90399
89241
|
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.deprecated);
|
|
90400
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
90401
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
90402
|
-
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
90403
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
90404
89242
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
90405
89243
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
90406
89244
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -90442,14 +89280,6 @@
|
|
|
90442
89280
|
message.deprecated = reader.bool();
|
|
90443
89281
|
break;
|
|
90444
89282
|
}
|
|
90445
|
-
case 2: {
|
|
90446
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
90447
|
-
break;
|
|
90448
|
-
}
|
|
90449
|
-
case 3: {
|
|
90450
|
-
message.debugRedact = reader.bool();
|
|
90451
|
-
break;
|
|
90452
|
-
}
|
|
90453
89283
|
case 999: {
|
|
90454
89284
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
90455
89285
|
message.uninterpretedOption = [];
|
|
@@ -90494,14 +89324,6 @@
|
|
|
90494
89324
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
90495
89325
|
if (typeof message.deprecated !== "boolean")
|
|
90496
89326
|
return "deprecated: boolean expected";
|
|
90497
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
90498
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
90499
|
-
if (error)
|
|
90500
|
-
return "features." + error;
|
|
90501
|
-
}
|
|
90502
|
-
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
90503
|
-
if (typeof message.debugRedact !== "boolean")
|
|
90504
|
-
return "debugRedact: boolean expected";
|
|
90505
89327
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
90506
89328
|
if (!Array.isArray(message.uninterpretedOption))
|
|
90507
89329
|
return "uninterpretedOption: array expected";
|
|
@@ -90528,13 +89350,6 @@
|
|
|
90528
89350
|
var message = new $root.google.protobuf.EnumValueOptions();
|
|
90529
89351
|
if (object.deprecated != null)
|
|
90530
89352
|
message.deprecated = Boolean(object.deprecated);
|
|
90531
|
-
if (object.features != null) {
|
|
90532
|
-
if (typeof object.features !== "object")
|
|
90533
|
-
throw TypeError(".google.protobuf.EnumValueOptions.features: object expected");
|
|
90534
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
90535
|
-
}
|
|
90536
|
-
if (object.debugRedact != null)
|
|
90537
|
-
message.debugRedact = Boolean(object.debugRedact);
|
|
90538
89353
|
if (object.uninterpretedOption) {
|
|
90539
89354
|
if (!Array.isArray(object.uninterpretedOption))
|
|
90540
89355
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -90563,17 +89378,10 @@
|
|
|
90563
89378
|
var object = {};
|
|
90564
89379
|
if (options.arrays || options.defaults)
|
|
90565
89380
|
object.uninterpretedOption = [];
|
|
90566
|
-
if (options.defaults)
|
|
89381
|
+
if (options.defaults)
|
|
90567
89382
|
object.deprecated = false;
|
|
90568
|
-
object.features = null;
|
|
90569
|
-
object.debugRedact = false;
|
|
90570
|
-
}
|
|
90571
89383
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
90572
89384
|
object.deprecated = message.deprecated;
|
|
90573
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
90574
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
90575
|
-
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
90576
|
-
object.debugRedact = message.debugRedact;
|
|
90577
89385
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
90578
89386
|
object.uninterpretedOption = [];
|
|
90579
89387
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -90617,7 +89425,6 @@
|
|
|
90617
89425
|
* Properties of a ServiceOptions.
|
|
90618
89426
|
* @memberof google.protobuf
|
|
90619
89427
|
* @interface IServiceOptions
|
|
90620
|
-
* @property {google.protobuf.IFeatureSet|null} [features] ServiceOptions features
|
|
90621
89428
|
* @property {boolean|null} [deprecated] ServiceOptions deprecated
|
|
90622
89429
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] ServiceOptions uninterpretedOption
|
|
90623
89430
|
* @property {string|null} [".google.api.defaultHost"] ServiceOptions .google.api.defaultHost
|
|
@@ -90640,14 +89447,6 @@
|
|
|
90640
89447
|
this[keys[i]] = properties[keys[i]];
|
|
90641
89448
|
}
|
|
90642
89449
|
|
|
90643
|
-
/**
|
|
90644
|
-
* ServiceOptions features.
|
|
90645
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
90646
|
-
* @memberof google.protobuf.ServiceOptions
|
|
90647
|
-
* @instance
|
|
90648
|
-
*/
|
|
90649
|
-
ServiceOptions.prototype.features = null;
|
|
90650
|
-
|
|
90651
89450
|
/**
|
|
90652
89451
|
* ServiceOptions deprecated.
|
|
90653
89452
|
* @member {boolean} deprecated
|
|
@@ -90706,8 +89505,6 @@
|
|
|
90706
89505
|
writer = $Writer.create();
|
|
90707
89506
|
if (message.deprecated != null && Object.hasOwnProperty.call(message, "deprecated"))
|
|
90708
89507
|
writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
|
|
90709
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
90710
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 34, wireType 2 =*/274).fork()).ldelim();
|
|
90711
89508
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
90712
89509
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
90713
89510
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -90749,10 +89546,6 @@
|
|
|
90749
89546
|
while (reader.pos < end) {
|
|
90750
89547
|
var tag = reader.uint32();
|
|
90751
89548
|
switch (tag >>> 3) {
|
|
90752
|
-
case 34: {
|
|
90753
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
90754
|
-
break;
|
|
90755
|
-
}
|
|
90756
89549
|
case 33: {
|
|
90757
89550
|
message.deprecated = reader.bool();
|
|
90758
89551
|
break;
|
|
@@ -90806,11 +89599,6 @@
|
|
|
90806
89599
|
ServiceOptions.verify = function verify(message) {
|
|
90807
89600
|
if (typeof message !== "object" || message === null)
|
|
90808
89601
|
return "object expected";
|
|
90809
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
90810
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
90811
|
-
if (error)
|
|
90812
|
-
return "features." + error;
|
|
90813
|
-
}
|
|
90814
89602
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
90815
89603
|
if (typeof message.deprecated !== "boolean")
|
|
90816
89604
|
return "deprecated: boolean expected";
|
|
@@ -90844,11 +89632,6 @@
|
|
|
90844
89632
|
if (object instanceof $root.google.protobuf.ServiceOptions)
|
|
90845
89633
|
return object;
|
|
90846
89634
|
var message = new $root.google.protobuf.ServiceOptions();
|
|
90847
|
-
if (object.features != null) {
|
|
90848
|
-
if (typeof object.features !== "object")
|
|
90849
|
-
throw TypeError(".google.protobuf.ServiceOptions.features: object expected");
|
|
90850
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
90851
|
-
}
|
|
90852
89635
|
if (object.deprecated != null)
|
|
90853
89636
|
message.deprecated = Boolean(object.deprecated);
|
|
90854
89637
|
if (object.uninterpretedOption) {
|
|
@@ -90885,14 +89668,11 @@
|
|
|
90885
89668
|
object.uninterpretedOption = [];
|
|
90886
89669
|
if (options.defaults) {
|
|
90887
89670
|
object.deprecated = false;
|
|
90888
|
-
object.features = null;
|
|
90889
89671
|
object[".google.api.defaultHost"] = "";
|
|
90890
89672
|
object[".google.api.oauthScopes"] = "";
|
|
90891
89673
|
}
|
|
90892
89674
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
90893
89675
|
object.deprecated = message.deprecated;
|
|
90894
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
90895
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
90896
89676
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
90897
89677
|
object.uninterpretedOption = [];
|
|
90898
89678
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -90942,7 +89722,6 @@
|
|
|
90942
89722
|
* @interface IMethodOptions
|
|
90943
89723
|
* @property {boolean|null} [deprecated] MethodOptions deprecated
|
|
90944
89724
|
* @property {google.protobuf.MethodOptions.IdempotencyLevel|null} [idempotencyLevel] MethodOptions idempotencyLevel
|
|
90945
|
-
* @property {google.protobuf.IFeatureSet|null} [features] MethodOptions features
|
|
90946
89725
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] MethodOptions uninterpretedOption
|
|
90947
89726
|
* @property {google.api.IHttpRule|null} [".google.api.http"] MethodOptions .google.api.http
|
|
90948
89727
|
* @property {Array.<string>|null} [".google.api.methodSignature"] MethodOptions .google.api.methodSignature
|
|
@@ -90981,14 +89760,6 @@
|
|
|
90981
89760
|
*/
|
|
90982
89761
|
MethodOptions.prototype.idempotencyLevel = 0;
|
|
90983
89762
|
|
|
90984
|
-
/**
|
|
90985
|
-
* MethodOptions features.
|
|
90986
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
90987
|
-
* @memberof google.protobuf.MethodOptions
|
|
90988
|
-
* @instance
|
|
90989
|
-
*/
|
|
90990
|
-
MethodOptions.prototype.features = null;
|
|
90991
|
-
|
|
90992
89763
|
/**
|
|
90993
89764
|
* MethodOptions uninterpretedOption.
|
|
90994
89765
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -91041,8 +89812,6 @@
|
|
|
91041
89812
|
writer.uint32(/* id 33, wireType 0 =*/264).bool(message.deprecated);
|
|
91042
89813
|
if (message.idempotencyLevel != null && Object.hasOwnProperty.call(message, "idempotencyLevel"))
|
|
91043
89814
|
writer.uint32(/* id 34, wireType 0 =*/272).int32(message.idempotencyLevel);
|
|
91044
|
-
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
91045
|
-
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 35, wireType 2 =*/282).fork()).ldelim();
|
|
91046
89815
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
91047
89816
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
91048
89817
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -91093,10 +89862,6 @@
|
|
|
91093
89862
|
message.idempotencyLevel = reader.int32();
|
|
91094
89863
|
break;
|
|
91095
89864
|
}
|
|
91096
|
-
case 35: {
|
|
91097
|
-
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
91098
|
-
break;
|
|
91099
|
-
}
|
|
91100
89865
|
case 999: {
|
|
91101
89866
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
91102
89867
|
message.uninterpretedOption = [];
|
|
@@ -91160,11 +89925,6 @@
|
|
|
91160
89925
|
case 2:
|
|
91161
89926
|
break;
|
|
91162
89927
|
}
|
|
91163
|
-
if (message.features != null && message.hasOwnProperty("features")) {
|
|
91164
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
91165
|
-
if (error)
|
|
91166
|
-
return "features." + error;
|
|
91167
|
-
}
|
|
91168
89928
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
91169
89929
|
if (!Array.isArray(message.uninterpretedOption))
|
|
91170
89930
|
return "uninterpretedOption: array expected";
|
|
@@ -91223,11 +89983,6 @@
|
|
|
91223
89983
|
message.idempotencyLevel = 2;
|
|
91224
89984
|
break;
|
|
91225
89985
|
}
|
|
91226
|
-
if (object.features != null) {
|
|
91227
|
-
if (typeof object.features !== "object")
|
|
91228
|
-
throw TypeError(".google.protobuf.MethodOptions.features: object expected");
|
|
91229
|
-
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
91230
|
-
}
|
|
91231
89986
|
if (object.uninterpretedOption) {
|
|
91232
89987
|
if (!Array.isArray(object.uninterpretedOption))
|
|
91233
89988
|
throw TypeError(".google.protobuf.MethodOptions.uninterpretedOption: array expected");
|
|
@@ -91273,15 +90028,12 @@
|
|
|
91273
90028
|
if (options.defaults) {
|
|
91274
90029
|
object.deprecated = false;
|
|
91275
90030
|
object.idempotencyLevel = options.enums === String ? "IDEMPOTENCY_UNKNOWN" : 0;
|
|
91276
|
-
object.features = null;
|
|
91277
90031
|
object[".google.api.http"] = null;
|
|
91278
90032
|
}
|
|
91279
90033
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
91280
90034
|
object.deprecated = message.deprecated;
|
|
91281
90035
|
if (message.idempotencyLevel != null && message.hasOwnProperty("idempotencyLevel"))
|
|
91282
90036
|
object.idempotencyLevel = options.enums === String ? $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] === undefined ? message.idempotencyLevel : $root.google.protobuf.MethodOptions.IdempotencyLevel[message.idempotencyLevel] : message.idempotencyLevel;
|
|
91283
|
-
if (message.features != null && message.hasOwnProperty("features"))
|
|
91284
|
-
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
91285
90037
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
91286
90038
|
object.uninterpretedOption = [];
|
|
91287
90039
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -91970,607 +90722,6 @@
|
|
|
91970
90722
|
return UninterpretedOption;
|
|
91971
90723
|
})();
|
|
91972
90724
|
|
|
91973
|
-
protobuf.FeatureSet = (function() {
|
|
91974
|
-
|
|
91975
|
-
/**
|
|
91976
|
-
* Properties of a FeatureSet.
|
|
91977
|
-
* @memberof google.protobuf
|
|
91978
|
-
* @interface IFeatureSet
|
|
91979
|
-
* @property {google.protobuf.FeatureSet.FieldPresence|null} [fieldPresence] FeatureSet fieldPresence
|
|
91980
|
-
* @property {google.protobuf.FeatureSet.EnumType|null} [enumType] FeatureSet enumType
|
|
91981
|
-
* @property {google.protobuf.FeatureSet.RepeatedFieldEncoding|null} [repeatedFieldEncoding] FeatureSet repeatedFieldEncoding
|
|
91982
|
-
* @property {google.protobuf.FeatureSet.StringFieldValidation|null} [stringFieldValidation] FeatureSet stringFieldValidation
|
|
91983
|
-
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
91984
|
-
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
91985
|
-
* @property {google.protobuf.IFeatureSet|null} [rawFeatures] FeatureSet rawFeatures
|
|
91986
|
-
*/
|
|
91987
|
-
|
|
91988
|
-
/**
|
|
91989
|
-
* Constructs a new FeatureSet.
|
|
91990
|
-
* @memberof google.protobuf
|
|
91991
|
-
* @classdesc Represents a FeatureSet.
|
|
91992
|
-
* @implements IFeatureSet
|
|
91993
|
-
* @constructor
|
|
91994
|
-
* @param {google.protobuf.IFeatureSet=} [properties] Properties to set
|
|
91995
|
-
*/
|
|
91996
|
-
function FeatureSet(properties) {
|
|
91997
|
-
if (properties)
|
|
91998
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
91999
|
-
if (properties[keys[i]] != null)
|
|
92000
|
-
this[keys[i]] = properties[keys[i]];
|
|
92001
|
-
}
|
|
92002
|
-
|
|
92003
|
-
/**
|
|
92004
|
-
* FeatureSet fieldPresence.
|
|
92005
|
-
* @member {google.protobuf.FeatureSet.FieldPresence} fieldPresence
|
|
92006
|
-
* @memberof google.protobuf.FeatureSet
|
|
92007
|
-
* @instance
|
|
92008
|
-
*/
|
|
92009
|
-
FeatureSet.prototype.fieldPresence = 0;
|
|
92010
|
-
|
|
92011
|
-
/**
|
|
92012
|
-
* FeatureSet enumType.
|
|
92013
|
-
* @member {google.protobuf.FeatureSet.EnumType} enumType
|
|
92014
|
-
* @memberof google.protobuf.FeatureSet
|
|
92015
|
-
* @instance
|
|
92016
|
-
*/
|
|
92017
|
-
FeatureSet.prototype.enumType = 0;
|
|
92018
|
-
|
|
92019
|
-
/**
|
|
92020
|
-
* FeatureSet repeatedFieldEncoding.
|
|
92021
|
-
* @member {google.protobuf.FeatureSet.RepeatedFieldEncoding} repeatedFieldEncoding
|
|
92022
|
-
* @memberof google.protobuf.FeatureSet
|
|
92023
|
-
* @instance
|
|
92024
|
-
*/
|
|
92025
|
-
FeatureSet.prototype.repeatedFieldEncoding = 0;
|
|
92026
|
-
|
|
92027
|
-
/**
|
|
92028
|
-
* FeatureSet stringFieldValidation.
|
|
92029
|
-
* @member {google.protobuf.FeatureSet.StringFieldValidation} stringFieldValidation
|
|
92030
|
-
* @memberof google.protobuf.FeatureSet
|
|
92031
|
-
* @instance
|
|
92032
|
-
*/
|
|
92033
|
-
FeatureSet.prototype.stringFieldValidation = 0;
|
|
92034
|
-
|
|
92035
|
-
/**
|
|
92036
|
-
* FeatureSet messageEncoding.
|
|
92037
|
-
* @member {google.protobuf.FeatureSet.MessageEncoding} messageEncoding
|
|
92038
|
-
* @memberof google.protobuf.FeatureSet
|
|
92039
|
-
* @instance
|
|
92040
|
-
*/
|
|
92041
|
-
FeatureSet.prototype.messageEncoding = 0;
|
|
92042
|
-
|
|
92043
|
-
/**
|
|
92044
|
-
* FeatureSet jsonFormat.
|
|
92045
|
-
* @member {google.protobuf.FeatureSet.JsonFormat} jsonFormat
|
|
92046
|
-
* @memberof google.protobuf.FeatureSet
|
|
92047
|
-
* @instance
|
|
92048
|
-
*/
|
|
92049
|
-
FeatureSet.prototype.jsonFormat = 0;
|
|
92050
|
-
|
|
92051
|
-
/**
|
|
92052
|
-
* FeatureSet rawFeatures.
|
|
92053
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} rawFeatures
|
|
92054
|
-
* @memberof google.protobuf.FeatureSet
|
|
92055
|
-
* @instance
|
|
92056
|
-
*/
|
|
92057
|
-
FeatureSet.prototype.rawFeatures = null;
|
|
92058
|
-
|
|
92059
|
-
/**
|
|
92060
|
-
* Creates a new FeatureSet instance using the specified properties.
|
|
92061
|
-
* @function create
|
|
92062
|
-
* @memberof google.protobuf.FeatureSet
|
|
92063
|
-
* @static
|
|
92064
|
-
* @param {google.protobuf.IFeatureSet=} [properties] Properties to set
|
|
92065
|
-
* @returns {google.protobuf.FeatureSet} FeatureSet instance
|
|
92066
|
-
*/
|
|
92067
|
-
FeatureSet.create = function create(properties) {
|
|
92068
|
-
return new FeatureSet(properties);
|
|
92069
|
-
};
|
|
92070
|
-
|
|
92071
|
-
/**
|
|
92072
|
-
* Encodes the specified FeatureSet message. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
92073
|
-
* @function encode
|
|
92074
|
-
* @memberof google.protobuf.FeatureSet
|
|
92075
|
-
* @static
|
|
92076
|
-
* @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
|
|
92077
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
92078
|
-
* @returns {$protobuf.Writer} Writer
|
|
92079
|
-
*/
|
|
92080
|
-
FeatureSet.encode = function encode(message, writer) {
|
|
92081
|
-
if (!writer)
|
|
92082
|
-
writer = $Writer.create();
|
|
92083
|
-
if (message.fieldPresence != null && Object.hasOwnProperty.call(message, "fieldPresence"))
|
|
92084
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.fieldPresence);
|
|
92085
|
-
if (message.enumType != null && Object.hasOwnProperty.call(message, "enumType"))
|
|
92086
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.enumType);
|
|
92087
|
-
if (message.repeatedFieldEncoding != null && Object.hasOwnProperty.call(message, "repeatedFieldEncoding"))
|
|
92088
|
-
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.repeatedFieldEncoding);
|
|
92089
|
-
if (message.stringFieldValidation != null && Object.hasOwnProperty.call(message, "stringFieldValidation"))
|
|
92090
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.stringFieldValidation);
|
|
92091
|
-
if (message.messageEncoding != null && Object.hasOwnProperty.call(message, "messageEncoding"))
|
|
92092
|
-
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
92093
|
-
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
92094
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
92095
|
-
if (message.rawFeatures != null && Object.hasOwnProperty.call(message, "rawFeatures"))
|
|
92096
|
-
$root.google.protobuf.FeatureSet.encode(message.rawFeatures, writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
92097
|
-
return writer;
|
|
92098
|
-
};
|
|
92099
|
-
|
|
92100
|
-
/**
|
|
92101
|
-
* Encodes the specified FeatureSet message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.verify|verify} messages.
|
|
92102
|
-
* @function encodeDelimited
|
|
92103
|
-
* @memberof google.protobuf.FeatureSet
|
|
92104
|
-
* @static
|
|
92105
|
-
* @param {google.protobuf.IFeatureSet} message FeatureSet message or plain object to encode
|
|
92106
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
92107
|
-
* @returns {$protobuf.Writer} Writer
|
|
92108
|
-
*/
|
|
92109
|
-
FeatureSet.encodeDelimited = function encodeDelimited(message, writer) {
|
|
92110
|
-
return this.encode(message, writer).ldelim();
|
|
92111
|
-
};
|
|
92112
|
-
|
|
92113
|
-
/**
|
|
92114
|
-
* Decodes a FeatureSet message from the specified reader or buffer.
|
|
92115
|
-
* @function decode
|
|
92116
|
-
* @memberof google.protobuf.FeatureSet
|
|
92117
|
-
* @static
|
|
92118
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
92119
|
-
* @param {number} [length] Message length if known beforehand
|
|
92120
|
-
* @returns {google.protobuf.FeatureSet} FeatureSet
|
|
92121
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
92122
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
92123
|
-
*/
|
|
92124
|
-
FeatureSet.decode = function decode(reader, length) {
|
|
92125
|
-
if (!(reader instanceof $Reader))
|
|
92126
|
-
reader = $Reader.create(reader);
|
|
92127
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet();
|
|
92128
|
-
while (reader.pos < end) {
|
|
92129
|
-
var tag = reader.uint32();
|
|
92130
|
-
switch (tag >>> 3) {
|
|
92131
|
-
case 1: {
|
|
92132
|
-
message.fieldPresence = reader.int32();
|
|
92133
|
-
break;
|
|
92134
|
-
}
|
|
92135
|
-
case 2: {
|
|
92136
|
-
message.enumType = reader.int32();
|
|
92137
|
-
break;
|
|
92138
|
-
}
|
|
92139
|
-
case 3: {
|
|
92140
|
-
message.repeatedFieldEncoding = reader.int32();
|
|
92141
|
-
break;
|
|
92142
|
-
}
|
|
92143
|
-
case 4: {
|
|
92144
|
-
message.stringFieldValidation = reader.int32();
|
|
92145
|
-
break;
|
|
92146
|
-
}
|
|
92147
|
-
case 5: {
|
|
92148
|
-
message.messageEncoding = reader.int32();
|
|
92149
|
-
break;
|
|
92150
|
-
}
|
|
92151
|
-
case 6: {
|
|
92152
|
-
message.jsonFormat = reader.int32();
|
|
92153
|
-
break;
|
|
92154
|
-
}
|
|
92155
|
-
case 999: {
|
|
92156
|
-
message.rawFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
92157
|
-
break;
|
|
92158
|
-
}
|
|
92159
|
-
default:
|
|
92160
|
-
reader.skipType(tag & 7);
|
|
92161
|
-
break;
|
|
92162
|
-
}
|
|
92163
|
-
}
|
|
92164
|
-
return message;
|
|
92165
|
-
};
|
|
92166
|
-
|
|
92167
|
-
/**
|
|
92168
|
-
* Decodes a FeatureSet message from the specified reader or buffer, length delimited.
|
|
92169
|
-
* @function decodeDelimited
|
|
92170
|
-
* @memberof google.protobuf.FeatureSet
|
|
92171
|
-
* @static
|
|
92172
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
92173
|
-
* @returns {google.protobuf.FeatureSet} FeatureSet
|
|
92174
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
92175
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
92176
|
-
*/
|
|
92177
|
-
FeatureSet.decodeDelimited = function decodeDelimited(reader) {
|
|
92178
|
-
if (!(reader instanceof $Reader))
|
|
92179
|
-
reader = new $Reader(reader);
|
|
92180
|
-
return this.decode(reader, reader.uint32());
|
|
92181
|
-
};
|
|
92182
|
-
|
|
92183
|
-
/**
|
|
92184
|
-
* Verifies a FeatureSet message.
|
|
92185
|
-
* @function verify
|
|
92186
|
-
* @memberof google.protobuf.FeatureSet
|
|
92187
|
-
* @static
|
|
92188
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
92189
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
92190
|
-
*/
|
|
92191
|
-
FeatureSet.verify = function verify(message) {
|
|
92192
|
-
if (typeof message !== "object" || message === null)
|
|
92193
|
-
return "object expected";
|
|
92194
|
-
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
92195
|
-
switch (message.fieldPresence) {
|
|
92196
|
-
default:
|
|
92197
|
-
return "fieldPresence: enum value expected";
|
|
92198
|
-
case 0:
|
|
92199
|
-
case 1:
|
|
92200
|
-
case 2:
|
|
92201
|
-
case 3:
|
|
92202
|
-
break;
|
|
92203
|
-
}
|
|
92204
|
-
if (message.enumType != null && message.hasOwnProperty("enumType"))
|
|
92205
|
-
switch (message.enumType) {
|
|
92206
|
-
default:
|
|
92207
|
-
return "enumType: enum value expected";
|
|
92208
|
-
case 0:
|
|
92209
|
-
case 1:
|
|
92210
|
-
case 2:
|
|
92211
|
-
break;
|
|
92212
|
-
}
|
|
92213
|
-
if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
|
|
92214
|
-
switch (message.repeatedFieldEncoding) {
|
|
92215
|
-
default:
|
|
92216
|
-
return "repeatedFieldEncoding: enum value expected";
|
|
92217
|
-
case 0:
|
|
92218
|
-
case 1:
|
|
92219
|
-
case 2:
|
|
92220
|
-
break;
|
|
92221
|
-
}
|
|
92222
|
-
if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
|
|
92223
|
-
switch (message.stringFieldValidation) {
|
|
92224
|
-
default:
|
|
92225
|
-
return "stringFieldValidation: enum value expected";
|
|
92226
|
-
case 0:
|
|
92227
|
-
case 1:
|
|
92228
|
-
case 2:
|
|
92229
|
-
case 3:
|
|
92230
|
-
break;
|
|
92231
|
-
}
|
|
92232
|
-
if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
|
|
92233
|
-
switch (message.messageEncoding) {
|
|
92234
|
-
default:
|
|
92235
|
-
return "messageEncoding: enum value expected";
|
|
92236
|
-
case 0:
|
|
92237
|
-
case 1:
|
|
92238
|
-
case 2:
|
|
92239
|
-
break;
|
|
92240
|
-
}
|
|
92241
|
-
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
92242
|
-
switch (message.jsonFormat) {
|
|
92243
|
-
default:
|
|
92244
|
-
return "jsonFormat: enum value expected";
|
|
92245
|
-
case 0:
|
|
92246
|
-
case 1:
|
|
92247
|
-
case 2:
|
|
92248
|
-
break;
|
|
92249
|
-
}
|
|
92250
|
-
if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures")) {
|
|
92251
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.rawFeatures);
|
|
92252
|
-
if (error)
|
|
92253
|
-
return "rawFeatures." + error;
|
|
92254
|
-
}
|
|
92255
|
-
return null;
|
|
92256
|
-
};
|
|
92257
|
-
|
|
92258
|
-
/**
|
|
92259
|
-
* Creates a FeatureSet message from a plain object. Also converts values to their respective internal types.
|
|
92260
|
-
* @function fromObject
|
|
92261
|
-
* @memberof google.protobuf.FeatureSet
|
|
92262
|
-
* @static
|
|
92263
|
-
* @param {Object.<string,*>} object Plain object
|
|
92264
|
-
* @returns {google.protobuf.FeatureSet} FeatureSet
|
|
92265
|
-
*/
|
|
92266
|
-
FeatureSet.fromObject = function fromObject(object) {
|
|
92267
|
-
if (object instanceof $root.google.protobuf.FeatureSet)
|
|
92268
|
-
return object;
|
|
92269
|
-
var message = new $root.google.protobuf.FeatureSet();
|
|
92270
|
-
switch (object.fieldPresence) {
|
|
92271
|
-
default:
|
|
92272
|
-
if (typeof object.fieldPresence === "number") {
|
|
92273
|
-
message.fieldPresence = object.fieldPresence;
|
|
92274
|
-
break;
|
|
92275
|
-
}
|
|
92276
|
-
break;
|
|
92277
|
-
case "FIELD_PRESENCE_UNKNOWN":
|
|
92278
|
-
case 0:
|
|
92279
|
-
message.fieldPresence = 0;
|
|
92280
|
-
break;
|
|
92281
|
-
case "EXPLICIT":
|
|
92282
|
-
case 1:
|
|
92283
|
-
message.fieldPresence = 1;
|
|
92284
|
-
break;
|
|
92285
|
-
case "IMPLICIT":
|
|
92286
|
-
case 2:
|
|
92287
|
-
message.fieldPresence = 2;
|
|
92288
|
-
break;
|
|
92289
|
-
case "LEGACY_REQUIRED":
|
|
92290
|
-
case 3:
|
|
92291
|
-
message.fieldPresence = 3;
|
|
92292
|
-
break;
|
|
92293
|
-
}
|
|
92294
|
-
switch (object.enumType) {
|
|
92295
|
-
default:
|
|
92296
|
-
if (typeof object.enumType === "number") {
|
|
92297
|
-
message.enumType = object.enumType;
|
|
92298
|
-
break;
|
|
92299
|
-
}
|
|
92300
|
-
break;
|
|
92301
|
-
case "ENUM_TYPE_UNKNOWN":
|
|
92302
|
-
case 0:
|
|
92303
|
-
message.enumType = 0;
|
|
92304
|
-
break;
|
|
92305
|
-
case "OPEN":
|
|
92306
|
-
case 1:
|
|
92307
|
-
message.enumType = 1;
|
|
92308
|
-
break;
|
|
92309
|
-
case "CLOSED":
|
|
92310
|
-
case 2:
|
|
92311
|
-
message.enumType = 2;
|
|
92312
|
-
break;
|
|
92313
|
-
}
|
|
92314
|
-
switch (object.repeatedFieldEncoding) {
|
|
92315
|
-
default:
|
|
92316
|
-
if (typeof object.repeatedFieldEncoding === "number") {
|
|
92317
|
-
message.repeatedFieldEncoding = object.repeatedFieldEncoding;
|
|
92318
|
-
break;
|
|
92319
|
-
}
|
|
92320
|
-
break;
|
|
92321
|
-
case "REPEATED_FIELD_ENCODING_UNKNOWN":
|
|
92322
|
-
case 0:
|
|
92323
|
-
message.repeatedFieldEncoding = 0;
|
|
92324
|
-
break;
|
|
92325
|
-
case "PACKED":
|
|
92326
|
-
case 1:
|
|
92327
|
-
message.repeatedFieldEncoding = 1;
|
|
92328
|
-
break;
|
|
92329
|
-
case "EXPANDED":
|
|
92330
|
-
case 2:
|
|
92331
|
-
message.repeatedFieldEncoding = 2;
|
|
92332
|
-
break;
|
|
92333
|
-
}
|
|
92334
|
-
switch (object.stringFieldValidation) {
|
|
92335
|
-
default:
|
|
92336
|
-
if (typeof object.stringFieldValidation === "number") {
|
|
92337
|
-
message.stringFieldValidation = object.stringFieldValidation;
|
|
92338
|
-
break;
|
|
92339
|
-
}
|
|
92340
|
-
break;
|
|
92341
|
-
case "STRING_FIELD_VALIDATION_UNKNOWN":
|
|
92342
|
-
case 0:
|
|
92343
|
-
message.stringFieldValidation = 0;
|
|
92344
|
-
break;
|
|
92345
|
-
case "MANDATORY":
|
|
92346
|
-
case 1:
|
|
92347
|
-
message.stringFieldValidation = 1;
|
|
92348
|
-
break;
|
|
92349
|
-
case "HINT":
|
|
92350
|
-
case 2:
|
|
92351
|
-
message.stringFieldValidation = 2;
|
|
92352
|
-
break;
|
|
92353
|
-
case "NONE":
|
|
92354
|
-
case 3:
|
|
92355
|
-
message.stringFieldValidation = 3;
|
|
92356
|
-
break;
|
|
92357
|
-
}
|
|
92358
|
-
switch (object.messageEncoding) {
|
|
92359
|
-
default:
|
|
92360
|
-
if (typeof object.messageEncoding === "number") {
|
|
92361
|
-
message.messageEncoding = object.messageEncoding;
|
|
92362
|
-
break;
|
|
92363
|
-
}
|
|
92364
|
-
break;
|
|
92365
|
-
case "MESSAGE_ENCODING_UNKNOWN":
|
|
92366
|
-
case 0:
|
|
92367
|
-
message.messageEncoding = 0;
|
|
92368
|
-
break;
|
|
92369
|
-
case "LENGTH_PREFIXED":
|
|
92370
|
-
case 1:
|
|
92371
|
-
message.messageEncoding = 1;
|
|
92372
|
-
break;
|
|
92373
|
-
case "DELIMITED":
|
|
92374
|
-
case 2:
|
|
92375
|
-
message.messageEncoding = 2;
|
|
92376
|
-
break;
|
|
92377
|
-
}
|
|
92378
|
-
switch (object.jsonFormat) {
|
|
92379
|
-
default:
|
|
92380
|
-
if (typeof object.jsonFormat === "number") {
|
|
92381
|
-
message.jsonFormat = object.jsonFormat;
|
|
92382
|
-
break;
|
|
92383
|
-
}
|
|
92384
|
-
break;
|
|
92385
|
-
case "JSON_FORMAT_UNKNOWN":
|
|
92386
|
-
case 0:
|
|
92387
|
-
message.jsonFormat = 0;
|
|
92388
|
-
break;
|
|
92389
|
-
case "ALLOW":
|
|
92390
|
-
case 1:
|
|
92391
|
-
message.jsonFormat = 1;
|
|
92392
|
-
break;
|
|
92393
|
-
case "LEGACY_BEST_EFFORT":
|
|
92394
|
-
case 2:
|
|
92395
|
-
message.jsonFormat = 2;
|
|
92396
|
-
break;
|
|
92397
|
-
}
|
|
92398
|
-
if (object.rawFeatures != null) {
|
|
92399
|
-
if (typeof object.rawFeatures !== "object")
|
|
92400
|
-
throw TypeError(".google.protobuf.FeatureSet.rawFeatures: object expected");
|
|
92401
|
-
message.rawFeatures = $root.google.protobuf.FeatureSet.fromObject(object.rawFeatures);
|
|
92402
|
-
}
|
|
92403
|
-
return message;
|
|
92404
|
-
};
|
|
92405
|
-
|
|
92406
|
-
/**
|
|
92407
|
-
* Creates a plain object from a FeatureSet message. Also converts values to other types if specified.
|
|
92408
|
-
* @function toObject
|
|
92409
|
-
* @memberof google.protobuf.FeatureSet
|
|
92410
|
-
* @static
|
|
92411
|
-
* @param {google.protobuf.FeatureSet} message FeatureSet
|
|
92412
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
92413
|
-
* @returns {Object.<string,*>} Plain object
|
|
92414
|
-
*/
|
|
92415
|
-
FeatureSet.toObject = function toObject(message, options) {
|
|
92416
|
-
if (!options)
|
|
92417
|
-
options = {};
|
|
92418
|
-
var object = {};
|
|
92419
|
-
if (options.defaults) {
|
|
92420
|
-
object.fieldPresence = options.enums === String ? "FIELD_PRESENCE_UNKNOWN" : 0;
|
|
92421
|
-
object.enumType = options.enums === String ? "ENUM_TYPE_UNKNOWN" : 0;
|
|
92422
|
-
object.repeatedFieldEncoding = options.enums === String ? "REPEATED_FIELD_ENCODING_UNKNOWN" : 0;
|
|
92423
|
-
object.stringFieldValidation = options.enums === String ? "STRING_FIELD_VALIDATION_UNKNOWN" : 0;
|
|
92424
|
-
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
92425
|
-
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
92426
|
-
object.rawFeatures = null;
|
|
92427
|
-
}
|
|
92428
|
-
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
92429
|
-
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
92430
|
-
if (message.enumType != null && message.hasOwnProperty("enumType"))
|
|
92431
|
-
object.enumType = options.enums === String ? $root.google.protobuf.FeatureSet.EnumType[message.enumType] === undefined ? message.enumType : $root.google.protobuf.FeatureSet.EnumType[message.enumType] : message.enumType;
|
|
92432
|
-
if (message.repeatedFieldEncoding != null && message.hasOwnProperty("repeatedFieldEncoding"))
|
|
92433
|
-
object.repeatedFieldEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] === undefined ? message.repeatedFieldEncoding : $root.google.protobuf.FeatureSet.RepeatedFieldEncoding[message.repeatedFieldEncoding] : message.repeatedFieldEncoding;
|
|
92434
|
-
if (message.stringFieldValidation != null && message.hasOwnProperty("stringFieldValidation"))
|
|
92435
|
-
object.stringFieldValidation = options.enums === String ? $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] === undefined ? message.stringFieldValidation : $root.google.protobuf.FeatureSet.StringFieldValidation[message.stringFieldValidation] : message.stringFieldValidation;
|
|
92436
|
-
if (message.messageEncoding != null && message.hasOwnProperty("messageEncoding"))
|
|
92437
|
-
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
92438
|
-
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
92439
|
-
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
92440
|
-
if (message.rawFeatures != null && message.hasOwnProperty("rawFeatures"))
|
|
92441
|
-
object.rawFeatures = $root.google.protobuf.FeatureSet.toObject(message.rawFeatures, options);
|
|
92442
|
-
return object;
|
|
92443
|
-
};
|
|
92444
|
-
|
|
92445
|
-
/**
|
|
92446
|
-
* Converts this FeatureSet to JSON.
|
|
92447
|
-
* @function toJSON
|
|
92448
|
-
* @memberof google.protobuf.FeatureSet
|
|
92449
|
-
* @instance
|
|
92450
|
-
* @returns {Object.<string,*>} JSON object
|
|
92451
|
-
*/
|
|
92452
|
-
FeatureSet.prototype.toJSON = function toJSON() {
|
|
92453
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
92454
|
-
};
|
|
92455
|
-
|
|
92456
|
-
/**
|
|
92457
|
-
* Gets the default type url for FeatureSet
|
|
92458
|
-
* @function getTypeUrl
|
|
92459
|
-
* @memberof google.protobuf.FeatureSet
|
|
92460
|
-
* @static
|
|
92461
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
92462
|
-
* @returns {string} The default type url
|
|
92463
|
-
*/
|
|
92464
|
-
FeatureSet.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
92465
|
-
if (typeUrlPrefix === undefined) {
|
|
92466
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
92467
|
-
}
|
|
92468
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet";
|
|
92469
|
-
};
|
|
92470
|
-
|
|
92471
|
-
/**
|
|
92472
|
-
* FieldPresence enum.
|
|
92473
|
-
* @name google.protobuf.FeatureSet.FieldPresence
|
|
92474
|
-
* @enum {number}
|
|
92475
|
-
* @property {number} FIELD_PRESENCE_UNKNOWN=0 FIELD_PRESENCE_UNKNOWN value
|
|
92476
|
-
* @property {number} EXPLICIT=1 EXPLICIT value
|
|
92477
|
-
* @property {number} IMPLICIT=2 IMPLICIT value
|
|
92478
|
-
* @property {number} LEGACY_REQUIRED=3 LEGACY_REQUIRED value
|
|
92479
|
-
*/
|
|
92480
|
-
FeatureSet.FieldPresence = (function() {
|
|
92481
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92482
|
-
values[valuesById[0] = "FIELD_PRESENCE_UNKNOWN"] = 0;
|
|
92483
|
-
values[valuesById[1] = "EXPLICIT"] = 1;
|
|
92484
|
-
values[valuesById[2] = "IMPLICIT"] = 2;
|
|
92485
|
-
values[valuesById[3] = "LEGACY_REQUIRED"] = 3;
|
|
92486
|
-
return values;
|
|
92487
|
-
})();
|
|
92488
|
-
|
|
92489
|
-
/**
|
|
92490
|
-
* EnumType enum.
|
|
92491
|
-
* @name google.protobuf.FeatureSet.EnumType
|
|
92492
|
-
* @enum {number}
|
|
92493
|
-
* @property {number} ENUM_TYPE_UNKNOWN=0 ENUM_TYPE_UNKNOWN value
|
|
92494
|
-
* @property {number} OPEN=1 OPEN value
|
|
92495
|
-
* @property {number} CLOSED=2 CLOSED value
|
|
92496
|
-
*/
|
|
92497
|
-
FeatureSet.EnumType = (function() {
|
|
92498
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92499
|
-
values[valuesById[0] = "ENUM_TYPE_UNKNOWN"] = 0;
|
|
92500
|
-
values[valuesById[1] = "OPEN"] = 1;
|
|
92501
|
-
values[valuesById[2] = "CLOSED"] = 2;
|
|
92502
|
-
return values;
|
|
92503
|
-
})();
|
|
92504
|
-
|
|
92505
|
-
/**
|
|
92506
|
-
* RepeatedFieldEncoding enum.
|
|
92507
|
-
* @name google.protobuf.FeatureSet.RepeatedFieldEncoding
|
|
92508
|
-
* @enum {number}
|
|
92509
|
-
* @property {number} REPEATED_FIELD_ENCODING_UNKNOWN=0 REPEATED_FIELD_ENCODING_UNKNOWN value
|
|
92510
|
-
* @property {number} PACKED=1 PACKED value
|
|
92511
|
-
* @property {number} EXPANDED=2 EXPANDED value
|
|
92512
|
-
*/
|
|
92513
|
-
FeatureSet.RepeatedFieldEncoding = (function() {
|
|
92514
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92515
|
-
values[valuesById[0] = "REPEATED_FIELD_ENCODING_UNKNOWN"] = 0;
|
|
92516
|
-
values[valuesById[1] = "PACKED"] = 1;
|
|
92517
|
-
values[valuesById[2] = "EXPANDED"] = 2;
|
|
92518
|
-
return values;
|
|
92519
|
-
})();
|
|
92520
|
-
|
|
92521
|
-
/**
|
|
92522
|
-
* StringFieldValidation enum.
|
|
92523
|
-
* @name google.protobuf.FeatureSet.StringFieldValidation
|
|
92524
|
-
* @enum {number}
|
|
92525
|
-
* @property {number} STRING_FIELD_VALIDATION_UNKNOWN=0 STRING_FIELD_VALIDATION_UNKNOWN value
|
|
92526
|
-
* @property {number} MANDATORY=1 MANDATORY value
|
|
92527
|
-
* @property {number} HINT=2 HINT value
|
|
92528
|
-
* @property {number} NONE=3 NONE value
|
|
92529
|
-
*/
|
|
92530
|
-
FeatureSet.StringFieldValidation = (function() {
|
|
92531
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92532
|
-
values[valuesById[0] = "STRING_FIELD_VALIDATION_UNKNOWN"] = 0;
|
|
92533
|
-
values[valuesById[1] = "MANDATORY"] = 1;
|
|
92534
|
-
values[valuesById[2] = "HINT"] = 2;
|
|
92535
|
-
values[valuesById[3] = "NONE"] = 3;
|
|
92536
|
-
return values;
|
|
92537
|
-
})();
|
|
92538
|
-
|
|
92539
|
-
/**
|
|
92540
|
-
* MessageEncoding enum.
|
|
92541
|
-
* @name google.protobuf.FeatureSet.MessageEncoding
|
|
92542
|
-
* @enum {number}
|
|
92543
|
-
* @property {number} MESSAGE_ENCODING_UNKNOWN=0 MESSAGE_ENCODING_UNKNOWN value
|
|
92544
|
-
* @property {number} LENGTH_PREFIXED=1 LENGTH_PREFIXED value
|
|
92545
|
-
* @property {number} DELIMITED=2 DELIMITED value
|
|
92546
|
-
*/
|
|
92547
|
-
FeatureSet.MessageEncoding = (function() {
|
|
92548
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92549
|
-
values[valuesById[0] = "MESSAGE_ENCODING_UNKNOWN"] = 0;
|
|
92550
|
-
values[valuesById[1] = "LENGTH_PREFIXED"] = 1;
|
|
92551
|
-
values[valuesById[2] = "DELIMITED"] = 2;
|
|
92552
|
-
return values;
|
|
92553
|
-
})();
|
|
92554
|
-
|
|
92555
|
-
/**
|
|
92556
|
-
* JsonFormat enum.
|
|
92557
|
-
* @name google.protobuf.FeatureSet.JsonFormat
|
|
92558
|
-
* @enum {number}
|
|
92559
|
-
* @property {number} JSON_FORMAT_UNKNOWN=0 JSON_FORMAT_UNKNOWN value
|
|
92560
|
-
* @property {number} ALLOW=1 ALLOW value
|
|
92561
|
-
* @property {number} LEGACY_BEST_EFFORT=2 LEGACY_BEST_EFFORT value
|
|
92562
|
-
*/
|
|
92563
|
-
FeatureSet.JsonFormat = (function() {
|
|
92564
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
92565
|
-
values[valuesById[0] = "JSON_FORMAT_UNKNOWN"] = 0;
|
|
92566
|
-
values[valuesById[1] = "ALLOW"] = 1;
|
|
92567
|
-
values[valuesById[2] = "LEGACY_BEST_EFFORT"] = 2;
|
|
92568
|
-
return values;
|
|
92569
|
-
})();
|
|
92570
|
-
|
|
92571
|
-
return FeatureSet;
|
|
92572
|
-
})();
|
|
92573
|
-
|
|
92574
90725
|
protobuf.SourceCodeInfo = (function() {
|
|
92575
90726
|
|
|
92576
90727
|
/**
|