@google-cloud/dlp 6.4.0 → 6.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +83 -167
- package/build/protos/google/privacy/dlp/v2/dlp.proto +178 -55
- package/build/protos/protos.d.ts +330 -520
- package/build/protos/protos.js +1031 -1904
- package/build/protos/protos.json +83 -194
- package/build/src/v2/dlp_service_client.d.ts +242 -126
- package/build/src/v2/dlp_service_client.js +150 -84
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
|
@@ -9680,6 +9680,8 @@
|
|
|
9680
9680
|
* @property {Array.<google.privacy.dlp.v2.RedactImageRequest.IImageRedactionConfig>|null} [imageRedactionConfigs] RedactImageRequest imageRedactionConfigs
|
|
9681
9681
|
* @property {boolean|null} [includeFindings] RedactImageRequest includeFindings
|
|
9682
9682
|
* @property {google.privacy.dlp.v2.IByteContentItem|null} [byteItem] RedactImageRequest byteItem
|
|
9683
|
+
* @property {string|null} [inspectTemplate] RedactImageRequest inspectTemplate
|
|
9684
|
+
* @property {string|null} [deidentifyTemplate] RedactImageRequest deidentifyTemplate
|
|
9683
9685
|
*/
|
|
9684
9686
|
|
|
9685
9687
|
/**
|
|
@@ -9746,6 +9748,22 @@
|
|
|
9746
9748
|
*/
|
|
9747
9749
|
RedactImageRequest.prototype.byteItem = null;
|
|
9748
9750
|
|
|
9751
|
+
/**
|
|
9752
|
+
* RedactImageRequest inspectTemplate.
|
|
9753
|
+
* @member {string} inspectTemplate
|
|
9754
|
+
* @memberof google.privacy.dlp.v2.RedactImageRequest
|
|
9755
|
+
* @instance
|
|
9756
|
+
*/
|
|
9757
|
+
RedactImageRequest.prototype.inspectTemplate = "";
|
|
9758
|
+
|
|
9759
|
+
/**
|
|
9760
|
+
* RedactImageRequest deidentifyTemplate.
|
|
9761
|
+
* @member {string} deidentifyTemplate
|
|
9762
|
+
* @memberof google.privacy.dlp.v2.RedactImageRequest
|
|
9763
|
+
* @instance
|
|
9764
|
+
*/
|
|
9765
|
+
RedactImageRequest.prototype.deidentifyTemplate = "";
|
|
9766
|
+
|
|
9749
9767
|
/**
|
|
9750
9768
|
* Creates a new RedactImageRequest instance using the specified properties.
|
|
9751
9769
|
* @function create
|
|
@@ -9783,6 +9801,10 @@
|
|
|
9783
9801
|
$root.google.privacy.dlp.v2.ByteContentItem.encode(message.byteItem, writer.uint32(/* id 7, wireType 2 =*/58).fork()).ldelim();
|
|
9784
9802
|
if (message.locationId != null && Object.hasOwnProperty.call(message, "locationId"))
|
|
9785
9803
|
writer.uint32(/* id 8, wireType 2 =*/66).string(message.locationId);
|
|
9804
|
+
if (message.inspectTemplate != null && Object.hasOwnProperty.call(message, "inspectTemplate"))
|
|
9805
|
+
writer.uint32(/* id 9, wireType 2 =*/74).string(message.inspectTemplate);
|
|
9806
|
+
if (message.deidentifyTemplate != null && Object.hasOwnProperty.call(message, "deidentifyTemplate"))
|
|
9807
|
+
writer.uint32(/* id 10, wireType 2 =*/82).string(message.deidentifyTemplate);
|
|
9786
9808
|
return writer;
|
|
9787
9809
|
};
|
|
9788
9810
|
|
|
@@ -9845,6 +9867,14 @@
|
|
|
9845
9867
|
message.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.decode(reader, reader.uint32());
|
|
9846
9868
|
break;
|
|
9847
9869
|
}
|
|
9870
|
+
case 9: {
|
|
9871
|
+
message.inspectTemplate = reader.string();
|
|
9872
|
+
break;
|
|
9873
|
+
}
|
|
9874
|
+
case 10: {
|
|
9875
|
+
message.deidentifyTemplate = reader.string();
|
|
9876
|
+
break;
|
|
9877
|
+
}
|
|
9848
9878
|
default:
|
|
9849
9879
|
reader.skipType(tag & 7);
|
|
9850
9880
|
break;
|
|
@@ -9908,6 +9938,12 @@
|
|
|
9908
9938
|
if (error)
|
|
9909
9939
|
return "byteItem." + error;
|
|
9910
9940
|
}
|
|
9941
|
+
if (message.inspectTemplate != null && message.hasOwnProperty("inspectTemplate"))
|
|
9942
|
+
if (!$util.isString(message.inspectTemplate))
|
|
9943
|
+
return "inspectTemplate: string expected";
|
|
9944
|
+
if (message.deidentifyTemplate != null && message.hasOwnProperty("deidentifyTemplate"))
|
|
9945
|
+
if (!$util.isString(message.deidentifyTemplate))
|
|
9946
|
+
return "deidentifyTemplate: string expected";
|
|
9911
9947
|
return null;
|
|
9912
9948
|
};
|
|
9913
9949
|
|
|
@@ -9949,6 +9985,10 @@
|
|
|
9949
9985
|
throw TypeError(".google.privacy.dlp.v2.RedactImageRequest.byteItem: object expected");
|
|
9950
9986
|
message.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.fromObject(object.byteItem);
|
|
9951
9987
|
}
|
|
9988
|
+
if (object.inspectTemplate != null)
|
|
9989
|
+
message.inspectTemplate = String(object.inspectTemplate);
|
|
9990
|
+
if (object.deidentifyTemplate != null)
|
|
9991
|
+
message.deidentifyTemplate = String(object.deidentifyTemplate);
|
|
9952
9992
|
return message;
|
|
9953
9993
|
};
|
|
9954
9994
|
|
|
@@ -9973,6 +10013,8 @@
|
|
|
9973
10013
|
object.includeFindings = false;
|
|
9974
10014
|
object.byteItem = null;
|
|
9975
10015
|
object.locationId = "";
|
|
10016
|
+
object.inspectTemplate = "";
|
|
10017
|
+
object.deidentifyTemplate = "";
|
|
9976
10018
|
}
|
|
9977
10019
|
if (message.parent != null && message.hasOwnProperty("parent"))
|
|
9978
10020
|
object.parent = message.parent;
|
|
@@ -9989,6 +10031,10 @@
|
|
|
9989
10031
|
object.byteItem = $root.google.privacy.dlp.v2.ByteContentItem.toObject(message.byteItem, options);
|
|
9990
10032
|
if (message.locationId != null && message.hasOwnProperty("locationId"))
|
|
9991
10033
|
object.locationId = message.locationId;
|
|
10034
|
+
if (message.inspectTemplate != null && message.hasOwnProperty("inspectTemplate"))
|
|
10035
|
+
object.inspectTemplate = message.inspectTemplate;
|
|
10036
|
+
if (message.deidentifyTemplate != null && message.hasOwnProperty("deidentifyTemplate"))
|
|
10037
|
+
object.deidentifyTemplate = message.deidentifyTemplate;
|
|
9992
10038
|
return object;
|
|
9993
10039
|
};
|
|
9994
10040
|
|
|
@@ -12547,6 +12593,7 @@
|
|
|
12547
12593
|
* @memberof google.privacy.dlp.v2
|
|
12548
12594
|
* @interface IOutputStorageConfig
|
|
12549
12595
|
* @property {google.privacy.dlp.v2.IBigQueryTable|null} [table] OutputStorageConfig table
|
|
12596
|
+
* @property {google.privacy.dlp.v2.ICloudStoragePath|null} [storagePath] OutputStorageConfig storagePath
|
|
12550
12597
|
* @property {google.privacy.dlp.v2.OutputStorageConfig.OutputSchema|null} [outputSchema] OutputStorageConfig outputSchema
|
|
12551
12598
|
*/
|
|
12552
12599
|
|
|
@@ -12573,6 +12620,14 @@
|
|
|
12573
12620
|
*/
|
|
12574
12621
|
OutputStorageConfig.prototype.table = null;
|
|
12575
12622
|
|
|
12623
|
+
/**
|
|
12624
|
+
* OutputStorageConfig storagePath.
|
|
12625
|
+
* @member {google.privacy.dlp.v2.ICloudStoragePath|null|undefined} storagePath
|
|
12626
|
+
* @memberof google.privacy.dlp.v2.OutputStorageConfig
|
|
12627
|
+
* @instance
|
|
12628
|
+
*/
|
|
12629
|
+
OutputStorageConfig.prototype.storagePath = null;
|
|
12630
|
+
|
|
12576
12631
|
/**
|
|
12577
12632
|
* OutputStorageConfig outputSchema.
|
|
12578
12633
|
* @member {google.privacy.dlp.v2.OutputStorageConfig.OutputSchema} outputSchema
|
|
@@ -12586,12 +12641,12 @@
|
|
|
12586
12641
|
|
|
12587
12642
|
/**
|
|
12588
12643
|
* OutputStorageConfig type.
|
|
12589
|
-
* @member {"table"|undefined} type
|
|
12644
|
+
* @member {"table"|"storagePath"|undefined} type
|
|
12590
12645
|
* @memberof google.privacy.dlp.v2.OutputStorageConfig
|
|
12591
12646
|
* @instance
|
|
12592
12647
|
*/
|
|
12593
12648
|
Object.defineProperty(OutputStorageConfig.prototype, "type", {
|
|
12594
|
-
get: $util.oneOfGetter($oneOfFields = ["table"]),
|
|
12649
|
+
get: $util.oneOfGetter($oneOfFields = ["table", "storagePath"]),
|
|
12595
12650
|
set: $util.oneOfSetter($oneOfFields)
|
|
12596
12651
|
});
|
|
12597
12652
|
|
|
@@ -12623,6 +12678,8 @@
|
|
|
12623
12678
|
$root.google.privacy.dlp.v2.BigQueryTable.encode(message.table, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
12624
12679
|
if (message.outputSchema != null && Object.hasOwnProperty.call(message, "outputSchema"))
|
|
12625
12680
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.outputSchema);
|
|
12681
|
+
if (message.storagePath != null && Object.hasOwnProperty.call(message, "storagePath"))
|
|
12682
|
+
$root.google.privacy.dlp.v2.CloudStoragePath.encode(message.storagePath, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
12626
12683
|
return writer;
|
|
12627
12684
|
};
|
|
12628
12685
|
|
|
@@ -12663,6 +12720,10 @@
|
|
|
12663
12720
|
message.table = $root.google.privacy.dlp.v2.BigQueryTable.decode(reader, reader.uint32());
|
|
12664
12721
|
break;
|
|
12665
12722
|
}
|
|
12723
|
+
case 5: {
|
|
12724
|
+
message.storagePath = $root.google.privacy.dlp.v2.CloudStoragePath.decode(reader, reader.uint32());
|
|
12725
|
+
break;
|
|
12726
|
+
}
|
|
12666
12727
|
case 3: {
|
|
12667
12728
|
message.outputSchema = reader.int32();
|
|
12668
12729
|
break;
|
|
@@ -12711,6 +12772,16 @@
|
|
|
12711
12772
|
return "table." + error;
|
|
12712
12773
|
}
|
|
12713
12774
|
}
|
|
12775
|
+
if (message.storagePath != null && message.hasOwnProperty("storagePath")) {
|
|
12776
|
+
if (properties.type === 1)
|
|
12777
|
+
return "type: multiple values";
|
|
12778
|
+
properties.type = 1;
|
|
12779
|
+
{
|
|
12780
|
+
var error = $root.google.privacy.dlp.v2.CloudStoragePath.verify(message.storagePath);
|
|
12781
|
+
if (error)
|
|
12782
|
+
return "storagePath." + error;
|
|
12783
|
+
}
|
|
12784
|
+
}
|
|
12714
12785
|
if (message.outputSchema != null && message.hasOwnProperty("outputSchema"))
|
|
12715
12786
|
switch (message.outputSchema) {
|
|
12716
12787
|
default:
|
|
@@ -12743,6 +12814,11 @@
|
|
|
12743
12814
|
throw TypeError(".google.privacy.dlp.v2.OutputStorageConfig.table: object expected");
|
|
12744
12815
|
message.table = $root.google.privacy.dlp.v2.BigQueryTable.fromObject(object.table);
|
|
12745
12816
|
}
|
|
12817
|
+
if (object.storagePath != null) {
|
|
12818
|
+
if (typeof object.storagePath !== "object")
|
|
12819
|
+
throw TypeError(".google.privacy.dlp.v2.OutputStorageConfig.storagePath: object expected");
|
|
12820
|
+
message.storagePath = $root.google.privacy.dlp.v2.CloudStoragePath.fromObject(object.storagePath);
|
|
12821
|
+
}
|
|
12746
12822
|
switch (object.outputSchema) {
|
|
12747
12823
|
default:
|
|
12748
12824
|
if (typeof object.outputSchema === "number") {
|
|
@@ -12800,6 +12876,11 @@
|
|
|
12800
12876
|
}
|
|
12801
12877
|
if (message.outputSchema != null && message.hasOwnProperty("outputSchema"))
|
|
12802
12878
|
object.outputSchema = options.enums === String ? $root.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema[message.outputSchema] === undefined ? message.outputSchema : $root.google.privacy.dlp.v2.OutputStorageConfig.OutputSchema[message.outputSchema] : message.outputSchema;
|
|
12879
|
+
if (message.storagePath != null && message.hasOwnProperty("storagePath")) {
|
|
12880
|
+
object.storagePath = $root.google.privacy.dlp.v2.CloudStoragePath.toObject(message.storagePath, options);
|
|
12881
|
+
if (options.oneofs)
|
|
12882
|
+
object.type = "storagePath";
|
|
12883
|
+
}
|
|
12803
12884
|
return object;
|
|
12804
12885
|
};
|
|
12805
12886
|
|
|
@@ -43121,6 +43202,7 @@
|
|
|
43121
43202
|
* @property {google.privacy.dlp.v2.Action.IPublishToPubSub|null} [pubSub] Action pubSub
|
|
43122
43203
|
* @property {google.privacy.dlp.v2.Action.IPublishSummaryToCscc|null} [publishSummaryToCscc] Action publishSummaryToCscc
|
|
43123
43204
|
* @property {google.privacy.dlp.v2.Action.IPublishFindingsToCloudDataCatalog|null} [publishFindingsToCloudDataCatalog] Action publishFindingsToCloudDataCatalog
|
|
43205
|
+
* @property {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null} [publishFindingsToDataplexCatalog] Action publishFindingsToDataplexCatalog
|
|
43124
43206
|
* @property {google.privacy.dlp.v2.Action.IDeidentify|null} [deidentify] Action deidentify
|
|
43125
43207
|
* @property {google.privacy.dlp.v2.Action.IJobNotificationEmails|null} [jobNotificationEmails] Action jobNotificationEmails
|
|
43126
43208
|
* @property {google.privacy.dlp.v2.Action.IPublishToStackdriver|null} [publishToStackdriver] Action publishToStackdriver
|
|
@@ -43173,6 +43255,14 @@
|
|
|
43173
43255
|
*/
|
|
43174
43256
|
Action.prototype.publishFindingsToCloudDataCatalog = null;
|
|
43175
43257
|
|
|
43258
|
+
/**
|
|
43259
|
+
* Action publishFindingsToDataplexCatalog.
|
|
43260
|
+
* @member {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog|null|undefined} publishFindingsToDataplexCatalog
|
|
43261
|
+
* @memberof google.privacy.dlp.v2.Action
|
|
43262
|
+
* @instance
|
|
43263
|
+
*/
|
|
43264
|
+
Action.prototype.publishFindingsToDataplexCatalog = null;
|
|
43265
|
+
|
|
43176
43266
|
/**
|
|
43177
43267
|
* Action deidentify.
|
|
43178
43268
|
* @member {google.privacy.dlp.v2.Action.IDeidentify|null|undefined} deidentify
|
|
@@ -43202,12 +43292,12 @@
|
|
|
43202
43292
|
|
|
43203
43293
|
/**
|
|
43204
43294
|
* Action action.
|
|
43205
|
-
* @member {"saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver"|undefined} action
|
|
43295
|
+
* @member {"saveFindings"|"pubSub"|"publishSummaryToCscc"|"publishFindingsToCloudDataCatalog"|"publishFindingsToDataplexCatalog"|"deidentify"|"jobNotificationEmails"|"publishToStackdriver"|undefined} action
|
|
43206
43296
|
* @memberof google.privacy.dlp.v2.Action
|
|
43207
43297
|
* @instance
|
|
43208
43298
|
*/
|
|
43209
43299
|
Object.defineProperty(Action.prototype, "action", {
|
|
43210
|
-
get: $util.oneOfGetter($oneOfFields = ["saveFindings", "pubSub", "publishSummaryToCscc", "publishFindingsToCloudDataCatalog", "deidentify", "jobNotificationEmails", "publishToStackdriver"]),
|
|
43300
|
+
get: $util.oneOfGetter($oneOfFields = ["saveFindings", "pubSub", "publishSummaryToCscc", "publishFindingsToCloudDataCatalog", "publishFindingsToDataplexCatalog", "deidentify", "jobNotificationEmails", "publishToStackdriver"]),
|
|
43211
43301
|
set: $util.oneOfSetter($oneOfFields)
|
|
43212
43302
|
});
|
|
43213
43303
|
|
|
@@ -43249,6 +43339,8 @@
|
|
|
43249
43339
|
$root.google.privacy.dlp.v2.Action.JobNotificationEmails.encode(message.jobNotificationEmails, writer.uint32(/* id 8, wireType 2 =*/66).fork()).ldelim();
|
|
43250
43340
|
if (message.publishToStackdriver != null && Object.hasOwnProperty.call(message, "publishToStackdriver"))
|
|
43251
43341
|
$root.google.privacy.dlp.v2.Action.PublishToStackdriver.encode(message.publishToStackdriver, writer.uint32(/* id 9, wireType 2 =*/74).fork()).ldelim();
|
|
43342
|
+
if (message.publishFindingsToDataplexCatalog != null && Object.hasOwnProperty.call(message, "publishFindingsToDataplexCatalog"))
|
|
43343
|
+
$root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.encode(message.publishFindingsToDataplexCatalog, writer.uint32(/* id 10, wireType 2 =*/82).fork()).ldelim();
|
|
43252
43344
|
return writer;
|
|
43253
43345
|
};
|
|
43254
43346
|
|
|
@@ -43301,6 +43393,10 @@
|
|
|
43301
43393
|
message.publishFindingsToCloudDataCatalog = $root.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.decode(reader, reader.uint32());
|
|
43302
43394
|
break;
|
|
43303
43395
|
}
|
|
43396
|
+
case 10: {
|
|
43397
|
+
message.publishFindingsToDataplexCatalog = $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.decode(reader, reader.uint32());
|
|
43398
|
+
break;
|
|
43399
|
+
}
|
|
43304
43400
|
case 7: {
|
|
43305
43401
|
message.deidentify = $root.google.privacy.dlp.v2.Action.Deidentify.decode(reader, reader.uint32());
|
|
43306
43402
|
break;
|
|
@@ -43387,6 +43483,16 @@
|
|
|
43387
43483
|
return "publishFindingsToCloudDataCatalog." + error;
|
|
43388
43484
|
}
|
|
43389
43485
|
}
|
|
43486
|
+
if (message.publishFindingsToDataplexCatalog != null && message.hasOwnProperty("publishFindingsToDataplexCatalog")) {
|
|
43487
|
+
if (properties.action === 1)
|
|
43488
|
+
return "action: multiple values";
|
|
43489
|
+
properties.action = 1;
|
|
43490
|
+
{
|
|
43491
|
+
var error = $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify(message.publishFindingsToDataplexCatalog);
|
|
43492
|
+
if (error)
|
|
43493
|
+
return "publishFindingsToDataplexCatalog." + error;
|
|
43494
|
+
}
|
|
43495
|
+
}
|
|
43390
43496
|
if (message.deidentify != null && message.hasOwnProperty("deidentify")) {
|
|
43391
43497
|
if (properties.action === 1)
|
|
43392
43498
|
return "action: multiple values";
|
|
@@ -43452,6 +43558,11 @@
|
|
|
43452
43558
|
throw TypeError(".google.privacy.dlp.v2.Action.publishFindingsToCloudDataCatalog: object expected");
|
|
43453
43559
|
message.publishFindingsToCloudDataCatalog = $root.google.privacy.dlp.v2.Action.PublishFindingsToCloudDataCatalog.fromObject(object.publishFindingsToCloudDataCatalog);
|
|
43454
43560
|
}
|
|
43561
|
+
if (object.publishFindingsToDataplexCatalog != null) {
|
|
43562
|
+
if (typeof object.publishFindingsToDataplexCatalog !== "object")
|
|
43563
|
+
throw TypeError(".google.privacy.dlp.v2.Action.publishFindingsToDataplexCatalog: object expected");
|
|
43564
|
+
message.publishFindingsToDataplexCatalog = $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.fromObject(object.publishFindingsToDataplexCatalog);
|
|
43565
|
+
}
|
|
43455
43566
|
if (object.deidentify != null) {
|
|
43456
43567
|
if (typeof object.deidentify !== "object")
|
|
43457
43568
|
throw TypeError(".google.privacy.dlp.v2.Action.deidentify: object expected");
|
|
@@ -43518,6 +43629,11 @@
|
|
|
43518
43629
|
if (options.oneofs)
|
|
43519
43630
|
object.action = "publishToStackdriver";
|
|
43520
43631
|
}
|
|
43632
|
+
if (message.publishFindingsToDataplexCatalog != null && message.hasOwnProperty("publishFindingsToDataplexCatalog")) {
|
|
43633
|
+
object.publishFindingsToDataplexCatalog = $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.toObject(message.publishFindingsToDataplexCatalog, options);
|
|
43634
|
+
if (options.oneofs)
|
|
43635
|
+
object.action = "publishFindingsToDataplexCatalog";
|
|
43636
|
+
}
|
|
43521
43637
|
return object;
|
|
43522
43638
|
};
|
|
43523
43639
|
|
|
@@ -44316,6 +44432,183 @@
|
|
|
44316
44432
|
return PublishFindingsToCloudDataCatalog;
|
|
44317
44433
|
})();
|
|
44318
44434
|
|
|
44435
|
+
Action.PublishFindingsToDataplexCatalog = (function() {
|
|
44436
|
+
|
|
44437
|
+
/**
|
|
44438
|
+
* Properties of a PublishFindingsToDataplexCatalog.
|
|
44439
|
+
* @memberof google.privacy.dlp.v2.Action
|
|
44440
|
+
* @interface IPublishFindingsToDataplexCatalog
|
|
44441
|
+
*/
|
|
44442
|
+
|
|
44443
|
+
/**
|
|
44444
|
+
* Constructs a new PublishFindingsToDataplexCatalog.
|
|
44445
|
+
* @memberof google.privacy.dlp.v2.Action
|
|
44446
|
+
* @classdesc Represents a PublishFindingsToDataplexCatalog.
|
|
44447
|
+
* @implements IPublishFindingsToDataplexCatalog
|
|
44448
|
+
* @constructor
|
|
44449
|
+
* @param {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog=} [properties] Properties to set
|
|
44450
|
+
*/
|
|
44451
|
+
function PublishFindingsToDataplexCatalog(properties) {
|
|
44452
|
+
if (properties)
|
|
44453
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
44454
|
+
if (properties[keys[i]] != null)
|
|
44455
|
+
this[keys[i]] = properties[keys[i]];
|
|
44456
|
+
}
|
|
44457
|
+
|
|
44458
|
+
/**
|
|
44459
|
+
* Creates a new PublishFindingsToDataplexCatalog instance using the specified properties.
|
|
44460
|
+
* @function create
|
|
44461
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44462
|
+
* @static
|
|
44463
|
+
* @param {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog=} [properties] Properties to set
|
|
44464
|
+
* @returns {google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog} PublishFindingsToDataplexCatalog instance
|
|
44465
|
+
*/
|
|
44466
|
+
PublishFindingsToDataplexCatalog.create = function create(properties) {
|
|
44467
|
+
return new PublishFindingsToDataplexCatalog(properties);
|
|
44468
|
+
};
|
|
44469
|
+
|
|
44470
|
+
/**
|
|
44471
|
+
* Encodes the specified PublishFindingsToDataplexCatalog message. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
|
|
44472
|
+
* @function encode
|
|
44473
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44474
|
+
* @static
|
|
44475
|
+
* @param {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog} message PublishFindingsToDataplexCatalog message or plain object to encode
|
|
44476
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44477
|
+
* @returns {$protobuf.Writer} Writer
|
|
44478
|
+
*/
|
|
44479
|
+
PublishFindingsToDataplexCatalog.encode = function encode(message, writer) {
|
|
44480
|
+
if (!writer)
|
|
44481
|
+
writer = $Writer.create();
|
|
44482
|
+
return writer;
|
|
44483
|
+
};
|
|
44484
|
+
|
|
44485
|
+
/**
|
|
44486
|
+
* Encodes the specified PublishFindingsToDataplexCatalog message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog.verify|verify} messages.
|
|
44487
|
+
* @function encodeDelimited
|
|
44488
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44489
|
+
* @static
|
|
44490
|
+
* @param {google.privacy.dlp.v2.Action.IPublishFindingsToDataplexCatalog} message PublishFindingsToDataplexCatalog message or plain object to encode
|
|
44491
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
44492
|
+
* @returns {$protobuf.Writer} Writer
|
|
44493
|
+
*/
|
|
44494
|
+
PublishFindingsToDataplexCatalog.encodeDelimited = function encodeDelimited(message, writer) {
|
|
44495
|
+
return this.encode(message, writer).ldelim();
|
|
44496
|
+
};
|
|
44497
|
+
|
|
44498
|
+
/**
|
|
44499
|
+
* Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer.
|
|
44500
|
+
* @function decode
|
|
44501
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44502
|
+
* @static
|
|
44503
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44504
|
+
* @param {number} [length] Message length if known beforehand
|
|
44505
|
+
* @returns {google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog} PublishFindingsToDataplexCatalog
|
|
44506
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44507
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44508
|
+
*/
|
|
44509
|
+
PublishFindingsToDataplexCatalog.decode = function decode(reader, length, error) {
|
|
44510
|
+
if (!(reader instanceof $Reader))
|
|
44511
|
+
reader = $Reader.create(reader);
|
|
44512
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog();
|
|
44513
|
+
while (reader.pos < end) {
|
|
44514
|
+
var tag = reader.uint32();
|
|
44515
|
+
if (tag === error)
|
|
44516
|
+
break;
|
|
44517
|
+
switch (tag >>> 3) {
|
|
44518
|
+
default:
|
|
44519
|
+
reader.skipType(tag & 7);
|
|
44520
|
+
break;
|
|
44521
|
+
}
|
|
44522
|
+
}
|
|
44523
|
+
return message;
|
|
44524
|
+
};
|
|
44525
|
+
|
|
44526
|
+
/**
|
|
44527
|
+
* Decodes a PublishFindingsToDataplexCatalog message from the specified reader or buffer, length delimited.
|
|
44528
|
+
* @function decodeDelimited
|
|
44529
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44530
|
+
* @static
|
|
44531
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
44532
|
+
* @returns {google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog} PublishFindingsToDataplexCatalog
|
|
44533
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
44534
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
44535
|
+
*/
|
|
44536
|
+
PublishFindingsToDataplexCatalog.decodeDelimited = function decodeDelimited(reader) {
|
|
44537
|
+
if (!(reader instanceof $Reader))
|
|
44538
|
+
reader = new $Reader(reader);
|
|
44539
|
+
return this.decode(reader, reader.uint32());
|
|
44540
|
+
};
|
|
44541
|
+
|
|
44542
|
+
/**
|
|
44543
|
+
* Verifies a PublishFindingsToDataplexCatalog message.
|
|
44544
|
+
* @function verify
|
|
44545
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44546
|
+
* @static
|
|
44547
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
44548
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
44549
|
+
*/
|
|
44550
|
+
PublishFindingsToDataplexCatalog.verify = function verify(message) {
|
|
44551
|
+
if (typeof message !== "object" || message === null)
|
|
44552
|
+
return "object expected";
|
|
44553
|
+
return null;
|
|
44554
|
+
};
|
|
44555
|
+
|
|
44556
|
+
/**
|
|
44557
|
+
* Creates a PublishFindingsToDataplexCatalog message from a plain object. Also converts values to their respective internal types.
|
|
44558
|
+
* @function fromObject
|
|
44559
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44560
|
+
* @static
|
|
44561
|
+
* @param {Object.<string,*>} object Plain object
|
|
44562
|
+
* @returns {google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog} PublishFindingsToDataplexCatalog
|
|
44563
|
+
*/
|
|
44564
|
+
PublishFindingsToDataplexCatalog.fromObject = function fromObject(object) {
|
|
44565
|
+
if (object instanceof $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog)
|
|
44566
|
+
return object;
|
|
44567
|
+
return new $root.google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog();
|
|
44568
|
+
};
|
|
44569
|
+
|
|
44570
|
+
/**
|
|
44571
|
+
* Creates a plain object from a PublishFindingsToDataplexCatalog message. Also converts values to other types if specified.
|
|
44572
|
+
* @function toObject
|
|
44573
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44574
|
+
* @static
|
|
44575
|
+
* @param {google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog} message PublishFindingsToDataplexCatalog
|
|
44576
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
44577
|
+
* @returns {Object.<string,*>} Plain object
|
|
44578
|
+
*/
|
|
44579
|
+
PublishFindingsToDataplexCatalog.toObject = function toObject() {
|
|
44580
|
+
return {};
|
|
44581
|
+
};
|
|
44582
|
+
|
|
44583
|
+
/**
|
|
44584
|
+
* Converts this PublishFindingsToDataplexCatalog to JSON.
|
|
44585
|
+
* @function toJSON
|
|
44586
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44587
|
+
* @instance
|
|
44588
|
+
* @returns {Object.<string,*>} JSON object
|
|
44589
|
+
*/
|
|
44590
|
+
PublishFindingsToDataplexCatalog.prototype.toJSON = function toJSON() {
|
|
44591
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
44592
|
+
};
|
|
44593
|
+
|
|
44594
|
+
/**
|
|
44595
|
+
* Gets the default type url for PublishFindingsToDataplexCatalog
|
|
44596
|
+
* @function getTypeUrl
|
|
44597
|
+
* @memberof google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog
|
|
44598
|
+
* @static
|
|
44599
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
44600
|
+
* @returns {string} The default type url
|
|
44601
|
+
*/
|
|
44602
|
+
PublishFindingsToDataplexCatalog.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
44603
|
+
if (typeUrlPrefix === undefined) {
|
|
44604
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
44605
|
+
}
|
|
44606
|
+
return typeUrlPrefix + "/google.privacy.dlp.v2.Action.PublishFindingsToDataplexCatalog";
|
|
44607
|
+
};
|
|
44608
|
+
|
|
44609
|
+
return PublishFindingsToDataplexCatalog;
|
|
44610
|
+
})();
|
|
44611
|
+
|
|
44319
44612
|
Action.Deidentify = (function() {
|
|
44320
44613
|
|
|
44321
44614
|
/**
|
|
@@ -63252,6 +63545,7 @@
|
|
|
63252
63545
|
* @memberof google.privacy.dlp.v2
|
|
63253
63546
|
* @interface IFileStoreCollection
|
|
63254
63547
|
* @property {google.privacy.dlp.v2.IFileStoreRegexes|null} [includeRegexes] FileStoreCollection includeRegexes
|
|
63548
|
+
* @property {google.privacy.dlp.v2.ITagFilters|null} [includeTags] FileStoreCollection includeTags
|
|
63255
63549
|
*/
|
|
63256
63550
|
|
|
63257
63551
|
/**
|
|
@@ -63277,6 +63571,14 @@
|
|
|
63277
63571
|
*/
|
|
63278
63572
|
FileStoreCollection.prototype.includeRegexes = null;
|
|
63279
63573
|
|
|
63574
|
+
/**
|
|
63575
|
+
* FileStoreCollection includeTags.
|
|
63576
|
+
* @member {google.privacy.dlp.v2.ITagFilters|null|undefined} includeTags
|
|
63577
|
+
* @memberof google.privacy.dlp.v2.FileStoreCollection
|
|
63578
|
+
* @instance
|
|
63579
|
+
*/
|
|
63580
|
+
FileStoreCollection.prototype.includeTags = null;
|
|
63581
|
+
|
|
63280
63582
|
// OneOf field names bound to virtual getters and setters
|
|
63281
63583
|
var $oneOfFields;
|
|
63282
63584
|
|
|
@@ -63317,6 +63619,8 @@
|
|
|
63317
63619
|
writer = $Writer.create();
|
|
63318
63620
|
if (message.includeRegexes != null && Object.hasOwnProperty.call(message, "includeRegexes"))
|
|
63319
63621
|
$root.google.privacy.dlp.v2.FileStoreRegexes.encode(message.includeRegexes, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
63622
|
+
if (message.includeTags != null && Object.hasOwnProperty.call(message, "includeTags"))
|
|
63623
|
+
$root.google.privacy.dlp.v2.TagFilters.encode(message.includeTags, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
63320
63624
|
return writer;
|
|
63321
63625
|
};
|
|
63322
63626
|
|
|
@@ -63357,6 +63661,10 @@
|
|
|
63357
63661
|
message.includeRegexes = $root.google.privacy.dlp.v2.FileStoreRegexes.decode(reader, reader.uint32());
|
|
63358
63662
|
break;
|
|
63359
63663
|
}
|
|
63664
|
+
case 2: {
|
|
63665
|
+
message.includeTags = $root.google.privacy.dlp.v2.TagFilters.decode(reader, reader.uint32());
|
|
63666
|
+
break;
|
|
63667
|
+
}
|
|
63360
63668
|
default:
|
|
63361
63669
|
reader.skipType(tag & 7);
|
|
63362
63670
|
break;
|
|
@@ -63401,6 +63709,11 @@
|
|
|
63401
63709
|
return "includeRegexes." + error;
|
|
63402
63710
|
}
|
|
63403
63711
|
}
|
|
63712
|
+
if (message.includeTags != null && message.hasOwnProperty("includeTags")) {
|
|
63713
|
+
var error = $root.google.privacy.dlp.v2.TagFilters.verify(message.includeTags);
|
|
63714
|
+
if (error)
|
|
63715
|
+
return "includeTags." + error;
|
|
63716
|
+
}
|
|
63404
63717
|
return null;
|
|
63405
63718
|
};
|
|
63406
63719
|
|
|
@@ -63421,6 +63734,11 @@
|
|
|
63421
63734
|
throw TypeError(".google.privacy.dlp.v2.FileStoreCollection.includeRegexes: object expected");
|
|
63422
63735
|
message.includeRegexes = $root.google.privacy.dlp.v2.FileStoreRegexes.fromObject(object.includeRegexes);
|
|
63423
63736
|
}
|
|
63737
|
+
if (object.includeTags != null) {
|
|
63738
|
+
if (typeof object.includeTags !== "object")
|
|
63739
|
+
throw TypeError(".google.privacy.dlp.v2.FileStoreCollection.includeTags: object expected");
|
|
63740
|
+
message.includeTags = $root.google.privacy.dlp.v2.TagFilters.fromObject(object.includeTags);
|
|
63741
|
+
}
|
|
63424
63742
|
return message;
|
|
63425
63743
|
};
|
|
63426
63744
|
|
|
@@ -63437,11 +63755,15 @@
|
|
|
63437
63755
|
if (!options)
|
|
63438
63756
|
options = {};
|
|
63439
63757
|
var object = {};
|
|
63758
|
+
if (options.defaults)
|
|
63759
|
+
object.includeTags = null;
|
|
63440
63760
|
if (message.includeRegexes != null && message.hasOwnProperty("includeRegexes")) {
|
|
63441
63761
|
object.includeRegexes = $root.google.privacy.dlp.v2.FileStoreRegexes.toObject(message.includeRegexes, options);
|
|
63442
63762
|
if (options.oneofs)
|
|
63443
63763
|
object.pattern = "includeRegexes";
|
|
63444
63764
|
}
|
|
63765
|
+
if (message.includeTags != null && message.hasOwnProperty("includeTags"))
|
|
63766
|
+
object.includeTags = $root.google.privacy.dlp.v2.TagFilters.toObject(message.includeTags, options);
|
|
63445
63767
|
return object;
|
|
63446
63768
|
};
|
|
63447
63769
|
|
|
@@ -86810,24 +87132,25 @@
|
|
|
86810
87132
|
return Tag;
|
|
86811
87133
|
})();
|
|
86812
87134
|
|
|
86813
|
-
v2.
|
|
87135
|
+
v2.TagFilters = (function() {
|
|
86814
87136
|
|
|
86815
87137
|
/**
|
|
86816
|
-
* Properties of a
|
|
87138
|
+
* Properties of a TagFilters.
|
|
86817
87139
|
* @memberof google.privacy.dlp.v2
|
|
86818
|
-
* @interface
|
|
86819
|
-
* @property {
|
|
87140
|
+
* @interface ITagFilters
|
|
87141
|
+
* @property {Array.<google.privacy.dlp.v2.ITagFilter>|null} [tagFilters] TagFilters tagFilters
|
|
86820
87142
|
*/
|
|
86821
87143
|
|
|
86822
87144
|
/**
|
|
86823
|
-
* Constructs a new
|
|
87145
|
+
* Constructs a new TagFilters.
|
|
86824
87146
|
* @memberof google.privacy.dlp.v2
|
|
86825
|
-
* @classdesc Represents a
|
|
86826
|
-
* @implements
|
|
87147
|
+
* @classdesc Represents a TagFilters.
|
|
87148
|
+
* @implements ITagFilters
|
|
86827
87149
|
* @constructor
|
|
86828
|
-
* @param {google.privacy.dlp.v2.
|
|
87150
|
+
* @param {google.privacy.dlp.v2.ITagFilters=} [properties] Properties to set
|
|
86829
87151
|
*/
|
|
86830
|
-
function
|
|
87152
|
+
function TagFilters(properties) {
|
|
87153
|
+
this.tagFilters = [];
|
|
86831
87154
|
if (properties)
|
|
86832
87155
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
86833
87156
|
if (properties[keys[i]] != null)
|
|
@@ -86835,77 +87158,80 @@
|
|
|
86835
87158
|
}
|
|
86836
87159
|
|
|
86837
87160
|
/**
|
|
86838
|
-
*
|
|
86839
|
-
* @member {
|
|
86840
|
-
* @memberof google.privacy.dlp.v2.
|
|
87161
|
+
* TagFilters tagFilters.
|
|
87162
|
+
* @member {Array.<google.privacy.dlp.v2.ITagFilter>} tagFilters
|
|
87163
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86841
87164
|
* @instance
|
|
86842
87165
|
*/
|
|
86843
|
-
|
|
87166
|
+
TagFilters.prototype.tagFilters = $util.emptyArray;
|
|
86844
87167
|
|
|
86845
87168
|
/**
|
|
86846
|
-
* Creates a new
|
|
87169
|
+
* Creates a new TagFilters instance using the specified properties.
|
|
86847
87170
|
* @function create
|
|
86848
|
-
* @memberof google.privacy.dlp.v2.
|
|
87171
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86849
87172
|
* @static
|
|
86850
|
-
* @param {google.privacy.dlp.v2.
|
|
86851
|
-
* @returns {google.privacy.dlp.v2.
|
|
87173
|
+
* @param {google.privacy.dlp.v2.ITagFilters=} [properties] Properties to set
|
|
87174
|
+
* @returns {google.privacy.dlp.v2.TagFilters} TagFilters instance
|
|
86852
87175
|
*/
|
|
86853
|
-
|
|
86854
|
-
return new
|
|
87176
|
+
TagFilters.create = function create(properties) {
|
|
87177
|
+
return new TagFilters(properties);
|
|
86855
87178
|
};
|
|
86856
87179
|
|
|
86857
87180
|
/**
|
|
86858
|
-
* Encodes the specified
|
|
87181
|
+
* Encodes the specified TagFilters message. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
|
|
86859
87182
|
* @function encode
|
|
86860
|
-
* @memberof google.privacy.dlp.v2.
|
|
87183
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86861
87184
|
* @static
|
|
86862
|
-
* @param {google.privacy.dlp.v2.
|
|
87185
|
+
* @param {google.privacy.dlp.v2.ITagFilters} message TagFilters message or plain object to encode
|
|
86863
87186
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86864
87187
|
* @returns {$protobuf.Writer} Writer
|
|
86865
87188
|
*/
|
|
86866
|
-
|
|
87189
|
+
TagFilters.encode = function encode(message, writer) {
|
|
86867
87190
|
if (!writer)
|
|
86868
87191
|
writer = $Writer.create();
|
|
86869
|
-
if (message.
|
|
86870
|
-
|
|
87192
|
+
if (message.tagFilters != null && message.tagFilters.length)
|
|
87193
|
+
for (var i = 0; i < message.tagFilters.length; ++i)
|
|
87194
|
+
$root.google.privacy.dlp.v2.TagFilter.encode(message.tagFilters[i], writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
86871
87195
|
return writer;
|
|
86872
87196
|
};
|
|
86873
87197
|
|
|
86874
87198
|
/**
|
|
86875
|
-
* Encodes the specified
|
|
87199
|
+
* Encodes the specified TagFilters message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilters.verify|verify} messages.
|
|
86876
87200
|
* @function encodeDelimited
|
|
86877
|
-
* @memberof google.privacy.dlp.v2.
|
|
87201
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86878
87202
|
* @static
|
|
86879
|
-
* @param {google.privacy.dlp.v2.
|
|
87203
|
+
* @param {google.privacy.dlp.v2.ITagFilters} message TagFilters message or plain object to encode
|
|
86880
87204
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
86881
87205
|
* @returns {$protobuf.Writer} Writer
|
|
86882
87206
|
*/
|
|
86883
|
-
|
|
87207
|
+
TagFilters.encodeDelimited = function encodeDelimited(message, writer) {
|
|
86884
87208
|
return this.encode(message, writer).ldelim();
|
|
86885
87209
|
};
|
|
86886
87210
|
|
|
86887
87211
|
/**
|
|
86888
|
-
* Decodes a
|
|
87212
|
+
* Decodes a TagFilters message from the specified reader or buffer.
|
|
86889
87213
|
* @function decode
|
|
86890
|
-
* @memberof google.privacy.dlp.v2.
|
|
87214
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86891
87215
|
* @static
|
|
86892
87216
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86893
87217
|
* @param {number} [length] Message length if known beforehand
|
|
86894
|
-
* @returns {google.privacy.dlp.v2.
|
|
87218
|
+
* @returns {google.privacy.dlp.v2.TagFilters} TagFilters
|
|
86895
87219
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86896
87220
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86897
87221
|
*/
|
|
86898
|
-
|
|
87222
|
+
TagFilters.decode = function decode(reader, length, error) {
|
|
86899
87223
|
if (!(reader instanceof $Reader))
|
|
86900
87224
|
reader = $Reader.create(reader);
|
|
86901
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.
|
|
87225
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.TagFilters();
|
|
86902
87226
|
while (reader.pos < end) {
|
|
86903
87227
|
var tag = reader.uint32();
|
|
86904
87228
|
if (tag === error)
|
|
86905
87229
|
break;
|
|
86906
87230
|
switch (tag >>> 3) {
|
|
86907
87231
|
case 1: {
|
|
86908
|
-
message.
|
|
87232
|
+
if (!(message.tagFilters && message.tagFilters.length))
|
|
87233
|
+
message.tagFilters = [];
|
|
87234
|
+
message.tagFilters.push($root.google.privacy.dlp.v2.TagFilter.decode(reader, reader.uint32()));
|
|
86909
87235
|
break;
|
|
86910
87236
|
}
|
|
86911
87237
|
default:
|
|
@@ -86917,122 +87243,140 @@
|
|
|
86917
87243
|
};
|
|
86918
87244
|
|
|
86919
87245
|
/**
|
|
86920
|
-
* Decodes a
|
|
87246
|
+
* Decodes a TagFilters message from the specified reader or buffer, length delimited.
|
|
86921
87247
|
* @function decodeDelimited
|
|
86922
|
-
* @memberof google.privacy.dlp.v2.
|
|
87248
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86923
87249
|
* @static
|
|
86924
87250
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
86925
|
-
* @returns {google.privacy.dlp.v2.
|
|
87251
|
+
* @returns {google.privacy.dlp.v2.TagFilters} TagFilters
|
|
86926
87252
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
86927
87253
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
86928
87254
|
*/
|
|
86929
|
-
|
|
87255
|
+
TagFilters.decodeDelimited = function decodeDelimited(reader) {
|
|
86930
87256
|
if (!(reader instanceof $Reader))
|
|
86931
87257
|
reader = new $Reader(reader);
|
|
86932
87258
|
return this.decode(reader, reader.uint32());
|
|
86933
87259
|
};
|
|
86934
87260
|
|
|
86935
87261
|
/**
|
|
86936
|
-
* Verifies a
|
|
87262
|
+
* Verifies a TagFilters message.
|
|
86937
87263
|
* @function verify
|
|
86938
|
-
* @memberof google.privacy.dlp.v2.
|
|
87264
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86939
87265
|
* @static
|
|
86940
87266
|
* @param {Object.<string,*>} message Plain object to verify
|
|
86941
87267
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
86942
87268
|
*/
|
|
86943
|
-
|
|
87269
|
+
TagFilters.verify = function verify(message) {
|
|
86944
87270
|
if (typeof message !== "object" || message === null)
|
|
86945
87271
|
return "object expected";
|
|
86946
|
-
if (message.
|
|
86947
|
-
if (
|
|
86948
|
-
return "
|
|
87272
|
+
if (message.tagFilters != null && message.hasOwnProperty("tagFilters")) {
|
|
87273
|
+
if (!Array.isArray(message.tagFilters))
|
|
87274
|
+
return "tagFilters: array expected";
|
|
87275
|
+
for (var i = 0; i < message.tagFilters.length; ++i) {
|
|
87276
|
+
var error = $root.google.privacy.dlp.v2.TagFilter.verify(message.tagFilters[i]);
|
|
87277
|
+
if (error)
|
|
87278
|
+
return "tagFilters." + error;
|
|
87279
|
+
}
|
|
87280
|
+
}
|
|
86949
87281
|
return null;
|
|
86950
87282
|
};
|
|
86951
87283
|
|
|
86952
87284
|
/**
|
|
86953
|
-
* Creates a
|
|
87285
|
+
* Creates a TagFilters message from a plain object. Also converts values to their respective internal types.
|
|
86954
87286
|
* @function fromObject
|
|
86955
|
-
* @memberof google.privacy.dlp.v2.
|
|
87287
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86956
87288
|
* @static
|
|
86957
87289
|
* @param {Object.<string,*>} object Plain object
|
|
86958
|
-
* @returns {google.privacy.dlp.v2.
|
|
87290
|
+
* @returns {google.privacy.dlp.v2.TagFilters} TagFilters
|
|
86959
87291
|
*/
|
|
86960
|
-
|
|
86961
|
-
if (object instanceof $root.google.privacy.dlp.v2.
|
|
87292
|
+
TagFilters.fromObject = function fromObject(object) {
|
|
87293
|
+
if (object instanceof $root.google.privacy.dlp.v2.TagFilters)
|
|
86962
87294
|
return object;
|
|
86963
|
-
var message = new $root.google.privacy.dlp.v2.
|
|
86964
|
-
if (object.
|
|
86965
|
-
|
|
87295
|
+
var message = new $root.google.privacy.dlp.v2.TagFilters();
|
|
87296
|
+
if (object.tagFilters) {
|
|
87297
|
+
if (!Array.isArray(object.tagFilters))
|
|
87298
|
+
throw TypeError(".google.privacy.dlp.v2.TagFilters.tagFilters: array expected");
|
|
87299
|
+
message.tagFilters = [];
|
|
87300
|
+
for (var i = 0; i < object.tagFilters.length; ++i) {
|
|
87301
|
+
if (typeof object.tagFilters[i] !== "object")
|
|
87302
|
+
throw TypeError(".google.privacy.dlp.v2.TagFilters.tagFilters: object expected");
|
|
87303
|
+
message.tagFilters[i] = $root.google.privacy.dlp.v2.TagFilter.fromObject(object.tagFilters[i]);
|
|
87304
|
+
}
|
|
87305
|
+
}
|
|
86966
87306
|
return message;
|
|
86967
87307
|
};
|
|
86968
87308
|
|
|
86969
87309
|
/**
|
|
86970
|
-
* Creates a plain object from a
|
|
87310
|
+
* Creates a plain object from a TagFilters message. Also converts values to other types if specified.
|
|
86971
87311
|
* @function toObject
|
|
86972
|
-
* @memberof google.privacy.dlp.v2.
|
|
87312
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86973
87313
|
* @static
|
|
86974
|
-
* @param {google.privacy.dlp.v2.
|
|
87314
|
+
* @param {google.privacy.dlp.v2.TagFilters} message TagFilters
|
|
86975
87315
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
86976
87316
|
* @returns {Object.<string,*>} Plain object
|
|
86977
87317
|
*/
|
|
86978
|
-
|
|
87318
|
+
TagFilters.toObject = function toObject(message, options) {
|
|
86979
87319
|
if (!options)
|
|
86980
87320
|
options = {};
|
|
86981
87321
|
var object = {};
|
|
86982
|
-
if (options.defaults)
|
|
86983
|
-
object.
|
|
86984
|
-
if (message.
|
|
86985
|
-
object.
|
|
87322
|
+
if (options.arrays || options.defaults)
|
|
87323
|
+
object.tagFilters = [];
|
|
87324
|
+
if (message.tagFilters && message.tagFilters.length) {
|
|
87325
|
+
object.tagFilters = [];
|
|
87326
|
+
for (var j = 0; j < message.tagFilters.length; ++j)
|
|
87327
|
+
object.tagFilters[j] = $root.google.privacy.dlp.v2.TagFilter.toObject(message.tagFilters[j], options);
|
|
87328
|
+
}
|
|
86986
87329
|
return object;
|
|
86987
87330
|
};
|
|
86988
87331
|
|
|
86989
87332
|
/**
|
|
86990
|
-
* Converts this
|
|
87333
|
+
* Converts this TagFilters to JSON.
|
|
86991
87334
|
* @function toJSON
|
|
86992
|
-
* @memberof google.privacy.dlp.v2.
|
|
87335
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
86993
87336
|
* @instance
|
|
86994
87337
|
* @returns {Object.<string,*>} JSON object
|
|
86995
87338
|
*/
|
|
86996
|
-
|
|
87339
|
+
TagFilters.prototype.toJSON = function toJSON() {
|
|
86997
87340
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
86998
87341
|
};
|
|
86999
87342
|
|
|
87000
87343
|
/**
|
|
87001
|
-
* Gets the default type url for
|
|
87344
|
+
* Gets the default type url for TagFilters
|
|
87002
87345
|
* @function getTypeUrl
|
|
87003
|
-
* @memberof google.privacy.dlp.v2.
|
|
87346
|
+
* @memberof google.privacy.dlp.v2.TagFilters
|
|
87004
87347
|
* @static
|
|
87005
87348
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
87006
87349
|
* @returns {string} The default type url
|
|
87007
87350
|
*/
|
|
87008
|
-
|
|
87351
|
+
TagFilters.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
87009
87352
|
if (typeUrlPrefix === undefined) {
|
|
87010
87353
|
typeUrlPrefix = "type.googleapis.com";
|
|
87011
87354
|
}
|
|
87012
|
-
return typeUrlPrefix + "/google.privacy.dlp.v2.
|
|
87355
|
+
return typeUrlPrefix + "/google.privacy.dlp.v2.TagFilters";
|
|
87013
87356
|
};
|
|
87014
87357
|
|
|
87015
|
-
return
|
|
87358
|
+
return TagFilters;
|
|
87016
87359
|
})();
|
|
87017
87360
|
|
|
87018
|
-
v2.
|
|
87361
|
+
v2.TagFilter = (function() {
|
|
87019
87362
|
|
|
87020
87363
|
/**
|
|
87021
|
-
* Properties of a
|
|
87364
|
+
* Properties of a TagFilter.
|
|
87022
87365
|
* @memberof google.privacy.dlp.v2
|
|
87023
|
-
* @interface
|
|
87024
|
-
* @property {
|
|
87366
|
+
* @interface ITagFilter
|
|
87367
|
+
* @property {string|null} [namespacedTagValue] TagFilter namespacedTagValue
|
|
87368
|
+
* @property {string|null} [namespacedTagKey] TagFilter namespacedTagKey
|
|
87025
87369
|
*/
|
|
87026
87370
|
|
|
87027
87371
|
/**
|
|
87028
|
-
* Constructs a new
|
|
87372
|
+
* Constructs a new TagFilter.
|
|
87029
87373
|
* @memberof google.privacy.dlp.v2
|
|
87030
|
-
* @classdesc Represents a
|
|
87031
|
-
* @implements
|
|
87374
|
+
* @classdesc Represents a TagFilter.
|
|
87375
|
+
* @implements ITagFilter
|
|
87032
87376
|
* @constructor
|
|
87033
|
-
* @param {google.privacy.dlp.v2.
|
|
87377
|
+
* @param {google.privacy.dlp.v2.ITagFilter=} [properties] Properties to set
|
|
87034
87378
|
*/
|
|
87035
|
-
function
|
|
87379
|
+
function TagFilter(properties) {
|
|
87036
87380
|
if (properties)
|
|
87037
87381
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
87038
87382
|
if (properties[keys[i]] != null)
|
|
@@ -87040,77 +87384,105 @@
|
|
|
87040
87384
|
}
|
|
87041
87385
|
|
|
87042
87386
|
/**
|
|
87043
|
-
*
|
|
87044
|
-
* @member {
|
|
87045
|
-
* @memberof google.privacy.dlp.v2.
|
|
87387
|
+
* TagFilter namespacedTagValue.
|
|
87388
|
+
* @member {string|null|undefined} namespacedTagValue
|
|
87389
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87046
87390
|
* @instance
|
|
87047
87391
|
*/
|
|
87048
|
-
|
|
87392
|
+
TagFilter.prototype.namespacedTagValue = null;
|
|
87049
87393
|
|
|
87050
87394
|
/**
|
|
87051
|
-
*
|
|
87395
|
+
* TagFilter namespacedTagKey.
|
|
87396
|
+
* @member {string|null|undefined} namespacedTagKey
|
|
87397
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87398
|
+
* @instance
|
|
87399
|
+
*/
|
|
87400
|
+
TagFilter.prototype.namespacedTagKey = null;
|
|
87401
|
+
|
|
87402
|
+
// OneOf field names bound to virtual getters and setters
|
|
87403
|
+
var $oneOfFields;
|
|
87404
|
+
|
|
87405
|
+
/**
|
|
87406
|
+
* TagFilter format.
|
|
87407
|
+
* @member {"namespacedTagValue"|"namespacedTagKey"|undefined} format
|
|
87408
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87409
|
+
* @instance
|
|
87410
|
+
*/
|
|
87411
|
+
Object.defineProperty(TagFilter.prototype, "format", {
|
|
87412
|
+
get: $util.oneOfGetter($oneOfFields = ["namespacedTagValue", "namespacedTagKey"]),
|
|
87413
|
+
set: $util.oneOfSetter($oneOfFields)
|
|
87414
|
+
});
|
|
87415
|
+
|
|
87416
|
+
/**
|
|
87417
|
+
* Creates a new TagFilter instance using the specified properties.
|
|
87052
87418
|
* @function create
|
|
87053
|
-
* @memberof google.privacy.dlp.v2.
|
|
87419
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87054
87420
|
* @static
|
|
87055
|
-
* @param {google.privacy.dlp.v2.
|
|
87056
|
-
* @returns {google.privacy.dlp.v2.
|
|
87421
|
+
* @param {google.privacy.dlp.v2.ITagFilter=} [properties] Properties to set
|
|
87422
|
+
* @returns {google.privacy.dlp.v2.TagFilter} TagFilter instance
|
|
87057
87423
|
*/
|
|
87058
|
-
|
|
87059
|
-
return new
|
|
87424
|
+
TagFilter.create = function create(properties) {
|
|
87425
|
+
return new TagFilter(properties);
|
|
87060
87426
|
};
|
|
87061
87427
|
|
|
87062
87428
|
/**
|
|
87063
|
-
* Encodes the specified
|
|
87429
|
+
* Encodes the specified TagFilter message. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
|
|
87064
87430
|
* @function encode
|
|
87065
|
-
* @memberof google.privacy.dlp.v2.
|
|
87431
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87066
87432
|
* @static
|
|
87067
|
-
* @param {google.privacy.dlp.v2.
|
|
87433
|
+
* @param {google.privacy.dlp.v2.ITagFilter} message TagFilter message or plain object to encode
|
|
87068
87434
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87069
87435
|
* @returns {$protobuf.Writer} Writer
|
|
87070
87436
|
*/
|
|
87071
|
-
|
|
87437
|
+
TagFilter.encode = function encode(message, writer) {
|
|
87072
87438
|
if (!writer)
|
|
87073
87439
|
writer = $Writer.create();
|
|
87074
|
-
if (message.
|
|
87075
|
-
|
|
87440
|
+
if (message.namespacedTagValue != null && Object.hasOwnProperty.call(message, "namespacedTagValue"))
|
|
87441
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.namespacedTagValue);
|
|
87442
|
+
if (message.namespacedTagKey != null && Object.hasOwnProperty.call(message, "namespacedTagKey"))
|
|
87443
|
+
writer.uint32(/* id 2, wireType 2 =*/18).string(message.namespacedTagKey);
|
|
87076
87444
|
return writer;
|
|
87077
87445
|
};
|
|
87078
87446
|
|
|
87079
87447
|
/**
|
|
87080
|
-
* Encodes the specified
|
|
87448
|
+
* Encodes the specified TagFilter message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.TagFilter.verify|verify} messages.
|
|
87081
87449
|
* @function encodeDelimited
|
|
87082
|
-
* @memberof google.privacy.dlp.v2.
|
|
87450
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87083
87451
|
* @static
|
|
87084
|
-
* @param {google.privacy.dlp.v2.
|
|
87452
|
+
* @param {google.privacy.dlp.v2.ITagFilter} message TagFilter message or plain object to encode
|
|
87085
87453
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87086
87454
|
* @returns {$protobuf.Writer} Writer
|
|
87087
87455
|
*/
|
|
87088
|
-
|
|
87456
|
+
TagFilter.encodeDelimited = function encodeDelimited(message, writer) {
|
|
87089
87457
|
return this.encode(message, writer).ldelim();
|
|
87090
87458
|
};
|
|
87091
87459
|
|
|
87092
87460
|
/**
|
|
87093
|
-
* Decodes a
|
|
87461
|
+
* Decodes a TagFilter message from the specified reader or buffer.
|
|
87094
87462
|
* @function decode
|
|
87095
|
-
* @memberof google.privacy.dlp.v2.
|
|
87463
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87096
87464
|
* @static
|
|
87097
87465
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87098
87466
|
* @param {number} [length] Message length if known beforehand
|
|
87099
|
-
* @returns {google.privacy.dlp.v2.
|
|
87467
|
+
* @returns {google.privacy.dlp.v2.TagFilter} TagFilter
|
|
87100
87468
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87101
87469
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87102
87470
|
*/
|
|
87103
|
-
|
|
87471
|
+
TagFilter.decode = function decode(reader, length, error) {
|
|
87104
87472
|
if (!(reader instanceof $Reader))
|
|
87105
87473
|
reader = $Reader.create(reader);
|
|
87106
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.
|
|
87474
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.TagFilter();
|
|
87107
87475
|
while (reader.pos < end) {
|
|
87108
87476
|
var tag = reader.uint32();
|
|
87109
87477
|
if (tag === error)
|
|
87110
87478
|
break;
|
|
87111
87479
|
switch (tag >>> 3) {
|
|
87112
87480
|
case 1: {
|
|
87113
|
-
message.
|
|
87481
|
+
message.namespacedTagValue = reader.string();
|
|
87482
|
+
break;
|
|
87483
|
+
}
|
|
87484
|
+
case 2: {
|
|
87485
|
+
message.namespacedTagKey = reader.string();
|
|
87114
87486
|
break;
|
|
87115
87487
|
}
|
|
87116
87488
|
default:
|
|
@@ -87122,127 +87494,140 @@
|
|
|
87122
87494
|
};
|
|
87123
87495
|
|
|
87124
87496
|
/**
|
|
87125
|
-
* Decodes a
|
|
87497
|
+
* Decodes a TagFilter message from the specified reader or buffer, length delimited.
|
|
87126
87498
|
* @function decodeDelimited
|
|
87127
|
-
* @memberof google.privacy.dlp.v2.
|
|
87499
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87128
87500
|
* @static
|
|
87129
87501
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87130
|
-
* @returns {google.privacy.dlp.v2.
|
|
87502
|
+
* @returns {google.privacy.dlp.v2.TagFilter} TagFilter
|
|
87131
87503
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87132
87504
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87133
87505
|
*/
|
|
87134
|
-
|
|
87506
|
+
TagFilter.decodeDelimited = function decodeDelimited(reader) {
|
|
87135
87507
|
if (!(reader instanceof $Reader))
|
|
87136
87508
|
reader = new $Reader(reader);
|
|
87137
87509
|
return this.decode(reader, reader.uint32());
|
|
87138
87510
|
};
|
|
87139
87511
|
|
|
87140
87512
|
/**
|
|
87141
|
-
* Verifies a
|
|
87513
|
+
* Verifies a TagFilter message.
|
|
87142
87514
|
* @function verify
|
|
87143
|
-
* @memberof google.privacy.dlp.v2.
|
|
87515
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87144
87516
|
* @static
|
|
87145
87517
|
* @param {Object.<string,*>} message Plain object to verify
|
|
87146
87518
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
87147
87519
|
*/
|
|
87148
|
-
|
|
87520
|
+
TagFilter.verify = function verify(message) {
|
|
87149
87521
|
if (typeof message !== "object" || message === null)
|
|
87150
87522
|
return "object expected";
|
|
87151
|
-
|
|
87152
|
-
|
|
87153
|
-
|
|
87154
|
-
|
|
87523
|
+
var properties = {};
|
|
87524
|
+
if (message.namespacedTagValue != null && message.hasOwnProperty("namespacedTagValue")) {
|
|
87525
|
+
properties.format = 1;
|
|
87526
|
+
if (!$util.isString(message.namespacedTagValue))
|
|
87527
|
+
return "namespacedTagValue: string expected";
|
|
87528
|
+
}
|
|
87529
|
+
if (message.namespacedTagKey != null && message.hasOwnProperty("namespacedTagKey")) {
|
|
87530
|
+
if (properties.format === 1)
|
|
87531
|
+
return "format: multiple values";
|
|
87532
|
+
properties.format = 1;
|
|
87533
|
+
if (!$util.isString(message.namespacedTagKey))
|
|
87534
|
+
return "namespacedTagKey: string expected";
|
|
87155
87535
|
}
|
|
87156
87536
|
return null;
|
|
87157
87537
|
};
|
|
87158
87538
|
|
|
87159
87539
|
/**
|
|
87160
|
-
* Creates a
|
|
87540
|
+
* Creates a TagFilter message from a plain object. Also converts values to their respective internal types.
|
|
87161
87541
|
* @function fromObject
|
|
87162
|
-
* @memberof google.privacy.dlp.v2.
|
|
87542
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87163
87543
|
* @static
|
|
87164
87544
|
* @param {Object.<string,*>} object Plain object
|
|
87165
|
-
* @returns {google.privacy.dlp.v2.
|
|
87545
|
+
* @returns {google.privacy.dlp.v2.TagFilter} TagFilter
|
|
87166
87546
|
*/
|
|
87167
|
-
|
|
87168
|
-
if (object instanceof $root.google.privacy.dlp.v2.
|
|
87547
|
+
TagFilter.fromObject = function fromObject(object) {
|
|
87548
|
+
if (object instanceof $root.google.privacy.dlp.v2.TagFilter)
|
|
87169
87549
|
return object;
|
|
87170
|
-
var message = new $root.google.privacy.dlp.v2.
|
|
87171
|
-
if (object.
|
|
87172
|
-
|
|
87173
|
-
|
|
87174
|
-
message.
|
|
87175
|
-
}
|
|
87550
|
+
var message = new $root.google.privacy.dlp.v2.TagFilter();
|
|
87551
|
+
if (object.namespacedTagValue != null)
|
|
87552
|
+
message.namespacedTagValue = String(object.namespacedTagValue);
|
|
87553
|
+
if (object.namespacedTagKey != null)
|
|
87554
|
+
message.namespacedTagKey = String(object.namespacedTagKey);
|
|
87176
87555
|
return message;
|
|
87177
87556
|
};
|
|
87178
87557
|
|
|
87179
87558
|
/**
|
|
87180
|
-
* Creates a plain object from a
|
|
87559
|
+
* Creates a plain object from a TagFilter message. Also converts values to other types if specified.
|
|
87181
87560
|
* @function toObject
|
|
87182
|
-
* @memberof google.privacy.dlp.v2.
|
|
87561
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87183
87562
|
* @static
|
|
87184
|
-
* @param {google.privacy.dlp.v2.
|
|
87563
|
+
* @param {google.privacy.dlp.v2.TagFilter} message TagFilter
|
|
87185
87564
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
87186
87565
|
* @returns {Object.<string,*>} Plain object
|
|
87187
87566
|
*/
|
|
87188
|
-
|
|
87567
|
+
TagFilter.toObject = function toObject(message, options) {
|
|
87189
87568
|
if (!options)
|
|
87190
87569
|
options = {};
|
|
87191
87570
|
var object = {};
|
|
87192
|
-
if (
|
|
87193
|
-
object.
|
|
87194
|
-
|
|
87195
|
-
|
|
87571
|
+
if (message.namespacedTagValue != null && message.hasOwnProperty("namespacedTagValue")) {
|
|
87572
|
+
object.namespacedTagValue = message.namespacedTagValue;
|
|
87573
|
+
if (options.oneofs)
|
|
87574
|
+
object.format = "namespacedTagValue";
|
|
87575
|
+
}
|
|
87576
|
+
if (message.namespacedTagKey != null && message.hasOwnProperty("namespacedTagKey")) {
|
|
87577
|
+
object.namespacedTagKey = message.namespacedTagKey;
|
|
87578
|
+
if (options.oneofs)
|
|
87579
|
+
object.format = "namespacedTagKey";
|
|
87580
|
+
}
|
|
87196
87581
|
return object;
|
|
87197
87582
|
};
|
|
87198
87583
|
|
|
87199
87584
|
/**
|
|
87200
|
-
* Converts this
|
|
87585
|
+
* Converts this TagFilter to JSON.
|
|
87201
87586
|
* @function toJSON
|
|
87202
|
-
* @memberof google.privacy.dlp.v2.
|
|
87587
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87203
87588
|
* @instance
|
|
87204
87589
|
* @returns {Object.<string,*>} JSON object
|
|
87205
87590
|
*/
|
|
87206
|
-
|
|
87591
|
+
TagFilter.prototype.toJSON = function toJSON() {
|
|
87207
87592
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
87208
87593
|
};
|
|
87209
87594
|
|
|
87210
87595
|
/**
|
|
87211
|
-
* Gets the default type url for
|
|
87596
|
+
* Gets the default type url for TagFilter
|
|
87212
87597
|
* @function getTypeUrl
|
|
87213
|
-
* @memberof google.privacy.dlp.v2.
|
|
87598
|
+
* @memberof google.privacy.dlp.v2.TagFilter
|
|
87214
87599
|
* @static
|
|
87215
87600
|
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
87216
87601
|
* @returns {string} The default type url
|
|
87217
87602
|
*/
|
|
87218
|
-
|
|
87603
|
+
TagFilter.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
87219
87604
|
if (typeUrlPrefix === undefined) {
|
|
87220
87605
|
typeUrlPrefix = "type.googleapis.com";
|
|
87221
87606
|
}
|
|
87222
|
-
return typeUrlPrefix + "/google.privacy.dlp.v2.
|
|
87607
|
+
return typeUrlPrefix + "/google.privacy.dlp.v2.TagFilter";
|
|
87223
87608
|
};
|
|
87224
87609
|
|
|
87225
|
-
return
|
|
87610
|
+
return TagFilter;
|
|
87226
87611
|
})();
|
|
87227
87612
|
|
|
87228
|
-
v2.
|
|
87613
|
+
v2.RelatedResource = (function() {
|
|
87229
87614
|
|
|
87230
87615
|
/**
|
|
87231
|
-
* Properties of a
|
|
87616
|
+
* Properties of a RelatedResource.
|
|
87232
87617
|
* @memberof google.privacy.dlp.v2
|
|
87233
|
-
* @interface
|
|
87234
|
-
* @property {string|null} [
|
|
87618
|
+
* @interface IRelatedResource
|
|
87619
|
+
* @property {string|null} [fullResource] RelatedResource fullResource
|
|
87235
87620
|
*/
|
|
87236
87621
|
|
|
87237
87622
|
/**
|
|
87238
|
-
* Constructs a new
|
|
87623
|
+
* Constructs a new RelatedResource.
|
|
87239
87624
|
* @memberof google.privacy.dlp.v2
|
|
87240
|
-
* @classdesc Represents a
|
|
87241
|
-
* @implements
|
|
87625
|
+
* @classdesc Represents a RelatedResource.
|
|
87626
|
+
* @implements IRelatedResource
|
|
87242
87627
|
* @constructor
|
|
87243
|
-
* @param {google.privacy.dlp.v2.
|
|
87628
|
+
* @param {google.privacy.dlp.v2.IRelatedResource=} [properties] Properties to set
|
|
87244
87629
|
*/
|
|
87245
|
-
function
|
|
87630
|
+
function RelatedResource(properties) {
|
|
87246
87631
|
if (properties)
|
|
87247
87632
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
87248
87633
|
if (properties[keys[i]] != null)
|
|
@@ -87250,77 +87635,77 @@
|
|
|
87250
87635
|
}
|
|
87251
87636
|
|
|
87252
87637
|
/**
|
|
87253
|
-
*
|
|
87254
|
-
* @member {string}
|
|
87255
|
-
* @memberof google.privacy.dlp.v2.
|
|
87638
|
+
* RelatedResource fullResource.
|
|
87639
|
+
* @member {string} fullResource
|
|
87640
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87256
87641
|
* @instance
|
|
87257
87642
|
*/
|
|
87258
|
-
|
|
87643
|
+
RelatedResource.prototype.fullResource = "";
|
|
87259
87644
|
|
|
87260
87645
|
/**
|
|
87261
|
-
* Creates a new
|
|
87646
|
+
* Creates a new RelatedResource instance using the specified properties.
|
|
87262
87647
|
* @function create
|
|
87263
|
-
* @memberof google.privacy.dlp.v2.
|
|
87648
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87264
87649
|
* @static
|
|
87265
|
-
* @param {google.privacy.dlp.v2.
|
|
87266
|
-
* @returns {google.privacy.dlp.v2.
|
|
87650
|
+
* @param {google.privacy.dlp.v2.IRelatedResource=} [properties] Properties to set
|
|
87651
|
+
* @returns {google.privacy.dlp.v2.RelatedResource} RelatedResource instance
|
|
87267
87652
|
*/
|
|
87268
|
-
|
|
87269
|
-
return new
|
|
87653
|
+
RelatedResource.create = function create(properties) {
|
|
87654
|
+
return new RelatedResource(properties);
|
|
87270
87655
|
};
|
|
87271
87656
|
|
|
87272
87657
|
/**
|
|
87273
|
-
* Encodes the specified
|
|
87658
|
+
* Encodes the specified RelatedResource message. Does not implicitly {@link google.privacy.dlp.v2.RelatedResource.verify|verify} messages.
|
|
87274
87659
|
* @function encode
|
|
87275
|
-
* @memberof google.privacy.dlp.v2.
|
|
87660
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87276
87661
|
* @static
|
|
87277
|
-
* @param {google.privacy.dlp.v2.
|
|
87662
|
+
* @param {google.privacy.dlp.v2.IRelatedResource} message RelatedResource message or plain object to encode
|
|
87278
87663
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87279
87664
|
* @returns {$protobuf.Writer} Writer
|
|
87280
87665
|
*/
|
|
87281
|
-
|
|
87666
|
+
RelatedResource.encode = function encode(message, writer) {
|
|
87282
87667
|
if (!writer)
|
|
87283
87668
|
writer = $Writer.create();
|
|
87284
|
-
if (message.
|
|
87285
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.
|
|
87669
|
+
if (message.fullResource != null && Object.hasOwnProperty.call(message, "fullResource"))
|
|
87670
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.fullResource);
|
|
87286
87671
|
return writer;
|
|
87287
87672
|
};
|
|
87288
87673
|
|
|
87289
87674
|
/**
|
|
87290
|
-
* Encodes the specified
|
|
87675
|
+
* Encodes the specified RelatedResource message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.RelatedResource.verify|verify} messages.
|
|
87291
87676
|
* @function encodeDelimited
|
|
87292
|
-
* @memberof google.privacy.dlp.v2.
|
|
87677
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87293
87678
|
* @static
|
|
87294
|
-
* @param {google.privacy.dlp.v2.
|
|
87679
|
+
* @param {google.privacy.dlp.v2.IRelatedResource} message RelatedResource message or plain object to encode
|
|
87295
87680
|
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87296
87681
|
* @returns {$protobuf.Writer} Writer
|
|
87297
87682
|
*/
|
|
87298
|
-
|
|
87683
|
+
RelatedResource.encodeDelimited = function encodeDelimited(message, writer) {
|
|
87299
87684
|
return this.encode(message, writer).ldelim();
|
|
87300
87685
|
};
|
|
87301
87686
|
|
|
87302
87687
|
/**
|
|
87303
|
-
* Decodes a
|
|
87688
|
+
* Decodes a RelatedResource message from the specified reader or buffer.
|
|
87304
87689
|
* @function decode
|
|
87305
|
-
* @memberof google.privacy.dlp.v2.
|
|
87690
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87306
87691
|
* @static
|
|
87307
87692
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87308
87693
|
* @param {number} [length] Message length if known beforehand
|
|
87309
|
-
* @returns {google.privacy.dlp.v2.
|
|
87694
|
+
* @returns {google.privacy.dlp.v2.RelatedResource} RelatedResource
|
|
87310
87695
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87311
87696
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87312
87697
|
*/
|
|
87313
|
-
|
|
87698
|
+
RelatedResource.decode = function decode(reader, length, error) {
|
|
87314
87699
|
if (!(reader instanceof $Reader))
|
|
87315
87700
|
reader = $Reader.create(reader);
|
|
87316
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.
|
|
87701
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.RelatedResource();
|
|
87317
87702
|
while (reader.pos < end) {
|
|
87318
87703
|
var tag = reader.uint32();
|
|
87319
87704
|
if (tag === error)
|
|
87320
87705
|
break;
|
|
87321
87706
|
switch (tag >>> 3) {
|
|
87322
87707
|
case 1: {
|
|
87323
|
-
message.
|
|
87708
|
+
message.fullResource = reader.string();
|
|
87324
87709
|
break;
|
|
87325
87710
|
}
|
|
87326
87711
|
default:
|
|
@@ -87332,88 +87717,503 @@
|
|
|
87332
87717
|
};
|
|
87333
87718
|
|
|
87334
87719
|
/**
|
|
87335
|
-
* Decodes a
|
|
87720
|
+
* Decodes a RelatedResource message from the specified reader or buffer, length delimited.
|
|
87336
87721
|
* @function decodeDelimited
|
|
87337
|
-
* @memberof google.privacy.dlp.v2.
|
|
87722
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87338
87723
|
* @static
|
|
87339
87724
|
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87340
|
-
* @returns {google.privacy.dlp.v2.
|
|
87725
|
+
* @returns {google.privacy.dlp.v2.RelatedResource} RelatedResource
|
|
87341
87726
|
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87342
87727
|
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87343
87728
|
*/
|
|
87344
|
-
|
|
87729
|
+
RelatedResource.decodeDelimited = function decodeDelimited(reader) {
|
|
87345
87730
|
if (!(reader instanceof $Reader))
|
|
87346
87731
|
reader = new $Reader(reader);
|
|
87347
87732
|
return this.decode(reader, reader.uint32());
|
|
87348
87733
|
};
|
|
87349
87734
|
|
|
87350
87735
|
/**
|
|
87351
|
-
* Verifies a
|
|
87736
|
+
* Verifies a RelatedResource message.
|
|
87352
87737
|
* @function verify
|
|
87353
|
-
* @memberof google.privacy.dlp.v2.
|
|
87738
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87354
87739
|
* @static
|
|
87355
87740
|
* @param {Object.<string,*>} message Plain object to verify
|
|
87356
87741
|
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
87357
87742
|
*/
|
|
87358
|
-
|
|
87743
|
+
RelatedResource.verify = function verify(message) {
|
|
87359
87744
|
if (typeof message !== "object" || message === null)
|
|
87360
87745
|
return "object expected";
|
|
87361
|
-
if (message.
|
|
87362
|
-
if (!$util.isString(message.
|
|
87363
|
-
return "
|
|
87746
|
+
if (message.fullResource != null && message.hasOwnProperty("fullResource"))
|
|
87747
|
+
if (!$util.isString(message.fullResource))
|
|
87748
|
+
return "fullResource: string expected";
|
|
87364
87749
|
return null;
|
|
87365
87750
|
};
|
|
87366
87751
|
|
|
87367
87752
|
/**
|
|
87368
|
-
* Creates a
|
|
87753
|
+
* Creates a RelatedResource message from a plain object. Also converts values to their respective internal types.
|
|
87369
87754
|
* @function fromObject
|
|
87370
|
-
* @memberof google.privacy.dlp.v2.
|
|
87755
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87371
87756
|
* @static
|
|
87372
87757
|
* @param {Object.<string,*>} object Plain object
|
|
87373
|
-
* @returns {google.privacy.dlp.v2.
|
|
87758
|
+
* @returns {google.privacy.dlp.v2.RelatedResource} RelatedResource
|
|
87374
87759
|
*/
|
|
87375
|
-
|
|
87376
|
-
if (object instanceof $root.google.privacy.dlp.v2.
|
|
87760
|
+
RelatedResource.fromObject = function fromObject(object) {
|
|
87761
|
+
if (object instanceof $root.google.privacy.dlp.v2.RelatedResource)
|
|
87377
87762
|
return object;
|
|
87378
|
-
var message = new $root.google.privacy.dlp.v2.
|
|
87379
|
-
if (object.
|
|
87380
|
-
message.
|
|
87763
|
+
var message = new $root.google.privacy.dlp.v2.RelatedResource();
|
|
87764
|
+
if (object.fullResource != null)
|
|
87765
|
+
message.fullResource = String(object.fullResource);
|
|
87381
87766
|
return message;
|
|
87382
87767
|
};
|
|
87383
87768
|
|
|
87384
87769
|
/**
|
|
87385
|
-
* Creates a plain object from a
|
|
87770
|
+
* Creates a plain object from a RelatedResource message. Also converts values to other types if specified.
|
|
87386
87771
|
* @function toObject
|
|
87387
|
-
* @memberof google.privacy.dlp.v2.
|
|
87772
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87388
87773
|
* @static
|
|
87389
|
-
* @param {google.privacy.dlp.v2.
|
|
87774
|
+
* @param {google.privacy.dlp.v2.RelatedResource} message RelatedResource
|
|
87390
87775
|
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
87391
87776
|
* @returns {Object.<string,*>} Plain object
|
|
87392
87777
|
*/
|
|
87393
|
-
|
|
87778
|
+
RelatedResource.toObject = function toObject(message, options) {
|
|
87394
87779
|
if (!options)
|
|
87395
87780
|
options = {};
|
|
87396
87781
|
var object = {};
|
|
87397
87782
|
if (options.defaults)
|
|
87398
|
-
object.
|
|
87399
|
-
if (message.
|
|
87400
|
-
object.
|
|
87783
|
+
object.fullResource = "";
|
|
87784
|
+
if (message.fullResource != null && message.hasOwnProperty("fullResource"))
|
|
87785
|
+
object.fullResource = message.fullResource;
|
|
87401
87786
|
return object;
|
|
87402
87787
|
};
|
|
87403
87788
|
|
|
87404
87789
|
/**
|
|
87405
|
-
* Converts this
|
|
87790
|
+
* Converts this RelatedResource to JSON.
|
|
87406
87791
|
* @function toJSON
|
|
87407
|
-
* @memberof google.privacy.dlp.v2.
|
|
87792
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87408
87793
|
* @instance
|
|
87409
87794
|
* @returns {Object.<string,*>} JSON object
|
|
87410
87795
|
*/
|
|
87411
|
-
|
|
87796
|
+
RelatedResource.prototype.toJSON = function toJSON() {
|
|
87412
87797
|
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
87413
87798
|
};
|
|
87414
87799
|
|
|
87415
87800
|
/**
|
|
87416
|
-
* Gets the default type url for
|
|
87801
|
+
* Gets the default type url for RelatedResource
|
|
87802
|
+
* @function getTypeUrl
|
|
87803
|
+
* @memberof google.privacy.dlp.v2.RelatedResource
|
|
87804
|
+
* @static
|
|
87805
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
87806
|
+
* @returns {string} The default type url
|
|
87807
|
+
*/
|
|
87808
|
+
RelatedResource.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
87809
|
+
if (typeUrlPrefix === undefined) {
|
|
87810
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
87811
|
+
}
|
|
87812
|
+
return typeUrlPrefix + "/google.privacy.dlp.v2.RelatedResource";
|
|
87813
|
+
};
|
|
87814
|
+
|
|
87815
|
+
return RelatedResource;
|
|
87816
|
+
})();
|
|
87817
|
+
|
|
87818
|
+
v2.FileStoreInfoTypeSummary = (function() {
|
|
87819
|
+
|
|
87820
|
+
/**
|
|
87821
|
+
* Properties of a FileStoreInfoTypeSummary.
|
|
87822
|
+
* @memberof google.privacy.dlp.v2
|
|
87823
|
+
* @interface IFileStoreInfoTypeSummary
|
|
87824
|
+
* @property {google.privacy.dlp.v2.IInfoType|null} [infoType] FileStoreInfoTypeSummary infoType
|
|
87825
|
+
*/
|
|
87826
|
+
|
|
87827
|
+
/**
|
|
87828
|
+
* Constructs a new FileStoreInfoTypeSummary.
|
|
87829
|
+
* @memberof google.privacy.dlp.v2
|
|
87830
|
+
* @classdesc Represents a FileStoreInfoTypeSummary.
|
|
87831
|
+
* @implements IFileStoreInfoTypeSummary
|
|
87832
|
+
* @constructor
|
|
87833
|
+
* @param {google.privacy.dlp.v2.IFileStoreInfoTypeSummary=} [properties] Properties to set
|
|
87834
|
+
*/
|
|
87835
|
+
function FileStoreInfoTypeSummary(properties) {
|
|
87836
|
+
if (properties)
|
|
87837
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
87838
|
+
if (properties[keys[i]] != null)
|
|
87839
|
+
this[keys[i]] = properties[keys[i]];
|
|
87840
|
+
}
|
|
87841
|
+
|
|
87842
|
+
/**
|
|
87843
|
+
* FileStoreInfoTypeSummary infoType.
|
|
87844
|
+
* @member {google.privacy.dlp.v2.IInfoType|null|undefined} infoType
|
|
87845
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87846
|
+
* @instance
|
|
87847
|
+
*/
|
|
87848
|
+
FileStoreInfoTypeSummary.prototype.infoType = null;
|
|
87849
|
+
|
|
87850
|
+
/**
|
|
87851
|
+
* Creates a new FileStoreInfoTypeSummary instance using the specified properties.
|
|
87852
|
+
* @function create
|
|
87853
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87854
|
+
* @static
|
|
87855
|
+
* @param {google.privacy.dlp.v2.IFileStoreInfoTypeSummary=} [properties] Properties to set
|
|
87856
|
+
* @returns {google.privacy.dlp.v2.FileStoreInfoTypeSummary} FileStoreInfoTypeSummary instance
|
|
87857
|
+
*/
|
|
87858
|
+
FileStoreInfoTypeSummary.create = function create(properties) {
|
|
87859
|
+
return new FileStoreInfoTypeSummary(properties);
|
|
87860
|
+
};
|
|
87861
|
+
|
|
87862
|
+
/**
|
|
87863
|
+
* Encodes the specified FileStoreInfoTypeSummary message. Does not implicitly {@link google.privacy.dlp.v2.FileStoreInfoTypeSummary.verify|verify} messages.
|
|
87864
|
+
* @function encode
|
|
87865
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87866
|
+
* @static
|
|
87867
|
+
* @param {google.privacy.dlp.v2.IFileStoreInfoTypeSummary} message FileStoreInfoTypeSummary message or plain object to encode
|
|
87868
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87869
|
+
* @returns {$protobuf.Writer} Writer
|
|
87870
|
+
*/
|
|
87871
|
+
FileStoreInfoTypeSummary.encode = function encode(message, writer) {
|
|
87872
|
+
if (!writer)
|
|
87873
|
+
writer = $Writer.create();
|
|
87874
|
+
if (message.infoType != null && Object.hasOwnProperty.call(message, "infoType"))
|
|
87875
|
+
$root.google.privacy.dlp.v2.InfoType.encode(message.infoType, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
87876
|
+
return writer;
|
|
87877
|
+
};
|
|
87878
|
+
|
|
87879
|
+
/**
|
|
87880
|
+
* Encodes the specified FileStoreInfoTypeSummary message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileStoreInfoTypeSummary.verify|verify} messages.
|
|
87881
|
+
* @function encodeDelimited
|
|
87882
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87883
|
+
* @static
|
|
87884
|
+
* @param {google.privacy.dlp.v2.IFileStoreInfoTypeSummary} message FileStoreInfoTypeSummary message or plain object to encode
|
|
87885
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
87886
|
+
* @returns {$protobuf.Writer} Writer
|
|
87887
|
+
*/
|
|
87888
|
+
FileStoreInfoTypeSummary.encodeDelimited = function encodeDelimited(message, writer) {
|
|
87889
|
+
return this.encode(message, writer).ldelim();
|
|
87890
|
+
};
|
|
87891
|
+
|
|
87892
|
+
/**
|
|
87893
|
+
* Decodes a FileStoreInfoTypeSummary message from the specified reader or buffer.
|
|
87894
|
+
* @function decode
|
|
87895
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87896
|
+
* @static
|
|
87897
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87898
|
+
* @param {number} [length] Message length if known beforehand
|
|
87899
|
+
* @returns {google.privacy.dlp.v2.FileStoreInfoTypeSummary} FileStoreInfoTypeSummary
|
|
87900
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87901
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87902
|
+
*/
|
|
87903
|
+
FileStoreInfoTypeSummary.decode = function decode(reader, length, error) {
|
|
87904
|
+
if (!(reader instanceof $Reader))
|
|
87905
|
+
reader = $Reader.create(reader);
|
|
87906
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.FileStoreInfoTypeSummary();
|
|
87907
|
+
while (reader.pos < end) {
|
|
87908
|
+
var tag = reader.uint32();
|
|
87909
|
+
if (tag === error)
|
|
87910
|
+
break;
|
|
87911
|
+
switch (tag >>> 3) {
|
|
87912
|
+
case 1: {
|
|
87913
|
+
message.infoType = $root.google.privacy.dlp.v2.InfoType.decode(reader, reader.uint32());
|
|
87914
|
+
break;
|
|
87915
|
+
}
|
|
87916
|
+
default:
|
|
87917
|
+
reader.skipType(tag & 7);
|
|
87918
|
+
break;
|
|
87919
|
+
}
|
|
87920
|
+
}
|
|
87921
|
+
return message;
|
|
87922
|
+
};
|
|
87923
|
+
|
|
87924
|
+
/**
|
|
87925
|
+
* Decodes a FileStoreInfoTypeSummary message from the specified reader or buffer, length delimited.
|
|
87926
|
+
* @function decodeDelimited
|
|
87927
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87928
|
+
* @static
|
|
87929
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
87930
|
+
* @returns {google.privacy.dlp.v2.FileStoreInfoTypeSummary} FileStoreInfoTypeSummary
|
|
87931
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
87932
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
87933
|
+
*/
|
|
87934
|
+
FileStoreInfoTypeSummary.decodeDelimited = function decodeDelimited(reader) {
|
|
87935
|
+
if (!(reader instanceof $Reader))
|
|
87936
|
+
reader = new $Reader(reader);
|
|
87937
|
+
return this.decode(reader, reader.uint32());
|
|
87938
|
+
};
|
|
87939
|
+
|
|
87940
|
+
/**
|
|
87941
|
+
* Verifies a FileStoreInfoTypeSummary message.
|
|
87942
|
+
* @function verify
|
|
87943
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87944
|
+
* @static
|
|
87945
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
87946
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
87947
|
+
*/
|
|
87948
|
+
FileStoreInfoTypeSummary.verify = function verify(message) {
|
|
87949
|
+
if (typeof message !== "object" || message === null)
|
|
87950
|
+
return "object expected";
|
|
87951
|
+
if (message.infoType != null && message.hasOwnProperty("infoType")) {
|
|
87952
|
+
var error = $root.google.privacy.dlp.v2.InfoType.verify(message.infoType);
|
|
87953
|
+
if (error)
|
|
87954
|
+
return "infoType." + error;
|
|
87955
|
+
}
|
|
87956
|
+
return null;
|
|
87957
|
+
};
|
|
87958
|
+
|
|
87959
|
+
/**
|
|
87960
|
+
* Creates a FileStoreInfoTypeSummary message from a plain object. Also converts values to their respective internal types.
|
|
87961
|
+
* @function fromObject
|
|
87962
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87963
|
+
* @static
|
|
87964
|
+
* @param {Object.<string,*>} object Plain object
|
|
87965
|
+
* @returns {google.privacy.dlp.v2.FileStoreInfoTypeSummary} FileStoreInfoTypeSummary
|
|
87966
|
+
*/
|
|
87967
|
+
FileStoreInfoTypeSummary.fromObject = function fromObject(object) {
|
|
87968
|
+
if (object instanceof $root.google.privacy.dlp.v2.FileStoreInfoTypeSummary)
|
|
87969
|
+
return object;
|
|
87970
|
+
var message = new $root.google.privacy.dlp.v2.FileStoreInfoTypeSummary();
|
|
87971
|
+
if (object.infoType != null) {
|
|
87972
|
+
if (typeof object.infoType !== "object")
|
|
87973
|
+
throw TypeError(".google.privacy.dlp.v2.FileStoreInfoTypeSummary.infoType: object expected");
|
|
87974
|
+
message.infoType = $root.google.privacy.dlp.v2.InfoType.fromObject(object.infoType);
|
|
87975
|
+
}
|
|
87976
|
+
return message;
|
|
87977
|
+
};
|
|
87978
|
+
|
|
87979
|
+
/**
|
|
87980
|
+
* Creates a plain object from a FileStoreInfoTypeSummary message. Also converts values to other types if specified.
|
|
87981
|
+
* @function toObject
|
|
87982
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
87983
|
+
* @static
|
|
87984
|
+
* @param {google.privacy.dlp.v2.FileStoreInfoTypeSummary} message FileStoreInfoTypeSummary
|
|
87985
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
87986
|
+
* @returns {Object.<string,*>} Plain object
|
|
87987
|
+
*/
|
|
87988
|
+
FileStoreInfoTypeSummary.toObject = function toObject(message, options) {
|
|
87989
|
+
if (!options)
|
|
87990
|
+
options = {};
|
|
87991
|
+
var object = {};
|
|
87992
|
+
if (options.defaults)
|
|
87993
|
+
object.infoType = null;
|
|
87994
|
+
if (message.infoType != null && message.hasOwnProperty("infoType"))
|
|
87995
|
+
object.infoType = $root.google.privacy.dlp.v2.InfoType.toObject(message.infoType, options);
|
|
87996
|
+
return object;
|
|
87997
|
+
};
|
|
87998
|
+
|
|
87999
|
+
/**
|
|
88000
|
+
* Converts this FileStoreInfoTypeSummary to JSON.
|
|
88001
|
+
* @function toJSON
|
|
88002
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
88003
|
+
* @instance
|
|
88004
|
+
* @returns {Object.<string,*>} JSON object
|
|
88005
|
+
*/
|
|
88006
|
+
FileStoreInfoTypeSummary.prototype.toJSON = function toJSON() {
|
|
88007
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
88008
|
+
};
|
|
88009
|
+
|
|
88010
|
+
/**
|
|
88011
|
+
* Gets the default type url for FileStoreInfoTypeSummary
|
|
88012
|
+
* @function getTypeUrl
|
|
88013
|
+
* @memberof google.privacy.dlp.v2.FileStoreInfoTypeSummary
|
|
88014
|
+
* @static
|
|
88015
|
+
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
88016
|
+
* @returns {string} The default type url
|
|
88017
|
+
*/
|
|
88018
|
+
FileStoreInfoTypeSummary.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
88019
|
+
if (typeUrlPrefix === undefined) {
|
|
88020
|
+
typeUrlPrefix = "type.googleapis.com";
|
|
88021
|
+
}
|
|
88022
|
+
return typeUrlPrefix + "/google.privacy.dlp.v2.FileStoreInfoTypeSummary";
|
|
88023
|
+
};
|
|
88024
|
+
|
|
88025
|
+
return FileStoreInfoTypeSummary;
|
|
88026
|
+
})();
|
|
88027
|
+
|
|
88028
|
+
v2.FileExtensionInfo = (function() {
|
|
88029
|
+
|
|
88030
|
+
/**
|
|
88031
|
+
* Properties of a FileExtensionInfo.
|
|
88032
|
+
* @memberof google.privacy.dlp.v2
|
|
88033
|
+
* @interface IFileExtensionInfo
|
|
88034
|
+
* @property {string|null} [fileExtension] FileExtensionInfo fileExtension
|
|
88035
|
+
*/
|
|
88036
|
+
|
|
88037
|
+
/**
|
|
88038
|
+
* Constructs a new FileExtensionInfo.
|
|
88039
|
+
* @memberof google.privacy.dlp.v2
|
|
88040
|
+
* @classdesc Represents a FileExtensionInfo.
|
|
88041
|
+
* @implements IFileExtensionInfo
|
|
88042
|
+
* @constructor
|
|
88043
|
+
* @param {google.privacy.dlp.v2.IFileExtensionInfo=} [properties] Properties to set
|
|
88044
|
+
*/
|
|
88045
|
+
function FileExtensionInfo(properties) {
|
|
88046
|
+
if (properties)
|
|
88047
|
+
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
88048
|
+
if (properties[keys[i]] != null)
|
|
88049
|
+
this[keys[i]] = properties[keys[i]];
|
|
88050
|
+
}
|
|
88051
|
+
|
|
88052
|
+
/**
|
|
88053
|
+
* FileExtensionInfo fileExtension.
|
|
88054
|
+
* @member {string} fileExtension
|
|
88055
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88056
|
+
* @instance
|
|
88057
|
+
*/
|
|
88058
|
+
FileExtensionInfo.prototype.fileExtension = "";
|
|
88059
|
+
|
|
88060
|
+
/**
|
|
88061
|
+
* Creates a new FileExtensionInfo instance using the specified properties.
|
|
88062
|
+
* @function create
|
|
88063
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88064
|
+
* @static
|
|
88065
|
+
* @param {google.privacy.dlp.v2.IFileExtensionInfo=} [properties] Properties to set
|
|
88066
|
+
* @returns {google.privacy.dlp.v2.FileExtensionInfo} FileExtensionInfo instance
|
|
88067
|
+
*/
|
|
88068
|
+
FileExtensionInfo.create = function create(properties) {
|
|
88069
|
+
return new FileExtensionInfo(properties);
|
|
88070
|
+
};
|
|
88071
|
+
|
|
88072
|
+
/**
|
|
88073
|
+
* Encodes the specified FileExtensionInfo message. Does not implicitly {@link google.privacy.dlp.v2.FileExtensionInfo.verify|verify} messages.
|
|
88074
|
+
* @function encode
|
|
88075
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88076
|
+
* @static
|
|
88077
|
+
* @param {google.privacy.dlp.v2.IFileExtensionInfo} message FileExtensionInfo message or plain object to encode
|
|
88078
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88079
|
+
* @returns {$protobuf.Writer} Writer
|
|
88080
|
+
*/
|
|
88081
|
+
FileExtensionInfo.encode = function encode(message, writer) {
|
|
88082
|
+
if (!writer)
|
|
88083
|
+
writer = $Writer.create();
|
|
88084
|
+
if (message.fileExtension != null && Object.hasOwnProperty.call(message, "fileExtension"))
|
|
88085
|
+
writer.uint32(/* id 1, wireType 2 =*/10).string(message.fileExtension);
|
|
88086
|
+
return writer;
|
|
88087
|
+
};
|
|
88088
|
+
|
|
88089
|
+
/**
|
|
88090
|
+
* Encodes the specified FileExtensionInfo message, length delimited. Does not implicitly {@link google.privacy.dlp.v2.FileExtensionInfo.verify|verify} messages.
|
|
88091
|
+
* @function encodeDelimited
|
|
88092
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88093
|
+
* @static
|
|
88094
|
+
* @param {google.privacy.dlp.v2.IFileExtensionInfo} message FileExtensionInfo message or plain object to encode
|
|
88095
|
+
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
88096
|
+
* @returns {$protobuf.Writer} Writer
|
|
88097
|
+
*/
|
|
88098
|
+
FileExtensionInfo.encodeDelimited = function encodeDelimited(message, writer) {
|
|
88099
|
+
return this.encode(message, writer).ldelim();
|
|
88100
|
+
};
|
|
88101
|
+
|
|
88102
|
+
/**
|
|
88103
|
+
* Decodes a FileExtensionInfo message from the specified reader or buffer.
|
|
88104
|
+
* @function decode
|
|
88105
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88106
|
+
* @static
|
|
88107
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88108
|
+
* @param {number} [length] Message length if known beforehand
|
|
88109
|
+
* @returns {google.privacy.dlp.v2.FileExtensionInfo} FileExtensionInfo
|
|
88110
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88111
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88112
|
+
*/
|
|
88113
|
+
FileExtensionInfo.decode = function decode(reader, length, error) {
|
|
88114
|
+
if (!(reader instanceof $Reader))
|
|
88115
|
+
reader = $Reader.create(reader);
|
|
88116
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.privacy.dlp.v2.FileExtensionInfo();
|
|
88117
|
+
while (reader.pos < end) {
|
|
88118
|
+
var tag = reader.uint32();
|
|
88119
|
+
if (tag === error)
|
|
88120
|
+
break;
|
|
88121
|
+
switch (tag >>> 3) {
|
|
88122
|
+
case 1: {
|
|
88123
|
+
message.fileExtension = reader.string();
|
|
88124
|
+
break;
|
|
88125
|
+
}
|
|
88126
|
+
default:
|
|
88127
|
+
reader.skipType(tag & 7);
|
|
88128
|
+
break;
|
|
88129
|
+
}
|
|
88130
|
+
}
|
|
88131
|
+
return message;
|
|
88132
|
+
};
|
|
88133
|
+
|
|
88134
|
+
/**
|
|
88135
|
+
* Decodes a FileExtensionInfo message from the specified reader or buffer, length delimited.
|
|
88136
|
+
* @function decodeDelimited
|
|
88137
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88138
|
+
* @static
|
|
88139
|
+
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
88140
|
+
* @returns {google.privacy.dlp.v2.FileExtensionInfo} FileExtensionInfo
|
|
88141
|
+
* @throws {Error} If the payload is not a reader or valid buffer
|
|
88142
|
+
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
88143
|
+
*/
|
|
88144
|
+
FileExtensionInfo.decodeDelimited = function decodeDelimited(reader) {
|
|
88145
|
+
if (!(reader instanceof $Reader))
|
|
88146
|
+
reader = new $Reader(reader);
|
|
88147
|
+
return this.decode(reader, reader.uint32());
|
|
88148
|
+
};
|
|
88149
|
+
|
|
88150
|
+
/**
|
|
88151
|
+
* Verifies a FileExtensionInfo message.
|
|
88152
|
+
* @function verify
|
|
88153
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88154
|
+
* @static
|
|
88155
|
+
* @param {Object.<string,*>} message Plain object to verify
|
|
88156
|
+
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
88157
|
+
*/
|
|
88158
|
+
FileExtensionInfo.verify = function verify(message) {
|
|
88159
|
+
if (typeof message !== "object" || message === null)
|
|
88160
|
+
return "object expected";
|
|
88161
|
+
if (message.fileExtension != null && message.hasOwnProperty("fileExtension"))
|
|
88162
|
+
if (!$util.isString(message.fileExtension))
|
|
88163
|
+
return "fileExtension: string expected";
|
|
88164
|
+
return null;
|
|
88165
|
+
};
|
|
88166
|
+
|
|
88167
|
+
/**
|
|
88168
|
+
* Creates a FileExtensionInfo message from a plain object. Also converts values to their respective internal types.
|
|
88169
|
+
* @function fromObject
|
|
88170
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88171
|
+
* @static
|
|
88172
|
+
* @param {Object.<string,*>} object Plain object
|
|
88173
|
+
* @returns {google.privacy.dlp.v2.FileExtensionInfo} FileExtensionInfo
|
|
88174
|
+
*/
|
|
88175
|
+
FileExtensionInfo.fromObject = function fromObject(object) {
|
|
88176
|
+
if (object instanceof $root.google.privacy.dlp.v2.FileExtensionInfo)
|
|
88177
|
+
return object;
|
|
88178
|
+
var message = new $root.google.privacy.dlp.v2.FileExtensionInfo();
|
|
88179
|
+
if (object.fileExtension != null)
|
|
88180
|
+
message.fileExtension = String(object.fileExtension);
|
|
88181
|
+
return message;
|
|
88182
|
+
};
|
|
88183
|
+
|
|
88184
|
+
/**
|
|
88185
|
+
* Creates a plain object from a FileExtensionInfo message. Also converts values to other types if specified.
|
|
88186
|
+
* @function toObject
|
|
88187
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88188
|
+
* @static
|
|
88189
|
+
* @param {google.privacy.dlp.v2.FileExtensionInfo} message FileExtensionInfo
|
|
88190
|
+
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
88191
|
+
* @returns {Object.<string,*>} Plain object
|
|
88192
|
+
*/
|
|
88193
|
+
FileExtensionInfo.toObject = function toObject(message, options) {
|
|
88194
|
+
if (!options)
|
|
88195
|
+
options = {};
|
|
88196
|
+
var object = {};
|
|
88197
|
+
if (options.defaults)
|
|
88198
|
+
object.fileExtension = "";
|
|
88199
|
+
if (message.fileExtension != null && message.hasOwnProperty("fileExtension"))
|
|
88200
|
+
object.fileExtension = message.fileExtension;
|
|
88201
|
+
return object;
|
|
88202
|
+
};
|
|
88203
|
+
|
|
88204
|
+
/**
|
|
88205
|
+
* Converts this FileExtensionInfo to JSON.
|
|
88206
|
+
* @function toJSON
|
|
88207
|
+
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
88208
|
+
* @instance
|
|
88209
|
+
* @returns {Object.<string,*>} JSON object
|
|
88210
|
+
*/
|
|
88211
|
+
FileExtensionInfo.prototype.toJSON = function toJSON() {
|
|
88212
|
+
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
88213
|
+
};
|
|
88214
|
+
|
|
88215
|
+
/**
|
|
88216
|
+
* Gets the default type url for FileExtensionInfo
|
|
87417
88217
|
* @function getTypeUrl
|
|
87418
88218
|
* @memberof google.privacy.dlp.v2.FileExtensionInfo
|
|
87419
88219
|
* @static
|
|
@@ -106573,7 +107373,6 @@
|
|
|
106573
107373
|
* @interface ICommonLanguageSettings
|
|
106574
107374
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
|
106575
107375
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
|
106576
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
|
106577
107376
|
*/
|
|
106578
107377
|
|
|
106579
107378
|
/**
|
|
@@ -106608,14 +107407,6 @@
|
|
|
106608
107407
|
*/
|
|
106609
107408
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
|
106610
107409
|
|
|
106611
|
-
/**
|
|
106612
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
|
106613
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
|
106614
|
-
* @memberof google.api.CommonLanguageSettings
|
|
106615
|
-
* @instance
|
|
106616
|
-
*/
|
|
106617
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
|
106618
|
-
|
|
106619
107410
|
/**
|
|
106620
107411
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
106621
107412
|
* @function create
|
|
@@ -106648,8 +107439,6 @@
|
|
|
106648
107439
|
writer.int32(message.destinations[i]);
|
|
106649
107440
|
writer.ldelim();
|
|
106650
107441
|
}
|
|
106651
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
|
106652
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
106653
107442
|
return writer;
|
|
106654
107443
|
};
|
|
106655
107444
|
|
|
@@ -106701,10 +107490,6 @@
|
|
|
106701
107490
|
message.destinations.push(reader.int32());
|
|
106702
107491
|
break;
|
|
106703
107492
|
}
|
|
106704
|
-
case 3: {
|
|
106705
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
|
106706
|
-
break;
|
|
106707
|
-
}
|
|
106708
107493
|
default:
|
|
106709
107494
|
reader.skipType(tag & 7);
|
|
106710
107495
|
break;
|
|
@@ -106756,11 +107541,6 @@
|
|
|
106756
107541
|
break;
|
|
106757
107542
|
}
|
|
106758
107543
|
}
|
|
106759
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
|
106760
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
|
106761
|
-
if (error)
|
|
106762
|
-
return "selectiveGapicGeneration." + error;
|
|
106763
|
-
}
|
|
106764
107544
|
return null;
|
|
106765
107545
|
};
|
|
106766
107546
|
|
|
@@ -106803,11 +107583,6 @@
|
|
|
106803
107583
|
break;
|
|
106804
107584
|
}
|
|
106805
107585
|
}
|
|
106806
|
-
if (object.selectiveGapicGeneration != null) {
|
|
106807
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
|
106808
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
|
106809
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
|
106810
|
-
}
|
|
106811
107586
|
return message;
|
|
106812
107587
|
};
|
|
106813
107588
|
|
|
@@ -106826,10 +107601,8 @@
|
|
|
106826
107601
|
var object = {};
|
|
106827
107602
|
if (options.arrays || options.defaults)
|
|
106828
107603
|
object.destinations = [];
|
|
106829
|
-
if (options.defaults)
|
|
107604
|
+
if (options.defaults)
|
|
106830
107605
|
object.referenceDocsUri = "";
|
|
106831
|
-
object.selectiveGapicGeneration = null;
|
|
106832
|
-
}
|
|
106833
107606
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
|
106834
107607
|
object.referenceDocsUri = message.referenceDocsUri;
|
|
106835
107608
|
if (message.destinations && message.destinations.length) {
|
|
@@ -106837,8 +107610,6 @@
|
|
|
106837
107610
|
for (var j = 0; j < message.destinations.length; ++j)
|
|
106838
107611
|
object.destinations[j] = options.enums === String ? $root.google.api.ClientLibraryDestination[message.destinations[j]] === undefined ? message.destinations[j] : $root.google.api.ClientLibraryDestination[message.destinations[j]] : message.destinations[j];
|
|
106839
107612
|
}
|
|
106840
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
|
106841
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
|
106842
107613
|
return object;
|
|
106843
107614
|
};
|
|
106844
107615
|
|
|
@@ -108661,7 +109432,6 @@
|
|
|
108661
109432
|
* @memberof google.api
|
|
108662
109433
|
* @interface IPythonSettings
|
|
108663
109434
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
|
108664
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
|
108665
109435
|
*/
|
|
108666
109436
|
|
|
108667
109437
|
/**
|
|
@@ -108687,14 +109457,6 @@
|
|
|
108687
109457
|
*/
|
|
108688
109458
|
PythonSettings.prototype.common = null;
|
|
108689
109459
|
|
|
108690
|
-
/**
|
|
108691
|
-
* PythonSettings experimentalFeatures.
|
|
108692
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
|
108693
|
-
* @memberof google.api.PythonSettings
|
|
108694
|
-
* @instance
|
|
108695
|
-
*/
|
|
108696
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
|
108697
|
-
|
|
108698
109460
|
/**
|
|
108699
109461
|
* Creates a new PythonSettings instance using the specified properties.
|
|
108700
109462
|
* @function create
|
|
@@ -108721,8 +109483,6 @@
|
|
|
108721
109483
|
writer = $Writer.create();
|
|
108722
109484
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
108723
109485
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
108724
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
|
108725
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
108726
109486
|
return writer;
|
|
108727
109487
|
};
|
|
108728
109488
|
|
|
@@ -108763,10 +109523,6 @@
|
|
|
108763
109523
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
108764
109524
|
break;
|
|
108765
109525
|
}
|
|
108766
|
-
case 2: {
|
|
108767
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
|
108768
|
-
break;
|
|
108769
|
-
}
|
|
108770
109526
|
default:
|
|
108771
109527
|
reader.skipType(tag & 7);
|
|
108772
109528
|
break;
|
|
@@ -108807,11 +109563,6 @@
|
|
|
108807
109563
|
if (error)
|
|
108808
109564
|
return "common." + error;
|
|
108809
109565
|
}
|
|
108810
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
|
108811
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
|
108812
|
-
if (error)
|
|
108813
|
-
return "experimentalFeatures." + error;
|
|
108814
|
-
}
|
|
108815
109566
|
return null;
|
|
108816
109567
|
};
|
|
108817
109568
|
|
|
@@ -108832,11 +109583,6 @@
|
|
|
108832
109583
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
|
108833
109584
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
108834
109585
|
}
|
|
108835
|
-
if (object.experimentalFeatures != null) {
|
|
108836
|
-
if (typeof object.experimentalFeatures !== "object")
|
|
108837
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
|
108838
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
|
108839
|
-
}
|
|
108840
109586
|
return message;
|
|
108841
109587
|
};
|
|
108842
109588
|
|
|
@@ -108853,14 +109599,10 @@
|
|
|
108853
109599
|
if (!options)
|
|
108854
109600
|
options = {};
|
|
108855
109601
|
var object = {};
|
|
108856
|
-
if (options.defaults)
|
|
109602
|
+
if (options.defaults)
|
|
108857
109603
|
object.common = null;
|
|
108858
|
-
object.experimentalFeatures = null;
|
|
108859
|
-
}
|
|
108860
109604
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
108861
109605
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
108862
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
|
108863
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
|
108864
109606
|
return object;
|
|
108865
109607
|
};
|
|
108866
109608
|
|
|
@@ -108890,258 +109632,6 @@
|
|
|
108890
109632
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
|
108891
109633
|
};
|
|
108892
109634
|
|
|
108893
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
|
108894
|
-
|
|
108895
|
-
/**
|
|
108896
|
-
* Properties of an ExperimentalFeatures.
|
|
108897
|
-
* @memberof google.api.PythonSettings
|
|
108898
|
-
* @interface IExperimentalFeatures
|
|
108899
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
|
108900
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
|
108901
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
|
108902
|
-
*/
|
|
108903
|
-
|
|
108904
|
-
/**
|
|
108905
|
-
* Constructs a new ExperimentalFeatures.
|
|
108906
|
-
* @memberof google.api.PythonSettings
|
|
108907
|
-
* @classdesc Represents an ExperimentalFeatures.
|
|
108908
|
-
* @implements IExperimentalFeatures
|
|
108909
|
-
* @constructor
|
|
108910
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
108911
|
-
*/
|
|
108912
|
-
function ExperimentalFeatures(properties) {
|
|
108913
|
-
if (properties)
|
|
108914
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
108915
|
-
if (properties[keys[i]] != null)
|
|
108916
|
-
this[keys[i]] = properties[keys[i]];
|
|
108917
|
-
}
|
|
108918
|
-
|
|
108919
|
-
/**
|
|
108920
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
|
108921
|
-
* @member {boolean} restAsyncIoEnabled
|
|
108922
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108923
|
-
* @instance
|
|
108924
|
-
*/
|
|
108925
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
|
108926
|
-
|
|
108927
|
-
/**
|
|
108928
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
|
108929
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
|
108930
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108931
|
-
* @instance
|
|
108932
|
-
*/
|
|
108933
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
|
108934
|
-
|
|
108935
|
-
/**
|
|
108936
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
|
108937
|
-
* @member {boolean} unversionedPackageDisabled
|
|
108938
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108939
|
-
* @instance
|
|
108940
|
-
*/
|
|
108941
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
|
108942
|
-
|
|
108943
|
-
/**
|
|
108944
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
108945
|
-
* @function create
|
|
108946
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108947
|
-
* @static
|
|
108948
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
108949
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
|
108950
|
-
*/
|
|
108951
|
-
ExperimentalFeatures.create = function create(properties) {
|
|
108952
|
-
return new ExperimentalFeatures(properties);
|
|
108953
|
-
};
|
|
108954
|
-
|
|
108955
|
-
/**
|
|
108956
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
108957
|
-
* @function encode
|
|
108958
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108959
|
-
* @static
|
|
108960
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
108961
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
108962
|
-
* @returns {$protobuf.Writer} Writer
|
|
108963
|
-
*/
|
|
108964
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
|
108965
|
-
if (!writer)
|
|
108966
|
-
writer = $Writer.create();
|
|
108967
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
|
108968
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
|
108969
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
|
108970
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
|
108971
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
|
108972
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
|
108973
|
-
return writer;
|
|
108974
|
-
};
|
|
108975
|
-
|
|
108976
|
-
/**
|
|
108977
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
108978
|
-
* @function encodeDelimited
|
|
108979
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108980
|
-
* @static
|
|
108981
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
108982
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
108983
|
-
* @returns {$protobuf.Writer} Writer
|
|
108984
|
-
*/
|
|
108985
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
|
108986
|
-
return this.encode(message, writer).ldelim();
|
|
108987
|
-
};
|
|
108988
|
-
|
|
108989
|
-
/**
|
|
108990
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
108991
|
-
* @function decode
|
|
108992
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
108993
|
-
* @static
|
|
108994
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
108995
|
-
* @param {number} [length] Message length if known beforehand
|
|
108996
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
108997
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
108998
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
108999
|
-
*/
|
|
109000
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
|
109001
|
-
if (!(reader instanceof $Reader))
|
|
109002
|
-
reader = $Reader.create(reader);
|
|
109003
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
109004
|
-
while (reader.pos < end) {
|
|
109005
|
-
var tag = reader.uint32();
|
|
109006
|
-
if (tag === error)
|
|
109007
|
-
break;
|
|
109008
|
-
switch (tag >>> 3) {
|
|
109009
|
-
case 1: {
|
|
109010
|
-
message.restAsyncIoEnabled = reader.bool();
|
|
109011
|
-
break;
|
|
109012
|
-
}
|
|
109013
|
-
case 2: {
|
|
109014
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
|
109015
|
-
break;
|
|
109016
|
-
}
|
|
109017
|
-
case 3: {
|
|
109018
|
-
message.unversionedPackageDisabled = reader.bool();
|
|
109019
|
-
break;
|
|
109020
|
-
}
|
|
109021
|
-
default:
|
|
109022
|
-
reader.skipType(tag & 7);
|
|
109023
|
-
break;
|
|
109024
|
-
}
|
|
109025
|
-
}
|
|
109026
|
-
return message;
|
|
109027
|
-
};
|
|
109028
|
-
|
|
109029
|
-
/**
|
|
109030
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
109031
|
-
* @function decodeDelimited
|
|
109032
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109033
|
-
* @static
|
|
109034
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
109035
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
109036
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
109037
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
109038
|
-
*/
|
|
109039
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
|
109040
|
-
if (!(reader instanceof $Reader))
|
|
109041
|
-
reader = new $Reader(reader);
|
|
109042
|
-
return this.decode(reader, reader.uint32());
|
|
109043
|
-
};
|
|
109044
|
-
|
|
109045
|
-
/**
|
|
109046
|
-
* Verifies an ExperimentalFeatures message.
|
|
109047
|
-
* @function verify
|
|
109048
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109049
|
-
* @static
|
|
109050
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
109051
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
109052
|
-
*/
|
|
109053
|
-
ExperimentalFeatures.verify = function verify(message) {
|
|
109054
|
-
if (typeof message !== "object" || message === null)
|
|
109055
|
-
return "object expected";
|
|
109056
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
109057
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
|
109058
|
-
return "restAsyncIoEnabled: boolean expected";
|
|
109059
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
109060
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
|
109061
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
|
109062
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
109063
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
|
109064
|
-
return "unversionedPackageDisabled: boolean expected";
|
|
109065
|
-
return null;
|
|
109066
|
-
};
|
|
109067
|
-
|
|
109068
|
-
/**
|
|
109069
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
109070
|
-
* @function fromObject
|
|
109071
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109072
|
-
* @static
|
|
109073
|
-
* @param {Object.<string,*>} object Plain object
|
|
109074
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
109075
|
-
*/
|
|
109076
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
|
109077
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
|
109078
|
-
return object;
|
|
109079
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
109080
|
-
if (object.restAsyncIoEnabled != null)
|
|
109081
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
|
109082
|
-
if (object.protobufPythonicTypesEnabled != null)
|
|
109083
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
|
109084
|
-
if (object.unversionedPackageDisabled != null)
|
|
109085
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
|
109086
|
-
return message;
|
|
109087
|
-
};
|
|
109088
|
-
|
|
109089
|
-
/**
|
|
109090
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
109091
|
-
* @function toObject
|
|
109092
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109093
|
-
* @static
|
|
109094
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
|
109095
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
109096
|
-
* @returns {Object.<string,*>} Plain object
|
|
109097
|
-
*/
|
|
109098
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
|
109099
|
-
if (!options)
|
|
109100
|
-
options = {};
|
|
109101
|
-
var object = {};
|
|
109102
|
-
if (options.defaults) {
|
|
109103
|
-
object.restAsyncIoEnabled = false;
|
|
109104
|
-
object.protobufPythonicTypesEnabled = false;
|
|
109105
|
-
object.unversionedPackageDisabled = false;
|
|
109106
|
-
}
|
|
109107
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
109108
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
|
109109
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
109110
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
|
109111
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
109112
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
|
109113
|
-
return object;
|
|
109114
|
-
};
|
|
109115
|
-
|
|
109116
|
-
/**
|
|
109117
|
-
* Converts this ExperimentalFeatures to JSON.
|
|
109118
|
-
* @function toJSON
|
|
109119
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109120
|
-
* @instance
|
|
109121
|
-
* @returns {Object.<string,*>} JSON object
|
|
109122
|
-
*/
|
|
109123
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
|
109124
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
109125
|
-
};
|
|
109126
|
-
|
|
109127
|
-
/**
|
|
109128
|
-
* Gets the default type url for ExperimentalFeatures
|
|
109129
|
-
* @function getTypeUrl
|
|
109130
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
109131
|
-
* @static
|
|
109132
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
109133
|
-
* @returns {string} The default type url
|
|
109134
|
-
*/
|
|
109135
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
109136
|
-
if (typeUrlPrefix === undefined) {
|
|
109137
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
109138
|
-
}
|
|
109139
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
|
109140
|
-
};
|
|
109141
|
-
|
|
109142
|
-
return ExperimentalFeatures;
|
|
109143
|
-
})();
|
|
109144
|
-
|
|
109145
109635
|
return PythonSettings;
|
|
109146
109636
|
})();
|
|
109147
109637
|
|
|
@@ -110018,7 +110508,6 @@
|
|
|
110018
110508
|
* @memberof google.api
|
|
110019
110509
|
* @interface IGoSettings
|
|
110020
110510
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
|
110021
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
|
110022
110511
|
*/
|
|
110023
110512
|
|
|
110024
110513
|
/**
|
|
@@ -110030,7 +110519,6 @@
|
|
|
110030
110519
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
|
110031
110520
|
*/
|
|
110032
110521
|
function GoSettings(properties) {
|
|
110033
|
-
this.renamedServices = {};
|
|
110034
110522
|
if (properties)
|
|
110035
110523
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
110036
110524
|
if (properties[keys[i]] != null)
|
|
@@ -110045,14 +110533,6 @@
|
|
|
110045
110533
|
*/
|
|
110046
110534
|
GoSettings.prototype.common = null;
|
|
110047
110535
|
|
|
110048
|
-
/**
|
|
110049
|
-
* GoSettings renamedServices.
|
|
110050
|
-
* @member {Object.<string,string>} renamedServices
|
|
110051
|
-
* @memberof google.api.GoSettings
|
|
110052
|
-
* @instance
|
|
110053
|
-
*/
|
|
110054
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
|
110055
|
-
|
|
110056
110536
|
/**
|
|
110057
110537
|
* Creates a new GoSettings instance using the specified properties.
|
|
110058
110538
|
* @function create
|
|
@@ -110079,9 +110559,6 @@
|
|
|
110079
110559
|
writer = $Writer.create();
|
|
110080
110560
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
110081
110561
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
110082
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
110083
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
110084
|
-
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();
|
|
110085
110562
|
return writer;
|
|
110086
110563
|
};
|
|
110087
110564
|
|
|
@@ -110112,7 +110589,7 @@
|
|
|
110112
110589
|
GoSettings.decode = function decode(reader, length, error) {
|
|
110113
110590
|
if (!(reader instanceof $Reader))
|
|
110114
110591
|
reader = $Reader.create(reader);
|
|
110115
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
|
110592
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
|
110116
110593
|
while (reader.pos < end) {
|
|
110117
110594
|
var tag = reader.uint32();
|
|
110118
110595
|
if (tag === error)
|
|
@@ -110122,29 +110599,6 @@
|
|
|
110122
110599
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
110123
110600
|
break;
|
|
110124
110601
|
}
|
|
110125
|
-
case 2: {
|
|
110126
|
-
if (message.renamedServices === $util.emptyObject)
|
|
110127
|
-
message.renamedServices = {};
|
|
110128
|
-
var end2 = reader.uint32() + reader.pos;
|
|
110129
|
-
key = "";
|
|
110130
|
-
value = "";
|
|
110131
|
-
while (reader.pos < end2) {
|
|
110132
|
-
var tag2 = reader.uint32();
|
|
110133
|
-
switch (tag2 >>> 3) {
|
|
110134
|
-
case 1:
|
|
110135
|
-
key = reader.string();
|
|
110136
|
-
break;
|
|
110137
|
-
case 2:
|
|
110138
|
-
value = reader.string();
|
|
110139
|
-
break;
|
|
110140
|
-
default:
|
|
110141
|
-
reader.skipType(tag2 & 7);
|
|
110142
|
-
break;
|
|
110143
|
-
}
|
|
110144
|
-
}
|
|
110145
|
-
message.renamedServices[key] = value;
|
|
110146
|
-
break;
|
|
110147
|
-
}
|
|
110148
110602
|
default:
|
|
110149
110603
|
reader.skipType(tag & 7);
|
|
110150
110604
|
break;
|
|
@@ -110185,14 +110639,6 @@
|
|
|
110185
110639
|
if (error)
|
|
110186
110640
|
return "common." + error;
|
|
110187
110641
|
}
|
|
110188
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
110189
|
-
if (!$util.isObject(message.renamedServices))
|
|
110190
|
-
return "renamedServices: object expected";
|
|
110191
|
-
var key = Object.keys(message.renamedServices);
|
|
110192
|
-
for (var i = 0; i < key.length; ++i)
|
|
110193
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
110194
|
-
return "renamedServices: string{k:string} expected";
|
|
110195
|
-
}
|
|
110196
110642
|
return null;
|
|
110197
110643
|
};
|
|
110198
110644
|
|
|
@@ -110213,13 +110659,6 @@
|
|
|
110213
110659
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
|
110214
110660
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
110215
110661
|
}
|
|
110216
|
-
if (object.renamedServices) {
|
|
110217
|
-
if (typeof object.renamedServices !== "object")
|
|
110218
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
|
110219
|
-
message.renamedServices = {};
|
|
110220
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
110221
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
110222
|
-
}
|
|
110223
110662
|
return message;
|
|
110224
110663
|
};
|
|
110225
110664
|
|
|
@@ -110236,18 +110675,10 @@
|
|
|
110236
110675
|
if (!options)
|
|
110237
110676
|
options = {};
|
|
110238
110677
|
var object = {};
|
|
110239
|
-
if (options.objects || options.defaults)
|
|
110240
|
-
object.renamedServices = {};
|
|
110241
110678
|
if (options.defaults)
|
|
110242
110679
|
object.common = null;
|
|
110243
110680
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
110244
110681
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
110245
|
-
var keys2;
|
|
110246
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
110247
|
-
object.renamedServices = {};
|
|
110248
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
110249
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
110250
|
-
}
|
|
110251
110682
|
return object;
|
|
110252
110683
|
};
|
|
110253
110684
|
|
|
@@ -110886,251 +111317,6 @@
|
|
|
110886
111317
|
return values;
|
|
110887
111318
|
})();
|
|
110888
111319
|
|
|
110889
|
-
api.SelectiveGapicGeneration = (function() {
|
|
110890
|
-
|
|
110891
|
-
/**
|
|
110892
|
-
* Properties of a SelectiveGapicGeneration.
|
|
110893
|
-
* @memberof google.api
|
|
110894
|
-
* @interface ISelectiveGapicGeneration
|
|
110895
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
|
110896
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
|
110897
|
-
*/
|
|
110898
|
-
|
|
110899
|
-
/**
|
|
110900
|
-
* Constructs a new SelectiveGapicGeneration.
|
|
110901
|
-
* @memberof google.api
|
|
110902
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
|
110903
|
-
* @implements ISelectiveGapicGeneration
|
|
110904
|
-
* @constructor
|
|
110905
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
110906
|
-
*/
|
|
110907
|
-
function SelectiveGapicGeneration(properties) {
|
|
110908
|
-
this.methods = [];
|
|
110909
|
-
if (properties)
|
|
110910
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
110911
|
-
if (properties[keys[i]] != null)
|
|
110912
|
-
this[keys[i]] = properties[keys[i]];
|
|
110913
|
-
}
|
|
110914
|
-
|
|
110915
|
-
/**
|
|
110916
|
-
* SelectiveGapicGeneration methods.
|
|
110917
|
-
* @member {Array.<string>} methods
|
|
110918
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110919
|
-
* @instance
|
|
110920
|
-
*/
|
|
110921
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
|
110922
|
-
|
|
110923
|
-
/**
|
|
110924
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
|
110925
|
-
* @member {boolean} generateOmittedAsInternal
|
|
110926
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110927
|
-
* @instance
|
|
110928
|
-
*/
|
|
110929
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
|
110930
|
-
|
|
110931
|
-
/**
|
|
110932
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
110933
|
-
* @function create
|
|
110934
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110935
|
-
* @static
|
|
110936
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
110937
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
|
110938
|
-
*/
|
|
110939
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
|
110940
|
-
return new SelectiveGapicGeneration(properties);
|
|
110941
|
-
};
|
|
110942
|
-
|
|
110943
|
-
/**
|
|
110944
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
110945
|
-
* @function encode
|
|
110946
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110947
|
-
* @static
|
|
110948
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
110949
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
110950
|
-
* @returns {$protobuf.Writer} Writer
|
|
110951
|
-
*/
|
|
110952
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
|
110953
|
-
if (!writer)
|
|
110954
|
-
writer = $Writer.create();
|
|
110955
|
-
if (message.methods != null && message.methods.length)
|
|
110956
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
110957
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
|
110958
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
|
110959
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
|
110960
|
-
return writer;
|
|
110961
|
-
};
|
|
110962
|
-
|
|
110963
|
-
/**
|
|
110964
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
110965
|
-
* @function encodeDelimited
|
|
110966
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110967
|
-
* @static
|
|
110968
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
110969
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
110970
|
-
* @returns {$protobuf.Writer} Writer
|
|
110971
|
-
*/
|
|
110972
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
110973
|
-
return this.encode(message, writer).ldelim();
|
|
110974
|
-
};
|
|
110975
|
-
|
|
110976
|
-
/**
|
|
110977
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
110978
|
-
* @function decode
|
|
110979
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
110980
|
-
* @static
|
|
110981
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
110982
|
-
* @param {number} [length] Message length if known beforehand
|
|
110983
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
110984
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
110985
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
110986
|
-
*/
|
|
110987
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
|
110988
|
-
if (!(reader instanceof $Reader))
|
|
110989
|
-
reader = $Reader.create(reader);
|
|
110990
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
|
110991
|
-
while (reader.pos < end) {
|
|
110992
|
-
var tag = reader.uint32();
|
|
110993
|
-
if (tag === error)
|
|
110994
|
-
break;
|
|
110995
|
-
switch (tag >>> 3) {
|
|
110996
|
-
case 1: {
|
|
110997
|
-
if (!(message.methods && message.methods.length))
|
|
110998
|
-
message.methods = [];
|
|
110999
|
-
message.methods.push(reader.string());
|
|
111000
|
-
break;
|
|
111001
|
-
}
|
|
111002
|
-
case 2: {
|
|
111003
|
-
message.generateOmittedAsInternal = reader.bool();
|
|
111004
|
-
break;
|
|
111005
|
-
}
|
|
111006
|
-
default:
|
|
111007
|
-
reader.skipType(tag & 7);
|
|
111008
|
-
break;
|
|
111009
|
-
}
|
|
111010
|
-
}
|
|
111011
|
-
return message;
|
|
111012
|
-
};
|
|
111013
|
-
|
|
111014
|
-
/**
|
|
111015
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
111016
|
-
* @function decodeDelimited
|
|
111017
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111018
|
-
* @static
|
|
111019
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
111020
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
111021
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
111022
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
111023
|
-
*/
|
|
111024
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
|
111025
|
-
if (!(reader instanceof $Reader))
|
|
111026
|
-
reader = new $Reader(reader);
|
|
111027
|
-
return this.decode(reader, reader.uint32());
|
|
111028
|
-
};
|
|
111029
|
-
|
|
111030
|
-
/**
|
|
111031
|
-
* Verifies a SelectiveGapicGeneration message.
|
|
111032
|
-
* @function verify
|
|
111033
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111034
|
-
* @static
|
|
111035
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
111036
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
111037
|
-
*/
|
|
111038
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
|
111039
|
-
if (typeof message !== "object" || message === null)
|
|
111040
|
-
return "object expected";
|
|
111041
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
|
111042
|
-
if (!Array.isArray(message.methods))
|
|
111043
|
-
return "methods: array expected";
|
|
111044
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
111045
|
-
if (!$util.isString(message.methods[i]))
|
|
111046
|
-
return "methods: string[] expected";
|
|
111047
|
-
}
|
|
111048
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
111049
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
|
111050
|
-
return "generateOmittedAsInternal: boolean expected";
|
|
111051
|
-
return null;
|
|
111052
|
-
};
|
|
111053
|
-
|
|
111054
|
-
/**
|
|
111055
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
111056
|
-
* @function fromObject
|
|
111057
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111058
|
-
* @static
|
|
111059
|
-
* @param {Object.<string,*>} object Plain object
|
|
111060
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
111061
|
-
*/
|
|
111062
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
|
111063
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
|
111064
|
-
return object;
|
|
111065
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
|
111066
|
-
if (object.methods) {
|
|
111067
|
-
if (!Array.isArray(object.methods))
|
|
111068
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
|
111069
|
-
message.methods = [];
|
|
111070
|
-
for (var i = 0; i < object.methods.length; ++i)
|
|
111071
|
-
message.methods[i] = String(object.methods[i]);
|
|
111072
|
-
}
|
|
111073
|
-
if (object.generateOmittedAsInternal != null)
|
|
111074
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
|
111075
|
-
return message;
|
|
111076
|
-
};
|
|
111077
|
-
|
|
111078
|
-
/**
|
|
111079
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
111080
|
-
* @function toObject
|
|
111081
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111082
|
-
* @static
|
|
111083
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
|
111084
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
111085
|
-
* @returns {Object.<string,*>} Plain object
|
|
111086
|
-
*/
|
|
111087
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
|
111088
|
-
if (!options)
|
|
111089
|
-
options = {};
|
|
111090
|
-
var object = {};
|
|
111091
|
-
if (options.arrays || options.defaults)
|
|
111092
|
-
object.methods = [];
|
|
111093
|
-
if (options.defaults)
|
|
111094
|
-
object.generateOmittedAsInternal = false;
|
|
111095
|
-
if (message.methods && message.methods.length) {
|
|
111096
|
-
object.methods = [];
|
|
111097
|
-
for (var j = 0; j < message.methods.length; ++j)
|
|
111098
|
-
object.methods[j] = message.methods[j];
|
|
111099
|
-
}
|
|
111100
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
111101
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
|
111102
|
-
return object;
|
|
111103
|
-
};
|
|
111104
|
-
|
|
111105
|
-
/**
|
|
111106
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
|
111107
|
-
* @function toJSON
|
|
111108
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111109
|
-
* @instance
|
|
111110
|
-
* @returns {Object.<string,*>} JSON object
|
|
111111
|
-
*/
|
|
111112
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
|
111113
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
111114
|
-
};
|
|
111115
|
-
|
|
111116
|
-
/**
|
|
111117
|
-
* Gets the default type url for SelectiveGapicGeneration
|
|
111118
|
-
* @function getTypeUrl
|
|
111119
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
111120
|
-
* @static
|
|
111121
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
111122
|
-
* @returns {string} The default type url
|
|
111123
|
-
*/
|
|
111124
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
111125
|
-
if (typeUrlPrefix === undefined) {
|
|
111126
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
111127
|
-
}
|
|
111128
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
|
111129
|
-
};
|
|
111130
|
-
|
|
111131
|
-
return SelectiveGapicGeneration;
|
|
111132
|
-
})();
|
|
111133
|
-
|
|
111134
111320
|
/**
|
|
111135
111321
|
* LaunchStage enum.
|
|
111136
111322
|
* @name google.api.LaunchStage
|
|
@@ -112116,7 +112302,6 @@
|
|
|
112116
112302
|
* @name google.protobuf.Edition
|
|
112117
112303
|
* @enum {number}
|
|
112118
112304
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
|
112119
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
|
112120
112305
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
|
112121
112306
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
|
112122
112307
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
|
@@ -112131,7 +112316,6 @@
|
|
|
112131
112316
|
protobuf.Edition = (function() {
|
|
112132
112317
|
var valuesById = {}, values = Object.create(valuesById);
|
|
112133
112318
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
|
112134
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
|
112135
112319
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
|
112136
112320
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
|
112137
112321
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
|
@@ -112156,7 +112340,6 @@
|
|
|
112156
112340
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
|
112157
112341
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
|
112158
112342
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
|
112159
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
|
112160
112343
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
|
112161
112344
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
|
112162
112345
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
|
@@ -112179,7 +112362,6 @@
|
|
|
112179
112362
|
this.dependency = [];
|
|
112180
112363
|
this.publicDependency = [];
|
|
112181
112364
|
this.weakDependency = [];
|
|
112182
|
-
this.optionDependency = [];
|
|
112183
112365
|
this.messageType = [];
|
|
112184
112366
|
this.enumType = [];
|
|
112185
112367
|
this.service = [];
|
|
@@ -112230,14 +112412,6 @@
|
|
|
112230
112412
|
*/
|
|
112231
112413
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
|
112232
112414
|
|
|
112233
|
-
/**
|
|
112234
|
-
* FileDescriptorProto optionDependency.
|
|
112235
|
-
* @member {Array.<string>} optionDependency
|
|
112236
|
-
* @memberof google.protobuf.FileDescriptorProto
|
|
112237
|
-
* @instance
|
|
112238
|
-
*/
|
|
112239
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
|
112240
|
-
|
|
112241
112415
|
/**
|
|
112242
112416
|
* FileDescriptorProto messageType.
|
|
112243
112417
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
|
@@ -112359,9 +112533,6 @@
|
|
|
112359
112533
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
|
112360
112534
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
112361
112535
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
|
112362
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
|
112363
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
112364
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
|
112365
112536
|
return writer;
|
|
112366
112537
|
};
|
|
112367
112538
|
|
|
@@ -112434,12 +112605,6 @@
|
|
|
112434
112605
|
message.weakDependency.push(reader.int32());
|
|
112435
112606
|
break;
|
|
112436
112607
|
}
|
|
112437
|
-
case 15: {
|
|
112438
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
|
112439
|
-
message.optionDependency = [];
|
|
112440
|
-
message.optionDependency.push(reader.string());
|
|
112441
|
-
break;
|
|
112442
|
-
}
|
|
112443
112608
|
case 4: {
|
|
112444
112609
|
if (!(message.messageType && message.messageType.length))
|
|
112445
112610
|
message.messageType = [];
|
|
@@ -112542,13 +112707,6 @@
|
|
|
112542
112707
|
if (!$util.isInteger(message.weakDependency[i]))
|
|
112543
112708
|
return "weakDependency: integer[] expected";
|
|
112544
112709
|
}
|
|
112545
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
|
112546
|
-
if (!Array.isArray(message.optionDependency))
|
|
112547
|
-
return "optionDependency: array expected";
|
|
112548
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
112549
|
-
if (!$util.isString(message.optionDependency[i]))
|
|
112550
|
-
return "optionDependency: string[] expected";
|
|
112551
|
-
}
|
|
112552
112710
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
|
112553
112711
|
if (!Array.isArray(message.messageType))
|
|
112554
112712
|
return "messageType: array expected";
|
|
@@ -112603,7 +112761,6 @@
|
|
|
112603
112761
|
default:
|
|
112604
112762
|
return "edition: enum value expected";
|
|
112605
112763
|
case 0:
|
|
112606
|
-
case 900:
|
|
112607
112764
|
case 998:
|
|
112608
112765
|
case 999:
|
|
112609
112766
|
case 1000:
|
|
@@ -112656,13 +112813,6 @@
|
|
|
112656
112813
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
|
112657
112814
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
|
112658
112815
|
}
|
|
112659
|
-
if (object.optionDependency) {
|
|
112660
|
-
if (!Array.isArray(object.optionDependency))
|
|
112661
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
|
112662
|
-
message.optionDependency = [];
|
|
112663
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
|
112664
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
|
112665
|
-
}
|
|
112666
112816
|
if (object.messageType) {
|
|
112667
112817
|
if (!Array.isArray(object.messageType))
|
|
112668
112818
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
|
@@ -112726,10 +112876,6 @@
|
|
|
112726
112876
|
case 0:
|
|
112727
112877
|
message.edition = 0;
|
|
112728
112878
|
break;
|
|
112729
|
-
case "EDITION_LEGACY":
|
|
112730
|
-
case 900:
|
|
112731
|
-
message.edition = 900;
|
|
112732
|
-
break;
|
|
112733
112879
|
case "EDITION_PROTO2":
|
|
112734
112880
|
case 998:
|
|
112735
112881
|
message.edition = 998;
|
|
@@ -112795,7 +112941,6 @@
|
|
|
112795
112941
|
object.extension = [];
|
|
112796
112942
|
object.publicDependency = [];
|
|
112797
112943
|
object.weakDependency = [];
|
|
112798
|
-
object.optionDependency = [];
|
|
112799
112944
|
}
|
|
112800
112945
|
if (options.defaults) {
|
|
112801
112946
|
object.name = "";
|
|
@@ -112852,11 +112997,6 @@
|
|
|
112852
112997
|
object.syntax = message.syntax;
|
|
112853
112998
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
112854
112999
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
112855
|
-
if (message.optionDependency && message.optionDependency.length) {
|
|
112856
|
-
object.optionDependency = [];
|
|
112857
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
|
112858
|
-
object.optionDependency[j] = message.optionDependency[j];
|
|
112859
|
-
}
|
|
112860
113000
|
return object;
|
|
112861
113001
|
};
|
|
112862
113002
|
|
|
@@ -112905,7 +113045,6 @@
|
|
|
112905
113045
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
|
112906
113046
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
|
112907
113047
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
|
112908
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
|
112909
113048
|
*/
|
|
112910
113049
|
|
|
112911
113050
|
/**
|
|
@@ -113011,14 +113150,6 @@
|
|
|
113011
113150
|
*/
|
|
113012
113151
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
113013
113152
|
|
|
113014
|
-
/**
|
|
113015
|
-
* DescriptorProto visibility.
|
|
113016
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
113017
|
-
* @memberof google.protobuf.DescriptorProto
|
|
113018
|
-
* @instance
|
|
113019
|
-
*/
|
|
113020
|
-
DescriptorProto.prototype.visibility = 0;
|
|
113021
|
-
|
|
113022
113153
|
/**
|
|
113023
113154
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
113024
113155
|
* @function create
|
|
@@ -113071,8 +113202,6 @@
|
|
|
113071
113202
|
if (message.reservedName != null && message.reservedName.length)
|
|
113072
113203
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
113073
113204
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
|
113074
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
113075
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
|
113076
113205
|
return writer;
|
|
113077
113206
|
};
|
|
113078
113207
|
|
|
@@ -113165,10 +113294,6 @@
|
|
|
113165
113294
|
message.reservedName.push(reader.string());
|
|
113166
113295
|
break;
|
|
113167
113296
|
}
|
|
113168
|
-
case 11: {
|
|
113169
|
-
message.visibility = reader.int32();
|
|
113170
|
-
break;
|
|
113171
|
-
}
|
|
113172
113297
|
default:
|
|
113173
113298
|
reader.skipType(tag & 7);
|
|
113174
113299
|
break;
|
|
@@ -113282,15 +113407,6 @@
|
|
|
113282
113407
|
if (!$util.isString(message.reservedName[i]))
|
|
113283
113408
|
return "reservedName: string[] expected";
|
|
113284
113409
|
}
|
|
113285
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
113286
|
-
switch (message.visibility) {
|
|
113287
|
-
default:
|
|
113288
|
-
return "visibility: enum value expected";
|
|
113289
|
-
case 0:
|
|
113290
|
-
case 1:
|
|
113291
|
-
case 2:
|
|
113292
|
-
break;
|
|
113293
|
-
}
|
|
113294
113410
|
return null;
|
|
113295
113411
|
};
|
|
113296
113412
|
|
|
@@ -113390,26 +113506,6 @@
|
|
|
113390
113506
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
113391
113507
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
113392
113508
|
}
|
|
113393
|
-
switch (object.visibility) {
|
|
113394
|
-
default:
|
|
113395
|
-
if (typeof object.visibility === "number") {
|
|
113396
|
-
message.visibility = object.visibility;
|
|
113397
|
-
break;
|
|
113398
|
-
}
|
|
113399
|
-
break;
|
|
113400
|
-
case "VISIBILITY_UNSET":
|
|
113401
|
-
case 0:
|
|
113402
|
-
message.visibility = 0;
|
|
113403
|
-
break;
|
|
113404
|
-
case "VISIBILITY_LOCAL":
|
|
113405
|
-
case 1:
|
|
113406
|
-
message.visibility = 1;
|
|
113407
|
-
break;
|
|
113408
|
-
case "VISIBILITY_EXPORT":
|
|
113409
|
-
case 2:
|
|
113410
|
-
message.visibility = 2;
|
|
113411
|
-
break;
|
|
113412
|
-
}
|
|
113413
113509
|
return message;
|
|
113414
113510
|
};
|
|
113415
113511
|
|
|
@@ -113439,7 +113535,6 @@
|
|
|
113439
113535
|
if (options.defaults) {
|
|
113440
113536
|
object.name = "";
|
|
113441
113537
|
object.options = null;
|
|
113442
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
113443
113538
|
}
|
|
113444
113539
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
113445
113540
|
object.name = message.name;
|
|
@@ -113485,8 +113580,6 @@
|
|
|
113485
113580
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
113486
113581
|
object.reservedName[j] = message.reservedName[j];
|
|
113487
113582
|
}
|
|
113488
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
113489
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
113490
113583
|
return object;
|
|
113491
113584
|
};
|
|
113492
113585
|
|
|
@@ -115531,7 +115624,6 @@
|
|
|
115531
115624
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
|
115532
115625
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
|
115533
115626
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
|
115534
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
|
115535
115627
|
*/
|
|
115536
115628
|
|
|
115537
115629
|
/**
|
|
@@ -115592,14 +115684,6 @@
|
|
|
115592
115684
|
*/
|
|
115593
115685
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
115594
115686
|
|
|
115595
|
-
/**
|
|
115596
|
-
* EnumDescriptorProto visibility.
|
|
115597
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
115598
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
|
115599
|
-
* @instance
|
|
115600
|
-
*/
|
|
115601
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
|
115602
|
-
|
|
115603
115687
|
/**
|
|
115604
115688
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
115605
115689
|
* @function create
|
|
@@ -115637,8 +115721,6 @@
|
|
|
115637
115721
|
if (message.reservedName != null && message.reservedName.length)
|
|
115638
115722
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
115639
115723
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
|
115640
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
115641
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
|
115642
115724
|
return writer;
|
|
115643
115725
|
};
|
|
115644
115726
|
|
|
@@ -115701,10 +115783,6 @@
|
|
|
115701
115783
|
message.reservedName.push(reader.string());
|
|
115702
115784
|
break;
|
|
115703
115785
|
}
|
|
115704
|
-
case 6: {
|
|
115705
|
-
message.visibility = reader.int32();
|
|
115706
|
-
break;
|
|
115707
|
-
}
|
|
115708
115786
|
default:
|
|
115709
115787
|
reader.skipType(tag & 7);
|
|
115710
115788
|
break;
|
|
@@ -115773,15 +115851,6 @@
|
|
|
115773
115851
|
if (!$util.isString(message.reservedName[i]))
|
|
115774
115852
|
return "reservedName: string[] expected";
|
|
115775
115853
|
}
|
|
115776
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
115777
|
-
switch (message.visibility) {
|
|
115778
|
-
default:
|
|
115779
|
-
return "visibility: enum value expected";
|
|
115780
|
-
case 0:
|
|
115781
|
-
case 1:
|
|
115782
|
-
case 2:
|
|
115783
|
-
break;
|
|
115784
|
-
}
|
|
115785
115854
|
return null;
|
|
115786
115855
|
};
|
|
115787
115856
|
|
|
@@ -115831,26 +115900,6 @@
|
|
|
115831
115900
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
115832
115901
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
115833
115902
|
}
|
|
115834
|
-
switch (object.visibility) {
|
|
115835
|
-
default:
|
|
115836
|
-
if (typeof object.visibility === "number") {
|
|
115837
|
-
message.visibility = object.visibility;
|
|
115838
|
-
break;
|
|
115839
|
-
}
|
|
115840
|
-
break;
|
|
115841
|
-
case "VISIBILITY_UNSET":
|
|
115842
|
-
case 0:
|
|
115843
|
-
message.visibility = 0;
|
|
115844
|
-
break;
|
|
115845
|
-
case "VISIBILITY_LOCAL":
|
|
115846
|
-
case 1:
|
|
115847
|
-
message.visibility = 1;
|
|
115848
|
-
break;
|
|
115849
|
-
case "VISIBILITY_EXPORT":
|
|
115850
|
-
case 2:
|
|
115851
|
-
message.visibility = 2;
|
|
115852
|
-
break;
|
|
115853
|
-
}
|
|
115854
115903
|
return message;
|
|
115855
115904
|
};
|
|
115856
115905
|
|
|
@@ -115875,7 +115924,6 @@
|
|
|
115875
115924
|
if (options.defaults) {
|
|
115876
115925
|
object.name = "";
|
|
115877
115926
|
object.options = null;
|
|
115878
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
115879
115927
|
}
|
|
115880
115928
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
115881
115929
|
object.name = message.name;
|
|
@@ -115896,8 +115944,6 @@
|
|
|
115896
115944
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
115897
115945
|
object.reservedName[j] = message.reservedName[j];
|
|
115898
115946
|
}
|
|
115899
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
115900
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
115901
115947
|
return object;
|
|
115902
115948
|
};
|
|
115903
115949
|
|
|
@@ -118216,7 +118262,6 @@
|
|
|
118216
118262
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
|
118217
118263
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
118218
118264
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
118219
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
|
118220
118265
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
118221
118266
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
118222
118267
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -118337,14 +118382,6 @@
|
|
|
118337
118382
|
*/
|
|
118338
118383
|
FieldOptions.prototype.features = null;
|
|
118339
118384
|
|
|
118340
|
-
/**
|
|
118341
|
-
* FieldOptions featureSupport.
|
|
118342
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
118343
|
-
* @memberof google.protobuf.FieldOptions
|
|
118344
|
-
* @instance
|
|
118345
|
-
*/
|
|
118346
|
-
FieldOptions.prototype.featureSupport = null;
|
|
118347
|
-
|
|
118348
118385
|
/**
|
|
118349
118386
|
* FieldOptions uninterpretedOption.
|
|
118350
118387
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -118419,8 +118456,6 @@
|
|
|
118419
118456
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
118420
118457
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
118421
118458
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
118422
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
118423
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
118424
118459
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
118425
118460
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
118426
118461
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -118522,10 +118557,6 @@
|
|
|
118522
118557
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
118523
118558
|
break;
|
|
118524
118559
|
}
|
|
118525
|
-
case 22: {
|
|
118526
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
118527
|
-
break;
|
|
118528
|
-
}
|
|
118529
118560
|
case 999: {
|
|
118530
118561
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
118531
118562
|
message.uninterpretedOption = [];
|
|
@@ -118661,11 +118692,6 @@
|
|
|
118661
118692
|
if (error)
|
|
118662
118693
|
return "features." + error;
|
|
118663
118694
|
}
|
|
118664
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
118665
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
118666
|
-
if (error)
|
|
118667
|
-
return "featureSupport." + error;
|
|
118668
|
-
}
|
|
118669
118695
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
118670
118696
|
if (!Array.isArray(message.uninterpretedOption))
|
|
118671
118697
|
return "uninterpretedOption: array expected";
|
|
@@ -118854,11 +118880,6 @@
|
|
|
118854
118880
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
|
118855
118881
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
118856
118882
|
}
|
|
118857
|
-
if (object.featureSupport != null) {
|
|
118858
|
-
if (typeof object.featureSupport !== "object")
|
|
118859
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
|
118860
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
118861
|
-
}
|
|
118862
118883
|
if (object.uninterpretedOption) {
|
|
118863
118884
|
if (!Array.isArray(object.uninterpretedOption))
|
|
118864
118885
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
|
@@ -118956,7 +118977,6 @@
|
|
|
118956
118977
|
object.debugRedact = false;
|
|
118957
118978
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
118958
118979
|
object.features = null;
|
|
118959
|
-
object.featureSupport = null;
|
|
118960
118980
|
object[".google.api.resourceReference"] = null;
|
|
118961
118981
|
}
|
|
118962
118982
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -118989,8 +119009,6 @@
|
|
|
118989
119009
|
}
|
|
118990
119010
|
if (message.features != null && message.hasOwnProperty("features"))
|
|
118991
119011
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
118992
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
118993
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
118994
119012
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
118995
119013
|
object.uninterpretedOption = [];
|
|
118996
119014
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -119263,7 +119281,6 @@
|
|
|
119263
119281
|
default:
|
|
119264
119282
|
return "edition: enum value expected";
|
|
119265
119283
|
case 0:
|
|
119266
|
-
case 900:
|
|
119267
119284
|
case 998:
|
|
119268
119285
|
case 999:
|
|
119269
119286
|
case 1000:
|
|
@@ -119305,10 +119322,6 @@
|
|
|
119305
119322
|
case 0:
|
|
119306
119323
|
message.edition = 0;
|
|
119307
119324
|
break;
|
|
119308
|
-
case "EDITION_LEGACY":
|
|
119309
|
-
case 900:
|
|
119310
|
-
message.edition = 900;
|
|
119311
|
-
break;
|
|
119312
119325
|
case "EDITION_PROTO2":
|
|
119313
119326
|
case 998:
|
|
119314
119327
|
message.edition = 998;
|
|
@@ -119408,488 +119421,6 @@
|
|
|
119408
119421
|
return EditionDefault;
|
|
119409
119422
|
})();
|
|
119410
119423
|
|
|
119411
|
-
FieldOptions.FeatureSupport = (function() {
|
|
119412
|
-
|
|
119413
|
-
/**
|
|
119414
|
-
* Properties of a FeatureSupport.
|
|
119415
|
-
* @memberof google.protobuf.FieldOptions
|
|
119416
|
-
* @interface IFeatureSupport
|
|
119417
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
|
119418
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
|
119419
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
|
119420
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
|
119421
|
-
*/
|
|
119422
|
-
|
|
119423
|
-
/**
|
|
119424
|
-
* Constructs a new FeatureSupport.
|
|
119425
|
-
* @memberof google.protobuf.FieldOptions
|
|
119426
|
-
* @classdesc Represents a FeatureSupport.
|
|
119427
|
-
* @implements IFeatureSupport
|
|
119428
|
-
* @constructor
|
|
119429
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
119430
|
-
*/
|
|
119431
|
-
function FeatureSupport(properties) {
|
|
119432
|
-
if (properties)
|
|
119433
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
119434
|
-
if (properties[keys[i]] != null)
|
|
119435
|
-
this[keys[i]] = properties[keys[i]];
|
|
119436
|
-
}
|
|
119437
|
-
|
|
119438
|
-
/**
|
|
119439
|
-
* FeatureSupport editionIntroduced.
|
|
119440
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
|
119441
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119442
|
-
* @instance
|
|
119443
|
-
*/
|
|
119444
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
|
119445
|
-
|
|
119446
|
-
/**
|
|
119447
|
-
* FeatureSupport editionDeprecated.
|
|
119448
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
|
119449
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119450
|
-
* @instance
|
|
119451
|
-
*/
|
|
119452
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
|
119453
|
-
|
|
119454
|
-
/**
|
|
119455
|
-
* FeatureSupport deprecationWarning.
|
|
119456
|
-
* @member {string} deprecationWarning
|
|
119457
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119458
|
-
* @instance
|
|
119459
|
-
*/
|
|
119460
|
-
FeatureSupport.prototype.deprecationWarning = "";
|
|
119461
|
-
|
|
119462
|
-
/**
|
|
119463
|
-
* FeatureSupport editionRemoved.
|
|
119464
|
-
* @member {google.protobuf.Edition} editionRemoved
|
|
119465
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119466
|
-
* @instance
|
|
119467
|
-
*/
|
|
119468
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
|
119469
|
-
|
|
119470
|
-
/**
|
|
119471
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
|
119472
|
-
* @function create
|
|
119473
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119474
|
-
* @static
|
|
119475
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
119476
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
|
119477
|
-
*/
|
|
119478
|
-
FeatureSupport.create = function create(properties) {
|
|
119479
|
-
return new FeatureSupport(properties);
|
|
119480
|
-
};
|
|
119481
|
-
|
|
119482
|
-
/**
|
|
119483
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
119484
|
-
* @function encode
|
|
119485
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119486
|
-
* @static
|
|
119487
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
119488
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
119489
|
-
* @returns {$protobuf.Writer} Writer
|
|
119490
|
-
*/
|
|
119491
|
-
FeatureSupport.encode = function encode(message, writer) {
|
|
119492
|
-
if (!writer)
|
|
119493
|
-
writer = $Writer.create();
|
|
119494
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
|
119495
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
|
119496
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
|
119497
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
|
119498
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
|
119499
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
|
119500
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
|
119501
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
|
119502
|
-
return writer;
|
|
119503
|
-
};
|
|
119504
|
-
|
|
119505
|
-
/**
|
|
119506
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
119507
|
-
* @function encodeDelimited
|
|
119508
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119509
|
-
* @static
|
|
119510
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
119511
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
119512
|
-
* @returns {$protobuf.Writer} Writer
|
|
119513
|
-
*/
|
|
119514
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
|
119515
|
-
return this.encode(message, writer).ldelim();
|
|
119516
|
-
};
|
|
119517
|
-
|
|
119518
|
-
/**
|
|
119519
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
119520
|
-
* @function decode
|
|
119521
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119522
|
-
* @static
|
|
119523
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
119524
|
-
* @param {number} [length] Message length if known beforehand
|
|
119525
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
119526
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
119527
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
119528
|
-
*/
|
|
119529
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
|
119530
|
-
if (!(reader instanceof $Reader))
|
|
119531
|
-
reader = $Reader.create(reader);
|
|
119532
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
119533
|
-
while (reader.pos < end) {
|
|
119534
|
-
var tag = reader.uint32();
|
|
119535
|
-
if (tag === error)
|
|
119536
|
-
break;
|
|
119537
|
-
switch (tag >>> 3) {
|
|
119538
|
-
case 1: {
|
|
119539
|
-
message.editionIntroduced = reader.int32();
|
|
119540
|
-
break;
|
|
119541
|
-
}
|
|
119542
|
-
case 2: {
|
|
119543
|
-
message.editionDeprecated = reader.int32();
|
|
119544
|
-
break;
|
|
119545
|
-
}
|
|
119546
|
-
case 3: {
|
|
119547
|
-
message.deprecationWarning = reader.string();
|
|
119548
|
-
break;
|
|
119549
|
-
}
|
|
119550
|
-
case 4: {
|
|
119551
|
-
message.editionRemoved = reader.int32();
|
|
119552
|
-
break;
|
|
119553
|
-
}
|
|
119554
|
-
default:
|
|
119555
|
-
reader.skipType(tag & 7);
|
|
119556
|
-
break;
|
|
119557
|
-
}
|
|
119558
|
-
}
|
|
119559
|
-
return message;
|
|
119560
|
-
};
|
|
119561
|
-
|
|
119562
|
-
/**
|
|
119563
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
119564
|
-
* @function decodeDelimited
|
|
119565
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119566
|
-
* @static
|
|
119567
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
119568
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
119569
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
119570
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
119571
|
-
*/
|
|
119572
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
|
119573
|
-
if (!(reader instanceof $Reader))
|
|
119574
|
-
reader = new $Reader(reader);
|
|
119575
|
-
return this.decode(reader, reader.uint32());
|
|
119576
|
-
};
|
|
119577
|
-
|
|
119578
|
-
/**
|
|
119579
|
-
* Verifies a FeatureSupport message.
|
|
119580
|
-
* @function verify
|
|
119581
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119582
|
-
* @static
|
|
119583
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
119584
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
119585
|
-
*/
|
|
119586
|
-
FeatureSupport.verify = function verify(message) {
|
|
119587
|
-
if (typeof message !== "object" || message === null)
|
|
119588
|
-
return "object expected";
|
|
119589
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
119590
|
-
switch (message.editionIntroduced) {
|
|
119591
|
-
default:
|
|
119592
|
-
return "editionIntroduced: enum value expected";
|
|
119593
|
-
case 0:
|
|
119594
|
-
case 900:
|
|
119595
|
-
case 998:
|
|
119596
|
-
case 999:
|
|
119597
|
-
case 1000:
|
|
119598
|
-
case 1001:
|
|
119599
|
-
case 1:
|
|
119600
|
-
case 2:
|
|
119601
|
-
case 99997:
|
|
119602
|
-
case 99998:
|
|
119603
|
-
case 99999:
|
|
119604
|
-
case 2147483647:
|
|
119605
|
-
break;
|
|
119606
|
-
}
|
|
119607
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
119608
|
-
switch (message.editionDeprecated) {
|
|
119609
|
-
default:
|
|
119610
|
-
return "editionDeprecated: enum value expected";
|
|
119611
|
-
case 0:
|
|
119612
|
-
case 900:
|
|
119613
|
-
case 998:
|
|
119614
|
-
case 999:
|
|
119615
|
-
case 1000:
|
|
119616
|
-
case 1001:
|
|
119617
|
-
case 1:
|
|
119618
|
-
case 2:
|
|
119619
|
-
case 99997:
|
|
119620
|
-
case 99998:
|
|
119621
|
-
case 99999:
|
|
119622
|
-
case 2147483647:
|
|
119623
|
-
break;
|
|
119624
|
-
}
|
|
119625
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
119626
|
-
if (!$util.isString(message.deprecationWarning))
|
|
119627
|
-
return "deprecationWarning: string expected";
|
|
119628
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
119629
|
-
switch (message.editionRemoved) {
|
|
119630
|
-
default:
|
|
119631
|
-
return "editionRemoved: enum value expected";
|
|
119632
|
-
case 0:
|
|
119633
|
-
case 900:
|
|
119634
|
-
case 998:
|
|
119635
|
-
case 999:
|
|
119636
|
-
case 1000:
|
|
119637
|
-
case 1001:
|
|
119638
|
-
case 1:
|
|
119639
|
-
case 2:
|
|
119640
|
-
case 99997:
|
|
119641
|
-
case 99998:
|
|
119642
|
-
case 99999:
|
|
119643
|
-
case 2147483647:
|
|
119644
|
-
break;
|
|
119645
|
-
}
|
|
119646
|
-
return null;
|
|
119647
|
-
};
|
|
119648
|
-
|
|
119649
|
-
/**
|
|
119650
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
119651
|
-
* @function fromObject
|
|
119652
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119653
|
-
* @static
|
|
119654
|
-
* @param {Object.<string,*>} object Plain object
|
|
119655
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
119656
|
-
*/
|
|
119657
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
|
119658
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
|
119659
|
-
return object;
|
|
119660
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
119661
|
-
switch (object.editionIntroduced) {
|
|
119662
|
-
default:
|
|
119663
|
-
if (typeof object.editionIntroduced === "number") {
|
|
119664
|
-
message.editionIntroduced = object.editionIntroduced;
|
|
119665
|
-
break;
|
|
119666
|
-
}
|
|
119667
|
-
break;
|
|
119668
|
-
case "EDITION_UNKNOWN":
|
|
119669
|
-
case 0:
|
|
119670
|
-
message.editionIntroduced = 0;
|
|
119671
|
-
break;
|
|
119672
|
-
case "EDITION_LEGACY":
|
|
119673
|
-
case 900:
|
|
119674
|
-
message.editionIntroduced = 900;
|
|
119675
|
-
break;
|
|
119676
|
-
case "EDITION_PROTO2":
|
|
119677
|
-
case 998:
|
|
119678
|
-
message.editionIntroduced = 998;
|
|
119679
|
-
break;
|
|
119680
|
-
case "EDITION_PROTO3":
|
|
119681
|
-
case 999:
|
|
119682
|
-
message.editionIntroduced = 999;
|
|
119683
|
-
break;
|
|
119684
|
-
case "EDITION_2023":
|
|
119685
|
-
case 1000:
|
|
119686
|
-
message.editionIntroduced = 1000;
|
|
119687
|
-
break;
|
|
119688
|
-
case "EDITION_2024":
|
|
119689
|
-
case 1001:
|
|
119690
|
-
message.editionIntroduced = 1001;
|
|
119691
|
-
break;
|
|
119692
|
-
case "EDITION_1_TEST_ONLY":
|
|
119693
|
-
case 1:
|
|
119694
|
-
message.editionIntroduced = 1;
|
|
119695
|
-
break;
|
|
119696
|
-
case "EDITION_2_TEST_ONLY":
|
|
119697
|
-
case 2:
|
|
119698
|
-
message.editionIntroduced = 2;
|
|
119699
|
-
break;
|
|
119700
|
-
case "EDITION_99997_TEST_ONLY":
|
|
119701
|
-
case 99997:
|
|
119702
|
-
message.editionIntroduced = 99997;
|
|
119703
|
-
break;
|
|
119704
|
-
case "EDITION_99998_TEST_ONLY":
|
|
119705
|
-
case 99998:
|
|
119706
|
-
message.editionIntroduced = 99998;
|
|
119707
|
-
break;
|
|
119708
|
-
case "EDITION_99999_TEST_ONLY":
|
|
119709
|
-
case 99999:
|
|
119710
|
-
message.editionIntroduced = 99999;
|
|
119711
|
-
break;
|
|
119712
|
-
case "EDITION_MAX":
|
|
119713
|
-
case 2147483647:
|
|
119714
|
-
message.editionIntroduced = 2147483647;
|
|
119715
|
-
break;
|
|
119716
|
-
}
|
|
119717
|
-
switch (object.editionDeprecated) {
|
|
119718
|
-
default:
|
|
119719
|
-
if (typeof object.editionDeprecated === "number") {
|
|
119720
|
-
message.editionDeprecated = object.editionDeprecated;
|
|
119721
|
-
break;
|
|
119722
|
-
}
|
|
119723
|
-
break;
|
|
119724
|
-
case "EDITION_UNKNOWN":
|
|
119725
|
-
case 0:
|
|
119726
|
-
message.editionDeprecated = 0;
|
|
119727
|
-
break;
|
|
119728
|
-
case "EDITION_LEGACY":
|
|
119729
|
-
case 900:
|
|
119730
|
-
message.editionDeprecated = 900;
|
|
119731
|
-
break;
|
|
119732
|
-
case "EDITION_PROTO2":
|
|
119733
|
-
case 998:
|
|
119734
|
-
message.editionDeprecated = 998;
|
|
119735
|
-
break;
|
|
119736
|
-
case "EDITION_PROTO3":
|
|
119737
|
-
case 999:
|
|
119738
|
-
message.editionDeprecated = 999;
|
|
119739
|
-
break;
|
|
119740
|
-
case "EDITION_2023":
|
|
119741
|
-
case 1000:
|
|
119742
|
-
message.editionDeprecated = 1000;
|
|
119743
|
-
break;
|
|
119744
|
-
case "EDITION_2024":
|
|
119745
|
-
case 1001:
|
|
119746
|
-
message.editionDeprecated = 1001;
|
|
119747
|
-
break;
|
|
119748
|
-
case "EDITION_1_TEST_ONLY":
|
|
119749
|
-
case 1:
|
|
119750
|
-
message.editionDeprecated = 1;
|
|
119751
|
-
break;
|
|
119752
|
-
case "EDITION_2_TEST_ONLY":
|
|
119753
|
-
case 2:
|
|
119754
|
-
message.editionDeprecated = 2;
|
|
119755
|
-
break;
|
|
119756
|
-
case "EDITION_99997_TEST_ONLY":
|
|
119757
|
-
case 99997:
|
|
119758
|
-
message.editionDeprecated = 99997;
|
|
119759
|
-
break;
|
|
119760
|
-
case "EDITION_99998_TEST_ONLY":
|
|
119761
|
-
case 99998:
|
|
119762
|
-
message.editionDeprecated = 99998;
|
|
119763
|
-
break;
|
|
119764
|
-
case "EDITION_99999_TEST_ONLY":
|
|
119765
|
-
case 99999:
|
|
119766
|
-
message.editionDeprecated = 99999;
|
|
119767
|
-
break;
|
|
119768
|
-
case "EDITION_MAX":
|
|
119769
|
-
case 2147483647:
|
|
119770
|
-
message.editionDeprecated = 2147483647;
|
|
119771
|
-
break;
|
|
119772
|
-
}
|
|
119773
|
-
if (object.deprecationWarning != null)
|
|
119774
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
|
119775
|
-
switch (object.editionRemoved) {
|
|
119776
|
-
default:
|
|
119777
|
-
if (typeof object.editionRemoved === "number") {
|
|
119778
|
-
message.editionRemoved = object.editionRemoved;
|
|
119779
|
-
break;
|
|
119780
|
-
}
|
|
119781
|
-
break;
|
|
119782
|
-
case "EDITION_UNKNOWN":
|
|
119783
|
-
case 0:
|
|
119784
|
-
message.editionRemoved = 0;
|
|
119785
|
-
break;
|
|
119786
|
-
case "EDITION_LEGACY":
|
|
119787
|
-
case 900:
|
|
119788
|
-
message.editionRemoved = 900;
|
|
119789
|
-
break;
|
|
119790
|
-
case "EDITION_PROTO2":
|
|
119791
|
-
case 998:
|
|
119792
|
-
message.editionRemoved = 998;
|
|
119793
|
-
break;
|
|
119794
|
-
case "EDITION_PROTO3":
|
|
119795
|
-
case 999:
|
|
119796
|
-
message.editionRemoved = 999;
|
|
119797
|
-
break;
|
|
119798
|
-
case "EDITION_2023":
|
|
119799
|
-
case 1000:
|
|
119800
|
-
message.editionRemoved = 1000;
|
|
119801
|
-
break;
|
|
119802
|
-
case "EDITION_2024":
|
|
119803
|
-
case 1001:
|
|
119804
|
-
message.editionRemoved = 1001;
|
|
119805
|
-
break;
|
|
119806
|
-
case "EDITION_1_TEST_ONLY":
|
|
119807
|
-
case 1:
|
|
119808
|
-
message.editionRemoved = 1;
|
|
119809
|
-
break;
|
|
119810
|
-
case "EDITION_2_TEST_ONLY":
|
|
119811
|
-
case 2:
|
|
119812
|
-
message.editionRemoved = 2;
|
|
119813
|
-
break;
|
|
119814
|
-
case "EDITION_99997_TEST_ONLY":
|
|
119815
|
-
case 99997:
|
|
119816
|
-
message.editionRemoved = 99997;
|
|
119817
|
-
break;
|
|
119818
|
-
case "EDITION_99998_TEST_ONLY":
|
|
119819
|
-
case 99998:
|
|
119820
|
-
message.editionRemoved = 99998;
|
|
119821
|
-
break;
|
|
119822
|
-
case "EDITION_99999_TEST_ONLY":
|
|
119823
|
-
case 99999:
|
|
119824
|
-
message.editionRemoved = 99999;
|
|
119825
|
-
break;
|
|
119826
|
-
case "EDITION_MAX":
|
|
119827
|
-
case 2147483647:
|
|
119828
|
-
message.editionRemoved = 2147483647;
|
|
119829
|
-
break;
|
|
119830
|
-
}
|
|
119831
|
-
return message;
|
|
119832
|
-
};
|
|
119833
|
-
|
|
119834
|
-
/**
|
|
119835
|
-
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
119836
|
-
* @function toObject
|
|
119837
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119838
|
-
* @static
|
|
119839
|
-
* @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport
|
|
119840
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
119841
|
-
* @returns {Object.<string,*>} Plain object
|
|
119842
|
-
*/
|
|
119843
|
-
FeatureSupport.toObject = function toObject(message, options) {
|
|
119844
|
-
if (!options)
|
|
119845
|
-
options = {};
|
|
119846
|
-
var object = {};
|
|
119847
|
-
if (options.defaults) {
|
|
119848
|
-
object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
119849
|
-
object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
119850
|
-
object.deprecationWarning = "";
|
|
119851
|
-
object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
119852
|
-
}
|
|
119853
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
119854
|
-
object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced;
|
|
119855
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
119856
|
-
object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
|
|
119857
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
119858
|
-
object.deprecationWarning = message.deprecationWarning;
|
|
119859
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
119860
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
|
119861
|
-
return object;
|
|
119862
|
-
};
|
|
119863
|
-
|
|
119864
|
-
/**
|
|
119865
|
-
* Converts this FeatureSupport to JSON.
|
|
119866
|
-
* @function toJSON
|
|
119867
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119868
|
-
* @instance
|
|
119869
|
-
* @returns {Object.<string,*>} JSON object
|
|
119870
|
-
*/
|
|
119871
|
-
FeatureSupport.prototype.toJSON = function toJSON() {
|
|
119872
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
119873
|
-
};
|
|
119874
|
-
|
|
119875
|
-
/**
|
|
119876
|
-
* Gets the default type url for FeatureSupport
|
|
119877
|
-
* @function getTypeUrl
|
|
119878
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
119879
|
-
* @static
|
|
119880
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
119881
|
-
* @returns {string} The default type url
|
|
119882
|
-
*/
|
|
119883
|
-
FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
119884
|
-
if (typeUrlPrefix === undefined) {
|
|
119885
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
119886
|
-
}
|
|
119887
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport";
|
|
119888
|
-
};
|
|
119889
|
-
|
|
119890
|
-
return FeatureSupport;
|
|
119891
|
-
})();
|
|
119892
|
-
|
|
119893
119424
|
return FieldOptions;
|
|
119894
119425
|
})();
|
|
119895
119426
|
|
|
@@ -120482,7 +120013,6 @@
|
|
|
120482
120013
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
120483
120014
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
120484
120015
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
120485
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
|
120486
120016
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
120487
120017
|
*/
|
|
120488
120018
|
|
|
@@ -120526,14 +120056,6 @@
|
|
|
120526
120056
|
*/
|
|
120527
120057
|
EnumValueOptions.prototype.debugRedact = false;
|
|
120528
120058
|
|
|
120529
|
-
/**
|
|
120530
|
-
* EnumValueOptions featureSupport.
|
|
120531
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
120532
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
120533
|
-
* @instance
|
|
120534
|
-
*/
|
|
120535
|
-
EnumValueOptions.prototype.featureSupport = null;
|
|
120536
|
-
|
|
120537
120059
|
/**
|
|
120538
120060
|
* EnumValueOptions uninterpretedOption.
|
|
120539
120061
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -120572,8 +120094,6 @@
|
|
|
120572
120094
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
120573
120095
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
120574
120096
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
120575
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
120576
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
120577
120097
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
120578
120098
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
120579
120099
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -120625,10 +120145,6 @@
|
|
|
120625
120145
|
message.debugRedact = reader.bool();
|
|
120626
120146
|
break;
|
|
120627
120147
|
}
|
|
120628
|
-
case 4: {
|
|
120629
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
120630
|
-
break;
|
|
120631
|
-
}
|
|
120632
120148
|
case 999: {
|
|
120633
120149
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
120634
120150
|
message.uninterpretedOption = [];
|
|
@@ -120681,11 +120197,6 @@
|
|
|
120681
120197
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
120682
120198
|
if (typeof message.debugRedact !== "boolean")
|
|
120683
120199
|
return "debugRedact: boolean expected";
|
|
120684
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
120685
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
120686
|
-
if (error)
|
|
120687
|
-
return "featureSupport." + error;
|
|
120688
|
-
}
|
|
120689
120200
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
120690
120201
|
if (!Array.isArray(message.uninterpretedOption))
|
|
120691
120202
|
return "uninterpretedOption: array expected";
|
|
@@ -120719,11 +120230,6 @@
|
|
|
120719
120230
|
}
|
|
120720
120231
|
if (object.debugRedact != null)
|
|
120721
120232
|
message.debugRedact = Boolean(object.debugRedact);
|
|
120722
|
-
if (object.featureSupport != null) {
|
|
120723
|
-
if (typeof object.featureSupport !== "object")
|
|
120724
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
|
120725
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
120726
|
-
}
|
|
120727
120233
|
if (object.uninterpretedOption) {
|
|
120728
120234
|
if (!Array.isArray(object.uninterpretedOption))
|
|
120729
120235
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -120756,7 +120262,6 @@
|
|
|
120756
120262
|
object.deprecated = false;
|
|
120757
120263
|
object.features = null;
|
|
120758
120264
|
object.debugRedact = false;
|
|
120759
|
-
object.featureSupport = null;
|
|
120760
120265
|
}
|
|
120761
120266
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
120762
120267
|
object.deprecated = message.deprecated;
|
|
@@ -120764,8 +120269,6 @@
|
|
|
120764
120269
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
120765
120270
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
120766
120271
|
object.debugRedact = message.debugRedact;
|
|
120767
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
120768
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
120769
120272
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
120770
120273
|
object.uninterpretedOption = [];
|
|
120771
120274
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -122205,8 +121708,6 @@
|
|
|
122205
121708
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
|
122206
121709
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
122207
121710
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
122208
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
|
122209
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
|
122210
121711
|
*/
|
|
122211
121712
|
|
|
122212
121713
|
/**
|
|
@@ -122272,22 +121773,6 @@
|
|
|
122272
121773
|
*/
|
|
122273
121774
|
FeatureSet.prototype.jsonFormat = 0;
|
|
122274
121775
|
|
|
122275
|
-
/**
|
|
122276
|
-
* FeatureSet enforceNamingStyle.
|
|
122277
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
|
122278
|
-
* @memberof google.protobuf.FeatureSet
|
|
122279
|
-
* @instance
|
|
122280
|
-
*/
|
|
122281
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
|
122282
|
-
|
|
122283
|
-
/**
|
|
122284
|
-
* FeatureSet defaultSymbolVisibility.
|
|
122285
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
|
122286
|
-
* @memberof google.protobuf.FeatureSet
|
|
122287
|
-
* @instance
|
|
122288
|
-
*/
|
|
122289
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
|
122290
|
-
|
|
122291
121776
|
/**
|
|
122292
121777
|
* Creates a new FeatureSet instance using the specified properties.
|
|
122293
121778
|
* @function create
|
|
@@ -122324,10 +121809,6 @@
|
|
|
122324
121809
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
122325
121810
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
122326
121811
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
122327
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
|
122328
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
|
122329
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
|
122330
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
|
122331
121812
|
return writer;
|
|
122332
121813
|
};
|
|
122333
121814
|
|
|
@@ -122388,14 +121869,6 @@
|
|
|
122388
121869
|
message.jsonFormat = reader.int32();
|
|
122389
121870
|
break;
|
|
122390
121871
|
}
|
|
122391
|
-
case 7: {
|
|
122392
|
-
message.enforceNamingStyle = reader.int32();
|
|
122393
|
-
break;
|
|
122394
|
-
}
|
|
122395
|
-
case 8: {
|
|
122396
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
122397
|
-
break;
|
|
122398
|
-
}
|
|
122399
121872
|
default:
|
|
122400
121873
|
reader.skipType(tag & 7);
|
|
122401
121874
|
break;
|
|
@@ -122486,26 +121959,6 @@
|
|
|
122486
121959
|
case 2:
|
|
122487
121960
|
break;
|
|
122488
121961
|
}
|
|
122489
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
122490
|
-
switch (message.enforceNamingStyle) {
|
|
122491
|
-
default:
|
|
122492
|
-
return "enforceNamingStyle: enum value expected";
|
|
122493
|
-
case 0:
|
|
122494
|
-
case 1:
|
|
122495
|
-
case 2:
|
|
122496
|
-
break;
|
|
122497
|
-
}
|
|
122498
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
122499
|
-
switch (message.defaultSymbolVisibility) {
|
|
122500
|
-
default:
|
|
122501
|
-
return "defaultSymbolVisibility: enum value expected";
|
|
122502
|
-
case 0:
|
|
122503
|
-
case 1:
|
|
122504
|
-
case 2:
|
|
122505
|
-
case 3:
|
|
122506
|
-
case 4:
|
|
122507
|
-
break;
|
|
122508
|
-
}
|
|
122509
121962
|
return null;
|
|
122510
121963
|
};
|
|
122511
121964
|
|
|
@@ -122645,54 +122098,6 @@
|
|
|
122645
122098
|
message.jsonFormat = 2;
|
|
122646
122099
|
break;
|
|
122647
122100
|
}
|
|
122648
|
-
switch (object.enforceNamingStyle) {
|
|
122649
|
-
default:
|
|
122650
|
-
if (typeof object.enforceNamingStyle === "number") {
|
|
122651
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
|
122652
|
-
break;
|
|
122653
|
-
}
|
|
122654
|
-
break;
|
|
122655
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
|
122656
|
-
case 0:
|
|
122657
|
-
message.enforceNamingStyle = 0;
|
|
122658
|
-
break;
|
|
122659
|
-
case "STYLE2024":
|
|
122660
|
-
case 1:
|
|
122661
|
-
message.enforceNamingStyle = 1;
|
|
122662
|
-
break;
|
|
122663
|
-
case "STYLE_LEGACY":
|
|
122664
|
-
case 2:
|
|
122665
|
-
message.enforceNamingStyle = 2;
|
|
122666
|
-
break;
|
|
122667
|
-
}
|
|
122668
|
-
switch (object.defaultSymbolVisibility) {
|
|
122669
|
-
default:
|
|
122670
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
|
122671
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
|
122672
|
-
break;
|
|
122673
|
-
}
|
|
122674
|
-
break;
|
|
122675
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
|
122676
|
-
case 0:
|
|
122677
|
-
message.defaultSymbolVisibility = 0;
|
|
122678
|
-
break;
|
|
122679
|
-
case "EXPORT_ALL":
|
|
122680
|
-
case 1:
|
|
122681
|
-
message.defaultSymbolVisibility = 1;
|
|
122682
|
-
break;
|
|
122683
|
-
case "EXPORT_TOP_LEVEL":
|
|
122684
|
-
case 2:
|
|
122685
|
-
message.defaultSymbolVisibility = 2;
|
|
122686
|
-
break;
|
|
122687
|
-
case "LOCAL_ALL":
|
|
122688
|
-
case 3:
|
|
122689
|
-
message.defaultSymbolVisibility = 3;
|
|
122690
|
-
break;
|
|
122691
|
-
case "STRICT":
|
|
122692
|
-
case 4:
|
|
122693
|
-
message.defaultSymbolVisibility = 4;
|
|
122694
|
-
break;
|
|
122695
|
-
}
|
|
122696
122101
|
return message;
|
|
122697
122102
|
};
|
|
122698
122103
|
|
|
@@ -122716,8 +122121,6 @@
|
|
|
122716
122121
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
|
122717
122122
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
122718
122123
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
122719
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
|
122720
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
|
122721
122124
|
}
|
|
122722
122125
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
122723
122126
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
@@ -122731,10 +122134,6 @@
|
|
|
122731
122134
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
122732
122135
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
122733
122136
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
122734
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
122735
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
|
122736
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
122737
|
-
object.defaultSymbolVisibility = options.enums === String ? $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] === undefined ? message.defaultSymbolVisibility : $root.google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility[message.defaultSymbolVisibility] : message.defaultSymbolVisibility;
|
|
122738
122137
|
return object;
|
|
122739
122138
|
};
|
|
122740
122139
|
|
|
@@ -122862,219 +122261,6 @@
|
|
|
122862
122261
|
return values;
|
|
122863
122262
|
})();
|
|
122864
122263
|
|
|
122865
|
-
/**
|
|
122866
|
-
* EnforceNamingStyle enum.
|
|
122867
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
|
122868
|
-
* @enum {number}
|
|
122869
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
|
122870
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
|
122871
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
|
122872
|
-
*/
|
|
122873
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
|
122874
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
122875
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
|
122876
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
|
122877
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
|
122878
|
-
return values;
|
|
122879
|
-
})();
|
|
122880
|
-
|
|
122881
|
-
FeatureSet.VisibilityFeature = (function() {
|
|
122882
|
-
|
|
122883
|
-
/**
|
|
122884
|
-
* Properties of a VisibilityFeature.
|
|
122885
|
-
* @memberof google.protobuf.FeatureSet
|
|
122886
|
-
* @interface IVisibilityFeature
|
|
122887
|
-
*/
|
|
122888
|
-
|
|
122889
|
-
/**
|
|
122890
|
-
* Constructs a new VisibilityFeature.
|
|
122891
|
-
* @memberof google.protobuf.FeatureSet
|
|
122892
|
-
* @classdesc Represents a VisibilityFeature.
|
|
122893
|
-
* @implements IVisibilityFeature
|
|
122894
|
-
* @constructor
|
|
122895
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
122896
|
-
*/
|
|
122897
|
-
function VisibilityFeature(properties) {
|
|
122898
|
-
if (properties)
|
|
122899
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
122900
|
-
if (properties[keys[i]] != null)
|
|
122901
|
-
this[keys[i]] = properties[keys[i]];
|
|
122902
|
-
}
|
|
122903
|
-
|
|
122904
|
-
/**
|
|
122905
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
|
122906
|
-
* @function create
|
|
122907
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122908
|
-
* @static
|
|
122909
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
122910
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
|
122911
|
-
*/
|
|
122912
|
-
VisibilityFeature.create = function create(properties) {
|
|
122913
|
-
return new VisibilityFeature(properties);
|
|
122914
|
-
};
|
|
122915
|
-
|
|
122916
|
-
/**
|
|
122917
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
122918
|
-
* @function encode
|
|
122919
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122920
|
-
* @static
|
|
122921
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
122922
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
122923
|
-
* @returns {$protobuf.Writer} Writer
|
|
122924
|
-
*/
|
|
122925
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
|
122926
|
-
if (!writer)
|
|
122927
|
-
writer = $Writer.create();
|
|
122928
|
-
return writer;
|
|
122929
|
-
};
|
|
122930
|
-
|
|
122931
|
-
/**
|
|
122932
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
122933
|
-
* @function encodeDelimited
|
|
122934
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122935
|
-
* @static
|
|
122936
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
122937
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
122938
|
-
* @returns {$protobuf.Writer} Writer
|
|
122939
|
-
*/
|
|
122940
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
|
122941
|
-
return this.encode(message, writer).ldelim();
|
|
122942
|
-
};
|
|
122943
|
-
|
|
122944
|
-
/**
|
|
122945
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
122946
|
-
* @function decode
|
|
122947
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122948
|
-
* @static
|
|
122949
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
122950
|
-
* @param {number} [length] Message length if known beforehand
|
|
122951
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
122952
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
122953
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
122954
|
-
*/
|
|
122955
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
|
122956
|
-
if (!(reader instanceof $Reader))
|
|
122957
|
-
reader = $Reader.create(reader);
|
|
122958
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
122959
|
-
while (reader.pos < end) {
|
|
122960
|
-
var tag = reader.uint32();
|
|
122961
|
-
if (tag === error)
|
|
122962
|
-
break;
|
|
122963
|
-
switch (tag >>> 3) {
|
|
122964
|
-
default:
|
|
122965
|
-
reader.skipType(tag & 7);
|
|
122966
|
-
break;
|
|
122967
|
-
}
|
|
122968
|
-
}
|
|
122969
|
-
return message;
|
|
122970
|
-
};
|
|
122971
|
-
|
|
122972
|
-
/**
|
|
122973
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
122974
|
-
* @function decodeDelimited
|
|
122975
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122976
|
-
* @static
|
|
122977
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
122978
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
122979
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
122980
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
122981
|
-
*/
|
|
122982
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
|
122983
|
-
if (!(reader instanceof $Reader))
|
|
122984
|
-
reader = new $Reader(reader);
|
|
122985
|
-
return this.decode(reader, reader.uint32());
|
|
122986
|
-
};
|
|
122987
|
-
|
|
122988
|
-
/**
|
|
122989
|
-
* Verifies a VisibilityFeature message.
|
|
122990
|
-
* @function verify
|
|
122991
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
122992
|
-
* @static
|
|
122993
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
122994
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
122995
|
-
*/
|
|
122996
|
-
VisibilityFeature.verify = function verify(message) {
|
|
122997
|
-
if (typeof message !== "object" || message === null)
|
|
122998
|
-
return "object expected";
|
|
122999
|
-
return null;
|
|
123000
|
-
};
|
|
123001
|
-
|
|
123002
|
-
/**
|
|
123003
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
123004
|
-
* @function fromObject
|
|
123005
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
123006
|
-
* @static
|
|
123007
|
-
* @param {Object.<string,*>} object Plain object
|
|
123008
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
123009
|
-
*/
|
|
123010
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
|
123011
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
|
123012
|
-
return object;
|
|
123013
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
123014
|
-
};
|
|
123015
|
-
|
|
123016
|
-
/**
|
|
123017
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
123018
|
-
* @function toObject
|
|
123019
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
123020
|
-
* @static
|
|
123021
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
|
123022
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
123023
|
-
* @returns {Object.<string,*>} Plain object
|
|
123024
|
-
*/
|
|
123025
|
-
VisibilityFeature.toObject = function toObject() {
|
|
123026
|
-
return {};
|
|
123027
|
-
};
|
|
123028
|
-
|
|
123029
|
-
/**
|
|
123030
|
-
* Converts this VisibilityFeature to JSON.
|
|
123031
|
-
* @function toJSON
|
|
123032
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
123033
|
-
* @instance
|
|
123034
|
-
* @returns {Object.<string,*>} JSON object
|
|
123035
|
-
*/
|
|
123036
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
|
123037
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
123038
|
-
};
|
|
123039
|
-
|
|
123040
|
-
/**
|
|
123041
|
-
* Gets the default type url for VisibilityFeature
|
|
123042
|
-
* @function getTypeUrl
|
|
123043
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
123044
|
-
* @static
|
|
123045
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
123046
|
-
* @returns {string} The default type url
|
|
123047
|
-
*/
|
|
123048
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
123049
|
-
if (typeUrlPrefix === undefined) {
|
|
123050
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
123051
|
-
}
|
|
123052
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
|
123053
|
-
};
|
|
123054
|
-
|
|
123055
|
-
/**
|
|
123056
|
-
* DefaultSymbolVisibility enum.
|
|
123057
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
123058
|
-
* @enum {number}
|
|
123059
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
|
123060
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
|
123061
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
|
123062
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
|
123063
|
-
* @property {number} STRICT=4 STRICT value
|
|
123064
|
-
*/
|
|
123065
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
|
123066
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
123067
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
|
123068
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
|
123069
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
|
123070
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
|
123071
|
-
values[valuesById[4] = "STRICT"] = 4;
|
|
123072
|
-
return values;
|
|
123073
|
-
})();
|
|
123074
|
-
|
|
123075
|
-
return VisibilityFeature;
|
|
123076
|
-
})();
|
|
123077
|
-
|
|
123078
122264
|
return FeatureSet;
|
|
123079
122265
|
})();
|
|
123080
122266
|
|
|
@@ -123259,7 +122445,6 @@
|
|
|
123259
122445
|
default:
|
|
123260
122446
|
return "minimumEdition: enum value expected";
|
|
123261
122447
|
case 0:
|
|
123262
|
-
case 900:
|
|
123263
122448
|
case 998:
|
|
123264
122449
|
case 999:
|
|
123265
122450
|
case 1000:
|
|
@@ -123277,7 +122462,6 @@
|
|
|
123277
122462
|
default:
|
|
123278
122463
|
return "maximumEdition: enum value expected";
|
|
123279
122464
|
case 0:
|
|
123280
|
-
case 900:
|
|
123281
122465
|
case 998:
|
|
123282
122466
|
case 999:
|
|
123283
122467
|
case 1000:
|
|
@@ -123326,10 +122510,6 @@
|
|
|
123326
122510
|
case 0:
|
|
123327
122511
|
message.minimumEdition = 0;
|
|
123328
122512
|
break;
|
|
123329
|
-
case "EDITION_LEGACY":
|
|
123330
|
-
case 900:
|
|
123331
|
-
message.minimumEdition = 900;
|
|
123332
|
-
break;
|
|
123333
122513
|
case "EDITION_PROTO2":
|
|
123334
122514
|
case 998:
|
|
123335
122515
|
message.minimumEdition = 998;
|
|
@@ -123382,10 +122562,6 @@
|
|
|
123382
122562
|
case 0:
|
|
123383
122563
|
message.maximumEdition = 0;
|
|
123384
122564
|
break;
|
|
123385
|
-
case "EDITION_LEGACY":
|
|
123386
|
-
case 900:
|
|
123387
|
-
message.maximumEdition = 900;
|
|
123388
|
-
break;
|
|
123389
122565
|
case "EDITION_PROTO2":
|
|
123390
122566
|
case 998:
|
|
123391
122567
|
message.maximumEdition = 998;
|
|
@@ -123494,8 +122670,7 @@
|
|
|
123494
122670
|
* @memberof google.protobuf.FeatureSetDefaults
|
|
123495
122671
|
* @interface IFeatureSetEditionDefault
|
|
123496
122672
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
|
123497
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
|
123498
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
|
122673
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
|
123499
122674
|
*/
|
|
123500
122675
|
|
|
123501
122676
|
/**
|
|
@@ -123522,20 +122697,12 @@
|
|
|
123522
122697
|
FeatureSetEditionDefault.prototype.edition = 0;
|
|
123523
122698
|
|
|
123524
122699
|
/**
|
|
123525
|
-
* FeatureSetEditionDefault
|
|
123526
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
|
123527
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
123528
|
-
* @instance
|
|
123529
|
-
*/
|
|
123530
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
|
123531
|
-
|
|
123532
|
-
/**
|
|
123533
|
-
* FeatureSetEditionDefault fixedFeatures.
|
|
123534
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
|
122700
|
+
* FeatureSetEditionDefault features.
|
|
122701
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
123535
122702
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
123536
122703
|
* @instance
|
|
123537
122704
|
*/
|
|
123538
|
-
FeatureSetEditionDefault.prototype.
|
|
122705
|
+
FeatureSetEditionDefault.prototype.features = null;
|
|
123539
122706
|
|
|
123540
122707
|
/**
|
|
123541
122708
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -123561,12 +122728,10 @@
|
|
|
123561
122728
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
|
123562
122729
|
if (!writer)
|
|
123563
122730
|
writer = $Writer.create();
|
|
122731
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
122732
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
123564
122733
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
123565
122734
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
|
123566
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
|
123567
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
123568
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
|
123569
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
123570
122735
|
return writer;
|
|
123571
122736
|
};
|
|
123572
122737
|
|
|
@@ -123607,12 +122772,8 @@
|
|
|
123607
122772
|
message.edition = reader.int32();
|
|
123608
122773
|
break;
|
|
123609
122774
|
}
|
|
123610
|
-
case
|
|
123611
|
-
message.
|
|
123612
|
-
break;
|
|
123613
|
-
}
|
|
123614
|
-
case 5: {
|
|
123615
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
122775
|
+
case 2: {
|
|
122776
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
123616
122777
|
break;
|
|
123617
122778
|
}
|
|
123618
122779
|
default:
|
|
@@ -123655,7 +122816,6 @@
|
|
|
123655
122816
|
default:
|
|
123656
122817
|
return "edition: enum value expected";
|
|
123657
122818
|
case 0:
|
|
123658
|
-
case 900:
|
|
123659
122819
|
case 998:
|
|
123660
122820
|
case 999:
|
|
123661
122821
|
case 1000:
|
|
@@ -123668,15 +122828,10 @@
|
|
|
123668
122828
|
case 2147483647:
|
|
123669
122829
|
break;
|
|
123670
122830
|
}
|
|
123671
|
-
if (message.
|
|
123672
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
|
123673
|
-
if (error)
|
|
123674
|
-
return "overridableFeatures." + error;
|
|
123675
|
-
}
|
|
123676
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
|
123677
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
|
122831
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
|
122832
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
123678
122833
|
if (error)
|
|
123679
|
-
return "
|
|
122834
|
+
return "features." + error;
|
|
123680
122835
|
}
|
|
123681
122836
|
return null;
|
|
123682
122837
|
};
|
|
@@ -123704,10 +122859,6 @@
|
|
|
123704
122859
|
case 0:
|
|
123705
122860
|
message.edition = 0;
|
|
123706
122861
|
break;
|
|
123707
|
-
case "EDITION_LEGACY":
|
|
123708
|
-
case 900:
|
|
123709
|
-
message.edition = 900;
|
|
123710
|
-
break;
|
|
123711
122862
|
case "EDITION_PROTO2":
|
|
123712
122863
|
case 998:
|
|
123713
122864
|
message.edition = 998;
|
|
@@ -123749,15 +122900,10 @@
|
|
|
123749
122900
|
message.edition = 2147483647;
|
|
123750
122901
|
break;
|
|
123751
122902
|
}
|
|
123752
|
-
if (object.
|
|
123753
|
-
if (typeof object.
|
|
123754
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
123755
|
-
message.
|
|
123756
|
-
}
|
|
123757
|
-
if (object.fixedFeatures != null) {
|
|
123758
|
-
if (typeof object.fixedFeatures !== "object")
|
|
123759
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
|
123760
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
|
122903
|
+
if (object.features != null) {
|
|
122904
|
+
if (typeof object.features !== "object")
|
|
122905
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
|
122906
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
123761
122907
|
}
|
|
123762
122908
|
return message;
|
|
123763
122909
|
};
|
|
@@ -123776,16 +122922,13 @@
|
|
|
123776
122922
|
options = {};
|
|
123777
122923
|
var object = {};
|
|
123778
122924
|
if (options.defaults) {
|
|
122925
|
+
object.features = null;
|
|
123779
122926
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
123780
|
-
object.overridableFeatures = null;
|
|
123781
|
-
object.fixedFeatures = null;
|
|
123782
122927
|
}
|
|
122928
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
|
122929
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
123783
122930
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
123784
122931
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
123785
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
|
123786
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
|
123787
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
|
123788
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
|
123789
122932
|
return object;
|
|
123790
122933
|
};
|
|
123791
122934
|
|
|
@@ -125000,22 +124143,6 @@
|
|
|
125000
124143
|
return GeneratedCodeInfo;
|
|
125001
124144
|
})();
|
|
125002
124145
|
|
|
125003
|
-
/**
|
|
125004
|
-
* SymbolVisibility enum.
|
|
125005
|
-
* @name google.protobuf.SymbolVisibility
|
|
125006
|
-
* @enum {number}
|
|
125007
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
|
125008
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
|
125009
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
|
125010
|
-
*/
|
|
125011
|
-
protobuf.SymbolVisibility = (function() {
|
|
125012
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
125013
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
|
125014
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
|
125015
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
|
125016
|
-
return values;
|
|
125017
|
-
})();
|
|
125018
|
-
|
|
125019
124146
|
protobuf.Duration = (function() {
|
|
125020
124147
|
|
|
125021
124148
|
/**
|