@aldiokta/protocgen 1.0.85 → 1.0.87
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/package.json
CHANGED
|
@@ -687,7 +687,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
687
687
|
* @constructor
|
|
688
688
|
*/
|
|
689
689
|
proto.CreateRoleRequest = function(opt_data) {
|
|
690
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
690
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateRoleRequest.repeatedFields_, null);
|
|
691
691
|
};
|
|
692
692
|
goog.inherits(proto.CreateRoleRequest, jspb.Message);
|
|
693
693
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -729,7 +729,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
729
729
|
* @constructor
|
|
730
730
|
*/
|
|
731
731
|
proto.UpdateRoleRequest = function(opt_data) {
|
|
732
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
732
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateRoleRequest.repeatedFields_, null);
|
|
733
733
|
};
|
|
734
734
|
goog.inherits(proto.UpdateRoleRequest, jspb.Message);
|
|
735
735
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -813,7 +813,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
813
813
|
* @constructor
|
|
814
814
|
*/
|
|
815
815
|
proto.CreateRoleResponse = function(opt_data) {
|
|
816
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
816
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.CreateRoleResponse.repeatedFields_, null);
|
|
817
817
|
};
|
|
818
818
|
goog.inherits(proto.CreateRoleResponse, jspb.Message);
|
|
819
819
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -855,7 +855,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
855
855
|
* @constructor
|
|
856
856
|
*/
|
|
857
857
|
proto.UpdateRoleResponse = function(opt_data) {
|
|
858
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
858
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.UpdateRoleResponse.repeatedFields_, null);
|
|
859
859
|
};
|
|
860
860
|
goog.inherits(proto.UpdateRoleResponse, jspb.Message);
|
|
861
861
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2269,7 +2269,7 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
2269
2269
|
* @private {!Array<number>}
|
|
2270
2270
|
* @const
|
|
2271
2271
|
*/
|
|
2272
|
-
proto.Action.repeatedFields_ = [
|
|
2272
|
+
proto.Action.repeatedFields_ = [5];
|
|
2273
2273
|
|
|
2274
2274
|
|
|
2275
2275
|
|
|
@@ -2304,7 +2304,9 @@ proto.Action.toObject = function(includeInstance, msg) {
|
|
|
2304
2304
|
var f, obj = {
|
|
2305
2305
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2306
2306
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2307
|
-
|
|
2307
|
+
catalogReferencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2308
|
+
actionCatalog: (f = msg.getActionCatalog()) && proto.ActionCatalog.toObject(includeInstance, f),
|
|
2309
|
+
resourcesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
2308
2310
|
};
|
|
2309
2311
|
|
|
2310
2312
|
if (includeInstance) {
|
|
@@ -2350,6 +2352,15 @@ proto.Action.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2350
2352
|
msg.setReferencesId(value);
|
|
2351
2353
|
break;
|
|
2352
2354
|
case 3:
|
|
2355
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2356
|
+
msg.setCatalogReferencesId(value);
|
|
2357
|
+
break;
|
|
2358
|
+
case 4:
|
|
2359
|
+
var value = new proto.ActionCatalog;
|
|
2360
|
+
reader.readMessage(value,proto.ActionCatalog.deserializeBinaryFromReader);
|
|
2361
|
+
msg.setActionCatalog(value);
|
|
2362
|
+
break;
|
|
2363
|
+
case 5:
|
|
2353
2364
|
var value = /** @type {string} */ (reader.readString());
|
|
2354
2365
|
msg.addResources(value);
|
|
2355
2366
|
break;
|
|
@@ -2396,10 +2407,25 @@ proto.Action.serializeBinaryToWriter = function(message, writer) {
|
|
|
2396
2407
|
f
|
|
2397
2408
|
);
|
|
2398
2409
|
}
|
|
2410
|
+
f = message.getCatalogReferencesId();
|
|
2411
|
+
if (f.length > 0) {
|
|
2412
|
+
writer.writeString(
|
|
2413
|
+
3,
|
|
2414
|
+
f
|
|
2415
|
+
);
|
|
2416
|
+
}
|
|
2417
|
+
f = message.getActionCatalog();
|
|
2418
|
+
if (f != null) {
|
|
2419
|
+
writer.writeMessage(
|
|
2420
|
+
4,
|
|
2421
|
+
f,
|
|
2422
|
+
proto.ActionCatalog.serializeBinaryToWriter
|
|
2423
|
+
);
|
|
2424
|
+
}
|
|
2399
2425
|
f = message.getResourcesList();
|
|
2400
2426
|
if (f.length > 0) {
|
|
2401
2427
|
writer.writeRepeatedString(
|
|
2402
|
-
|
|
2428
|
+
5,
|
|
2403
2429
|
f
|
|
2404
2430
|
);
|
|
2405
2431
|
}
|
|
@@ -2443,11 +2469,66 @@ proto.Action.prototype.setReferencesId = function(value) {
|
|
|
2443
2469
|
|
|
2444
2470
|
|
|
2445
2471
|
/**
|
|
2446
|
-
*
|
|
2472
|
+
* optional string catalog_references_id = 3;
|
|
2473
|
+
* @return {string}
|
|
2474
|
+
*/
|
|
2475
|
+
proto.Action.prototype.getCatalogReferencesId = function() {
|
|
2476
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2477
|
+
};
|
|
2478
|
+
|
|
2479
|
+
|
|
2480
|
+
/**
|
|
2481
|
+
* @param {string} value
|
|
2482
|
+
* @return {!proto.Action} returns this
|
|
2483
|
+
*/
|
|
2484
|
+
proto.Action.prototype.setCatalogReferencesId = function(value) {
|
|
2485
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* optional ActionCatalog action_catalog = 4;
|
|
2491
|
+
* @return {?proto.ActionCatalog}
|
|
2492
|
+
*/
|
|
2493
|
+
proto.Action.prototype.getActionCatalog = function() {
|
|
2494
|
+
return /** @type{?proto.ActionCatalog} */ (
|
|
2495
|
+
jspb.Message.getWrapperField(this, proto.ActionCatalog, 4));
|
|
2496
|
+
};
|
|
2497
|
+
|
|
2498
|
+
|
|
2499
|
+
/**
|
|
2500
|
+
* @param {?proto.ActionCatalog|undefined} value
|
|
2501
|
+
* @return {!proto.Action} returns this
|
|
2502
|
+
*/
|
|
2503
|
+
proto.Action.prototype.setActionCatalog = function(value) {
|
|
2504
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
2505
|
+
};
|
|
2506
|
+
|
|
2507
|
+
|
|
2508
|
+
/**
|
|
2509
|
+
* Clears the message field making it undefined.
|
|
2510
|
+
* @return {!proto.Action} returns this
|
|
2511
|
+
*/
|
|
2512
|
+
proto.Action.prototype.clearActionCatalog = function() {
|
|
2513
|
+
return this.setActionCatalog(undefined);
|
|
2514
|
+
};
|
|
2515
|
+
|
|
2516
|
+
|
|
2517
|
+
/**
|
|
2518
|
+
* Returns whether this field is set.
|
|
2519
|
+
* @return {boolean}
|
|
2520
|
+
*/
|
|
2521
|
+
proto.Action.prototype.hasActionCatalog = function() {
|
|
2522
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2523
|
+
};
|
|
2524
|
+
|
|
2525
|
+
|
|
2526
|
+
/**
|
|
2527
|
+
* repeated string resources = 5;
|
|
2447
2528
|
* @return {!Array<string>}
|
|
2448
2529
|
*/
|
|
2449
2530
|
proto.Action.prototype.getResourcesList = function() {
|
|
2450
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this,
|
|
2531
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
2451
2532
|
};
|
|
2452
2533
|
|
|
2453
2534
|
|
|
@@ -2456,7 +2537,7 @@ proto.Action.prototype.getResourcesList = function() {
|
|
|
2456
2537
|
* @return {!proto.Action} returns this
|
|
2457
2538
|
*/
|
|
2458
2539
|
proto.Action.prototype.setResourcesList = function(value) {
|
|
2459
|
-
return jspb.Message.setField(this,
|
|
2540
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
2460
2541
|
};
|
|
2461
2542
|
|
|
2462
2543
|
|
|
@@ -2466,7 +2547,7 @@ proto.Action.prototype.setResourcesList = function(value) {
|
|
|
2466
2547
|
* @return {!proto.Action} returns this
|
|
2467
2548
|
*/
|
|
2468
2549
|
proto.Action.prototype.addResources = function(value, opt_index) {
|
|
2469
|
-
return jspb.Message.addToRepeatedField(this,
|
|
2550
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
2470
2551
|
};
|
|
2471
2552
|
|
|
2472
2553
|
|
|
@@ -2512,7 +2593,8 @@ proto.ActionCatalog.prototype.toObject = function(opt_includeInstance) {
|
|
|
2512
2593
|
proto.ActionCatalog.toObject = function(includeInstance, msg) {
|
|
2513
2594
|
var f, obj = {
|
|
2514
2595
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2515
|
-
|
|
2596
|
+
alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2597
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
2516
2598
|
};
|
|
2517
2599
|
|
|
2518
2600
|
if (includeInstance) {
|
|
@@ -2554,6 +2636,10 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2554
2636
|
msg.setName(value);
|
|
2555
2637
|
break;
|
|
2556
2638
|
case 2:
|
|
2639
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2640
|
+
msg.setAlias(value);
|
|
2641
|
+
break;
|
|
2642
|
+
case 3:
|
|
2557
2643
|
var value = /** @type {string} */ (reader.readString());
|
|
2558
2644
|
msg.setReferencesId(value);
|
|
2559
2645
|
break;
|
|
@@ -2593,13 +2679,20 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
|
|
|
2593
2679
|
f
|
|
2594
2680
|
);
|
|
2595
2681
|
}
|
|
2596
|
-
f = message.
|
|
2682
|
+
f = message.getAlias();
|
|
2597
2683
|
if (f.length > 0) {
|
|
2598
2684
|
writer.writeString(
|
|
2599
2685
|
2,
|
|
2600
2686
|
f
|
|
2601
2687
|
);
|
|
2602
2688
|
}
|
|
2689
|
+
f = message.getReferencesId();
|
|
2690
|
+
if (f.length > 0) {
|
|
2691
|
+
writer.writeString(
|
|
2692
|
+
3,
|
|
2693
|
+
f
|
|
2694
|
+
);
|
|
2695
|
+
}
|
|
2603
2696
|
};
|
|
2604
2697
|
|
|
2605
2698
|
|
|
@@ -2622,10 +2715,10 @@ proto.ActionCatalog.prototype.setName = function(value) {
|
|
|
2622
2715
|
|
|
2623
2716
|
|
|
2624
2717
|
/**
|
|
2625
|
-
* optional string
|
|
2718
|
+
* optional string alias = 2;
|
|
2626
2719
|
* @return {string}
|
|
2627
2720
|
*/
|
|
2628
|
-
proto.ActionCatalog.prototype.
|
|
2721
|
+
proto.ActionCatalog.prototype.getAlias = function() {
|
|
2629
2722
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2630
2723
|
};
|
|
2631
2724
|
|
|
@@ -2634,11 +2727,29 @@ proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
|
2634
2727
|
* @param {string} value
|
|
2635
2728
|
* @return {!proto.ActionCatalog} returns this
|
|
2636
2729
|
*/
|
|
2637
|
-
proto.ActionCatalog.prototype.
|
|
2730
|
+
proto.ActionCatalog.prototype.setAlias = function(value) {
|
|
2638
2731
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2639
2732
|
};
|
|
2640
2733
|
|
|
2641
2734
|
|
|
2735
|
+
/**
|
|
2736
|
+
* optional string references_id = 3;
|
|
2737
|
+
* @return {string}
|
|
2738
|
+
*/
|
|
2739
|
+
proto.ActionCatalog.prototype.getReferencesId = function() {
|
|
2740
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2741
|
+
};
|
|
2742
|
+
|
|
2743
|
+
|
|
2744
|
+
/**
|
|
2745
|
+
* @param {string} value
|
|
2746
|
+
* @return {!proto.ActionCatalog} returns this
|
|
2747
|
+
*/
|
|
2748
|
+
proto.ActionCatalog.prototype.setReferencesId = function(value) {
|
|
2749
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2750
|
+
};
|
|
2751
|
+
|
|
2752
|
+
|
|
2642
2753
|
|
|
2643
2754
|
|
|
2644
2755
|
|
|
@@ -6518,6 +6629,13 @@ proto.GetResourceByActionResponse.prototype.hasMeta = function() {
|
|
|
6518
6629
|
|
|
6519
6630
|
|
|
6520
6631
|
|
|
6632
|
+
/**
|
|
6633
|
+
* List of repeated fields within this message type.
|
|
6634
|
+
* @private {!Array<number>}
|
|
6635
|
+
* @const
|
|
6636
|
+
*/
|
|
6637
|
+
proto.CreateRoleRequest.repeatedFields_ = [2];
|
|
6638
|
+
|
|
6521
6639
|
|
|
6522
6640
|
|
|
6523
6641
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6549,7 +6667,8 @@ proto.CreateRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
6549
6667
|
*/
|
|
6550
6668
|
proto.CreateRoleRequest.toObject = function(includeInstance, msg) {
|
|
6551
6669
|
var f, obj = {
|
|
6552
|
-
role: (f = msg.getRole()) && proto.BaseRole.toObject(includeInstance, f)
|
|
6670
|
+
role: (f = msg.getRole()) && proto.BaseRole.toObject(includeInstance, f),
|
|
6671
|
+
policyReferencesIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
6553
6672
|
};
|
|
6554
6673
|
|
|
6555
6674
|
if (includeInstance) {
|
|
@@ -6591,6 +6710,10 @@ proto.CreateRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6591
6710
|
reader.readMessage(value,proto.BaseRole.deserializeBinaryFromReader);
|
|
6592
6711
|
msg.setRole(value);
|
|
6593
6712
|
break;
|
|
6713
|
+
case 2:
|
|
6714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6715
|
+
msg.addPolicyReferencesId(value);
|
|
6716
|
+
break;
|
|
6594
6717
|
default:
|
|
6595
6718
|
reader.skipField();
|
|
6596
6719
|
break;
|
|
@@ -6628,6 +6751,13 @@ proto.CreateRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
6628
6751
|
proto.BaseRole.serializeBinaryToWriter
|
|
6629
6752
|
);
|
|
6630
6753
|
}
|
|
6754
|
+
f = message.getPolicyReferencesIdList();
|
|
6755
|
+
if (f.length > 0) {
|
|
6756
|
+
writer.writeRepeatedString(
|
|
6757
|
+
2,
|
|
6758
|
+
f
|
|
6759
|
+
);
|
|
6760
|
+
}
|
|
6631
6761
|
};
|
|
6632
6762
|
|
|
6633
6763
|
|
|
@@ -6668,6 +6798,43 @@ proto.CreateRoleRequest.prototype.hasRole = function() {
|
|
|
6668
6798
|
};
|
|
6669
6799
|
|
|
6670
6800
|
|
|
6801
|
+
/**
|
|
6802
|
+
* repeated string policy_references_id = 2;
|
|
6803
|
+
* @return {!Array<string>}
|
|
6804
|
+
*/
|
|
6805
|
+
proto.CreateRoleRequest.prototype.getPolicyReferencesIdList = function() {
|
|
6806
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
6807
|
+
};
|
|
6808
|
+
|
|
6809
|
+
|
|
6810
|
+
/**
|
|
6811
|
+
* @param {!Array<string>} value
|
|
6812
|
+
* @return {!proto.CreateRoleRequest} returns this
|
|
6813
|
+
*/
|
|
6814
|
+
proto.CreateRoleRequest.prototype.setPolicyReferencesIdList = function(value) {
|
|
6815
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
6816
|
+
};
|
|
6817
|
+
|
|
6818
|
+
|
|
6819
|
+
/**
|
|
6820
|
+
* @param {string} value
|
|
6821
|
+
* @param {number=} opt_index
|
|
6822
|
+
* @return {!proto.CreateRoleRequest} returns this
|
|
6823
|
+
*/
|
|
6824
|
+
proto.CreateRoleRequest.prototype.addPolicyReferencesId = function(value, opt_index) {
|
|
6825
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
6826
|
+
};
|
|
6827
|
+
|
|
6828
|
+
|
|
6829
|
+
/**
|
|
6830
|
+
* Clears the list making it empty but non-null.
|
|
6831
|
+
* @return {!proto.CreateRoleRequest} returns this
|
|
6832
|
+
*/
|
|
6833
|
+
proto.CreateRoleRequest.prototype.clearPolicyReferencesIdList = function() {
|
|
6834
|
+
return this.setPolicyReferencesIdList([]);
|
|
6835
|
+
};
|
|
6836
|
+
|
|
6837
|
+
|
|
6671
6838
|
|
|
6672
6839
|
|
|
6673
6840
|
|
|
@@ -6871,6 +7038,13 @@ proto.GetRoleListRequest.prototype.hasQuery = function() {
|
|
|
6871
7038
|
|
|
6872
7039
|
|
|
6873
7040
|
|
|
7041
|
+
/**
|
|
7042
|
+
* List of repeated fields within this message type.
|
|
7043
|
+
* @private {!Array<number>}
|
|
7044
|
+
* @const
|
|
7045
|
+
*/
|
|
7046
|
+
proto.UpdateRoleRequest.repeatedFields_ = [2];
|
|
7047
|
+
|
|
6874
7048
|
|
|
6875
7049
|
|
|
6876
7050
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6903,7 +7077,8 @@ proto.UpdateRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
6903
7077
|
proto.UpdateRoleRequest.toObject = function(includeInstance, msg) {
|
|
6904
7078
|
var f, obj = {
|
|
6905
7079
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
6906
|
-
|
|
7080
|
+
policyReferencesIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
7081
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6907
7082
|
};
|
|
6908
7083
|
|
|
6909
7084
|
if (includeInstance) {
|
|
@@ -6946,6 +7121,10 @@ proto.UpdateRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6946
7121
|
msg.setRole(value);
|
|
6947
7122
|
break;
|
|
6948
7123
|
case 2:
|
|
7124
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7125
|
+
msg.addPolicyReferencesId(value);
|
|
7126
|
+
break;
|
|
7127
|
+
case 3:
|
|
6949
7128
|
var value = /** @type {string} */ (reader.readString());
|
|
6950
7129
|
msg.setReferencesId(value);
|
|
6951
7130
|
break;
|
|
@@ -6986,10 +7165,17 @@ proto.UpdateRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
6986
7165
|
proto.Role.serializeBinaryToWriter
|
|
6987
7166
|
);
|
|
6988
7167
|
}
|
|
7168
|
+
f = message.getPolicyReferencesIdList();
|
|
7169
|
+
if (f.length > 0) {
|
|
7170
|
+
writer.writeRepeatedString(
|
|
7171
|
+
2,
|
|
7172
|
+
f
|
|
7173
|
+
);
|
|
7174
|
+
}
|
|
6989
7175
|
f = message.getReferencesId();
|
|
6990
7176
|
if (f.length > 0) {
|
|
6991
7177
|
writer.writeString(
|
|
6992
|
-
|
|
7178
|
+
3,
|
|
6993
7179
|
f
|
|
6994
7180
|
);
|
|
6995
7181
|
}
|
|
@@ -7034,11 +7220,48 @@ proto.UpdateRoleRequest.prototype.hasRole = function() {
|
|
|
7034
7220
|
|
|
7035
7221
|
|
|
7036
7222
|
/**
|
|
7037
|
-
*
|
|
7223
|
+
* repeated string policy_references_id = 2;
|
|
7224
|
+
* @return {!Array<string>}
|
|
7225
|
+
*/
|
|
7226
|
+
proto.UpdateRoleRequest.prototype.getPolicyReferencesIdList = function() {
|
|
7227
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
7228
|
+
};
|
|
7229
|
+
|
|
7230
|
+
|
|
7231
|
+
/**
|
|
7232
|
+
* @param {!Array<string>} value
|
|
7233
|
+
* @return {!proto.UpdateRoleRequest} returns this
|
|
7234
|
+
*/
|
|
7235
|
+
proto.UpdateRoleRequest.prototype.setPolicyReferencesIdList = function(value) {
|
|
7236
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
7237
|
+
};
|
|
7238
|
+
|
|
7239
|
+
|
|
7240
|
+
/**
|
|
7241
|
+
* @param {string} value
|
|
7242
|
+
* @param {number=} opt_index
|
|
7243
|
+
* @return {!proto.UpdateRoleRequest} returns this
|
|
7244
|
+
*/
|
|
7245
|
+
proto.UpdateRoleRequest.prototype.addPolicyReferencesId = function(value, opt_index) {
|
|
7246
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
7247
|
+
};
|
|
7248
|
+
|
|
7249
|
+
|
|
7250
|
+
/**
|
|
7251
|
+
* Clears the list making it empty but non-null.
|
|
7252
|
+
* @return {!proto.UpdateRoleRequest} returns this
|
|
7253
|
+
*/
|
|
7254
|
+
proto.UpdateRoleRequest.prototype.clearPolicyReferencesIdList = function() {
|
|
7255
|
+
return this.setPolicyReferencesIdList([]);
|
|
7256
|
+
};
|
|
7257
|
+
|
|
7258
|
+
|
|
7259
|
+
/**
|
|
7260
|
+
* optional string references_id = 3;
|
|
7038
7261
|
* @return {string}
|
|
7039
7262
|
*/
|
|
7040
7263
|
proto.UpdateRoleRequest.prototype.getReferencesId = function() {
|
|
7041
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7042
7265
|
};
|
|
7043
7266
|
|
|
7044
7267
|
|
|
@@ -7047,7 +7270,7 @@ proto.UpdateRoleRequest.prototype.getReferencesId = function() {
|
|
|
7047
7270
|
* @return {!proto.UpdateRoleRequest} returns this
|
|
7048
7271
|
*/
|
|
7049
7272
|
proto.UpdateRoleRequest.prototype.setReferencesId = function(value) {
|
|
7050
|
-
return jspb.Message.setProto3StringField(this,
|
|
7273
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7051
7274
|
};
|
|
7052
7275
|
|
|
7053
7276
|
|
|
@@ -7498,6 +7721,13 @@ proto.AssignRoleToUserRequest.prototype.setUserReferencesId = function(value) {
|
|
|
7498
7721
|
|
|
7499
7722
|
|
|
7500
7723
|
|
|
7724
|
+
/**
|
|
7725
|
+
* List of repeated fields within this message type.
|
|
7726
|
+
* @private {!Array<number>}
|
|
7727
|
+
* @const
|
|
7728
|
+
*/
|
|
7729
|
+
proto.CreateRoleResponse.repeatedFields_ = [2];
|
|
7730
|
+
|
|
7501
7731
|
|
|
7502
7732
|
|
|
7503
7733
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7530,6 +7760,8 @@ proto.CreateRoleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
7530
7760
|
proto.CreateRoleResponse.toObject = function(includeInstance, msg) {
|
|
7531
7761
|
var f, obj = {
|
|
7532
7762
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
7763
|
+
policyList: jspb.Message.toObjectList(msg.getPolicyList(),
|
|
7764
|
+
proto.Policy.toObject, includeInstance),
|
|
7533
7765
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
7534
7766
|
};
|
|
7535
7767
|
|
|
@@ -7573,6 +7805,11 @@ proto.CreateRoleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7573
7805
|
msg.setRole(value);
|
|
7574
7806
|
break;
|
|
7575
7807
|
case 2:
|
|
7808
|
+
var value = new proto.Policy;
|
|
7809
|
+
reader.readMessage(value,proto.Policy.deserializeBinaryFromReader);
|
|
7810
|
+
msg.addPolicy(value);
|
|
7811
|
+
break;
|
|
7812
|
+
case 3:
|
|
7576
7813
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
7577
7814
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
7578
7815
|
msg.setMeta(value);
|
|
@@ -7614,10 +7851,18 @@ proto.CreateRoleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
7614
7851
|
proto.Role.serializeBinaryToWriter
|
|
7615
7852
|
);
|
|
7616
7853
|
}
|
|
7854
|
+
f = message.getPolicyList();
|
|
7855
|
+
if (f.length > 0) {
|
|
7856
|
+
writer.writeRepeatedMessage(
|
|
7857
|
+
2,
|
|
7858
|
+
f,
|
|
7859
|
+
proto.Policy.serializeBinaryToWriter
|
|
7860
|
+
);
|
|
7861
|
+
}
|
|
7617
7862
|
f = message.getMeta();
|
|
7618
7863
|
if (f != null) {
|
|
7619
7864
|
writer.writeMessage(
|
|
7620
|
-
|
|
7865
|
+
3,
|
|
7621
7866
|
f,
|
|
7622
7867
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
7623
7868
|
);
|
|
@@ -7663,12 +7908,50 @@ proto.CreateRoleResponse.prototype.hasRole = function() {
|
|
|
7663
7908
|
|
|
7664
7909
|
|
|
7665
7910
|
/**
|
|
7666
|
-
*
|
|
7911
|
+
* repeated Policy policy = 2;
|
|
7912
|
+
* @return {!Array<!proto.Policy>}
|
|
7913
|
+
*/
|
|
7914
|
+
proto.CreateRoleResponse.prototype.getPolicyList = function() {
|
|
7915
|
+
return /** @type{!Array<!proto.Policy>} */ (
|
|
7916
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Policy, 2));
|
|
7917
|
+
};
|
|
7918
|
+
|
|
7919
|
+
|
|
7920
|
+
/**
|
|
7921
|
+
* @param {!Array<!proto.Policy>} value
|
|
7922
|
+
* @return {!proto.CreateRoleResponse} returns this
|
|
7923
|
+
*/
|
|
7924
|
+
proto.CreateRoleResponse.prototype.setPolicyList = function(value) {
|
|
7925
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7926
|
+
};
|
|
7927
|
+
|
|
7928
|
+
|
|
7929
|
+
/**
|
|
7930
|
+
* @param {!proto.Policy=} opt_value
|
|
7931
|
+
* @param {number=} opt_index
|
|
7932
|
+
* @return {!proto.Policy}
|
|
7933
|
+
*/
|
|
7934
|
+
proto.CreateRoleResponse.prototype.addPolicy = function(opt_value, opt_index) {
|
|
7935
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Policy, opt_index);
|
|
7936
|
+
};
|
|
7937
|
+
|
|
7938
|
+
|
|
7939
|
+
/**
|
|
7940
|
+
* Clears the list making it empty but non-null.
|
|
7941
|
+
* @return {!proto.CreateRoleResponse} returns this
|
|
7942
|
+
*/
|
|
7943
|
+
proto.CreateRoleResponse.prototype.clearPolicyList = function() {
|
|
7944
|
+
return this.setPolicyList([]);
|
|
7945
|
+
};
|
|
7946
|
+
|
|
7947
|
+
|
|
7948
|
+
/**
|
|
7949
|
+
* optional prisca.v1.global.meta.Meta meta = 3;
|
|
7667
7950
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
7668
7951
|
*/
|
|
7669
7952
|
proto.CreateRoleResponse.prototype.getMeta = function() {
|
|
7670
7953
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
7671
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
7954
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
7672
7955
|
};
|
|
7673
7956
|
|
|
7674
7957
|
|
|
@@ -7677,7 +7960,7 @@ proto.CreateRoleResponse.prototype.getMeta = function() {
|
|
|
7677
7960
|
* @return {!proto.CreateRoleResponse} returns this
|
|
7678
7961
|
*/
|
|
7679
7962
|
proto.CreateRoleResponse.prototype.setMeta = function(value) {
|
|
7680
|
-
return jspb.Message.setWrapperField(this,
|
|
7963
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7681
7964
|
};
|
|
7682
7965
|
|
|
7683
7966
|
|
|
@@ -7695,7 +7978,7 @@ proto.CreateRoleResponse.prototype.clearMeta = function() {
|
|
|
7695
7978
|
* @return {boolean}
|
|
7696
7979
|
*/
|
|
7697
7980
|
proto.CreateRoleResponse.prototype.hasMeta = function() {
|
|
7698
|
-
return jspb.Message.getField(this,
|
|
7981
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7699
7982
|
};
|
|
7700
7983
|
|
|
7701
7984
|
|
|
@@ -7911,6 +8194,13 @@ proto.GetRoleListResponse.prototype.hasMeta = function() {
|
|
|
7911
8194
|
|
|
7912
8195
|
|
|
7913
8196
|
|
|
8197
|
+
/**
|
|
8198
|
+
* List of repeated fields within this message type.
|
|
8199
|
+
* @private {!Array<number>}
|
|
8200
|
+
* @const
|
|
8201
|
+
*/
|
|
8202
|
+
proto.UpdateRoleResponse.repeatedFields_ = [2];
|
|
8203
|
+
|
|
7914
8204
|
|
|
7915
8205
|
|
|
7916
8206
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7943,6 +8233,8 @@ proto.UpdateRoleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
7943
8233
|
proto.UpdateRoleResponse.toObject = function(includeInstance, msg) {
|
|
7944
8234
|
var f, obj = {
|
|
7945
8235
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
8236
|
+
policyList: jspb.Message.toObjectList(msg.getPolicyList(),
|
|
8237
|
+
proto.Policy.toObject, includeInstance),
|
|
7946
8238
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
7947
8239
|
};
|
|
7948
8240
|
|
|
@@ -7986,6 +8278,11 @@ proto.UpdateRoleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7986
8278
|
msg.setRole(value);
|
|
7987
8279
|
break;
|
|
7988
8280
|
case 2:
|
|
8281
|
+
var value = new proto.Policy;
|
|
8282
|
+
reader.readMessage(value,proto.Policy.deserializeBinaryFromReader);
|
|
8283
|
+
msg.addPolicy(value);
|
|
8284
|
+
break;
|
|
8285
|
+
case 3:
|
|
7989
8286
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
7990
8287
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
7991
8288
|
msg.setMeta(value);
|
|
@@ -8027,10 +8324,18 @@ proto.UpdateRoleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
8027
8324
|
proto.Role.serializeBinaryToWriter
|
|
8028
8325
|
);
|
|
8029
8326
|
}
|
|
8327
|
+
f = message.getPolicyList();
|
|
8328
|
+
if (f.length > 0) {
|
|
8329
|
+
writer.writeRepeatedMessage(
|
|
8330
|
+
2,
|
|
8331
|
+
f,
|
|
8332
|
+
proto.Policy.serializeBinaryToWriter
|
|
8333
|
+
);
|
|
8334
|
+
}
|
|
8030
8335
|
f = message.getMeta();
|
|
8031
8336
|
if (f != null) {
|
|
8032
8337
|
writer.writeMessage(
|
|
8033
|
-
|
|
8338
|
+
3,
|
|
8034
8339
|
f,
|
|
8035
8340
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
8036
8341
|
);
|
|
@@ -8076,12 +8381,50 @@ proto.UpdateRoleResponse.prototype.hasRole = function() {
|
|
|
8076
8381
|
|
|
8077
8382
|
|
|
8078
8383
|
/**
|
|
8079
|
-
*
|
|
8384
|
+
* repeated Policy policy = 2;
|
|
8385
|
+
* @return {!Array<!proto.Policy>}
|
|
8386
|
+
*/
|
|
8387
|
+
proto.UpdateRoleResponse.prototype.getPolicyList = function() {
|
|
8388
|
+
return /** @type{!Array<!proto.Policy>} */ (
|
|
8389
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Policy, 2));
|
|
8390
|
+
};
|
|
8391
|
+
|
|
8392
|
+
|
|
8393
|
+
/**
|
|
8394
|
+
* @param {!Array<!proto.Policy>} value
|
|
8395
|
+
* @return {!proto.UpdateRoleResponse} returns this
|
|
8396
|
+
*/
|
|
8397
|
+
proto.UpdateRoleResponse.prototype.setPolicyList = function(value) {
|
|
8398
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
8399
|
+
};
|
|
8400
|
+
|
|
8401
|
+
|
|
8402
|
+
/**
|
|
8403
|
+
* @param {!proto.Policy=} opt_value
|
|
8404
|
+
* @param {number=} opt_index
|
|
8405
|
+
* @return {!proto.Policy}
|
|
8406
|
+
*/
|
|
8407
|
+
proto.UpdateRoleResponse.prototype.addPolicy = function(opt_value, opt_index) {
|
|
8408
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Policy, opt_index);
|
|
8409
|
+
};
|
|
8410
|
+
|
|
8411
|
+
|
|
8412
|
+
/**
|
|
8413
|
+
* Clears the list making it empty but non-null.
|
|
8414
|
+
* @return {!proto.UpdateRoleResponse} returns this
|
|
8415
|
+
*/
|
|
8416
|
+
proto.UpdateRoleResponse.prototype.clearPolicyList = function() {
|
|
8417
|
+
return this.setPolicyList([]);
|
|
8418
|
+
};
|
|
8419
|
+
|
|
8420
|
+
|
|
8421
|
+
/**
|
|
8422
|
+
* optional prisca.v1.global.meta.Meta meta = 3;
|
|
8080
8423
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
8081
8424
|
*/
|
|
8082
8425
|
proto.UpdateRoleResponse.prototype.getMeta = function() {
|
|
8083
8426
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
8084
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
8427
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
8085
8428
|
};
|
|
8086
8429
|
|
|
8087
8430
|
|
|
@@ -8090,7 +8433,7 @@ proto.UpdateRoleResponse.prototype.getMeta = function() {
|
|
|
8090
8433
|
* @return {!proto.UpdateRoleResponse} returns this
|
|
8091
8434
|
*/
|
|
8092
8435
|
proto.UpdateRoleResponse.prototype.setMeta = function(value) {
|
|
8093
|
-
return jspb.Message.setWrapperField(this,
|
|
8436
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
8094
8437
|
};
|
|
8095
8438
|
|
|
8096
8439
|
|
|
@@ -8108,7 +8451,7 @@ proto.UpdateRoleResponse.prototype.clearMeta = function() {
|
|
|
8108
8451
|
* @return {boolean}
|
|
8109
8452
|
*/
|
|
8110
8453
|
proto.UpdateRoleResponse.prototype.hasMeta = function() {
|
|
8111
|
-
return jspb.Message.getField(this,
|
|
8454
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8112
8455
|
};
|
|
8113
8456
|
|
|
8114
8457
|
|