@google-shopping/reviews 0.5.0 → 0.6.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 +31 -103
- package/build/protos/google/shopping/type/types.proto +39 -3
- package/build/protos/protos.d.ts +18 -521
- package/build/protos/protos.js +154 -1705
- package/build/protos/protos.json +35 -195
- package/build/src/v1beta/index.js +1 -1
- package/build/src/v1beta/merchant_reviews_service_client.js +1 -1
- package/build/src/v1beta/product_reviews_service_client.js +1 -1
- package/package.json +1 -1
package/build/protos/protos.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2026 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -3023,11 +3023,16 @@
|
|
|
3023
3023
|
case 5:
|
|
3024
3024
|
case 6:
|
|
3025
3025
|
case 7:
|
|
3026
|
+
case 19:
|
|
3026
3027
|
case 8:
|
|
3027
3028
|
case 9:
|
|
3029
|
+
case 18:
|
|
3028
3030
|
case 10:
|
|
3029
3031
|
case 11:
|
|
3030
3032
|
case 12:
|
|
3033
|
+
case 15:
|
|
3034
|
+
case 16:
|
|
3035
|
+
case 17:
|
|
3031
3036
|
break;
|
|
3032
3037
|
}
|
|
3033
3038
|
return null;
|
|
@@ -3092,6 +3097,10 @@
|
|
|
3092
3097
|
case 7:
|
|
3093
3098
|
message.reportingContext = 7;
|
|
3094
3099
|
break;
|
|
3100
|
+
case "FREE_LISTINGS_UCP_CHECKOUT":
|
|
3101
|
+
case 19:
|
|
3102
|
+
message.reportingContext = 19;
|
|
3103
|
+
break;
|
|
3095
3104
|
case "FREE_LOCAL_LISTINGS":
|
|
3096
3105
|
case 8:
|
|
3097
3106
|
message.reportingContext = 8;
|
|
@@ -3100,6 +3109,10 @@
|
|
|
3100
3109
|
case 9:
|
|
3101
3110
|
message.reportingContext = 9;
|
|
3102
3111
|
break;
|
|
3112
|
+
case "YOUTUBE_AFFILIATE":
|
|
3113
|
+
case 18:
|
|
3114
|
+
message.reportingContext = 18;
|
|
3115
|
+
break;
|
|
3103
3116
|
case "YOUTUBE_SHOPPING":
|
|
3104
3117
|
case 10:
|
|
3105
3118
|
message.reportingContext = 10;
|
|
@@ -3112,6 +3125,18 @@
|
|
|
3112
3125
|
case 12:
|
|
3113
3126
|
message.reportingContext = 12;
|
|
3114
3127
|
break;
|
|
3128
|
+
case "PRODUCT_REVIEWS":
|
|
3129
|
+
case 15:
|
|
3130
|
+
message.reportingContext = 15;
|
|
3131
|
+
break;
|
|
3132
|
+
case "MERCHANT_REVIEWS":
|
|
3133
|
+
case 16:
|
|
3134
|
+
message.reportingContext = 16;
|
|
3135
|
+
break;
|
|
3136
|
+
case "YOUTUBE_CHECKOUT":
|
|
3137
|
+
case 17:
|
|
3138
|
+
message.reportingContext = 17;
|
|
3139
|
+
break;
|
|
3115
3140
|
}
|
|
3116
3141
|
return message;
|
|
3117
3142
|
};
|
|
@@ -3435,11 +3460,16 @@
|
|
|
3435
3460
|
case 5:
|
|
3436
3461
|
case 6:
|
|
3437
3462
|
case 7:
|
|
3463
|
+
case 19:
|
|
3438
3464
|
case 8:
|
|
3439
3465
|
case 9:
|
|
3466
|
+
case 18:
|
|
3440
3467
|
case 10:
|
|
3441
3468
|
case 11:
|
|
3442
3469
|
case 12:
|
|
3470
|
+
case 15:
|
|
3471
|
+
case 16:
|
|
3472
|
+
case 17:
|
|
3443
3473
|
break;
|
|
3444
3474
|
}
|
|
3445
3475
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
@@ -3539,6 +3569,10 @@
|
|
|
3539
3569
|
case 7:
|
|
3540
3570
|
message.reportingContext = 7;
|
|
3541
3571
|
break;
|
|
3572
|
+
case "FREE_LISTINGS_UCP_CHECKOUT":
|
|
3573
|
+
case 19:
|
|
3574
|
+
message.reportingContext = 19;
|
|
3575
|
+
break;
|
|
3542
3576
|
case "FREE_LOCAL_LISTINGS":
|
|
3543
3577
|
case 8:
|
|
3544
3578
|
message.reportingContext = 8;
|
|
@@ -3547,6 +3581,10 @@
|
|
|
3547
3581
|
case 9:
|
|
3548
3582
|
message.reportingContext = 9;
|
|
3549
3583
|
break;
|
|
3584
|
+
case "YOUTUBE_AFFILIATE":
|
|
3585
|
+
case 18:
|
|
3586
|
+
message.reportingContext = 18;
|
|
3587
|
+
break;
|
|
3550
3588
|
case "YOUTUBE_SHOPPING":
|
|
3551
3589
|
case 10:
|
|
3552
3590
|
message.reportingContext = 10;
|
|
@@ -3559,6 +3597,18 @@
|
|
|
3559
3597
|
case 12:
|
|
3560
3598
|
message.reportingContext = 12;
|
|
3561
3599
|
break;
|
|
3600
|
+
case "PRODUCT_REVIEWS":
|
|
3601
|
+
case 15:
|
|
3602
|
+
message.reportingContext = 15;
|
|
3603
|
+
break;
|
|
3604
|
+
case "MERCHANT_REVIEWS":
|
|
3605
|
+
case 16:
|
|
3606
|
+
message.reportingContext = 16;
|
|
3607
|
+
break;
|
|
3608
|
+
case "YOUTUBE_CHECKOUT":
|
|
3609
|
+
case 17:
|
|
3610
|
+
message.reportingContext = 17;
|
|
3611
|
+
break;
|
|
3562
3612
|
}
|
|
3563
3613
|
if (object.description != null)
|
|
3564
3614
|
message.description = String(object.description);
|
|
@@ -7392,11 +7442,16 @@
|
|
|
7392
7442
|
case 5:
|
|
7393
7443
|
case 6:
|
|
7394
7444
|
case 7:
|
|
7445
|
+
case 19:
|
|
7395
7446
|
case 8:
|
|
7396
7447
|
case 9:
|
|
7448
|
+
case 18:
|
|
7397
7449
|
case 10:
|
|
7398
7450
|
case 11:
|
|
7399
7451
|
case 12:
|
|
7452
|
+
case 15:
|
|
7453
|
+
case 16:
|
|
7454
|
+
case 17:
|
|
7400
7455
|
break;
|
|
7401
7456
|
}
|
|
7402
7457
|
return null;
|
|
@@ -7461,6 +7516,10 @@
|
|
|
7461
7516
|
case 7:
|
|
7462
7517
|
message.reportingContext = 7;
|
|
7463
7518
|
break;
|
|
7519
|
+
case "FREE_LISTINGS_UCP_CHECKOUT":
|
|
7520
|
+
case 19:
|
|
7521
|
+
message.reportingContext = 19;
|
|
7522
|
+
break;
|
|
7464
7523
|
case "FREE_LOCAL_LISTINGS":
|
|
7465
7524
|
case 8:
|
|
7466
7525
|
message.reportingContext = 8;
|
|
@@ -7469,6 +7528,10 @@
|
|
|
7469
7528
|
case 9:
|
|
7470
7529
|
message.reportingContext = 9;
|
|
7471
7530
|
break;
|
|
7531
|
+
case "YOUTUBE_AFFILIATE":
|
|
7532
|
+
case 18:
|
|
7533
|
+
message.reportingContext = 18;
|
|
7534
|
+
break;
|
|
7472
7535
|
case "YOUTUBE_SHOPPING":
|
|
7473
7536
|
case 10:
|
|
7474
7537
|
message.reportingContext = 10;
|
|
@@ -7481,6 +7544,18 @@
|
|
|
7481
7544
|
case 12:
|
|
7482
7545
|
message.reportingContext = 12;
|
|
7483
7546
|
break;
|
|
7547
|
+
case "PRODUCT_REVIEWS":
|
|
7548
|
+
case 15:
|
|
7549
|
+
message.reportingContext = 15;
|
|
7550
|
+
break;
|
|
7551
|
+
case "MERCHANT_REVIEWS":
|
|
7552
|
+
case 16:
|
|
7553
|
+
message.reportingContext = 16;
|
|
7554
|
+
break;
|
|
7555
|
+
case "YOUTUBE_CHECKOUT":
|
|
7556
|
+
case 17:
|
|
7557
|
+
message.reportingContext = 17;
|
|
7558
|
+
break;
|
|
7484
7559
|
}
|
|
7485
7560
|
return message;
|
|
7486
7561
|
};
|
|
@@ -7804,11 +7879,16 @@
|
|
|
7804
7879
|
case 5:
|
|
7805
7880
|
case 6:
|
|
7806
7881
|
case 7:
|
|
7882
|
+
case 19:
|
|
7807
7883
|
case 8:
|
|
7808
7884
|
case 9:
|
|
7885
|
+
case 18:
|
|
7809
7886
|
case 10:
|
|
7810
7887
|
case 11:
|
|
7811
7888
|
case 12:
|
|
7889
|
+
case 15:
|
|
7890
|
+
case 16:
|
|
7891
|
+
case 17:
|
|
7812
7892
|
break;
|
|
7813
7893
|
}
|
|
7814
7894
|
if (message.description != null && message.hasOwnProperty("description"))
|
|
@@ -7908,6 +7988,10 @@
|
|
|
7908
7988
|
case 7:
|
|
7909
7989
|
message.reportingContext = 7;
|
|
7910
7990
|
break;
|
|
7991
|
+
case "FREE_LISTINGS_UCP_CHECKOUT":
|
|
7992
|
+
case 19:
|
|
7993
|
+
message.reportingContext = 19;
|
|
7994
|
+
break;
|
|
7911
7995
|
case "FREE_LOCAL_LISTINGS":
|
|
7912
7996
|
case 8:
|
|
7913
7997
|
message.reportingContext = 8;
|
|
@@ -7916,6 +8000,10 @@
|
|
|
7916
8000
|
case 9:
|
|
7917
8001
|
message.reportingContext = 9;
|
|
7918
8002
|
break;
|
|
8003
|
+
case "YOUTUBE_AFFILIATE":
|
|
8004
|
+
case 18:
|
|
8005
|
+
message.reportingContext = 18;
|
|
8006
|
+
break;
|
|
7919
8007
|
case "YOUTUBE_SHOPPING":
|
|
7920
8008
|
case 10:
|
|
7921
8009
|
message.reportingContext = 10;
|
|
@@ -7928,6 +8016,18 @@
|
|
|
7928
8016
|
case 12:
|
|
7929
8017
|
message.reportingContext = 12;
|
|
7930
8018
|
break;
|
|
8019
|
+
case "PRODUCT_REVIEWS":
|
|
8020
|
+
case 15:
|
|
8021
|
+
message.reportingContext = 15;
|
|
8022
|
+
break;
|
|
8023
|
+
case "MERCHANT_REVIEWS":
|
|
8024
|
+
case 16:
|
|
8025
|
+
message.reportingContext = 16;
|
|
8026
|
+
break;
|
|
8027
|
+
case "YOUTUBE_CHECKOUT":
|
|
8028
|
+
case 17:
|
|
8029
|
+
message.reportingContext = 17;
|
|
8030
|
+
break;
|
|
7931
8031
|
}
|
|
7932
8032
|
if (object.description != null)
|
|
7933
8033
|
message.description = String(object.description);
|
|
@@ -9080,6 +9180,12 @@
|
|
|
9080
9180
|
* @property {number} FREE_LISTINGS=4 FREE_LISTINGS value
|
|
9081
9181
|
* @property {number} FREE_LOCAL_LISTINGS=5 FREE_LOCAL_LISTINGS value
|
|
9082
9182
|
* @property {number} YOUTUBE_SHOPPING=6 YOUTUBE_SHOPPING value
|
|
9183
|
+
* @property {number} YOUTUBE_SHOPPING_CHECKOUT=7 YOUTUBE_SHOPPING_CHECKOUT value
|
|
9184
|
+
* @property {number} YOUTUBE_AFFILIATE=8 YOUTUBE_AFFILIATE value
|
|
9185
|
+
* @property {number} FREE_VEHICLE_LISTINGS=9 FREE_VEHICLE_LISTINGS value
|
|
9186
|
+
* @property {number} VEHICLE_ADS=10 VEHICLE_ADS value
|
|
9187
|
+
* @property {number} CLOUD_RETAIL=11 CLOUD_RETAIL value
|
|
9188
|
+
* @property {number} LOCAL_CLOUD_RETAIL=12 LOCAL_CLOUD_RETAIL value
|
|
9083
9189
|
*/
|
|
9084
9190
|
Destination.DestinationEnum = (function() {
|
|
9085
9191
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -9090,6 +9196,12 @@
|
|
|
9090
9196
|
values[valuesById[4] = "FREE_LISTINGS"] = 4;
|
|
9091
9197
|
values[valuesById[5] = "FREE_LOCAL_LISTINGS"] = 5;
|
|
9092
9198
|
values[valuesById[6] = "YOUTUBE_SHOPPING"] = 6;
|
|
9199
|
+
values[valuesById[7] = "YOUTUBE_SHOPPING_CHECKOUT"] = 7;
|
|
9200
|
+
values[valuesById[8] = "YOUTUBE_AFFILIATE"] = 8;
|
|
9201
|
+
values[valuesById[9] = "FREE_VEHICLE_LISTINGS"] = 9;
|
|
9202
|
+
values[valuesById[10] = "VEHICLE_ADS"] = 10;
|
|
9203
|
+
values[valuesById[11] = "CLOUD_RETAIL"] = 11;
|
|
9204
|
+
values[valuesById[12] = "LOCAL_CLOUD_RETAIL"] = 12;
|
|
9093
9205
|
return values;
|
|
9094
9206
|
})();
|
|
9095
9207
|
|
|
@@ -9284,11 +9396,16 @@
|
|
|
9284
9396
|
* @property {number} LOCAL_INVENTORY_ADS=5 LOCAL_INVENTORY_ADS value
|
|
9285
9397
|
* @property {number} VEHICLE_INVENTORY_ADS=6 VEHICLE_INVENTORY_ADS value
|
|
9286
9398
|
* @property {number} FREE_LISTINGS=7 FREE_LISTINGS value
|
|
9399
|
+
* @property {number} FREE_LISTINGS_UCP_CHECKOUT=19 FREE_LISTINGS_UCP_CHECKOUT value
|
|
9287
9400
|
* @property {number} FREE_LOCAL_LISTINGS=8 FREE_LOCAL_LISTINGS value
|
|
9288
9401
|
* @property {number} FREE_LOCAL_VEHICLE_LISTINGS=9 FREE_LOCAL_VEHICLE_LISTINGS value
|
|
9402
|
+
* @property {number} YOUTUBE_AFFILIATE=18 YOUTUBE_AFFILIATE value
|
|
9289
9403
|
* @property {number} YOUTUBE_SHOPPING=10 YOUTUBE_SHOPPING value
|
|
9290
9404
|
* @property {number} CLOUD_RETAIL=11 CLOUD_RETAIL value
|
|
9291
9405
|
* @property {number} LOCAL_CLOUD_RETAIL=12 LOCAL_CLOUD_RETAIL value
|
|
9406
|
+
* @property {number} PRODUCT_REVIEWS=15 PRODUCT_REVIEWS value
|
|
9407
|
+
* @property {number} MERCHANT_REVIEWS=16 MERCHANT_REVIEWS value
|
|
9408
|
+
* @property {number} YOUTUBE_CHECKOUT=17 YOUTUBE_CHECKOUT value
|
|
9292
9409
|
*/
|
|
9293
9410
|
ReportingContext.ReportingContextEnum = (function() {
|
|
9294
9411
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -9302,11 +9419,16 @@
|
|
|
9302
9419
|
values[valuesById[5] = "LOCAL_INVENTORY_ADS"] = 5;
|
|
9303
9420
|
values[valuesById[6] = "VEHICLE_INVENTORY_ADS"] = 6;
|
|
9304
9421
|
values[valuesById[7] = "FREE_LISTINGS"] = 7;
|
|
9422
|
+
values[valuesById[19] = "FREE_LISTINGS_UCP_CHECKOUT"] = 19;
|
|
9305
9423
|
values[valuesById[8] = "FREE_LOCAL_LISTINGS"] = 8;
|
|
9306
9424
|
values[valuesById[9] = "FREE_LOCAL_VEHICLE_LISTINGS"] = 9;
|
|
9425
|
+
values[valuesById[18] = "YOUTUBE_AFFILIATE"] = 18;
|
|
9307
9426
|
values[valuesById[10] = "YOUTUBE_SHOPPING"] = 10;
|
|
9308
9427
|
values[valuesById[11] = "CLOUD_RETAIL"] = 11;
|
|
9309
9428
|
values[valuesById[12] = "LOCAL_CLOUD_RETAIL"] = 12;
|
|
9429
|
+
values[valuesById[15] = "PRODUCT_REVIEWS"] = 15;
|
|
9430
|
+
values[valuesById[16] = "MERCHANT_REVIEWS"] = 16;
|
|
9431
|
+
values[valuesById[17] = "YOUTUBE_CHECKOUT"] = 17;
|
|
9310
9432
|
return values;
|
|
9311
9433
|
})();
|
|
9312
9434
|
|
|
@@ -10498,7 +10620,6 @@
|
|
|
10498
10620
|
* @interface ICommonLanguageSettings
|
|
10499
10621
|
* @property {string|null} [referenceDocsUri] CommonLanguageSettings referenceDocsUri
|
|
10500
10622
|
* @property {Array.<google.api.ClientLibraryDestination>|null} [destinations] CommonLanguageSettings destinations
|
|
10501
|
-
* @property {google.api.ISelectiveGapicGeneration|null} [selectiveGapicGeneration] CommonLanguageSettings selectiveGapicGeneration
|
|
10502
10623
|
*/
|
|
10503
10624
|
|
|
10504
10625
|
/**
|
|
@@ -10533,14 +10654,6 @@
|
|
|
10533
10654
|
*/
|
|
10534
10655
|
CommonLanguageSettings.prototype.destinations = $util.emptyArray;
|
|
10535
10656
|
|
|
10536
|
-
/**
|
|
10537
|
-
* CommonLanguageSettings selectiveGapicGeneration.
|
|
10538
|
-
* @member {google.api.ISelectiveGapicGeneration|null|undefined} selectiveGapicGeneration
|
|
10539
|
-
* @memberof google.api.CommonLanguageSettings
|
|
10540
|
-
* @instance
|
|
10541
|
-
*/
|
|
10542
|
-
CommonLanguageSettings.prototype.selectiveGapicGeneration = null;
|
|
10543
|
-
|
|
10544
10657
|
/**
|
|
10545
10658
|
* Creates a new CommonLanguageSettings instance using the specified properties.
|
|
10546
10659
|
* @function create
|
|
@@ -10573,8 +10686,6 @@
|
|
|
10573
10686
|
writer.int32(message.destinations[i]);
|
|
10574
10687
|
writer.ldelim();
|
|
10575
10688
|
}
|
|
10576
|
-
if (message.selectiveGapicGeneration != null && Object.hasOwnProperty.call(message, "selectiveGapicGeneration"))
|
|
10577
|
-
$root.google.api.SelectiveGapicGeneration.encode(message.selectiveGapicGeneration, writer.uint32(/* id 3, wireType 2 =*/26).fork()).ldelim();
|
|
10578
10689
|
return writer;
|
|
10579
10690
|
};
|
|
10580
10691
|
|
|
@@ -10626,10 +10737,6 @@
|
|
|
10626
10737
|
message.destinations.push(reader.int32());
|
|
10627
10738
|
break;
|
|
10628
10739
|
}
|
|
10629
|
-
case 3: {
|
|
10630
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.decode(reader, reader.uint32());
|
|
10631
|
-
break;
|
|
10632
|
-
}
|
|
10633
10740
|
default:
|
|
10634
10741
|
reader.skipType(tag & 7);
|
|
10635
10742
|
break;
|
|
@@ -10681,11 +10788,6 @@
|
|
|
10681
10788
|
break;
|
|
10682
10789
|
}
|
|
10683
10790
|
}
|
|
10684
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration")) {
|
|
10685
|
-
var error = $root.google.api.SelectiveGapicGeneration.verify(message.selectiveGapicGeneration);
|
|
10686
|
-
if (error)
|
|
10687
|
-
return "selectiveGapicGeneration." + error;
|
|
10688
|
-
}
|
|
10689
10791
|
return null;
|
|
10690
10792
|
};
|
|
10691
10793
|
|
|
@@ -10728,11 +10830,6 @@
|
|
|
10728
10830
|
break;
|
|
10729
10831
|
}
|
|
10730
10832
|
}
|
|
10731
|
-
if (object.selectiveGapicGeneration != null) {
|
|
10732
|
-
if (typeof object.selectiveGapicGeneration !== "object")
|
|
10733
|
-
throw TypeError(".google.api.CommonLanguageSettings.selectiveGapicGeneration: object expected");
|
|
10734
|
-
message.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.fromObject(object.selectiveGapicGeneration);
|
|
10735
|
-
}
|
|
10736
10833
|
return message;
|
|
10737
10834
|
};
|
|
10738
10835
|
|
|
@@ -10751,10 +10848,8 @@
|
|
|
10751
10848
|
var object = {};
|
|
10752
10849
|
if (options.arrays || options.defaults)
|
|
10753
10850
|
object.destinations = [];
|
|
10754
|
-
if (options.defaults)
|
|
10851
|
+
if (options.defaults)
|
|
10755
10852
|
object.referenceDocsUri = "";
|
|
10756
|
-
object.selectiveGapicGeneration = null;
|
|
10757
|
-
}
|
|
10758
10853
|
if (message.referenceDocsUri != null && message.hasOwnProperty("referenceDocsUri"))
|
|
10759
10854
|
object.referenceDocsUri = message.referenceDocsUri;
|
|
10760
10855
|
if (message.destinations && message.destinations.length) {
|
|
@@ -10762,8 +10857,6 @@
|
|
|
10762
10857
|
for (var j = 0; j < message.destinations.length; ++j)
|
|
10763
10858
|
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];
|
|
10764
10859
|
}
|
|
10765
|
-
if (message.selectiveGapicGeneration != null && message.hasOwnProperty("selectiveGapicGeneration"))
|
|
10766
|
-
object.selectiveGapicGeneration = $root.google.api.SelectiveGapicGeneration.toObject(message.selectiveGapicGeneration, options);
|
|
10767
10860
|
return object;
|
|
10768
10861
|
};
|
|
10769
10862
|
|
|
@@ -12586,7 +12679,6 @@
|
|
|
12586
12679
|
* @memberof google.api
|
|
12587
12680
|
* @interface IPythonSettings
|
|
12588
12681
|
* @property {google.api.ICommonLanguageSettings|null} [common] PythonSettings common
|
|
12589
|
-
* @property {google.api.PythonSettings.IExperimentalFeatures|null} [experimentalFeatures] PythonSettings experimentalFeatures
|
|
12590
12682
|
*/
|
|
12591
12683
|
|
|
12592
12684
|
/**
|
|
@@ -12612,14 +12704,6 @@
|
|
|
12612
12704
|
*/
|
|
12613
12705
|
PythonSettings.prototype.common = null;
|
|
12614
12706
|
|
|
12615
|
-
/**
|
|
12616
|
-
* PythonSettings experimentalFeatures.
|
|
12617
|
-
* @member {google.api.PythonSettings.IExperimentalFeatures|null|undefined} experimentalFeatures
|
|
12618
|
-
* @memberof google.api.PythonSettings
|
|
12619
|
-
* @instance
|
|
12620
|
-
*/
|
|
12621
|
-
PythonSettings.prototype.experimentalFeatures = null;
|
|
12622
|
-
|
|
12623
12707
|
/**
|
|
12624
12708
|
* Creates a new PythonSettings instance using the specified properties.
|
|
12625
12709
|
* @function create
|
|
@@ -12646,8 +12730,6 @@
|
|
|
12646
12730
|
writer = $Writer.create();
|
|
12647
12731
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
12648
12732
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
12649
|
-
if (message.experimentalFeatures != null && Object.hasOwnProperty.call(message, "experimentalFeatures"))
|
|
12650
|
-
$root.google.api.PythonSettings.ExperimentalFeatures.encode(message.experimentalFeatures, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
12651
12733
|
return writer;
|
|
12652
12734
|
};
|
|
12653
12735
|
|
|
@@ -12688,10 +12770,6 @@
|
|
|
12688
12770
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
12689
12771
|
break;
|
|
12690
12772
|
}
|
|
12691
|
-
case 2: {
|
|
12692
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.decode(reader, reader.uint32());
|
|
12693
|
-
break;
|
|
12694
|
-
}
|
|
12695
12773
|
default:
|
|
12696
12774
|
reader.skipType(tag & 7);
|
|
12697
12775
|
break;
|
|
@@ -12732,11 +12810,6 @@
|
|
|
12732
12810
|
if (error)
|
|
12733
12811
|
return "common." + error;
|
|
12734
12812
|
}
|
|
12735
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures")) {
|
|
12736
|
-
var error = $root.google.api.PythonSettings.ExperimentalFeatures.verify(message.experimentalFeatures);
|
|
12737
|
-
if (error)
|
|
12738
|
-
return "experimentalFeatures." + error;
|
|
12739
|
-
}
|
|
12740
12813
|
return null;
|
|
12741
12814
|
};
|
|
12742
12815
|
|
|
@@ -12757,11 +12830,6 @@
|
|
|
12757
12830
|
throw TypeError(".google.api.PythonSettings.common: object expected");
|
|
12758
12831
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
12759
12832
|
}
|
|
12760
|
-
if (object.experimentalFeatures != null) {
|
|
12761
|
-
if (typeof object.experimentalFeatures !== "object")
|
|
12762
|
-
throw TypeError(".google.api.PythonSettings.experimentalFeatures: object expected");
|
|
12763
|
-
message.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.fromObject(object.experimentalFeatures);
|
|
12764
|
-
}
|
|
12765
12833
|
return message;
|
|
12766
12834
|
};
|
|
12767
12835
|
|
|
@@ -12778,14 +12846,10 @@
|
|
|
12778
12846
|
if (!options)
|
|
12779
12847
|
options = {};
|
|
12780
12848
|
var object = {};
|
|
12781
|
-
if (options.defaults)
|
|
12849
|
+
if (options.defaults)
|
|
12782
12850
|
object.common = null;
|
|
12783
|
-
object.experimentalFeatures = null;
|
|
12784
|
-
}
|
|
12785
12851
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
12786
12852
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
12787
|
-
if (message.experimentalFeatures != null && message.hasOwnProperty("experimentalFeatures"))
|
|
12788
|
-
object.experimentalFeatures = $root.google.api.PythonSettings.ExperimentalFeatures.toObject(message.experimentalFeatures, options);
|
|
12789
12853
|
return object;
|
|
12790
12854
|
};
|
|
12791
12855
|
|
|
@@ -12815,258 +12879,6 @@
|
|
|
12815
12879
|
return typeUrlPrefix + "/google.api.PythonSettings";
|
|
12816
12880
|
};
|
|
12817
12881
|
|
|
12818
|
-
PythonSettings.ExperimentalFeatures = (function() {
|
|
12819
|
-
|
|
12820
|
-
/**
|
|
12821
|
-
* Properties of an ExperimentalFeatures.
|
|
12822
|
-
* @memberof google.api.PythonSettings
|
|
12823
|
-
* @interface IExperimentalFeatures
|
|
12824
|
-
* @property {boolean|null} [restAsyncIoEnabled] ExperimentalFeatures restAsyncIoEnabled
|
|
12825
|
-
* @property {boolean|null} [protobufPythonicTypesEnabled] ExperimentalFeatures protobufPythonicTypesEnabled
|
|
12826
|
-
* @property {boolean|null} [unversionedPackageDisabled] ExperimentalFeatures unversionedPackageDisabled
|
|
12827
|
-
*/
|
|
12828
|
-
|
|
12829
|
-
/**
|
|
12830
|
-
* Constructs a new ExperimentalFeatures.
|
|
12831
|
-
* @memberof google.api.PythonSettings
|
|
12832
|
-
* @classdesc Represents an ExperimentalFeatures.
|
|
12833
|
-
* @implements IExperimentalFeatures
|
|
12834
|
-
* @constructor
|
|
12835
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
12836
|
-
*/
|
|
12837
|
-
function ExperimentalFeatures(properties) {
|
|
12838
|
-
if (properties)
|
|
12839
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
12840
|
-
if (properties[keys[i]] != null)
|
|
12841
|
-
this[keys[i]] = properties[keys[i]];
|
|
12842
|
-
}
|
|
12843
|
-
|
|
12844
|
-
/**
|
|
12845
|
-
* ExperimentalFeatures restAsyncIoEnabled.
|
|
12846
|
-
* @member {boolean} restAsyncIoEnabled
|
|
12847
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12848
|
-
* @instance
|
|
12849
|
-
*/
|
|
12850
|
-
ExperimentalFeatures.prototype.restAsyncIoEnabled = false;
|
|
12851
|
-
|
|
12852
|
-
/**
|
|
12853
|
-
* ExperimentalFeatures protobufPythonicTypesEnabled.
|
|
12854
|
-
* @member {boolean} protobufPythonicTypesEnabled
|
|
12855
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12856
|
-
* @instance
|
|
12857
|
-
*/
|
|
12858
|
-
ExperimentalFeatures.prototype.protobufPythonicTypesEnabled = false;
|
|
12859
|
-
|
|
12860
|
-
/**
|
|
12861
|
-
* ExperimentalFeatures unversionedPackageDisabled.
|
|
12862
|
-
* @member {boolean} unversionedPackageDisabled
|
|
12863
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12864
|
-
* @instance
|
|
12865
|
-
*/
|
|
12866
|
-
ExperimentalFeatures.prototype.unversionedPackageDisabled = false;
|
|
12867
|
-
|
|
12868
|
-
/**
|
|
12869
|
-
* Creates a new ExperimentalFeatures instance using the specified properties.
|
|
12870
|
-
* @function create
|
|
12871
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12872
|
-
* @static
|
|
12873
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures=} [properties] Properties to set
|
|
12874
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures instance
|
|
12875
|
-
*/
|
|
12876
|
-
ExperimentalFeatures.create = function create(properties) {
|
|
12877
|
-
return new ExperimentalFeatures(properties);
|
|
12878
|
-
};
|
|
12879
|
-
|
|
12880
|
-
/**
|
|
12881
|
-
* Encodes the specified ExperimentalFeatures message. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
12882
|
-
* @function encode
|
|
12883
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12884
|
-
* @static
|
|
12885
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
12886
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12887
|
-
* @returns {$protobuf.Writer} Writer
|
|
12888
|
-
*/
|
|
12889
|
-
ExperimentalFeatures.encode = function encode(message, writer) {
|
|
12890
|
-
if (!writer)
|
|
12891
|
-
writer = $Writer.create();
|
|
12892
|
-
if (message.restAsyncIoEnabled != null && Object.hasOwnProperty.call(message, "restAsyncIoEnabled"))
|
|
12893
|
-
writer.uint32(/* id 1, wireType 0 =*/8).bool(message.restAsyncIoEnabled);
|
|
12894
|
-
if (message.protobufPythonicTypesEnabled != null && Object.hasOwnProperty.call(message, "protobufPythonicTypesEnabled"))
|
|
12895
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.protobufPythonicTypesEnabled);
|
|
12896
|
-
if (message.unversionedPackageDisabled != null && Object.hasOwnProperty.call(message, "unversionedPackageDisabled"))
|
|
12897
|
-
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.unversionedPackageDisabled);
|
|
12898
|
-
return writer;
|
|
12899
|
-
};
|
|
12900
|
-
|
|
12901
|
-
/**
|
|
12902
|
-
* Encodes the specified ExperimentalFeatures message, length delimited. Does not implicitly {@link google.api.PythonSettings.ExperimentalFeatures.verify|verify} messages.
|
|
12903
|
-
* @function encodeDelimited
|
|
12904
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12905
|
-
* @static
|
|
12906
|
-
* @param {google.api.PythonSettings.IExperimentalFeatures} message ExperimentalFeatures message or plain object to encode
|
|
12907
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
12908
|
-
* @returns {$protobuf.Writer} Writer
|
|
12909
|
-
*/
|
|
12910
|
-
ExperimentalFeatures.encodeDelimited = function encodeDelimited(message, writer) {
|
|
12911
|
-
return this.encode(message, writer).ldelim();
|
|
12912
|
-
};
|
|
12913
|
-
|
|
12914
|
-
/**
|
|
12915
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer.
|
|
12916
|
-
* @function decode
|
|
12917
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12918
|
-
* @static
|
|
12919
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12920
|
-
* @param {number} [length] Message length if known beforehand
|
|
12921
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
12922
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12923
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12924
|
-
*/
|
|
12925
|
-
ExperimentalFeatures.decode = function decode(reader, length, error) {
|
|
12926
|
-
if (!(reader instanceof $Reader))
|
|
12927
|
-
reader = $Reader.create(reader);
|
|
12928
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
12929
|
-
while (reader.pos < end) {
|
|
12930
|
-
var tag = reader.uint32();
|
|
12931
|
-
if (tag === error)
|
|
12932
|
-
break;
|
|
12933
|
-
switch (tag >>> 3) {
|
|
12934
|
-
case 1: {
|
|
12935
|
-
message.restAsyncIoEnabled = reader.bool();
|
|
12936
|
-
break;
|
|
12937
|
-
}
|
|
12938
|
-
case 2: {
|
|
12939
|
-
message.protobufPythonicTypesEnabled = reader.bool();
|
|
12940
|
-
break;
|
|
12941
|
-
}
|
|
12942
|
-
case 3: {
|
|
12943
|
-
message.unversionedPackageDisabled = reader.bool();
|
|
12944
|
-
break;
|
|
12945
|
-
}
|
|
12946
|
-
default:
|
|
12947
|
-
reader.skipType(tag & 7);
|
|
12948
|
-
break;
|
|
12949
|
-
}
|
|
12950
|
-
}
|
|
12951
|
-
return message;
|
|
12952
|
-
};
|
|
12953
|
-
|
|
12954
|
-
/**
|
|
12955
|
-
* Decodes an ExperimentalFeatures message from the specified reader or buffer, length delimited.
|
|
12956
|
-
* @function decodeDelimited
|
|
12957
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12958
|
-
* @static
|
|
12959
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
12960
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
12961
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
12962
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
12963
|
-
*/
|
|
12964
|
-
ExperimentalFeatures.decodeDelimited = function decodeDelimited(reader) {
|
|
12965
|
-
if (!(reader instanceof $Reader))
|
|
12966
|
-
reader = new $Reader(reader);
|
|
12967
|
-
return this.decode(reader, reader.uint32());
|
|
12968
|
-
};
|
|
12969
|
-
|
|
12970
|
-
/**
|
|
12971
|
-
* Verifies an ExperimentalFeatures message.
|
|
12972
|
-
* @function verify
|
|
12973
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12974
|
-
* @static
|
|
12975
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
12976
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
12977
|
-
*/
|
|
12978
|
-
ExperimentalFeatures.verify = function verify(message) {
|
|
12979
|
-
if (typeof message !== "object" || message === null)
|
|
12980
|
-
return "object expected";
|
|
12981
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
12982
|
-
if (typeof message.restAsyncIoEnabled !== "boolean")
|
|
12983
|
-
return "restAsyncIoEnabled: boolean expected";
|
|
12984
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
12985
|
-
if (typeof message.protobufPythonicTypesEnabled !== "boolean")
|
|
12986
|
-
return "protobufPythonicTypesEnabled: boolean expected";
|
|
12987
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
12988
|
-
if (typeof message.unversionedPackageDisabled !== "boolean")
|
|
12989
|
-
return "unversionedPackageDisabled: boolean expected";
|
|
12990
|
-
return null;
|
|
12991
|
-
};
|
|
12992
|
-
|
|
12993
|
-
/**
|
|
12994
|
-
* Creates an ExperimentalFeatures message from a plain object. Also converts values to their respective internal types.
|
|
12995
|
-
* @function fromObject
|
|
12996
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
12997
|
-
* @static
|
|
12998
|
-
* @param {Object.<string,*>} object Plain object
|
|
12999
|
-
* @returns {google.api.PythonSettings.ExperimentalFeatures} ExperimentalFeatures
|
|
13000
|
-
*/
|
|
13001
|
-
ExperimentalFeatures.fromObject = function fromObject(object) {
|
|
13002
|
-
if (object instanceof $root.google.api.PythonSettings.ExperimentalFeatures)
|
|
13003
|
-
return object;
|
|
13004
|
-
var message = new $root.google.api.PythonSettings.ExperimentalFeatures();
|
|
13005
|
-
if (object.restAsyncIoEnabled != null)
|
|
13006
|
-
message.restAsyncIoEnabled = Boolean(object.restAsyncIoEnabled);
|
|
13007
|
-
if (object.protobufPythonicTypesEnabled != null)
|
|
13008
|
-
message.protobufPythonicTypesEnabled = Boolean(object.protobufPythonicTypesEnabled);
|
|
13009
|
-
if (object.unversionedPackageDisabled != null)
|
|
13010
|
-
message.unversionedPackageDisabled = Boolean(object.unversionedPackageDisabled);
|
|
13011
|
-
return message;
|
|
13012
|
-
};
|
|
13013
|
-
|
|
13014
|
-
/**
|
|
13015
|
-
* Creates a plain object from an ExperimentalFeatures message. Also converts values to other types if specified.
|
|
13016
|
-
* @function toObject
|
|
13017
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
13018
|
-
* @static
|
|
13019
|
-
* @param {google.api.PythonSettings.ExperimentalFeatures} message ExperimentalFeatures
|
|
13020
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
13021
|
-
* @returns {Object.<string,*>} Plain object
|
|
13022
|
-
*/
|
|
13023
|
-
ExperimentalFeatures.toObject = function toObject(message, options) {
|
|
13024
|
-
if (!options)
|
|
13025
|
-
options = {};
|
|
13026
|
-
var object = {};
|
|
13027
|
-
if (options.defaults) {
|
|
13028
|
-
object.restAsyncIoEnabled = false;
|
|
13029
|
-
object.protobufPythonicTypesEnabled = false;
|
|
13030
|
-
object.unversionedPackageDisabled = false;
|
|
13031
|
-
}
|
|
13032
|
-
if (message.restAsyncIoEnabled != null && message.hasOwnProperty("restAsyncIoEnabled"))
|
|
13033
|
-
object.restAsyncIoEnabled = message.restAsyncIoEnabled;
|
|
13034
|
-
if (message.protobufPythonicTypesEnabled != null && message.hasOwnProperty("protobufPythonicTypesEnabled"))
|
|
13035
|
-
object.protobufPythonicTypesEnabled = message.protobufPythonicTypesEnabled;
|
|
13036
|
-
if (message.unversionedPackageDisabled != null && message.hasOwnProperty("unversionedPackageDisabled"))
|
|
13037
|
-
object.unversionedPackageDisabled = message.unversionedPackageDisabled;
|
|
13038
|
-
return object;
|
|
13039
|
-
};
|
|
13040
|
-
|
|
13041
|
-
/**
|
|
13042
|
-
* Converts this ExperimentalFeatures to JSON.
|
|
13043
|
-
* @function toJSON
|
|
13044
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
13045
|
-
* @instance
|
|
13046
|
-
* @returns {Object.<string,*>} JSON object
|
|
13047
|
-
*/
|
|
13048
|
-
ExperimentalFeatures.prototype.toJSON = function toJSON() {
|
|
13049
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
13050
|
-
};
|
|
13051
|
-
|
|
13052
|
-
/**
|
|
13053
|
-
* Gets the default type url for ExperimentalFeatures
|
|
13054
|
-
* @function getTypeUrl
|
|
13055
|
-
* @memberof google.api.PythonSettings.ExperimentalFeatures
|
|
13056
|
-
* @static
|
|
13057
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
13058
|
-
* @returns {string} The default type url
|
|
13059
|
-
*/
|
|
13060
|
-
ExperimentalFeatures.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
13061
|
-
if (typeUrlPrefix === undefined) {
|
|
13062
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
13063
|
-
}
|
|
13064
|
-
return typeUrlPrefix + "/google.api.PythonSettings.ExperimentalFeatures";
|
|
13065
|
-
};
|
|
13066
|
-
|
|
13067
|
-
return ExperimentalFeatures;
|
|
13068
|
-
})();
|
|
13069
|
-
|
|
13070
12882
|
return PythonSettings;
|
|
13071
12883
|
})();
|
|
13072
12884
|
|
|
@@ -13943,7 +13755,6 @@
|
|
|
13943
13755
|
* @memberof google.api
|
|
13944
13756
|
* @interface IGoSettings
|
|
13945
13757
|
* @property {google.api.ICommonLanguageSettings|null} [common] GoSettings common
|
|
13946
|
-
* @property {Object.<string,string>|null} [renamedServices] GoSettings renamedServices
|
|
13947
13758
|
*/
|
|
13948
13759
|
|
|
13949
13760
|
/**
|
|
@@ -13955,7 +13766,6 @@
|
|
|
13955
13766
|
* @param {google.api.IGoSettings=} [properties] Properties to set
|
|
13956
13767
|
*/
|
|
13957
13768
|
function GoSettings(properties) {
|
|
13958
|
-
this.renamedServices = {};
|
|
13959
13769
|
if (properties)
|
|
13960
13770
|
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
13961
13771
|
if (properties[keys[i]] != null)
|
|
@@ -13970,14 +13780,6 @@
|
|
|
13970
13780
|
*/
|
|
13971
13781
|
GoSettings.prototype.common = null;
|
|
13972
13782
|
|
|
13973
|
-
/**
|
|
13974
|
-
* GoSettings renamedServices.
|
|
13975
|
-
* @member {Object.<string,string>} renamedServices
|
|
13976
|
-
* @memberof google.api.GoSettings
|
|
13977
|
-
* @instance
|
|
13978
|
-
*/
|
|
13979
|
-
GoSettings.prototype.renamedServices = $util.emptyObject;
|
|
13980
|
-
|
|
13981
13783
|
/**
|
|
13982
13784
|
* Creates a new GoSettings instance using the specified properties.
|
|
13983
13785
|
* @function create
|
|
@@ -14004,9 +13806,6 @@
|
|
|
14004
13806
|
writer = $Writer.create();
|
|
14005
13807
|
if (message.common != null && Object.hasOwnProperty.call(message, "common"))
|
|
14006
13808
|
$root.google.api.CommonLanguageSettings.encode(message.common, writer.uint32(/* id 1, wireType 2 =*/10).fork()).ldelim();
|
|
14007
|
-
if (message.renamedServices != null && Object.hasOwnProperty.call(message, "renamedServices"))
|
|
14008
|
-
for (var keys = Object.keys(message.renamedServices), i = 0; i < keys.length; ++i)
|
|
14009
|
-
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();
|
|
14010
13809
|
return writer;
|
|
14011
13810
|
};
|
|
14012
13811
|
|
|
@@ -14037,7 +13836,7 @@
|
|
|
14037
13836
|
GoSettings.decode = function decode(reader, length, error) {
|
|
14038
13837
|
if (!(reader instanceof $Reader))
|
|
14039
13838
|
reader = $Reader.create(reader);
|
|
14040
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings()
|
|
13839
|
+
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.GoSettings();
|
|
14041
13840
|
while (reader.pos < end) {
|
|
14042
13841
|
var tag = reader.uint32();
|
|
14043
13842
|
if (tag === error)
|
|
@@ -14047,29 +13846,6 @@
|
|
|
14047
13846
|
message.common = $root.google.api.CommonLanguageSettings.decode(reader, reader.uint32());
|
|
14048
13847
|
break;
|
|
14049
13848
|
}
|
|
14050
|
-
case 2: {
|
|
14051
|
-
if (message.renamedServices === $util.emptyObject)
|
|
14052
|
-
message.renamedServices = {};
|
|
14053
|
-
var end2 = reader.uint32() + reader.pos;
|
|
14054
|
-
key = "";
|
|
14055
|
-
value = "";
|
|
14056
|
-
while (reader.pos < end2) {
|
|
14057
|
-
var tag2 = reader.uint32();
|
|
14058
|
-
switch (tag2 >>> 3) {
|
|
14059
|
-
case 1:
|
|
14060
|
-
key = reader.string();
|
|
14061
|
-
break;
|
|
14062
|
-
case 2:
|
|
14063
|
-
value = reader.string();
|
|
14064
|
-
break;
|
|
14065
|
-
default:
|
|
14066
|
-
reader.skipType(tag2 & 7);
|
|
14067
|
-
break;
|
|
14068
|
-
}
|
|
14069
|
-
}
|
|
14070
|
-
message.renamedServices[key] = value;
|
|
14071
|
-
break;
|
|
14072
|
-
}
|
|
14073
13849
|
default:
|
|
14074
13850
|
reader.skipType(tag & 7);
|
|
14075
13851
|
break;
|
|
@@ -14110,14 +13886,6 @@
|
|
|
14110
13886
|
if (error)
|
|
14111
13887
|
return "common." + error;
|
|
14112
13888
|
}
|
|
14113
|
-
if (message.renamedServices != null && message.hasOwnProperty("renamedServices")) {
|
|
14114
|
-
if (!$util.isObject(message.renamedServices))
|
|
14115
|
-
return "renamedServices: object expected";
|
|
14116
|
-
var key = Object.keys(message.renamedServices);
|
|
14117
|
-
for (var i = 0; i < key.length; ++i)
|
|
14118
|
-
if (!$util.isString(message.renamedServices[key[i]]))
|
|
14119
|
-
return "renamedServices: string{k:string} expected";
|
|
14120
|
-
}
|
|
14121
13889
|
return null;
|
|
14122
13890
|
};
|
|
14123
13891
|
|
|
@@ -14138,13 +13906,6 @@
|
|
|
14138
13906
|
throw TypeError(".google.api.GoSettings.common: object expected");
|
|
14139
13907
|
message.common = $root.google.api.CommonLanguageSettings.fromObject(object.common);
|
|
14140
13908
|
}
|
|
14141
|
-
if (object.renamedServices) {
|
|
14142
|
-
if (typeof object.renamedServices !== "object")
|
|
14143
|
-
throw TypeError(".google.api.GoSettings.renamedServices: object expected");
|
|
14144
|
-
message.renamedServices = {};
|
|
14145
|
-
for (var keys = Object.keys(object.renamedServices), i = 0; i < keys.length; ++i)
|
|
14146
|
-
message.renamedServices[keys[i]] = String(object.renamedServices[keys[i]]);
|
|
14147
|
-
}
|
|
14148
13909
|
return message;
|
|
14149
13910
|
};
|
|
14150
13911
|
|
|
@@ -14161,18 +13922,10 @@
|
|
|
14161
13922
|
if (!options)
|
|
14162
13923
|
options = {};
|
|
14163
13924
|
var object = {};
|
|
14164
|
-
if (options.objects || options.defaults)
|
|
14165
|
-
object.renamedServices = {};
|
|
14166
13925
|
if (options.defaults)
|
|
14167
13926
|
object.common = null;
|
|
14168
13927
|
if (message.common != null && message.hasOwnProperty("common"))
|
|
14169
13928
|
object.common = $root.google.api.CommonLanguageSettings.toObject(message.common, options);
|
|
14170
|
-
var keys2;
|
|
14171
|
-
if (message.renamedServices && (keys2 = Object.keys(message.renamedServices)).length) {
|
|
14172
|
-
object.renamedServices = {};
|
|
14173
|
-
for (var j = 0; j < keys2.length; ++j)
|
|
14174
|
-
object.renamedServices[keys2[j]] = message.renamedServices[keys2[j]];
|
|
14175
|
-
}
|
|
14176
13929
|
return object;
|
|
14177
13930
|
};
|
|
14178
13931
|
|
|
@@ -14811,251 +14564,6 @@
|
|
|
14811
14564
|
return values;
|
|
14812
14565
|
})();
|
|
14813
14566
|
|
|
14814
|
-
api.SelectiveGapicGeneration = (function() {
|
|
14815
|
-
|
|
14816
|
-
/**
|
|
14817
|
-
* Properties of a SelectiveGapicGeneration.
|
|
14818
|
-
* @memberof google.api
|
|
14819
|
-
* @interface ISelectiveGapicGeneration
|
|
14820
|
-
* @property {Array.<string>|null} [methods] SelectiveGapicGeneration methods
|
|
14821
|
-
* @property {boolean|null} [generateOmittedAsInternal] SelectiveGapicGeneration generateOmittedAsInternal
|
|
14822
|
-
*/
|
|
14823
|
-
|
|
14824
|
-
/**
|
|
14825
|
-
* Constructs a new SelectiveGapicGeneration.
|
|
14826
|
-
* @memberof google.api
|
|
14827
|
-
* @classdesc Represents a SelectiveGapicGeneration.
|
|
14828
|
-
* @implements ISelectiveGapicGeneration
|
|
14829
|
-
* @constructor
|
|
14830
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
14831
|
-
*/
|
|
14832
|
-
function SelectiveGapicGeneration(properties) {
|
|
14833
|
-
this.methods = [];
|
|
14834
|
-
if (properties)
|
|
14835
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
14836
|
-
if (properties[keys[i]] != null)
|
|
14837
|
-
this[keys[i]] = properties[keys[i]];
|
|
14838
|
-
}
|
|
14839
|
-
|
|
14840
|
-
/**
|
|
14841
|
-
* SelectiveGapicGeneration methods.
|
|
14842
|
-
* @member {Array.<string>} methods
|
|
14843
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14844
|
-
* @instance
|
|
14845
|
-
*/
|
|
14846
|
-
SelectiveGapicGeneration.prototype.methods = $util.emptyArray;
|
|
14847
|
-
|
|
14848
|
-
/**
|
|
14849
|
-
* SelectiveGapicGeneration generateOmittedAsInternal.
|
|
14850
|
-
* @member {boolean} generateOmittedAsInternal
|
|
14851
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14852
|
-
* @instance
|
|
14853
|
-
*/
|
|
14854
|
-
SelectiveGapicGeneration.prototype.generateOmittedAsInternal = false;
|
|
14855
|
-
|
|
14856
|
-
/**
|
|
14857
|
-
* Creates a new SelectiveGapicGeneration instance using the specified properties.
|
|
14858
|
-
* @function create
|
|
14859
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14860
|
-
* @static
|
|
14861
|
-
* @param {google.api.ISelectiveGapicGeneration=} [properties] Properties to set
|
|
14862
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration instance
|
|
14863
|
-
*/
|
|
14864
|
-
SelectiveGapicGeneration.create = function create(properties) {
|
|
14865
|
-
return new SelectiveGapicGeneration(properties);
|
|
14866
|
-
};
|
|
14867
|
-
|
|
14868
|
-
/**
|
|
14869
|
-
* Encodes the specified SelectiveGapicGeneration message. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
14870
|
-
* @function encode
|
|
14871
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14872
|
-
* @static
|
|
14873
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
14874
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14875
|
-
* @returns {$protobuf.Writer} Writer
|
|
14876
|
-
*/
|
|
14877
|
-
SelectiveGapicGeneration.encode = function encode(message, writer) {
|
|
14878
|
-
if (!writer)
|
|
14879
|
-
writer = $Writer.create();
|
|
14880
|
-
if (message.methods != null && message.methods.length)
|
|
14881
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
14882
|
-
writer.uint32(/* id 1, wireType 2 =*/10).string(message.methods[i]);
|
|
14883
|
-
if (message.generateOmittedAsInternal != null && Object.hasOwnProperty.call(message, "generateOmittedAsInternal"))
|
|
14884
|
-
writer.uint32(/* id 2, wireType 0 =*/16).bool(message.generateOmittedAsInternal);
|
|
14885
|
-
return writer;
|
|
14886
|
-
};
|
|
14887
|
-
|
|
14888
|
-
/**
|
|
14889
|
-
* Encodes the specified SelectiveGapicGeneration message, length delimited. Does not implicitly {@link google.api.SelectiveGapicGeneration.verify|verify} messages.
|
|
14890
|
-
* @function encodeDelimited
|
|
14891
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14892
|
-
* @static
|
|
14893
|
-
* @param {google.api.ISelectiveGapicGeneration} message SelectiveGapicGeneration message or plain object to encode
|
|
14894
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
14895
|
-
* @returns {$protobuf.Writer} Writer
|
|
14896
|
-
*/
|
|
14897
|
-
SelectiveGapicGeneration.encodeDelimited = function encodeDelimited(message, writer) {
|
|
14898
|
-
return this.encode(message, writer).ldelim();
|
|
14899
|
-
};
|
|
14900
|
-
|
|
14901
|
-
/**
|
|
14902
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer.
|
|
14903
|
-
* @function decode
|
|
14904
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14905
|
-
* @static
|
|
14906
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14907
|
-
* @param {number} [length] Message length if known beforehand
|
|
14908
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
14909
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14910
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14911
|
-
*/
|
|
14912
|
-
SelectiveGapicGeneration.decode = function decode(reader, length, error) {
|
|
14913
|
-
if (!(reader instanceof $Reader))
|
|
14914
|
-
reader = $Reader.create(reader);
|
|
14915
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.api.SelectiveGapicGeneration();
|
|
14916
|
-
while (reader.pos < end) {
|
|
14917
|
-
var tag = reader.uint32();
|
|
14918
|
-
if (tag === error)
|
|
14919
|
-
break;
|
|
14920
|
-
switch (tag >>> 3) {
|
|
14921
|
-
case 1: {
|
|
14922
|
-
if (!(message.methods && message.methods.length))
|
|
14923
|
-
message.methods = [];
|
|
14924
|
-
message.methods.push(reader.string());
|
|
14925
|
-
break;
|
|
14926
|
-
}
|
|
14927
|
-
case 2: {
|
|
14928
|
-
message.generateOmittedAsInternal = reader.bool();
|
|
14929
|
-
break;
|
|
14930
|
-
}
|
|
14931
|
-
default:
|
|
14932
|
-
reader.skipType(tag & 7);
|
|
14933
|
-
break;
|
|
14934
|
-
}
|
|
14935
|
-
}
|
|
14936
|
-
return message;
|
|
14937
|
-
};
|
|
14938
|
-
|
|
14939
|
-
/**
|
|
14940
|
-
* Decodes a SelectiveGapicGeneration message from the specified reader or buffer, length delimited.
|
|
14941
|
-
* @function decodeDelimited
|
|
14942
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14943
|
-
* @static
|
|
14944
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
14945
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
14946
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
14947
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
14948
|
-
*/
|
|
14949
|
-
SelectiveGapicGeneration.decodeDelimited = function decodeDelimited(reader) {
|
|
14950
|
-
if (!(reader instanceof $Reader))
|
|
14951
|
-
reader = new $Reader(reader);
|
|
14952
|
-
return this.decode(reader, reader.uint32());
|
|
14953
|
-
};
|
|
14954
|
-
|
|
14955
|
-
/**
|
|
14956
|
-
* Verifies a SelectiveGapicGeneration message.
|
|
14957
|
-
* @function verify
|
|
14958
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14959
|
-
* @static
|
|
14960
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
14961
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
14962
|
-
*/
|
|
14963
|
-
SelectiveGapicGeneration.verify = function verify(message) {
|
|
14964
|
-
if (typeof message !== "object" || message === null)
|
|
14965
|
-
return "object expected";
|
|
14966
|
-
if (message.methods != null && message.hasOwnProperty("methods")) {
|
|
14967
|
-
if (!Array.isArray(message.methods))
|
|
14968
|
-
return "methods: array expected";
|
|
14969
|
-
for (var i = 0; i < message.methods.length; ++i)
|
|
14970
|
-
if (!$util.isString(message.methods[i]))
|
|
14971
|
-
return "methods: string[] expected";
|
|
14972
|
-
}
|
|
14973
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
14974
|
-
if (typeof message.generateOmittedAsInternal !== "boolean")
|
|
14975
|
-
return "generateOmittedAsInternal: boolean expected";
|
|
14976
|
-
return null;
|
|
14977
|
-
};
|
|
14978
|
-
|
|
14979
|
-
/**
|
|
14980
|
-
* Creates a SelectiveGapicGeneration message from a plain object. Also converts values to their respective internal types.
|
|
14981
|
-
* @function fromObject
|
|
14982
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
14983
|
-
* @static
|
|
14984
|
-
* @param {Object.<string,*>} object Plain object
|
|
14985
|
-
* @returns {google.api.SelectiveGapicGeneration} SelectiveGapicGeneration
|
|
14986
|
-
*/
|
|
14987
|
-
SelectiveGapicGeneration.fromObject = function fromObject(object) {
|
|
14988
|
-
if (object instanceof $root.google.api.SelectiveGapicGeneration)
|
|
14989
|
-
return object;
|
|
14990
|
-
var message = new $root.google.api.SelectiveGapicGeneration();
|
|
14991
|
-
if (object.methods) {
|
|
14992
|
-
if (!Array.isArray(object.methods))
|
|
14993
|
-
throw TypeError(".google.api.SelectiveGapicGeneration.methods: array expected");
|
|
14994
|
-
message.methods = [];
|
|
14995
|
-
for (var i = 0; i < object.methods.length; ++i)
|
|
14996
|
-
message.methods[i] = String(object.methods[i]);
|
|
14997
|
-
}
|
|
14998
|
-
if (object.generateOmittedAsInternal != null)
|
|
14999
|
-
message.generateOmittedAsInternal = Boolean(object.generateOmittedAsInternal);
|
|
15000
|
-
return message;
|
|
15001
|
-
};
|
|
15002
|
-
|
|
15003
|
-
/**
|
|
15004
|
-
* Creates a plain object from a SelectiveGapicGeneration message. Also converts values to other types if specified.
|
|
15005
|
-
* @function toObject
|
|
15006
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
15007
|
-
* @static
|
|
15008
|
-
* @param {google.api.SelectiveGapicGeneration} message SelectiveGapicGeneration
|
|
15009
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
15010
|
-
* @returns {Object.<string,*>} Plain object
|
|
15011
|
-
*/
|
|
15012
|
-
SelectiveGapicGeneration.toObject = function toObject(message, options) {
|
|
15013
|
-
if (!options)
|
|
15014
|
-
options = {};
|
|
15015
|
-
var object = {};
|
|
15016
|
-
if (options.arrays || options.defaults)
|
|
15017
|
-
object.methods = [];
|
|
15018
|
-
if (options.defaults)
|
|
15019
|
-
object.generateOmittedAsInternal = false;
|
|
15020
|
-
if (message.methods && message.methods.length) {
|
|
15021
|
-
object.methods = [];
|
|
15022
|
-
for (var j = 0; j < message.methods.length; ++j)
|
|
15023
|
-
object.methods[j] = message.methods[j];
|
|
15024
|
-
}
|
|
15025
|
-
if (message.generateOmittedAsInternal != null && message.hasOwnProperty("generateOmittedAsInternal"))
|
|
15026
|
-
object.generateOmittedAsInternal = message.generateOmittedAsInternal;
|
|
15027
|
-
return object;
|
|
15028
|
-
};
|
|
15029
|
-
|
|
15030
|
-
/**
|
|
15031
|
-
* Converts this SelectiveGapicGeneration to JSON.
|
|
15032
|
-
* @function toJSON
|
|
15033
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
15034
|
-
* @instance
|
|
15035
|
-
* @returns {Object.<string,*>} JSON object
|
|
15036
|
-
*/
|
|
15037
|
-
SelectiveGapicGeneration.prototype.toJSON = function toJSON() {
|
|
15038
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
15039
|
-
};
|
|
15040
|
-
|
|
15041
|
-
/**
|
|
15042
|
-
* Gets the default type url for SelectiveGapicGeneration
|
|
15043
|
-
* @function getTypeUrl
|
|
15044
|
-
* @memberof google.api.SelectiveGapicGeneration
|
|
15045
|
-
* @static
|
|
15046
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
15047
|
-
* @returns {string} The default type url
|
|
15048
|
-
*/
|
|
15049
|
-
SelectiveGapicGeneration.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
15050
|
-
if (typeUrlPrefix === undefined) {
|
|
15051
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
15052
|
-
}
|
|
15053
|
-
return typeUrlPrefix + "/google.api.SelectiveGapicGeneration";
|
|
15054
|
-
};
|
|
15055
|
-
|
|
15056
|
-
return SelectiveGapicGeneration;
|
|
15057
|
-
})();
|
|
15058
|
-
|
|
15059
14567
|
/**
|
|
15060
14568
|
* LaunchStage enum.
|
|
15061
14569
|
* @name google.api.LaunchStage
|
|
@@ -16041,7 +15549,6 @@
|
|
|
16041
15549
|
* @name google.protobuf.Edition
|
|
16042
15550
|
* @enum {number}
|
|
16043
15551
|
* @property {number} EDITION_UNKNOWN=0 EDITION_UNKNOWN value
|
|
16044
|
-
* @property {number} EDITION_LEGACY=900 EDITION_LEGACY value
|
|
16045
15552
|
* @property {number} EDITION_PROTO2=998 EDITION_PROTO2 value
|
|
16046
15553
|
* @property {number} EDITION_PROTO3=999 EDITION_PROTO3 value
|
|
16047
15554
|
* @property {number} EDITION_2023=1000 EDITION_2023 value
|
|
@@ -16056,7 +15563,6 @@
|
|
|
16056
15563
|
protobuf.Edition = (function() {
|
|
16057
15564
|
var valuesById = {}, values = Object.create(valuesById);
|
|
16058
15565
|
values[valuesById[0] = "EDITION_UNKNOWN"] = 0;
|
|
16059
|
-
values[valuesById[900] = "EDITION_LEGACY"] = 900;
|
|
16060
15566
|
values[valuesById[998] = "EDITION_PROTO2"] = 998;
|
|
16061
15567
|
values[valuesById[999] = "EDITION_PROTO3"] = 999;
|
|
16062
15568
|
values[valuesById[1000] = "EDITION_2023"] = 1000;
|
|
@@ -16081,7 +15587,6 @@
|
|
|
16081
15587
|
* @property {Array.<string>|null} [dependency] FileDescriptorProto dependency
|
|
16082
15588
|
* @property {Array.<number>|null} [publicDependency] FileDescriptorProto publicDependency
|
|
16083
15589
|
* @property {Array.<number>|null} [weakDependency] FileDescriptorProto weakDependency
|
|
16084
|
-
* @property {Array.<string>|null} [optionDependency] FileDescriptorProto optionDependency
|
|
16085
15590
|
* @property {Array.<google.protobuf.IDescriptorProto>|null} [messageType] FileDescriptorProto messageType
|
|
16086
15591
|
* @property {Array.<google.protobuf.IEnumDescriptorProto>|null} [enumType] FileDescriptorProto enumType
|
|
16087
15592
|
* @property {Array.<google.protobuf.IServiceDescriptorProto>|null} [service] FileDescriptorProto service
|
|
@@ -16104,7 +15609,6 @@
|
|
|
16104
15609
|
this.dependency = [];
|
|
16105
15610
|
this.publicDependency = [];
|
|
16106
15611
|
this.weakDependency = [];
|
|
16107
|
-
this.optionDependency = [];
|
|
16108
15612
|
this.messageType = [];
|
|
16109
15613
|
this.enumType = [];
|
|
16110
15614
|
this.service = [];
|
|
@@ -16155,14 +15659,6 @@
|
|
|
16155
15659
|
*/
|
|
16156
15660
|
FileDescriptorProto.prototype.weakDependency = $util.emptyArray;
|
|
16157
15661
|
|
|
16158
|
-
/**
|
|
16159
|
-
* FileDescriptorProto optionDependency.
|
|
16160
|
-
* @member {Array.<string>} optionDependency
|
|
16161
|
-
* @memberof google.protobuf.FileDescriptorProto
|
|
16162
|
-
* @instance
|
|
16163
|
-
*/
|
|
16164
|
-
FileDescriptorProto.prototype.optionDependency = $util.emptyArray;
|
|
16165
|
-
|
|
16166
15662
|
/**
|
|
16167
15663
|
* FileDescriptorProto messageType.
|
|
16168
15664
|
* @member {Array.<google.protobuf.IDescriptorProto>} messageType
|
|
@@ -16284,9 +15780,6 @@
|
|
|
16284
15780
|
writer.uint32(/* id 12, wireType 2 =*/98).string(message.syntax);
|
|
16285
15781
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
16286
15782
|
writer.uint32(/* id 14, wireType 0 =*/112).int32(message.edition);
|
|
16287
|
-
if (message.optionDependency != null && message.optionDependency.length)
|
|
16288
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
16289
|
-
writer.uint32(/* id 15, wireType 2 =*/122).string(message.optionDependency[i]);
|
|
16290
15783
|
return writer;
|
|
16291
15784
|
};
|
|
16292
15785
|
|
|
@@ -16359,12 +15852,6 @@
|
|
|
16359
15852
|
message.weakDependency.push(reader.int32());
|
|
16360
15853
|
break;
|
|
16361
15854
|
}
|
|
16362
|
-
case 15: {
|
|
16363
|
-
if (!(message.optionDependency && message.optionDependency.length))
|
|
16364
|
-
message.optionDependency = [];
|
|
16365
|
-
message.optionDependency.push(reader.string());
|
|
16366
|
-
break;
|
|
16367
|
-
}
|
|
16368
15855
|
case 4: {
|
|
16369
15856
|
if (!(message.messageType && message.messageType.length))
|
|
16370
15857
|
message.messageType = [];
|
|
@@ -16467,13 +15954,6 @@
|
|
|
16467
15954
|
if (!$util.isInteger(message.weakDependency[i]))
|
|
16468
15955
|
return "weakDependency: integer[] expected";
|
|
16469
15956
|
}
|
|
16470
|
-
if (message.optionDependency != null && message.hasOwnProperty("optionDependency")) {
|
|
16471
|
-
if (!Array.isArray(message.optionDependency))
|
|
16472
|
-
return "optionDependency: array expected";
|
|
16473
|
-
for (var i = 0; i < message.optionDependency.length; ++i)
|
|
16474
|
-
if (!$util.isString(message.optionDependency[i]))
|
|
16475
|
-
return "optionDependency: string[] expected";
|
|
16476
|
-
}
|
|
16477
15957
|
if (message.messageType != null && message.hasOwnProperty("messageType")) {
|
|
16478
15958
|
if (!Array.isArray(message.messageType))
|
|
16479
15959
|
return "messageType: array expected";
|
|
@@ -16528,7 +16008,6 @@
|
|
|
16528
16008
|
default:
|
|
16529
16009
|
return "edition: enum value expected";
|
|
16530
16010
|
case 0:
|
|
16531
|
-
case 900:
|
|
16532
16011
|
case 998:
|
|
16533
16012
|
case 999:
|
|
16534
16013
|
case 1000:
|
|
@@ -16581,13 +16060,6 @@
|
|
|
16581
16060
|
for (var i = 0; i < object.weakDependency.length; ++i)
|
|
16582
16061
|
message.weakDependency[i] = object.weakDependency[i] | 0;
|
|
16583
16062
|
}
|
|
16584
|
-
if (object.optionDependency) {
|
|
16585
|
-
if (!Array.isArray(object.optionDependency))
|
|
16586
|
-
throw TypeError(".google.protobuf.FileDescriptorProto.optionDependency: array expected");
|
|
16587
|
-
message.optionDependency = [];
|
|
16588
|
-
for (var i = 0; i < object.optionDependency.length; ++i)
|
|
16589
|
-
message.optionDependency[i] = String(object.optionDependency[i]);
|
|
16590
|
-
}
|
|
16591
16063
|
if (object.messageType) {
|
|
16592
16064
|
if (!Array.isArray(object.messageType))
|
|
16593
16065
|
throw TypeError(".google.protobuf.FileDescriptorProto.messageType: array expected");
|
|
@@ -16651,10 +16123,6 @@
|
|
|
16651
16123
|
case 0:
|
|
16652
16124
|
message.edition = 0;
|
|
16653
16125
|
break;
|
|
16654
|
-
case "EDITION_LEGACY":
|
|
16655
|
-
case 900:
|
|
16656
|
-
message.edition = 900;
|
|
16657
|
-
break;
|
|
16658
16126
|
case "EDITION_PROTO2":
|
|
16659
16127
|
case 998:
|
|
16660
16128
|
message.edition = 998;
|
|
@@ -16720,7 +16188,6 @@
|
|
|
16720
16188
|
object.extension = [];
|
|
16721
16189
|
object.publicDependency = [];
|
|
16722
16190
|
object.weakDependency = [];
|
|
16723
|
-
object.optionDependency = [];
|
|
16724
16191
|
}
|
|
16725
16192
|
if (options.defaults) {
|
|
16726
16193
|
object.name = "";
|
|
@@ -16777,11 +16244,6 @@
|
|
|
16777
16244
|
object.syntax = message.syntax;
|
|
16778
16245
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
16779
16246
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
16780
|
-
if (message.optionDependency && message.optionDependency.length) {
|
|
16781
|
-
object.optionDependency = [];
|
|
16782
|
-
for (var j = 0; j < message.optionDependency.length; ++j)
|
|
16783
|
-
object.optionDependency[j] = message.optionDependency[j];
|
|
16784
|
-
}
|
|
16785
16247
|
return object;
|
|
16786
16248
|
};
|
|
16787
16249
|
|
|
@@ -16830,7 +16292,6 @@
|
|
|
16830
16292
|
* @property {google.protobuf.IMessageOptions|null} [options] DescriptorProto options
|
|
16831
16293
|
* @property {Array.<google.protobuf.DescriptorProto.IReservedRange>|null} [reservedRange] DescriptorProto reservedRange
|
|
16832
16294
|
* @property {Array.<string>|null} [reservedName] DescriptorProto reservedName
|
|
16833
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] DescriptorProto visibility
|
|
16834
16295
|
*/
|
|
16835
16296
|
|
|
16836
16297
|
/**
|
|
@@ -16936,14 +16397,6 @@
|
|
|
16936
16397
|
*/
|
|
16937
16398
|
DescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
16938
16399
|
|
|
16939
|
-
/**
|
|
16940
|
-
* DescriptorProto visibility.
|
|
16941
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
16942
|
-
* @memberof google.protobuf.DescriptorProto
|
|
16943
|
-
* @instance
|
|
16944
|
-
*/
|
|
16945
|
-
DescriptorProto.prototype.visibility = 0;
|
|
16946
|
-
|
|
16947
16400
|
/**
|
|
16948
16401
|
* Creates a new DescriptorProto instance using the specified properties.
|
|
16949
16402
|
* @function create
|
|
@@ -16996,8 +16449,6 @@
|
|
|
16996
16449
|
if (message.reservedName != null && message.reservedName.length)
|
|
16997
16450
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
16998
16451
|
writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedName[i]);
|
|
16999
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
17000
|
-
writer.uint32(/* id 11, wireType 0 =*/88).int32(message.visibility);
|
|
17001
16452
|
return writer;
|
|
17002
16453
|
};
|
|
17003
16454
|
|
|
@@ -17090,10 +16541,6 @@
|
|
|
17090
16541
|
message.reservedName.push(reader.string());
|
|
17091
16542
|
break;
|
|
17092
16543
|
}
|
|
17093
|
-
case 11: {
|
|
17094
|
-
message.visibility = reader.int32();
|
|
17095
|
-
break;
|
|
17096
|
-
}
|
|
17097
16544
|
default:
|
|
17098
16545
|
reader.skipType(tag & 7);
|
|
17099
16546
|
break;
|
|
@@ -17207,15 +16654,6 @@
|
|
|
17207
16654
|
if (!$util.isString(message.reservedName[i]))
|
|
17208
16655
|
return "reservedName: string[] expected";
|
|
17209
16656
|
}
|
|
17210
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
17211
|
-
switch (message.visibility) {
|
|
17212
|
-
default:
|
|
17213
|
-
return "visibility: enum value expected";
|
|
17214
|
-
case 0:
|
|
17215
|
-
case 1:
|
|
17216
|
-
case 2:
|
|
17217
|
-
break;
|
|
17218
|
-
}
|
|
17219
16657
|
return null;
|
|
17220
16658
|
};
|
|
17221
16659
|
|
|
@@ -17315,26 +16753,6 @@
|
|
|
17315
16753
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
17316
16754
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
17317
16755
|
}
|
|
17318
|
-
switch (object.visibility) {
|
|
17319
|
-
default:
|
|
17320
|
-
if (typeof object.visibility === "number") {
|
|
17321
|
-
message.visibility = object.visibility;
|
|
17322
|
-
break;
|
|
17323
|
-
}
|
|
17324
|
-
break;
|
|
17325
|
-
case "VISIBILITY_UNSET":
|
|
17326
|
-
case 0:
|
|
17327
|
-
message.visibility = 0;
|
|
17328
|
-
break;
|
|
17329
|
-
case "VISIBILITY_LOCAL":
|
|
17330
|
-
case 1:
|
|
17331
|
-
message.visibility = 1;
|
|
17332
|
-
break;
|
|
17333
|
-
case "VISIBILITY_EXPORT":
|
|
17334
|
-
case 2:
|
|
17335
|
-
message.visibility = 2;
|
|
17336
|
-
break;
|
|
17337
|
-
}
|
|
17338
16756
|
return message;
|
|
17339
16757
|
};
|
|
17340
16758
|
|
|
@@ -17364,7 +16782,6 @@
|
|
|
17364
16782
|
if (options.defaults) {
|
|
17365
16783
|
object.name = "";
|
|
17366
16784
|
object.options = null;
|
|
17367
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
17368
16785
|
}
|
|
17369
16786
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
17370
16787
|
object.name = message.name;
|
|
@@ -17410,8 +16827,6 @@
|
|
|
17410
16827
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
17411
16828
|
object.reservedName[j] = message.reservedName[j];
|
|
17412
16829
|
}
|
|
17413
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
17414
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
17415
16830
|
return object;
|
|
17416
16831
|
};
|
|
17417
16832
|
|
|
@@ -19456,7 +18871,6 @@
|
|
|
19456
18871
|
* @property {google.protobuf.IEnumOptions|null} [options] EnumDescriptorProto options
|
|
19457
18872
|
* @property {Array.<google.protobuf.EnumDescriptorProto.IEnumReservedRange>|null} [reservedRange] EnumDescriptorProto reservedRange
|
|
19458
18873
|
* @property {Array.<string>|null} [reservedName] EnumDescriptorProto reservedName
|
|
19459
|
-
* @property {google.protobuf.SymbolVisibility|null} [visibility] EnumDescriptorProto visibility
|
|
19460
18874
|
*/
|
|
19461
18875
|
|
|
19462
18876
|
/**
|
|
@@ -19517,14 +18931,6 @@
|
|
|
19517
18931
|
*/
|
|
19518
18932
|
EnumDescriptorProto.prototype.reservedName = $util.emptyArray;
|
|
19519
18933
|
|
|
19520
|
-
/**
|
|
19521
|
-
* EnumDescriptorProto visibility.
|
|
19522
|
-
* @member {google.protobuf.SymbolVisibility} visibility
|
|
19523
|
-
* @memberof google.protobuf.EnumDescriptorProto
|
|
19524
|
-
* @instance
|
|
19525
|
-
*/
|
|
19526
|
-
EnumDescriptorProto.prototype.visibility = 0;
|
|
19527
|
-
|
|
19528
18934
|
/**
|
|
19529
18935
|
* Creates a new EnumDescriptorProto instance using the specified properties.
|
|
19530
18936
|
* @function create
|
|
@@ -19562,8 +18968,6 @@
|
|
|
19562
18968
|
if (message.reservedName != null && message.reservedName.length)
|
|
19563
18969
|
for (var i = 0; i < message.reservedName.length; ++i)
|
|
19564
18970
|
writer.uint32(/* id 5, wireType 2 =*/42).string(message.reservedName[i]);
|
|
19565
|
-
if (message.visibility != null && Object.hasOwnProperty.call(message, "visibility"))
|
|
19566
|
-
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.visibility);
|
|
19567
18971
|
return writer;
|
|
19568
18972
|
};
|
|
19569
18973
|
|
|
@@ -19626,10 +19030,6 @@
|
|
|
19626
19030
|
message.reservedName.push(reader.string());
|
|
19627
19031
|
break;
|
|
19628
19032
|
}
|
|
19629
|
-
case 6: {
|
|
19630
|
-
message.visibility = reader.int32();
|
|
19631
|
-
break;
|
|
19632
|
-
}
|
|
19633
19033
|
default:
|
|
19634
19034
|
reader.skipType(tag & 7);
|
|
19635
19035
|
break;
|
|
@@ -19698,15 +19098,6 @@
|
|
|
19698
19098
|
if (!$util.isString(message.reservedName[i]))
|
|
19699
19099
|
return "reservedName: string[] expected";
|
|
19700
19100
|
}
|
|
19701
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
19702
|
-
switch (message.visibility) {
|
|
19703
|
-
default:
|
|
19704
|
-
return "visibility: enum value expected";
|
|
19705
|
-
case 0:
|
|
19706
|
-
case 1:
|
|
19707
|
-
case 2:
|
|
19708
|
-
break;
|
|
19709
|
-
}
|
|
19710
19101
|
return null;
|
|
19711
19102
|
};
|
|
19712
19103
|
|
|
@@ -19756,26 +19147,6 @@
|
|
|
19756
19147
|
for (var i = 0; i < object.reservedName.length; ++i)
|
|
19757
19148
|
message.reservedName[i] = String(object.reservedName[i]);
|
|
19758
19149
|
}
|
|
19759
|
-
switch (object.visibility) {
|
|
19760
|
-
default:
|
|
19761
|
-
if (typeof object.visibility === "number") {
|
|
19762
|
-
message.visibility = object.visibility;
|
|
19763
|
-
break;
|
|
19764
|
-
}
|
|
19765
|
-
break;
|
|
19766
|
-
case "VISIBILITY_UNSET":
|
|
19767
|
-
case 0:
|
|
19768
|
-
message.visibility = 0;
|
|
19769
|
-
break;
|
|
19770
|
-
case "VISIBILITY_LOCAL":
|
|
19771
|
-
case 1:
|
|
19772
|
-
message.visibility = 1;
|
|
19773
|
-
break;
|
|
19774
|
-
case "VISIBILITY_EXPORT":
|
|
19775
|
-
case 2:
|
|
19776
|
-
message.visibility = 2;
|
|
19777
|
-
break;
|
|
19778
|
-
}
|
|
19779
19150
|
return message;
|
|
19780
19151
|
};
|
|
19781
19152
|
|
|
@@ -19800,7 +19171,6 @@
|
|
|
19800
19171
|
if (options.defaults) {
|
|
19801
19172
|
object.name = "";
|
|
19802
19173
|
object.options = null;
|
|
19803
|
-
object.visibility = options.enums === String ? "VISIBILITY_UNSET" : 0;
|
|
19804
19174
|
}
|
|
19805
19175
|
if (message.name != null && message.hasOwnProperty("name"))
|
|
19806
19176
|
object.name = message.name;
|
|
@@ -19821,8 +19191,6 @@
|
|
|
19821
19191
|
for (var j = 0; j < message.reservedName.length; ++j)
|
|
19822
19192
|
object.reservedName[j] = message.reservedName[j];
|
|
19823
19193
|
}
|
|
19824
|
-
if (message.visibility != null && message.hasOwnProperty("visibility"))
|
|
19825
|
-
object.visibility = options.enums === String ? $root.google.protobuf.SymbolVisibility[message.visibility] === undefined ? message.visibility : $root.google.protobuf.SymbolVisibility[message.visibility] : message.visibility;
|
|
19826
19194
|
return object;
|
|
19827
19195
|
};
|
|
19828
19196
|
|
|
@@ -22141,7 +21509,6 @@
|
|
|
22141
21509
|
* @property {Array.<google.protobuf.FieldOptions.OptionTargetType>|null} [targets] FieldOptions targets
|
|
22142
21510
|
* @property {Array.<google.protobuf.FieldOptions.IEditionDefault>|null} [editionDefaults] FieldOptions editionDefaults
|
|
22143
21511
|
* @property {google.protobuf.IFeatureSet|null} [features] FieldOptions features
|
|
22144
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] FieldOptions featureSupport
|
|
22145
21512
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
22146
21513
|
* @property {Array.<google.api.FieldBehavior>|null} [".google.api.fieldBehavior"] FieldOptions .google.api.fieldBehavior
|
|
22147
21514
|
* @property {google.api.IResourceReference|null} [".google.api.resourceReference"] FieldOptions .google.api.resourceReference
|
|
@@ -22262,14 +21629,6 @@
|
|
|
22262
21629
|
*/
|
|
22263
21630
|
FieldOptions.prototype.features = null;
|
|
22264
21631
|
|
|
22265
|
-
/**
|
|
22266
|
-
* FieldOptions featureSupport.
|
|
22267
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
22268
|
-
* @memberof google.protobuf.FieldOptions
|
|
22269
|
-
* @instance
|
|
22270
|
-
*/
|
|
22271
|
-
FieldOptions.prototype.featureSupport = null;
|
|
22272
|
-
|
|
22273
21632
|
/**
|
|
22274
21633
|
* FieldOptions uninterpretedOption.
|
|
22275
21634
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -22344,8 +21703,6 @@
|
|
|
22344
21703
|
$root.google.protobuf.FieldOptions.EditionDefault.encode(message.editionDefaults[i], writer.uint32(/* id 20, wireType 2 =*/162).fork()).ldelim();
|
|
22345
21704
|
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
22346
21705
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 21, wireType 2 =*/170).fork()).ldelim();
|
|
22347
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
22348
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 22, wireType 2 =*/178).fork()).ldelim();
|
|
22349
21706
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
22350
21707
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
22351
21708
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -22447,10 +21804,6 @@
|
|
|
22447
21804
|
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
22448
21805
|
break;
|
|
22449
21806
|
}
|
|
22450
|
-
case 22: {
|
|
22451
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
22452
|
-
break;
|
|
22453
|
-
}
|
|
22454
21807
|
case 999: {
|
|
22455
21808
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
22456
21809
|
message.uninterpretedOption = [];
|
|
@@ -22586,11 +21939,6 @@
|
|
|
22586
21939
|
if (error)
|
|
22587
21940
|
return "features." + error;
|
|
22588
21941
|
}
|
|
22589
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
22590
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
22591
|
-
if (error)
|
|
22592
|
-
return "featureSupport." + error;
|
|
22593
|
-
}
|
|
22594
21942
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
22595
21943
|
if (!Array.isArray(message.uninterpretedOption))
|
|
22596
21944
|
return "uninterpretedOption: array expected";
|
|
@@ -22779,11 +22127,6 @@
|
|
|
22779
22127
|
throw TypeError(".google.protobuf.FieldOptions.features: object expected");
|
|
22780
22128
|
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
22781
22129
|
}
|
|
22782
|
-
if (object.featureSupport != null) {
|
|
22783
|
-
if (typeof object.featureSupport !== "object")
|
|
22784
|
-
throw TypeError(".google.protobuf.FieldOptions.featureSupport: object expected");
|
|
22785
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
22786
|
-
}
|
|
22787
22130
|
if (object.uninterpretedOption) {
|
|
22788
22131
|
if (!Array.isArray(object.uninterpretedOption))
|
|
22789
22132
|
throw TypeError(".google.protobuf.FieldOptions.uninterpretedOption: array expected");
|
|
@@ -22881,7 +22224,6 @@
|
|
|
22881
22224
|
object.debugRedact = false;
|
|
22882
22225
|
object.retention = options.enums === String ? "RETENTION_UNKNOWN" : 0;
|
|
22883
22226
|
object.features = null;
|
|
22884
|
-
object.featureSupport = null;
|
|
22885
22227
|
object[".google.api.resourceReference"] = null;
|
|
22886
22228
|
}
|
|
22887
22229
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -22914,8 +22256,6 @@
|
|
|
22914
22256
|
}
|
|
22915
22257
|
if (message.features != null && message.hasOwnProperty("features"))
|
|
22916
22258
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
22917
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
22918
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
22919
22259
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
22920
22260
|
object.uninterpretedOption = [];
|
|
22921
22261
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -23188,7 +22528,6 @@
|
|
|
23188
22528
|
default:
|
|
23189
22529
|
return "edition: enum value expected";
|
|
23190
22530
|
case 0:
|
|
23191
|
-
case 900:
|
|
23192
22531
|
case 998:
|
|
23193
22532
|
case 999:
|
|
23194
22533
|
case 1000:
|
|
@@ -23230,10 +22569,6 @@
|
|
|
23230
22569
|
case 0:
|
|
23231
22570
|
message.edition = 0;
|
|
23232
22571
|
break;
|
|
23233
|
-
case "EDITION_LEGACY":
|
|
23234
|
-
case 900:
|
|
23235
|
-
message.edition = 900;
|
|
23236
|
-
break;
|
|
23237
22572
|
case "EDITION_PROTO2":
|
|
23238
22573
|
case 998:
|
|
23239
22574
|
message.edition = 998;
|
|
@@ -23333,500 +22668,18 @@
|
|
|
23333
22668
|
return EditionDefault;
|
|
23334
22669
|
})();
|
|
23335
22670
|
|
|
23336
|
-
FieldOptions
|
|
23337
|
-
|
|
23338
|
-
/**
|
|
23339
|
-
* Properties of a FeatureSupport.
|
|
23340
|
-
* @memberof google.protobuf.FieldOptions
|
|
23341
|
-
* @interface IFeatureSupport
|
|
23342
|
-
* @property {google.protobuf.Edition|null} [editionIntroduced] FeatureSupport editionIntroduced
|
|
23343
|
-
* @property {google.protobuf.Edition|null} [editionDeprecated] FeatureSupport editionDeprecated
|
|
23344
|
-
* @property {string|null} [deprecationWarning] FeatureSupport deprecationWarning
|
|
23345
|
-
* @property {google.protobuf.Edition|null} [editionRemoved] FeatureSupport editionRemoved
|
|
23346
|
-
*/
|
|
23347
|
-
|
|
23348
|
-
/**
|
|
23349
|
-
* Constructs a new FeatureSupport.
|
|
23350
|
-
* @memberof google.protobuf.FieldOptions
|
|
23351
|
-
* @classdesc Represents a FeatureSupport.
|
|
23352
|
-
* @implements IFeatureSupport
|
|
23353
|
-
* @constructor
|
|
23354
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
23355
|
-
*/
|
|
23356
|
-
function FeatureSupport(properties) {
|
|
23357
|
-
if (properties)
|
|
23358
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
23359
|
-
if (properties[keys[i]] != null)
|
|
23360
|
-
this[keys[i]] = properties[keys[i]];
|
|
23361
|
-
}
|
|
23362
|
-
|
|
23363
|
-
/**
|
|
23364
|
-
* FeatureSupport editionIntroduced.
|
|
23365
|
-
* @member {google.protobuf.Edition} editionIntroduced
|
|
23366
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23367
|
-
* @instance
|
|
23368
|
-
*/
|
|
23369
|
-
FeatureSupport.prototype.editionIntroduced = 0;
|
|
22671
|
+
return FieldOptions;
|
|
22672
|
+
})();
|
|
23370
22673
|
|
|
23371
|
-
|
|
23372
|
-
* FeatureSupport editionDeprecated.
|
|
23373
|
-
* @member {google.protobuf.Edition} editionDeprecated
|
|
23374
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23375
|
-
* @instance
|
|
23376
|
-
*/
|
|
23377
|
-
FeatureSupport.prototype.editionDeprecated = 0;
|
|
22674
|
+
protobuf.OneofOptions = (function() {
|
|
23378
22675
|
|
|
23379
|
-
|
|
23380
|
-
|
|
23381
|
-
|
|
23382
|
-
|
|
23383
|
-
|
|
23384
|
-
|
|
23385
|
-
|
|
23386
|
-
|
|
23387
|
-
/**
|
|
23388
|
-
* FeatureSupport editionRemoved.
|
|
23389
|
-
* @member {google.protobuf.Edition} editionRemoved
|
|
23390
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23391
|
-
* @instance
|
|
23392
|
-
*/
|
|
23393
|
-
FeatureSupport.prototype.editionRemoved = 0;
|
|
23394
|
-
|
|
23395
|
-
/**
|
|
23396
|
-
* Creates a new FeatureSupport instance using the specified properties.
|
|
23397
|
-
* @function create
|
|
23398
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23399
|
-
* @static
|
|
23400
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport=} [properties] Properties to set
|
|
23401
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport instance
|
|
23402
|
-
*/
|
|
23403
|
-
FeatureSupport.create = function create(properties) {
|
|
23404
|
-
return new FeatureSupport(properties);
|
|
23405
|
-
};
|
|
23406
|
-
|
|
23407
|
-
/**
|
|
23408
|
-
* Encodes the specified FeatureSupport message. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
23409
|
-
* @function encode
|
|
23410
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23411
|
-
* @static
|
|
23412
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
23413
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23414
|
-
* @returns {$protobuf.Writer} Writer
|
|
23415
|
-
*/
|
|
23416
|
-
FeatureSupport.encode = function encode(message, writer) {
|
|
23417
|
-
if (!writer)
|
|
23418
|
-
writer = $Writer.create();
|
|
23419
|
-
if (message.editionIntroduced != null && Object.hasOwnProperty.call(message, "editionIntroduced"))
|
|
23420
|
-
writer.uint32(/* id 1, wireType 0 =*/8).int32(message.editionIntroduced);
|
|
23421
|
-
if (message.editionDeprecated != null && Object.hasOwnProperty.call(message, "editionDeprecated"))
|
|
23422
|
-
writer.uint32(/* id 2, wireType 0 =*/16).int32(message.editionDeprecated);
|
|
23423
|
-
if (message.deprecationWarning != null && Object.hasOwnProperty.call(message, "deprecationWarning"))
|
|
23424
|
-
writer.uint32(/* id 3, wireType 2 =*/26).string(message.deprecationWarning);
|
|
23425
|
-
if (message.editionRemoved != null && Object.hasOwnProperty.call(message, "editionRemoved"))
|
|
23426
|
-
writer.uint32(/* id 4, wireType 0 =*/32).int32(message.editionRemoved);
|
|
23427
|
-
return writer;
|
|
23428
|
-
};
|
|
23429
|
-
|
|
23430
|
-
/**
|
|
23431
|
-
* Encodes the specified FeatureSupport message, length delimited. Does not implicitly {@link google.protobuf.FieldOptions.FeatureSupport.verify|verify} messages.
|
|
23432
|
-
* @function encodeDelimited
|
|
23433
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23434
|
-
* @static
|
|
23435
|
-
* @param {google.protobuf.FieldOptions.IFeatureSupport} message FeatureSupport message or plain object to encode
|
|
23436
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
23437
|
-
* @returns {$protobuf.Writer} Writer
|
|
23438
|
-
*/
|
|
23439
|
-
FeatureSupport.encodeDelimited = function encodeDelimited(message, writer) {
|
|
23440
|
-
return this.encode(message, writer).ldelim();
|
|
23441
|
-
};
|
|
23442
|
-
|
|
23443
|
-
/**
|
|
23444
|
-
* Decodes a FeatureSupport message from the specified reader or buffer.
|
|
23445
|
-
* @function decode
|
|
23446
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23447
|
-
* @static
|
|
23448
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23449
|
-
* @param {number} [length] Message length if known beforehand
|
|
23450
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
23451
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23452
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23453
|
-
*/
|
|
23454
|
-
FeatureSupport.decode = function decode(reader, length, error) {
|
|
23455
|
-
if (!(reader instanceof $Reader))
|
|
23456
|
-
reader = $Reader.create(reader);
|
|
23457
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
23458
|
-
while (reader.pos < end) {
|
|
23459
|
-
var tag = reader.uint32();
|
|
23460
|
-
if (tag === error)
|
|
23461
|
-
break;
|
|
23462
|
-
switch (tag >>> 3) {
|
|
23463
|
-
case 1: {
|
|
23464
|
-
message.editionIntroduced = reader.int32();
|
|
23465
|
-
break;
|
|
23466
|
-
}
|
|
23467
|
-
case 2: {
|
|
23468
|
-
message.editionDeprecated = reader.int32();
|
|
23469
|
-
break;
|
|
23470
|
-
}
|
|
23471
|
-
case 3: {
|
|
23472
|
-
message.deprecationWarning = reader.string();
|
|
23473
|
-
break;
|
|
23474
|
-
}
|
|
23475
|
-
case 4: {
|
|
23476
|
-
message.editionRemoved = reader.int32();
|
|
23477
|
-
break;
|
|
23478
|
-
}
|
|
23479
|
-
default:
|
|
23480
|
-
reader.skipType(tag & 7);
|
|
23481
|
-
break;
|
|
23482
|
-
}
|
|
23483
|
-
}
|
|
23484
|
-
return message;
|
|
23485
|
-
};
|
|
23486
|
-
|
|
23487
|
-
/**
|
|
23488
|
-
* Decodes a FeatureSupport message from the specified reader or buffer, length delimited.
|
|
23489
|
-
* @function decodeDelimited
|
|
23490
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23491
|
-
* @static
|
|
23492
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
23493
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
23494
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
23495
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
23496
|
-
*/
|
|
23497
|
-
FeatureSupport.decodeDelimited = function decodeDelimited(reader) {
|
|
23498
|
-
if (!(reader instanceof $Reader))
|
|
23499
|
-
reader = new $Reader(reader);
|
|
23500
|
-
return this.decode(reader, reader.uint32());
|
|
23501
|
-
};
|
|
23502
|
-
|
|
23503
|
-
/**
|
|
23504
|
-
* Verifies a FeatureSupport message.
|
|
23505
|
-
* @function verify
|
|
23506
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23507
|
-
* @static
|
|
23508
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
23509
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
23510
|
-
*/
|
|
23511
|
-
FeatureSupport.verify = function verify(message) {
|
|
23512
|
-
if (typeof message !== "object" || message === null)
|
|
23513
|
-
return "object expected";
|
|
23514
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
23515
|
-
switch (message.editionIntroduced) {
|
|
23516
|
-
default:
|
|
23517
|
-
return "editionIntroduced: enum value expected";
|
|
23518
|
-
case 0:
|
|
23519
|
-
case 900:
|
|
23520
|
-
case 998:
|
|
23521
|
-
case 999:
|
|
23522
|
-
case 1000:
|
|
23523
|
-
case 1001:
|
|
23524
|
-
case 1:
|
|
23525
|
-
case 2:
|
|
23526
|
-
case 99997:
|
|
23527
|
-
case 99998:
|
|
23528
|
-
case 99999:
|
|
23529
|
-
case 2147483647:
|
|
23530
|
-
break;
|
|
23531
|
-
}
|
|
23532
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
23533
|
-
switch (message.editionDeprecated) {
|
|
23534
|
-
default:
|
|
23535
|
-
return "editionDeprecated: enum value expected";
|
|
23536
|
-
case 0:
|
|
23537
|
-
case 900:
|
|
23538
|
-
case 998:
|
|
23539
|
-
case 999:
|
|
23540
|
-
case 1000:
|
|
23541
|
-
case 1001:
|
|
23542
|
-
case 1:
|
|
23543
|
-
case 2:
|
|
23544
|
-
case 99997:
|
|
23545
|
-
case 99998:
|
|
23546
|
-
case 99999:
|
|
23547
|
-
case 2147483647:
|
|
23548
|
-
break;
|
|
23549
|
-
}
|
|
23550
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
23551
|
-
if (!$util.isString(message.deprecationWarning))
|
|
23552
|
-
return "deprecationWarning: string expected";
|
|
23553
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
23554
|
-
switch (message.editionRemoved) {
|
|
23555
|
-
default:
|
|
23556
|
-
return "editionRemoved: enum value expected";
|
|
23557
|
-
case 0:
|
|
23558
|
-
case 900:
|
|
23559
|
-
case 998:
|
|
23560
|
-
case 999:
|
|
23561
|
-
case 1000:
|
|
23562
|
-
case 1001:
|
|
23563
|
-
case 1:
|
|
23564
|
-
case 2:
|
|
23565
|
-
case 99997:
|
|
23566
|
-
case 99998:
|
|
23567
|
-
case 99999:
|
|
23568
|
-
case 2147483647:
|
|
23569
|
-
break;
|
|
23570
|
-
}
|
|
23571
|
-
return null;
|
|
23572
|
-
};
|
|
23573
|
-
|
|
23574
|
-
/**
|
|
23575
|
-
* Creates a FeatureSupport message from a plain object. Also converts values to their respective internal types.
|
|
23576
|
-
* @function fromObject
|
|
23577
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23578
|
-
* @static
|
|
23579
|
-
* @param {Object.<string,*>} object Plain object
|
|
23580
|
-
* @returns {google.protobuf.FieldOptions.FeatureSupport} FeatureSupport
|
|
23581
|
-
*/
|
|
23582
|
-
FeatureSupport.fromObject = function fromObject(object) {
|
|
23583
|
-
if (object instanceof $root.google.protobuf.FieldOptions.FeatureSupport)
|
|
23584
|
-
return object;
|
|
23585
|
-
var message = new $root.google.protobuf.FieldOptions.FeatureSupport();
|
|
23586
|
-
switch (object.editionIntroduced) {
|
|
23587
|
-
default:
|
|
23588
|
-
if (typeof object.editionIntroduced === "number") {
|
|
23589
|
-
message.editionIntroduced = object.editionIntroduced;
|
|
23590
|
-
break;
|
|
23591
|
-
}
|
|
23592
|
-
break;
|
|
23593
|
-
case "EDITION_UNKNOWN":
|
|
23594
|
-
case 0:
|
|
23595
|
-
message.editionIntroduced = 0;
|
|
23596
|
-
break;
|
|
23597
|
-
case "EDITION_LEGACY":
|
|
23598
|
-
case 900:
|
|
23599
|
-
message.editionIntroduced = 900;
|
|
23600
|
-
break;
|
|
23601
|
-
case "EDITION_PROTO2":
|
|
23602
|
-
case 998:
|
|
23603
|
-
message.editionIntroduced = 998;
|
|
23604
|
-
break;
|
|
23605
|
-
case "EDITION_PROTO3":
|
|
23606
|
-
case 999:
|
|
23607
|
-
message.editionIntroduced = 999;
|
|
23608
|
-
break;
|
|
23609
|
-
case "EDITION_2023":
|
|
23610
|
-
case 1000:
|
|
23611
|
-
message.editionIntroduced = 1000;
|
|
23612
|
-
break;
|
|
23613
|
-
case "EDITION_2024":
|
|
23614
|
-
case 1001:
|
|
23615
|
-
message.editionIntroduced = 1001;
|
|
23616
|
-
break;
|
|
23617
|
-
case "EDITION_1_TEST_ONLY":
|
|
23618
|
-
case 1:
|
|
23619
|
-
message.editionIntroduced = 1;
|
|
23620
|
-
break;
|
|
23621
|
-
case "EDITION_2_TEST_ONLY":
|
|
23622
|
-
case 2:
|
|
23623
|
-
message.editionIntroduced = 2;
|
|
23624
|
-
break;
|
|
23625
|
-
case "EDITION_99997_TEST_ONLY":
|
|
23626
|
-
case 99997:
|
|
23627
|
-
message.editionIntroduced = 99997;
|
|
23628
|
-
break;
|
|
23629
|
-
case "EDITION_99998_TEST_ONLY":
|
|
23630
|
-
case 99998:
|
|
23631
|
-
message.editionIntroduced = 99998;
|
|
23632
|
-
break;
|
|
23633
|
-
case "EDITION_99999_TEST_ONLY":
|
|
23634
|
-
case 99999:
|
|
23635
|
-
message.editionIntroduced = 99999;
|
|
23636
|
-
break;
|
|
23637
|
-
case "EDITION_MAX":
|
|
23638
|
-
case 2147483647:
|
|
23639
|
-
message.editionIntroduced = 2147483647;
|
|
23640
|
-
break;
|
|
23641
|
-
}
|
|
23642
|
-
switch (object.editionDeprecated) {
|
|
23643
|
-
default:
|
|
23644
|
-
if (typeof object.editionDeprecated === "number") {
|
|
23645
|
-
message.editionDeprecated = object.editionDeprecated;
|
|
23646
|
-
break;
|
|
23647
|
-
}
|
|
23648
|
-
break;
|
|
23649
|
-
case "EDITION_UNKNOWN":
|
|
23650
|
-
case 0:
|
|
23651
|
-
message.editionDeprecated = 0;
|
|
23652
|
-
break;
|
|
23653
|
-
case "EDITION_LEGACY":
|
|
23654
|
-
case 900:
|
|
23655
|
-
message.editionDeprecated = 900;
|
|
23656
|
-
break;
|
|
23657
|
-
case "EDITION_PROTO2":
|
|
23658
|
-
case 998:
|
|
23659
|
-
message.editionDeprecated = 998;
|
|
23660
|
-
break;
|
|
23661
|
-
case "EDITION_PROTO3":
|
|
23662
|
-
case 999:
|
|
23663
|
-
message.editionDeprecated = 999;
|
|
23664
|
-
break;
|
|
23665
|
-
case "EDITION_2023":
|
|
23666
|
-
case 1000:
|
|
23667
|
-
message.editionDeprecated = 1000;
|
|
23668
|
-
break;
|
|
23669
|
-
case "EDITION_2024":
|
|
23670
|
-
case 1001:
|
|
23671
|
-
message.editionDeprecated = 1001;
|
|
23672
|
-
break;
|
|
23673
|
-
case "EDITION_1_TEST_ONLY":
|
|
23674
|
-
case 1:
|
|
23675
|
-
message.editionDeprecated = 1;
|
|
23676
|
-
break;
|
|
23677
|
-
case "EDITION_2_TEST_ONLY":
|
|
23678
|
-
case 2:
|
|
23679
|
-
message.editionDeprecated = 2;
|
|
23680
|
-
break;
|
|
23681
|
-
case "EDITION_99997_TEST_ONLY":
|
|
23682
|
-
case 99997:
|
|
23683
|
-
message.editionDeprecated = 99997;
|
|
23684
|
-
break;
|
|
23685
|
-
case "EDITION_99998_TEST_ONLY":
|
|
23686
|
-
case 99998:
|
|
23687
|
-
message.editionDeprecated = 99998;
|
|
23688
|
-
break;
|
|
23689
|
-
case "EDITION_99999_TEST_ONLY":
|
|
23690
|
-
case 99999:
|
|
23691
|
-
message.editionDeprecated = 99999;
|
|
23692
|
-
break;
|
|
23693
|
-
case "EDITION_MAX":
|
|
23694
|
-
case 2147483647:
|
|
23695
|
-
message.editionDeprecated = 2147483647;
|
|
23696
|
-
break;
|
|
23697
|
-
}
|
|
23698
|
-
if (object.deprecationWarning != null)
|
|
23699
|
-
message.deprecationWarning = String(object.deprecationWarning);
|
|
23700
|
-
switch (object.editionRemoved) {
|
|
23701
|
-
default:
|
|
23702
|
-
if (typeof object.editionRemoved === "number") {
|
|
23703
|
-
message.editionRemoved = object.editionRemoved;
|
|
23704
|
-
break;
|
|
23705
|
-
}
|
|
23706
|
-
break;
|
|
23707
|
-
case "EDITION_UNKNOWN":
|
|
23708
|
-
case 0:
|
|
23709
|
-
message.editionRemoved = 0;
|
|
23710
|
-
break;
|
|
23711
|
-
case "EDITION_LEGACY":
|
|
23712
|
-
case 900:
|
|
23713
|
-
message.editionRemoved = 900;
|
|
23714
|
-
break;
|
|
23715
|
-
case "EDITION_PROTO2":
|
|
23716
|
-
case 998:
|
|
23717
|
-
message.editionRemoved = 998;
|
|
23718
|
-
break;
|
|
23719
|
-
case "EDITION_PROTO3":
|
|
23720
|
-
case 999:
|
|
23721
|
-
message.editionRemoved = 999;
|
|
23722
|
-
break;
|
|
23723
|
-
case "EDITION_2023":
|
|
23724
|
-
case 1000:
|
|
23725
|
-
message.editionRemoved = 1000;
|
|
23726
|
-
break;
|
|
23727
|
-
case "EDITION_2024":
|
|
23728
|
-
case 1001:
|
|
23729
|
-
message.editionRemoved = 1001;
|
|
23730
|
-
break;
|
|
23731
|
-
case "EDITION_1_TEST_ONLY":
|
|
23732
|
-
case 1:
|
|
23733
|
-
message.editionRemoved = 1;
|
|
23734
|
-
break;
|
|
23735
|
-
case "EDITION_2_TEST_ONLY":
|
|
23736
|
-
case 2:
|
|
23737
|
-
message.editionRemoved = 2;
|
|
23738
|
-
break;
|
|
23739
|
-
case "EDITION_99997_TEST_ONLY":
|
|
23740
|
-
case 99997:
|
|
23741
|
-
message.editionRemoved = 99997;
|
|
23742
|
-
break;
|
|
23743
|
-
case "EDITION_99998_TEST_ONLY":
|
|
23744
|
-
case 99998:
|
|
23745
|
-
message.editionRemoved = 99998;
|
|
23746
|
-
break;
|
|
23747
|
-
case "EDITION_99999_TEST_ONLY":
|
|
23748
|
-
case 99999:
|
|
23749
|
-
message.editionRemoved = 99999;
|
|
23750
|
-
break;
|
|
23751
|
-
case "EDITION_MAX":
|
|
23752
|
-
case 2147483647:
|
|
23753
|
-
message.editionRemoved = 2147483647;
|
|
23754
|
-
break;
|
|
23755
|
-
}
|
|
23756
|
-
return message;
|
|
23757
|
-
};
|
|
23758
|
-
|
|
23759
|
-
/**
|
|
23760
|
-
* Creates a plain object from a FeatureSupport message. Also converts values to other types if specified.
|
|
23761
|
-
* @function toObject
|
|
23762
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23763
|
-
* @static
|
|
23764
|
-
* @param {google.protobuf.FieldOptions.FeatureSupport} message FeatureSupport
|
|
23765
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
23766
|
-
* @returns {Object.<string,*>} Plain object
|
|
23767
|
-
*/
|
|
23768
|
-
FeatureSupport.toObject = function toObject(message, options) {
|
|
23769
|
-
if (!options)
|
|
23770
|
-
options = {};
|
|
23771
|
-
var object = {};
|
|
23772
|
-
if (options.defaults) {
|
|
23773
|
-
object.editionIntroduced = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
23774
|
-
object.editionDeprecated = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
23775
|
-
object.deprecationWarning = "";
|
|
23776
|
-
object.editionRemoved = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
23777
|
-
}
|
|
23778
|
-
if (message.editionIntroduced != null && message.hasOwnProperty("editionIntroduced"))
|
|
23779
|
-
object.editionIntroduced = options.enums === String ? $root.google.protobuf.Edition[message.editionIntroduced] === undefined ? message.editionIntroduced : $root.google.protobuf.Edition[message.editionIntroduced] : message.editionIntroduced;
|
|
23780
|
-
if (message.editionDeprecated != null && message.hasOwnProperty("editionDeprecated"))
|
|
23781
|
-
object.editionDeprecated = options.enums === String ? $root.google.protobuf.Edition[message.editionDeprecated] === undefined ? message.editionDeprecated : $root.google.protobuf.Edition[message.editionDeprecated] : message.editionDeprecated;
|
|
23782
|
-
if (message.deprecationWarning != null && message.hasOwnProperty("deprecationWarning"))
|
|
23783
|
-
object.deprecationWarning = message.deprecationWarning;
|
|
23784
|
-
if (message.editionRemoved != null && message.hasOwnProperty("editionRemoved"))
|
|
23785
|
-
object.editionRemoved = options.enums === String ? $root.google.protobuf.Edition[message.editionRemoved] === undefined ? message.editionRemoved : $root.google.protobuf.Edition[message.editionRemoved] : message.editionRemoved;
|
|
23786
|
-
return object;
|
|
23787
|
-
};
|
|
23788
|
-
|
|
23789
|
-
/**
|
|
23790
|
-
* Converts this FeatureSupport to JSON.
|
|
23791
|
-
* @function toJSON
|
|
23792
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23793
|
-
* @instance
|
|
23794
|
-
* @returns {Object.<string,*>} JSON object
|
|
23795
|
-
*/
|
|
23796
|
-
FeatureSupport.prototype.toJSON = function toJSON() {
|
|
23797
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
23798
|
-
};
|
|
23799
|
-
|
|
23800
|
-
/**
|
|
23801
|
-
* Gets the default type url for FeatureSupport
|
|
23802
|
-
* @function getTypeUrl
|
|
23803
|
-
* @memberof google.protobuf.FieldOptions.FeatureSupport
|
|
23804
|
-
* @static
|
|
23805
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
23806
|
-
* @returns {string} The default type url
|
|
23807
|
-
*/
|
|
23808
|
-
FeatureSupport.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
23809
|
-
if (typeUrlPrefix === undefined) {
|
|
23810
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
23811
|
-
}
|
|
23812
|
-
return typeUrlPrefix + "/google.protobuf.FieldOptions.FeatureSupport";
|
|
23813
|
-
};
|
|
23814
|
-
|
|
23815
|
-
return FeatureSupport;
|
|
23816
|
-
})();
|
|
23817
|
-
|
|
23818
|
-
return FieldOptions;
|
|
23819
|
-
})();
|
|
23820
|
-
|
|
23821
|
-
protobuf.OneofOptions = (function() {
|
|
23822
|
-
|
|
23823
|
-
/**
|
|
23824
|
-
* Properties of an OneofOptions.
|
|
23825
|
-
* @memberof google.protobuf
|
|
23826
|
-
* @interface IOneofOptions
|
|
23827
|
-
* @property {google.protobuf.IFeatureSet|null} [features] OneofOptions features
|
|
23828
|
-
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] OneofOptions uninterpretedOption
|
|
23829
|
-
*/
|
|
22676
|
+
/**
|
|
22677
|
+
* Properties of an OneofOptions.
|
|
22678
|
+
* @memberof google.protobuf
|
|
22679
|
+
* @interface IOneofOptions
|
|
22680
|
+
* @property {google.protobuf.IFeatureSet|null} [features] OneofOptions features
|
|
22681
|
+
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] OneofOptions uninterpretedOption
|
|
22682
|
+
*/
|
|
23830
22683
|
|
|
23831
22684
|
/**
|
|
23832
22685
|
* Constructs a new OneofOptions.
|
|
@@ -24407,7 +23260,6 @@
|
|
|
24407
23260
|
* @property {boolean|null} [deprecated] EnumValueOptions deprecated
|
|
24408
23261
|
* @property {google.protobuf.IFeatureSet|null} [features] EnumValueOptions features
|
|
24409
23262
|
* @property {boolean|null} [debugRedact] EnumValueOptions debugRedact
|
|
24410
|
-
* @property {google.protobuf.FieldOptions.IFeatureSupport|null} [featureSupport] EnumValueOptions featureSupport
|
|
24411
23263
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] EnumValueOptions uninterpretedOption
|
|
24412
23264
|
*/
|
|
24413
23265
|
|
|
@@ -24451,14 +23303,6 @@
|
|
|
24451
23303
|
*/
|
|
24452
23304
|
EnumValueOptions.prototype.debugRedact = false;
|
|
24453
23305
|
|
|
24454
|
-
/**
|
|
24455
|
-
* EnumValueOptions featureSupport.
|
|
24456
|
-
* @member {google.protobuf.FieldOptions.IFeatureSupport|null|undefined} featureSupport
|
|
24457
|
-
* @memberof google.protobuf.EnumValueOptions
|
|
24458
|
-
* @instance
|
|
24459
|
-
*/
|
|
24460
|
-
EnumValueOptions.prototype.featureSupport = null;
|
|
24461
|
-
|
|
24462
23306
|
/**
|
|
24463
23307
|
* EnumValueOptions uninterpretedOption.
|
|
24464
23308
|
* @member {Array.<google.protobuf.IUninterpretedOption>} uninterpretedOption
|
|
@@ -24497,8 +23341,6 @@
|
|
|
24497
23341
|
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
24498
23342
|
if (message.debugRedact != null && Object.hasOwnProperty.call(message, "debugRedact"))
|
|
24499
23343
|
writer.uint32(/* id 3, wireType 0 =*/24).bool(message.debugRedact);
|
|
24500
|
-
if (message.featureSupport != null && Object.hasOwnProperty.call(message, "featureSupport"))
|
|
24501
|
-
$root.google.protobuf.FieldOptions.FeatureSupport.encode(message.featureSupport, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
24502
23344
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
24503
23345
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
24504
23346
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -24550,10 +23392,6 @@
|
|
|
24550
23392
|
message.debugRedact = reader.bool();
|
|
24551
23393
|
break;
|
|
24552
23394
|
}
|
|
24553
|
-
case 4: {
|
|
24554
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.decode(reader, reader.uint32());
|
|
24555
|
-
break;
|
|
24556
|
-
}
|
|
24557
23395
|
case 999: {
|
|
24558
23396
|
if (!(message.uninterpretedOption && message.uninterpretedOption.length))
|
|
24559
23397
|
message.uninterpretedOption = [];
|
|
@@ -24606,11 +23444,6 @@
|
|
|
24606
23444
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
24607
23445
|
if (typeof message.debugRedact !== "boolean")
|
|
24608
23446
|
return "debugRedact: boolean expected";
|
|
24609
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport")) {
|
|
24610
|
-
var error = $root.google.protobuf.FieldOptions.FeatureSupport.verify(message.featureSupport);
|
|
24611
|
-
if (error)
|
|
24612
|
-
return "featureSupport." + error;
|
|
24613
|
-
}
|
|
24614
23447
|
if (message.uninterpretedOption != null && message.hasOwnProperty("uninterpretedOption")) {
|
|
24615
23448
|
if (!Array.isArray(message.uninterpretedOption))
|
|
24616
23449
|
return "uninterpretedOption: array expected";
|
|
@@ -24644,11 +23477,6 @@
|
|
|
24644
23477
|
}
|
|
24645
23478
|
if (object.debugRedact != null)
|
|
24646
23479
|
message.debugRedact = Boolean(object.debugRedact);
|
|
24647
|
-
if (object.featureSupport != null) {
|
|
24648
|
-
if (typeof object.featureSupport !== "object")
|
|
24649
|
-
throw TypeError(".google.protobuf.EnumValueOptions.featureSupport: object expected");
|
|
24650
|
-
message.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.fromObject(object.featureSupport);
|
|
24651
|
-
}
|
|
24652
23480
|
if (object.uninterpretedOption) {
|
|
24653
23481
|
if (!Array.isArray(object.uninterpretedOption))
|
|
24654
23482
|
throw TypeError(".google.protobuf.EnumValueOptions.uninterpretedOption: array expected");
|
|
@@ -24681,7 +23509,6 @@
|
|
|
24681
23509
|
object.deprecated = false;
|
|
24682
23510
|
object.features = null;
|
|
24683
23511
|
object.debugRedact = false;
|
|
24684
|
-
object.featureSupport = null;
|
|
24685
23512
|
}
|
|
24686
23513
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
24687
23514
|
object.deprecated = message.deprecated;
|
|
@@ -24689,8 +23516,6 @@
|
|
|
24689
23516
|
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
24690
23517
|
if (message.debugRedact != null && message.hasOwnProperty("debugRedact"))
|
|
24691
23518
|
object.debugRedact = message.debugRedact;
|
|
24692
|
-
if (message.featureSupport != null && message.hasOwnProperty("featureSupport"))
|
|
24693
|
-
object.featureSupport = $root.google.protobuf.FieldOptions.FeatureSupport.toObject(message.featureSupport, options);
|
|
24694
23519
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
24695
23520
|
object.uninterpretedOption = [];
|
|
24696
23521
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -26130,8 +24955,6 @@
|
|
|
26130
24955
|
* @property {google.protobuf.FeatureSet.Utf8Validation|null} [utf8Validation] FeatureSet utf8Validation
|
|
26131
24956
|
* @property {google.protobuf.FeatureSet.MessageEncoding|null} [messageEncoding] FeatureSet messageEncoding
|
|
26132
24957
|
* @property {google.protobuf.FeatureSet.JsonFormat|null} [jsonFormat] FeatureSet jsonFormat
|
|
26133
|
-
* @property {google.protobuf.FeatureSet.EnforceNamingStyle|null} [enforceNamingStyle] FeatureSet enforceNamingStyle
|
|
26134
|
-
* @property {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility|null} [defaultSymbolVisibility] FeatureSet defaultSymbolVisibility
|
|
26135
24958
|
*/
|
|
26136
24959
|
|
|
26137
24960
|
/**
|
|
@@ -26197,22 +25020,6 @@
|
|
|
26197
25020
|
*/
|
|
26198
25021
|
FeatureSet.prototype.jsonFormat = 0;
|
|
26199
25022
|
|
|
26200
|
-
/**
|
|
26201
|
-
* FeatureSet enforceNamingStyle.
|
|
26202
|
-
* @member {google.protobuf.FeatureSet.EnforceNamingStyle} enforceNamingStyle
|
|
26203
|
-
* @memberof google.protobuf.FeatureSet
|
|
26204
|
-
* @instance
|
|
26205
|
-
*/
|
|
26206
|
-
FeatureSet.prototype.enforceNamingStyle = 0;
|
|
26207
|
-
|
|
26208
|
-
/**
|
|
26209
|
-
* FeatureSet defaultSymbolVisibility.
|
|
26210
|
-
* @member {google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility} defaultSymbolVisibility
|
|
26211
|
-
* @memberof google.protobuf.FeatureSet
|
|
26212
|
-
* @instance
|
|
26213
|
-
*/
|
|
26214
|
-
FeatureSet.prototype.defaultSymbolVisibility = 0;
|
|
26215
|
-
|
|
26216
25023
|
/**
|
|
26217
25024
|
* Creates a new FeatureSet instance using the specified properties.
|
|
26218
25025
|
* @function create
|
|
@@ -26249,10 +25056,6 @@
|
|
|
26249
25056
|
writer.uint32(/* id 5, wireType 0 =*/40).int32(message.messageEncoding);
|
|
26250
25057
|
if (message.jsonFormat != null && Object.hasOwnProperty.call(message, "jsonFormat"))
|
|
26251
25058
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jsonFormat);
|
|
26252
|
-
if (message.enforceNamingStyle != null && Object.hasOwnProperty.call(message, "enforceNamingStyle"))
|
|
26253
|
-
writer.uint32(/* id 7, wireType 0 =*/56).int32(message.enforceNamingStyle);
|
|
26254
|
-
if (message.defaultSymbolVisibility != null && Object.hasOwnProperty.call(message, "defaultSymbolVisibility"))
|
|
26255
|
-
writer.uint32(/* id 8, wireType 0 =*/64).int32(message.defaultSymbolVisibility);
|
|
26256
25059
|
return writer;
|
|
26257
25060
|
};
|
|
26258
25061
|
|
|
@@ -26313,14 +25116,6 @@
|
|
|
26313
25116
|
message.jsonFormat = reader.int32();
|
|
26314
25117
|
break;
|
|
26315
25118
|
}
|
|
26316
|
-
case 7: {
|
|
26317
|
-
message.enforceNamingStyle = reader.int32();
|
|
26318
|
-
break;
|
|
26319
|
-
}
|
|
26320
|
-
case 8: {
|
|
26321
|
-
message.defaultSymbolVisibility = reader.int32();
|
|
26322
|
-
break;
|
|
26323
|
-
}
|
|
26324
25119
|
default:
|
|
26325
25120
|
reader.skipType(tag & 7);
|
|
26326
25121
|
break;
|
|
@@ -26411,26 +25206,6 @@
|
|
|
26411
25206
|
case 2:
|
|
26412
25207
|
break;
|
|
26413
25208
|
}
|
|
26414
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
26415
|
-
switch (message.enforceNamingStyle) {
|
|
26416
|
-
default:
|
|
26417
|
-
return "enforceNamingStyle: enum value expected";
|
|
26418
|
-
case 0:
|
|
26419
|
-
case 1:
|
|
26420
|
-
case 2:
|
|
26421
|
-
break;
|
|
26422
|
-
}
|
|
26423
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
26424
|
-
switch (message.defaultSymbolVisibility) {
|
|
26425
|
-
default:
|
|
26426
|
-
return "defaultSymbolVisibility: enum value expected";
|
|
26427
|
-
case 0:
|
|
26428
|
-
case 1:
|
|
26429
|
-
case 2:
|
|
26430
|
-
case 3:
|
|
26431
|
-
case 4:
|
|
26432
|
-
break;
|
|
26433
|
-
}
|
|
26434
25209
|
return null;
|
|
26435
25210
|
};
|
|
26436
25211
|
|
|
@@ -26570,54 +25345,6 @@
|
|
|
26570
25345
|
message.jsonFormat = 2;
|
|
26571
25346
|
break;
|
|
26572
25347
|
}
|
|
26573
|
-
switch (object.enforceNamingStyle) {
|
|
26574
|
-
default:
|
|
26575
|
-
if (typeof object.enforceNamingStyle === "number") {
|
|
26576
|
-
message.enforceNamingStyle = object.enforceNamingStyle;
|
|
26577
|
-
break;
|
|
26578
|
-
}
|
|
26579
|
-
break;
|
|
26580
|
-
case "ENFORCE_NAMING_STYLE_UNKNOWN":
|
|
26581
|
-
case 0:
|
|
26582
|
-
message.enforceNamingStyle = 0;
|
|
26583
|
-
break;
|
|
26584
|
-
case "STYLE2024":
|
|
26585
|
-
case 1:
|
|
26586
|
-
message.enforceNamingStyle = 1;
|
|
26587
|
-
break;
|
|
26588
|
-
case "STYLE_LEGACY":
|
|
26589
|
-
case 2:
|
|
26590
|
-
message.enforceNamingStyle = 2;
|
|
26591
|
-
break;
|
|
26592
|
-
}
|
|
26593
|
-
switch (object.defaultSymbolVisibility) {
|
|
26594
|
-
default:
|
|
26595
|
-
if (typeof object.defaultSymbolVisibility === "number") {
|
|
26596
|
-
message.defaultSymbolVisibility = object.defaultSymbolVisibility;
|
|
26597
|
-
break;
|
|
26598
|
-
}
|
|
26599
|
-
break;
|
|
26600
|
-
case "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN":
|
|
26601
|
-
case 0:
|
|
26602
|
-
message.defaultSymbolVisibility = 0;
|
|
26603
|
-
break;
|
|
26604
|
-
case "EXPORT_ALL":
|
|
26605
|
-
case 1:
|
|
26606
|
-
message.defaultSymbolVisibility = 1;
|
|
26607
|
-
break;
|
|
26608
|
-
case "EXPORT_TOP_LEVEL":
|
|
26609
|
-
case 2:
|
|
26610
|
-
message.defaultSymbolVisibility = 2;
|
|
26611
|
-
break;
|
|
26612
|
-
case "LOCAL_ALL":
|
|
26613
|
-
case 3:
|
|
26614
|
-
message.defaultSymbolVisibility = 3;
|
|
26615
|
-
break;
|
|
26616
|
-
case "STRICT":
|
|
26617
|
-
case 4:
|
|
26618
|
-
message.defaultSymbolVisibility = 4;
|
|
26619
|
-
break;
|
|
26620
|
-
}
|
|
26621
25348
|
return message;
|
|
26622
25349
|
};
|
|
26623
25350
|
|
|
@@ -26641,8 +25368,6 @@
|
|
|
26641
25368
|
object.utf8Validation = options.enums === String ? "UTF8_VALIDATION_UNKNOWN" : 0;
|
|
26642
25369
|
object.messageEncoding = options.enums === String ? "MESSAGE_ENCODING_UNKNOWN" : 0;
|
|
26643
25370
|
object.jsonFormat = options.enums === String ? "JSON_FORMAT_UNKNOWN" : 0;
|
|
26644
|
-
object.enforceNamingStyle = options.enums === String ? "ENFORCE_NAMING_STYLE_UNKNOWN" : 0;
|
|
26645
|
-
object.defaultSymbolVisibility = options.enums === String ? "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN" : 0;
|
|
26646
25371
|
}
|
|
26647
25372
|
if (message.fieldPresence != null && message.hasOwnProperty("fieldPresence"))
|
|
26648
25373
|
object.fieldPresence = options.enums === String ? $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] === undefined ? message.fieldPresence : $root.google.protobuf.FeatureSet.FieldPresence[message.fieldPresence] : message.fieldPresence;
|
|
@@ -26656,10 +25381,6 @@
|
|
|
26656
25381
|
object.messageEncoding = options.enums === String ? $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] === undefined ? message.messageEncoding : $root.google.protobuf.FeatureSet.MessageEncoding[message.messageEncoding] : message.messageEncoding;
|
|
26657
25382
|
if (message.jsonFormat != null && message.hasOwnProperty("jsonFormat"))
|
|
26658
25383
|
object.jsonFormat = options.enums === String ? $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] === undefined ? message.jsonFormat : $root.google.protobuf.FeatureSet.JsonFormat[message.jsonFormat] : message.jsonFormat;
|
|
26659
|
-
if (message.enforceNamingStyle != null && message.hasOwnProperty("enforceNamingStyle"))
|
|
26660
|
-
object.enforceNamingStyle = options.enums === String ? $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] === undefined ? message.enforceNamingStyle : $root.google.protobuf.FeatureSet.EnforceNamingStyle[message.enforceNamingStyle] : message.enforceNamingStyle;
|
|
26661
|
-
if (message.defaultSymbolVisibility != null && message.hasOwnProperty("defaultSymbolVisibility"))
|
|
26662
|
-
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;
|
|
26663
25384
|
return object;
|
|
26664
25385
|
};
|
|
26665
25386
|
|
|
@@ -26787,219 +25508,6 @@
|
|
|
26787
25508
|
return values;
|
|
26788
25509
|
})();
|
|
26789
25510
|
|
|
26790
|
-
/**
|
|
26791
|
-
* EnforceNamingStyle enum.
|
|
26792
|
-
* @name google.protobuf.FeatureSet.EnforceNamingStyle
|
|
26793
|
-
* @enum {number}
|
|
26794
|
-
* @property {number} ENFORCE_NAMING_STYLE_UNKNOWN=0 ENFORCE_NAMING_STYLE_UNKNOWN value
|
|
26795
|
-
* @property {number} STYLE2024=1 STYLE2024 value
|
|
26796
|
-
* @property {number} STYLE_LEGACY=2 STYLE_LEGACY value
|
|
26797
|
-
*/
|
|
26798
|
-
FeatureSet.EnforceNamingStyle = (function() {
|
|
26799
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
26800
|
-
values[valuesById[0] = "ENFORCE_NAMING_STYLE_UNKNOWN"] = 0;
|
|
26801
|
-
values[valuesById[1] = "STYLE2024"] = 1;
|
|
26802
|
-
values[valuesById[2] = "STYLE_LEGACY"] = 2;
|
|
26803
|
-
return values;
|
|
26804
|
-
})();
|
|
26805
|
-
|
|
26806
|
-
FeatureSet.VisibilityFeature = (function() {
|
|
26807
|
-
|
|
26808
|
-
/**
|
|
26809
|
-
* Properties of a VisibilityFeature.
|
|
26810
|
-
* @memberof google.protobuf.FeatureSet
|
|
26811
|
-
* @interface IVisibilityFeature
|
|
26812
|
-
*/
|
|
26813
|
-
|
|
26814
|
-
/**
|
|
26815
|
-
* Constructs a new VisibilityFeature.
|
|
26816
|
-
* @memberof google.protobuf.FeatureSet
|
|
26817
|
-
* @classdesc Represents a VisibilityFeature.
|
|
26818
|
-
* @implements IVisibilityFeature
|
|
26819
|
-
* @constructor
|
|
26820
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
26821
|
-
*/
|
|
26822
|
-
function VisibilityFeature(properties) {
|
|
26823
|
-
if (properties)
|
|
26824
|
-
for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i)
|
|
26825
|
-
if (properties[keys[i]] != null)
|
|
26826
|
-
this[keys[i]] = properties[keys[i]];
|
|
26827
|
-
}
|
|
26828
|
-
|
|
26829
|
-
/**
|
|
26830
|
-
* Creates a new VisibilityFeature instance using the specified properties.
|
|
26831
|
-
* @function create
|
|
26832
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26833
|
-
* @static
|
|
26834
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature=} [properties] Properties to set
|
|
26835
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature instance
|
|
26836
|
-
*/
|
|
26837
|
-
VisibilityFeature.create = function create(properties) {
|
|
26838
|
-
return new VisibilityFeature(properties);
|
|
26839
|
-
};
|
|
26840
|
-
|
|
26841
|
-
/**
|
|
26842
|
-
* Encodes the specified VisibilityFeature message. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
26843
|
-
* @function encode
|
|
26844
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26845
|
-
* @static
|
|
26846
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
26847
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26848
|
-
* @returns {$protobuf.Writer} Writer
|
|
26849
|
-
*/
|
|
26850
|
-
VisibilityFeature.encode = function encode(message, writer) {
|
|
26851
|
-
if (!writer)
|
|
26852
|
-
writer = $Writer.create();
|
|
26853
|
-
return writer;
|
|
26854
|
-
};
|
|
26855
|
-
|
|
26856
|
-
/**
|
|
26857
|
-
* Encodes the specified VisibilityFeature message, length delimited. Does not implicitly {@link google.protobuf.FeatureSet.VisibilityFeature.verify|verify} messages.
|
|
26858
|
-
* @function encodeDelimited
|
|
26859
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26860
|
-
* @static
|
|
26861
|
-
* @param {google.protobuf.FeatureSet.IVisibilityFeature} message VisibilityFeature message or plain object to encode
|
|
26862
|
-
* @param {$protobuf.Writer} [writer] Writer to encode to
|
|
26863
|
-
* @returns {$protobuf.Writer} Writer
|
|
26864
|
-
*/
|
|
26865
|
-
VisibilityFeature.encodeDelimited = function encodeDelimited(message, writer) {
|
|
26866
|
-
return this.encode(message, writer).ldelim();
|
|
26867
|
-
};
|
|
26868
|
-
|
|
26869
|
-
/**
|
|
26870
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer.
|
|
26871
|
-
* @function decode
|
|
26872
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26873
|
-
* @static
|
|
26874
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26875
|
-
* @param {number} [length] Message length if known beforehand
|
|
26876
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
26877
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26878
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26879
|
-
*/
|
|
26880
|
-
VisibilityFeature.decode = function decode(reader, length, error) {
|
|
26881
|
-
if (!(reader instanceof $Reader))
|
|
26882
|
-
reader = $Reader.create(reader);
|
|
26883
|
-
var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
26884
|
-
while (reader.pos < end) {
|
|
26885
|
-
var tag = reader.uint32();
|
|
26886
|
-
if (tag === error)
|
|
26887
|
-
break;
|
|
26888
|
-
switch (tag >>> 3) {
|
|
26889
|
-
default:
|
|
26890
|
-
reader.skipType(tag & 7);
|
|
26891
|
-
break;
|
|
26892
|
-
}
|
|
26893
|
-
}
|
|
26894
|
-
return message;
|
|
26895
|
-
};
|
|
26896
|
-
|
|
26897
|
-
/**
|
|
26898
|
-
* Decodes a VisibilityFeature message from the specified reader or buffer, length delimited.
|
|
26899
|
-
* @function decodeDelimited
|
|
26900
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26901
|
-
* @static
|
|
26902
|
-
* @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from
|
|
26903
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
26904
|
-
* @throws {Error} If the payload is not a reader or valid buffer
|
|
26905
|
-
* @throws {$protobuf.util.ProtocolError} If required fields are missing
|
|
26906
|
-
*/
|
|
26907
|
-
VisibilityFeature.decodeDelimited = function decodeDelimited(reader) {
|
|
26908
|
-
if (!(reader instanceof $Reader))
|
|
26909
|
-
reader = new $Reader(reader);
|
|
26910
|
-
return this.decode(reader, reader.uint32());
|
|
26911
|
-
};
|
|
26912
|
-
|
|
26913
|
-
/**
|
|
26914
|
-
* Verifies a VisibilityFeature message.
|
|
26915
|
-
* @function verify
|
|
26916
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26917
|
-
* @static
|
|
26918
|
-
* @param {Object.<string,*>} message Plain object to verify
|
|
26919
|
-
* @returns {string|null} `null` if valid, otherwise the reason why it is not
|
|
26920
|
-
*/
|
|
26921
|
-
VisibilityFeature.verify = function verify(message) {
|
|
26922
|
-
if (typeof message !== "object" || message === null)
|
|
26923
|
-
return "object expected";
|
|
26924
|
-
return null;
|
|
26925
|
-
};
|
|
26926
|
-
|
|
26927
|
-
/**
|
|
26928
|
-
* Creates a VisibilityFeature message from a plain object. Also converts values to their respective internal types.
|
|
26929
|
-
* @function fromObject
|
|
26930
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26931
|
-
* @static
|
|
26932
|
-
* @param {Object.<string,*>} object Plain object
|
|
26933
|
-
* @returns {google.protobuf.FeatureSet.VisibilityFeature} VisibilityFeature
|
|
26934
|
-
*/
|
|
26935
|
-
VisibilityFeature.fromObject = function fromObject(object) {
|
|
26936
|
-
if (object instanceof $root.google.protobuf.FeatureSet.VisibilityFeature)
|
|
26937
|
-
return object;
|
|
26938
|
-
return new $root.google.protobuf.FeatureSet.VisibilityFeature();
|
|
26939
|
-
};
|
|
26940
|
-
|
|
26941
|
-
/**
|
|
26942
|
-
* Creates a plain object from a VisibilityFeature message. Also converts values to other types if specified.
|
|
26943
|
-
* @function toObject
|
|
26944
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26945
|
-
* @static
|
|
26946
|
-
* @param {google.protobuf.FeatureSet.VisibilityFeature} message VisibilityFeature
|
|
26947
|
-
* @param {$protobuf.IConversionOptions} [options] Conversion options
|
|
26948
|
-
* @returns {Object.<string,*>} Plain object
|
|
26949
|
-
*/
|
|
26950
|
-
VisibilityFeature.toObject = function toObject() {
|
|
26951
|
-
return {};
|
|
26952
|
-
};
|
|
26953
|
-
|
|
26954
|
-
/**
|
|
26955
|
-
* Converts this VisibilityFeature to JSON.
|
|
26956
|
-
* @function toJSON
|
|
26957
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26958
|
-
* @instance
|
|
26959
|
-
* @returns {Object.<string,*>} JSON object
|
|
26960
|
-
*/
|
|
26961
|
-
VisibilityFeature.prototype.toJSON = function toJSON() {
|
|
26962
|
-
return this.constructor.toObject(this, $protobuf.util.toJSONOptions);
|
|
26963
|
-
};
|
|
26964
|
-
|
|
26965
|
-
/**
|
|
26966
|
-
* Gets the default type url for VisibilityFeature
|
|
26967
|
-
* @function getTypeUrl
|
|
26968
|
-
* @memberof google.protobuf.FeatureSet.VisibilityFeature
|
|
26969
|
-
* @static
|
|
26970
|
-
* @param {string} [typeUrlPrefix] your custom typeUrlPrefix(default "type.googleapis.com")
|
|
26971
|
-
* @returns {string} The default type url
|
|
26972
|
-
*/
|
|
26973
|
-
VisibilityFeature.getTypeUrl = function getTypeUrl(typeUrlPrefix) {
|
|
26974
|
-
if (typeUrlPrefix === undefined) {
|
|
26975
|
-
typeUrlPrefix = "type.googleapis.com";
|
|
26976
|
-
}
|
|
26977
|
-
return typeUrlPrefix + "/google.protobuf.FeatureSet.VisibilityFeature";
|
|
26978
|
-
};
|
|
26979
|
-
|
|
26980
|
-
/**
|
|
26981
|
-
* DefaultSymbolVisibility enum.
|
|
26982
|
-
* @name google.protobuf.FeatureSet.VisibilityFeature.DefaultSymbolVisibility
|
|
26983
|
-
* @enum {number}
|
|
26984
|
-
* @property {number} DEFAULT_SYMBOL_VISIBILITY_UNKNOWN=0 DEFAULT_SYMBOL_VISIBILITY_UNKNOWN value
|
|
26985
|
-
* @property {number} EXPORT_ALL=1 EXPORT_ALL value
|
|
26986
|
-
* @property {number} EXPORT_TOP_LEVEL=2 EXPORT_TOP_LEVEL value
|
|
26987
|
-
* @property {number} LOCAL_ALL=3 LOCAL_ALL value
|
|
26988
|
-
* @property {number} STRICT=4 STRICT value
|
|
26989
|
-
*/
|
|
26990
|
-
VisibilityFeature.DefaultSymbolVisibility = (function() {
|
|
26991
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
26992
|
-
values[valuesById[0] = "DEFAULT_SYMBOL_VISIBILITY_UNKNOWN"] = 0;
|
|
26993
|
-
values[valuesById[1] = "EXPORT_ALL"] = 1;
|
|
26994
|
-
values[valuesById[2] = "EXPORT_TOP_LEVEL"] = 2;
|
|
26995
|
-
values[valuesById[3] = "LOCAL_ALL"] = 3;
|
|
26996
|
-
values[valuesById[4] = "STRICT"] = 4;
|
|
26997
|
-
return values;
|
|
26998
|
-
})();
|
|
26999
|
-
|
|
27000
|
-
return VisibilityFeature;
|
|
27001
|
-
})();
|
|
27002
|
-
|
|
27003
25511
|
return FeatureSet;
|
|
27004
25512
|
})();
|
|
27005
25513
|
|
|
@@ -27184,7 +25692,6 @@
|
|
|
27184
25692
|
default:
|
|
27185
25693
|
return "minimumEdition: enum value expected";
|
|
27186
25694
|
case 0:
|
|
27187
|
-
case 900:
|
|
27188
25695
|
case 998:
|
|
27189
25696
|
case 999:
|
|
27190
25697
|
case 1000:
|
|
@@ -27202,7 +25709,6 @@
|
|
|
27202
25709
|
default:
|
|
27203
25710
|
return "maximumEdition: enum value expected";
|
|
27204
25711
|
case 0:
|
|
27205
|
-
case 900:
|
|
27206
25712
|
case 998:
|
|
27207
25713
|
case 999:
|
|
27208
25714
|
case 1000:
|
|
@@ -27251,10 +25757,6 @@
|
|
|
27251
25757
|
case 0:
|
|
27252
25758
|
message.minimumEdition = 0;
|
|
27253
25759
|
break;
|
|
27254
|
-
case "EDITION_LEGACY":
|
|
27255
|
-
case 900:
|
|
27256
|
-
message.minimumEdition = 900;
|
|
27257
|
-
break;
|
|
27258
25760
|
case "EDITION_PROTO2":
|
|
27259
25761
|
case 998:
|
|
27260
25762
|
message.minimumEdition = 998;
|
|
@@ -27307,10 +25809,6 @@
|
|
|
27307
25809
|
case 0:
|
|
27308
25810
|
message.maximumEdition = 0;
|
|
27309
25811
|
break;
|
|
27310
|
-
case "EDITION_LEGACY":
|
|
27311
|
-
case 900:
|
|
27312
|
-
message.maximumEdition = 900;
|
|
27313
|
-
break;
|
|
27314
25812
|
case "EDITION_PROTO2":
|
|
27315
25813
|
case 998:
|
|
27316
25814
|
message.maximumEdition = 998;
|
|
@@ -27419,8 +25917,7 @@
|
|
|
27419
25917
|
* @memberof google.protobuf.FeatureSetDefaults
|
|
27420
25918
|
* @interface IFeatureSetEditionDefault
|
|
27421
25919
|
* @property {google.protobuf.Edition|null} [edition] FeatureSetEditionDefault edition
|
|
27422
|
-
* @property {google.protobuf.IFeatureSet|null} [
|
|
27423
|
-
* @property {google.protobuf.IFeatureSet|null} [fixedFeatures] FeatureSetEditionDefault fixedFeatures
|
|
25920
|
+
* @property {google.protobuf.IFeatureSet|null} [features] FeatureSetEditionDefault features
|
|
27424
25921
|
*/
|
|
27425
25922
|
|
|
27426
25923
|
/**
|
|
@@ -27447,20 +25944,12 @@
|
|
|
27447
25944
|
FeatureSetEditionDefault.prototype.edition = 0;
|
|
27448
25945
|
|
|
27449
25946
|
/**
|
|
27450
|
-
* FeatureSetEditionDefault
|
|
27451
|
-
* @member {google.protobuf.IFeatureSet|null|undefined}
|
|
27452
|
-
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
27453
|
-
* @instance
|
|
27454
|
-
*/
|
|
27455
|
-
FeatureSetEditionDefault.prototype.overridableFeatures = null;
|
|
27456
|
-
|
|
27457
|
-
/**
|
|
27458
|
-
* FeatureSetEditionDefault fixedFeatures.
|
|
27459
|
-
* @member {google.protobuf.IFeatureSet|null|undefined} fixedFeatures
|
|
25947
|
+
* FeatureSetEditionDefault features.
|
|
25948
|
+
* @member {google.protobuf.IFeatureSet|null|undefined} features
|
|
27460
25949
|
* @memberof google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault
|
|
27461
25950
|
* @instance
|
|
27462
25951
|
*/
|
|
27463
|
-
FeatureSetEditionDefault.prototype.
|
|
25952
|
+
FeatureSetEditionDefault.prototype.features = null;
|
|
27464
25953
|
|
|
27465
25954
|
/**
|
|
27466
25955
|
* Creates a new FeatureSetEditionDefault instance using the specified properties.
|
|
@@ -27486,12 +25975,10 @@
|
|
|
27486
25975
|
FeatureSetEditionDefault.encode = function encode(message, writer) {
|
|
27487
25976
|
if (!writer)
|
|
27488
25977
|
writer = $Writer.create();
|
|
25978
|
+
if (message.features != null && Object.hasOwnProperty.call(message, "features"))
|
|
25979
|
+
$root.google.protobuf.FeatureSet.encode(message.features, writer.uint32(/* id 2, wireType 2 =*/18).fork()).ldelim();
|
|
27489
25980
|
if (message.edition != null && Object.hasOwnProperty.call(message, "edition"))
|
|
27490
25981
|
writer.uint32(/* id 3, wireType 0 =*/24).int32(message.edition);
|
|
27491
|
-
if (message.overridableFeatures != null && Object.hasOwnProperty.call(message, "overridableFeatures"))
|
|
27492
|
-
$root.google.protobuf.FeatureSet.encode(message.overridableFeatures, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim();
|
|
27493
|
-
if (message.fixedFeatures != null && Object.hasOwnProperty.call(message, "fixedFeatures"))
|
|
27494
|
-
$root.google.protobuf.FeatureSet.encode(message.fixedFeatures, writer.uint32(/* id 5, wireType 2 =*/42).fork()).ldelim();
|
|
27495
25982
|
return writer;
|
|
27496
25983
|
};
|
|
27497
25984
|
|
|
@@ -27532,12 +26019,8 @@
|
|
|
27532
26019
|
message.edition = reader.int32();
|
|
27533
26020
|
break;
|
|
27534
26021
|
}
|
|
27535
|
-
case
|
|
27536
|
-
message.
|
|
27537
|
-
break;
|
|
27538
|
-
}
|
|
27539
|
-
case 5: {
|
|
27540
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
26022
|
+
case 2: {
|
|
26023
|
+
message.features = $root.google.protobuf.FeatureSet.decode(reader, reader.uint32());
|
|
27541
26024
|
break;
|
|
27542
26025
|
}
|
|
27543
26026
|
default:
|
|
@@ -27580,7 +26063,6 @@
|
|
|
27580
26063
|
default:
|
|
27581
26064
|
return "edition: enum value expected";
|
|
27582
26065
|
case 0:
|
|
27583
|
-
case 900:
|
|
27584
26066
|
case 998:
|
|
27585
26067
|
case 999:
|
|
27586
26068
|
case 1000:
|
|
@@ -27593,15 +26075,10 @@
|
|
|
27593
26075
|
case 2147483647:
|
|
27594
26076
|
break;
|
|
27595
26077
|
}
|
|
27596
|
-
if (message.
|
|
27597
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.
|
|
27598
|
-
if (error)
|
|
27599
|
-
return "overridableFeatures." + error;
|
|
27600
|
-
}
|
|
27601
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures")) {
|
|
27602
|
-
var error = $root.google.protobuf.FeatureSet.verify(message.fixedFeatures);
|
|
26078
|
+
if (message.features != null && message.hasOwnProperty("features")) {
|
|
26079
|
+
var error = $root.google.protobuf.FeatureSet.verify(message.features);
|
|
27603
26080
|
if (error)
|
|
27604
|
-
return "
|
|
26081
|
+
return "features." + error;
|
|
27605
26082
|
}
|
|
27606
26083
|
return null;
|
|
27607
26084
|
};
|
|
@@ -27629,10 +26106,6 @@
|
|
|
27629
26106
|
case 0:
|
|
27630
26107
|
message.edition = 0;
|
|
27631
26108
|
break;
|
|
27632
|
-
case "EDITION_LEGACY":
|
|
27633
|
-
case 900:
|
|
27634
|
-
message.edition = 900;
|
|
27635
|
-
break;
|
|
27636
26109
|
case "EDITION_PROTO2":
|
|
27637
26110
|
case 998:
|
|
27638
26111
|
message.edition = 998;
|
|
@@ -27674,15 +26147,10 @@
|
|
|
27674
26147
|
message.edition = 2147483647;
|
|
27675
26148
|
break;
|
|
27676
26149
|
}
|
|
27677
|
-
if (object.
|
|
27678
|
-
if (typeof object.
|
|
27679
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.
|
|
27680
|
-
message.
|
|
27681
|
-
}
|
|
27682
|
-
if (object.fixedFeatures != null) {
|
|
27683
|
-
if (typeof object.fixedFeatures !== "object")
|
|
27684
|
-
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.fixedFeatures: object expected");
|
|
27685
|
-
message.fixedFeatures = $root.google.protobuf.FeatureSet.fromObject(object.fixedFeatures);
|
|
26150
|
+
if (object.features != null) {
|
|
26151
|
+
if (typeof object.features !== "object")
|
|
26152
|
+
throw TypeError(".google.protobuf.FeatureSetDefaults.FeatureSetEditionDefault.features: object expected");
|
|
26153
|
+
message.features = $root.google.protobuf.FeatureSet.fromObject(object.features);
|
|
27686
26154
|
}
|
|
27687
26155
|
return message;
|
|
27688
26156
|
};
|
|
@@ -27701,16 +26169,13 @@
|
|
|
27701
26169
|
options = {};
|
|
27702
26170
|
var object = {};
|
|
27703
26171
|
if (options.defaults) {
|
|
26172
|
+
object.features = null;
|
|
27704
26173
|
object.edition = options.enums === String ? "EDITION_UNKNOWN" : 0;
|
|
27705
|
-
object.overridableFeatures = null;
|
|
27706
|
-
object.fixedFeatures = null;
|
|
27707
26174
|
}
|
|
26175
|
+
if (message.features != null && message.hasOwnProperty("features"))
|
|
26176
|
+
object.features = $root.google.protobuf.FeatureSet.toObject(message.features, options);
|
|
27708
26177
|
if (message.edition != null && message.hasOwnProperty("edition"))
|
|
27709
26178
|
object.edition = options.enums === String ? $root.google.protobuf.Edition[message.edition] === undefined ? message.edition : $root.google.protobuf.Edition[message.edition] : message.edition;
|
|
27710
|
-
if (message.overridableFeatures != null && message.hasOwnProperty("overridableFeatures"))
|
|
27711
|
-
object.overridableFeatures = $root.google.protobuf.FeatureSet.toObject(message.overridableFeatures, options);
|
|
27712
|
-
if (message.fixedFeatures != null && message.hasOwnProperty("fixedFeatures"))
|
|
27713
|
-
object.fixedFeatures = $root.google.protobuf.FeatureSet.toObject(message.fixedFeatures, options);
|
|
27714
26179
|
return object;
|
|
27715
26180
|
};
|
|
27716
26181
|
|
|
@@ -28925,22 +27390,6 @@
|
|
|
28925
27390
|
return GeneratedCodeInfo;
|
|
28926
27391
|
})();
|
|
28927
27392
|
|
|
28928
|
-
/**
|
|
28929
|
-
* SymbolVisibility enum.
|
|
28930
|
-
* @name google.protobuf.SymbolVisibility
|
|
28931
|
-
* @enum {number}
|
|
28932
|
-
* @property {number} VISIBILITY_UNSET=0 VISIBILITY_UNSET value
|
|
28933
|
-
* @property {number} VISIBILITY_LOCAL=1 VISIBILITY_LOCAL value
|
|
28934
|
-
* @property {number} VISIBILITY_EXPORT=2 VISIBILITY_EXPORT value
|
|
28935
|
-
*/
|
|
28936
|
-
protobuf.SymbolVisibility = (function() {
|
|
28937
|
-
var valuesById = {}, values = Object.create(valuesById);
|
|
28938
|
-
values[valuesById[0] = "VISIBILITY_UNSET"] = 0;
|
|
28939
|
-
values[valuesById[1] = "VISIBILITY_LOCAL"] = 1;
|
|
28940
|
-
values[valuesById[2] = "VISIBILITY_EXPORT"] = 2;
|
|
28941
|
-
return values;
|
|
28942
|
-
})();
|
|
28943
|
-
|
|
28944
27393
|
protobuf.Duration = (function() {
|
|
28945
27394
|
|
|
28946
27395
|
/**
|