@aldiokta/protocgen 1.0.86 → 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) {
|
|
@@ -6629,6 +6629,13 @@ proto.GetResourceByActionResponse.prototype.hasMeta = function() {
|
|
|
6629
6629
|
|
|
6630
6630
|
|
|
6631
6631
|
|
|
6632
|
+
/**
|
|
6633
|
+
* List of repeated fields within this message type.
|
|
6634
|
+
* @private {!Array<number>}
|
|
6635
|
+
* @const
|
|
6636
|
+
*/
|
|
6637
|
+
proto.CreateRoleRequest.repeatedFields_ = [2];
|
|
6638
|
+
|
|
6632
6639
|
|
|
6633
6640
|
|
|
6634
6641
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -6660,7 +6667,8 @@ proto.CreateRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
6660
6667
|
*/
|
|
6661
6668
|
proto.CreateRoleRequest.toObject = function(includeInstance, msg) {
|
|
6662
6669
|
var f, obj = {
|
|
6663
|
-
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
|
|
6664
6672
|
};
|
|
6665
6673
|
|
|
6666
6674
|
if (includeInstance) {
|
|
@@ -6702,6 +6710,10 @@ proto.CreateRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
6702
6710
|
reader.readMessage(value,proto.BaseRole.deserializeBinaryFromReader);
|
|
6703
6711
|
msg.setRole(value);
|
|
6704
6712
|
break;
|
|
6713
|
+
case 2:
|
|
6714
|
+
var value = /** @type {string} */ (reader.readString());
|
|
6715
|
+
msg.addPolicyReferencesId(value);
|
|
6716
|
+
break;
|
|
6705
6717
|
default:
|
|
6706
6718
|
reader.skipField();
|
|
6707
6719
|
break;
|
|
@@ -6739,6 +6751,13 @@ proto.CreateRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
6739
6751
|
proto.BaseRole.serializeBinaryToWriter
|
|
6740
6752
|
);
|
|
6741
6753
|
}
|
|
6754
|
+
f = message.getPolicyReferencesIdList();
|
|
6755
|
+
if (f.length > 0) {
|
|
6756
|
+
writer.writeRepeatedString(
|
|
6757
|
+
2,
|
|
6758
|
+
f
|
|
6759
|
+
);
|
|
6760
|
+
}
|
|
6742
6761
|
};
|
|
6743
6762
|
|
|
6744
6763
|
|
|
@@ -6779,6 +6798,43 @@ proto.CreateRoleRequest.prototype.hasRole = function() {
|
|
|
6779
6798
|
};
|
|
6780
6799
|
|
|
6781
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
|
+
|
|
6782
6838
|
|
|
6783
6839
|
|
|
6784
6840
|
|
|
@@ -6982,6 +7038,13 @@ proto.GetRoleListRequest.prototype.hasQuery = function() {
|
|
|
6982
7038
|
|
|
6983
7039
|
|
|
6984
7040
|
|
|
7041
|
+
/**
|
|
7042
|
+
* List of repeated fields within this message type.
|
|
7043
|
+
* @private {!Array<number>}
|
|
7044
|
+
* @const
|
|
7045
|
+
*/
|
|
7046
|
+
proto.UpdateRoleRequest.repeatedFields_ = [2];
|
|
7047
|
+
|
|
6985
7048
|
|
|
6986
7049
|
|
|
6987
7050
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7014,7 +7077,8 @@ proto.UpdateRoleRequest.prototype.toObject = function(opt_includeInstance) {
|
|
|
7014
7077
|
proto.UpdateRoleRequest.toObject = function(includeInstance, msg) {
|
|
7015
7078
|
var f, obj = {
|
|
7016
7079
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
7017
|
-
|
|
7080
|
+
policyReferencesIdList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
7081
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
7018
7082
|
};
|
|
7019
7083
|
|
|
7020
7084
|
if (includeInstance) {
|
|
@@ -7057,6 +7121,10 @@ proto.UpdateRoleRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7057
7121
|
msg.setRole(value);
|
|
7058
7122
|
break;
|
|
7059
7123
|
case 2:
|
|
7124
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7125
|
+
msg.addPolicyReferencesId(value);
|
|
7126
|
+
break;
|
|
7127
|
+
case 3:
|
|
7060
7128
|
var value = /** @type {string} */ (reader.readString());
|
|
7061
7129
|
msg.setReferencesId(value);
|
|
7062
7130
|
break;
|
|
@@ -7097,10 +7165,17 @@ proto.UpdateRoleRequest.serializeBinaryToWriter = function(message, writer) {
|
|
|
7097
7165
|
proto.Role.serializeBinaryToWriter
|
|
7098
7166
|
);
|
|
7099
7167
|
}
|
|
7168
|
+
f = message.getPolicyReferencesIdList();
|
|
7169
|
+
if (f.length > 0) {
|
|
7170
|
+
writer.writeRepeatedString(
|
|
7171
|
+
2,
|
|
7172
|
+
f
|
|
7173
|
+
);
|
|
7174
|
+
}
|
|
7100
7175
|
f = message.getReferencesId();
|
|
7101
7176
|
if (f.length > 0) {
|
|
7102
7177
|
writer.writeString(
|
|
7103
|
-
|
|
7178
|
+
3,
|
|
7104
7179
|
f
|
|
7105
7180
|
);
|
|
7106
7181
|
}
|
|
@@ -7145,11 +7220,48 @@ proto.UpdateRoleRequest.prototype.hasRole = function() {
|
|
|
7145
7220
|
|
|
7146
7221
|
|
|
7147
7222
|
/**
|
|
7148
|
-
*
|
|
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;
|
|
7149
7261
|
* @return {string}
|
|
7150
7262
|
*/
|
|
7151
7263
|
proto.UpdateRoleRequest.prototype.getReferencesId = function() {
|
|
7152
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
7264
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
7153
7265
|
};
|
|
7154
7266
|
|
|
7155
7267
|
|
|
@@ -7158,7 +7270,7 @@ proto.UpdateRoleRequest.prototype.getReferencesId = function() {
|
|
|
7158
7270
|
* @return {!proto.UpdateRoleRequest} returns this
|
|
7159
7271
|
*/
|
|
7160
7272
|
proto.UpdateRoleRequest.prototype.setReferencesId = function(value) {
|
|
7161
|
-
return jspb.Message.setProto3StringField(this,
|
|
7273
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
7162
7274
|
};
|
|
7163
7275
|
|
|
7164
7276
|
|
|
@@ -7609,6 +7721,13 @@ proto.AssignRoleToUserRequest.prototype.setUserReferencesId = function(value) {
|
|
|
7609
7721
|
|
|
7610
7722
|
|
|
7611
7723
|
|
|
7724
|
+
/**
|
|
7725
|
+
* List of repeated fields within this message type.
|
|
7726
|
+
* @private {!Array<number>}
|
|
7727
|
+
* @const
|
|
7728
|
+
*/
|
|
7729
|
+
proto.CreateRoleResponse.repeatedFields_ = [2];
|
|
7730
|
+
|
|
7612
7731
|
|
|
7613
7732
|
|
|
7614
7733
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -7641,6 +7760,8 @@ proto.CreateRoleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
7641
7760
|
proto.CreateRoleResponse.toObject = function(includeInstance, msg) {
|
|
7642
7761
|
var f, obj = {
|
|
7643
7762
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
7763
|
+
policyList: jspb.Message.toObjectList(msg.getPolicyList(),
|
|
7764
|
+
proto.Policy.toObject, includeInstance),
|
|
7644
7765
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
7645
7766
|
};
|
|
7646
7767
|
|
|
@@ -7684,6 +7805,11 @@ proto.CreateRoleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
7684
7805
|
msg.setRole(value);
|
|
7685
7806
|
break;
|
|
7686
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:
|
|
7687
7813
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
7688
7814
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
7689
7815
|
msg.setMeta(value);
|
|
@@ -7725,10 +7851,18 @@ proto.CreateRoleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
7725
7851
|
proto.Role.serializeBinaryToWriter
|
|
7726
7852
|
);
|
|
7727
7853
|
}
|
|
7854
|
+
f = message.getPolicyList();
|
|
7855
|
+
if (f.length > 0) {
|
|
7856
|
+
writer.writeRepeatedMessage(
|
|
7857
|
+
2,
|
|
7858
|
+
f,
|
|
7859
|
+
proto.Policy.serializeBinaryToWriter
|
|
7860
|
+
);
|
|
7861
|
+
}
|
|
7728
7862
|
f = message.getMeta();
|
|
7729
7863
|
if (f != null) {
|
|
7730
7864
|
writer.writeMessage(
|
|
7731
|
-
|
|
7865
|
+
3,
|
|
7732
7866
|
f,
|
|
7733
7867
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
7734
7868
|
);
|
|
@@ -7774,12 +7908,50 @@ proto.CreateRoleResponse.prototype.hasRole = function() {
|
|
|
7774
7908
|
|
|
7775
7909
|
|
|
7776
7910
|
/**
|
|
7777
|
-
*
|
|
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;
|
|
7778
7950
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
7779
7951
|
*/
|
|
7780
7952
|
proto.CreateRoleResponse.prototype.getMeta = function() {
|
|
7781
7953
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
7782
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
7954
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
7783
7955
|
};
|
|
7784
7956
|
|
|
7785
7957
|
|
|
@@ -7788,7 +7960,7 @@ proto.CreateRoleResponse.prototype.getMeta = function() {
|
|
|
7788
7960
|
* @return {!proto.CreateRoleResponse} returns this
|
|
7789
7961
|
*/
|
|
7790
7962
|
proto.CreateRoleResponse.prototype.setMeta = function(value) {
|
|
7791
|
-
return jspb.Message.setWrapperField(this,
|
|
7963
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
7792
7964
|
};
|
|
7793
7965
|
|
|
7794
7966
|
|
|
@@ -7806,7 +7978,7 @@ proto.CreateRoleResponse.prototype.clearMeta = function() {
|
|
|
7806
7978
|
* @return {boolean}
|
|
7807
7979
|
*/
|
|
7808
7980
|
proto.CreateRoleResponse.prototype.hasMeta = function() {
|
|
7809
|
-
return jspb.Message.getField(this,
|
|
7981
|
+
return jspb.Message.getField(this, 3) != null;
|
|
7810
7982
|
};
|
|
7811
7983
|
|
|
7812
7984
|
|
|
@@ -8022,6 +8194,13 @@ proto.GetRoleListResponse.prototype.hasMeta = function() {
|
|
|
8022
8194
|
|
|
8023
8195
|
|
|
8024
8196
|
|
|
8197
|
+
/**
|
|
8198
|
+
* List of repeated fields within this message type.
|
|
8199
|
+
* @private {!Array<number>}
|
|
8200
|
+
* @const
|
|
8201
|
+
*/
|
|
8202
|
+
proto.UpdateRoleResponse.repeatedFields_ = [2];
|
|
8203
|
+
|
|
8025
8204
|
|
|
8026
8205
|
|
|
8027
8206
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8054,6 +8233,8 @@ proto.UpdateRoleResponse.prototype.toObject = function(opt_includeInstance) {
|
|
|
8054
8233
|
proto.UpdateRoleResponse.toObject = function(includeInstance, msg) {
|
|
8055
8234
|
var f, obj = {
|
|
8056
8235
|
role: (f = msg.getRole()) && proto.Role.toObject(includeInstance, f),
|
|
8236
|
+
policyList: jspb.Message.toObjectList(msg.getPolicyList(),
|
|
8237
|
+
proto.Policy.toObject, includeInstance),
|
|
8057
8238
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
8058
8239
|
};
|
|
8059
8240
|
|
|
@@ -8097,6 +8278,11 @@ proto.UpdateRoleResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8097
8278
|
msg.setRole(value);
|
|
8098
8279
|
break;
|
|
8099
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:
|
|
8100
8286
|
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
8101
8287
|
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
8102
8288
|
msg.setMeta(value);
|
|
@@ -8138,10 +8324,18 @@ proto.UpdateRoleResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
8138
8324
|
proto.Role.serializeBinaryToWriter
|
|
8139
8325
|
);
|
|
8140
8326
|
}
|
|
8327
|
+
f = message.getPolicyList();
|
|
8328
|
+
if (f.length > 0) {
|
|
8329
|
+
writer.writeRepeatedMessage(
|
|
8330
|
+
2,
|
|
8331
|
+
f,
|
|
8332
|
+
proto.Policy.serializeBinaryToWriter
|
|
8333
|
+
);
|
|
8334
|
+
}
|
|
8141
8335
|
f = message.getMeta();
|
|
8142
8336
|
if (f != null) {
|
|
8143
8337
|
writer.writeMessage(
|
|
8144
|
-
|
|
8338
|
+
3,
|
|
8145
8339
|
f,
|
|
8146
8340
|
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
8147
8341
|
);
|
|
@@ -8187,12 +8381,50 @@ proto.UpdateRoleResponse.prototype.hasRole = function() {
|
|
|
8187
8381
|
|
|
8188
8382
|
|
|
8189
8383
|
/**
|
|
8190
|
-
*
|
|
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;
|
|
8191
8423
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
8192
8424
|
*/
|
|
8193
8425
|
proto.UpdateRoleResponse.prototype.getMeta = function() {
|
|
8194
8426
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
8195
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta,
|
|
8427
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 3));
|
|
8196
8428
|
};
|
|
8197
8429
|
|
|
8198
8430
|
|
|
@@ -8201,7 +8433,7 @@ proto.UpdateRoleResponse.prototype.getMeta = function() {
|
|
|
8201
8433
|
* @return {!proto.UpdateRoleResponse} returns this
|
|
8202
8434
|
*/
|
|
8203
8435
|
proto.UpdateRoleResponse.prototype.setMeta = function(value) {
|
|
8204
|
-
return jspb.Message.setWrapperField(this,
|
|
8436
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
8205
8437
|
};
|
|
8206
8438
|
|
|
8207
8439
|
|
|
@@ -8219,7 +8451,7 @@ proto.UpdateRoleResponse.prototype.clearMeta = function() {
|
|
|
8219
8451
|
* @return {boolean}
|
|
8220
8452
|
*/
|
|
8221
8453
|
proto.UpdateRoleResponse.prototype.hasMeta = function() {
|
|
8222
|
-
return jspb.Message.getField(this,
|
|
8454
|
+
return jspb.Message.getField(this, 3) != null;
|
|
8223
8455
|
};
|
|
8224
8456
|
|
|
8225
8457
|
|