@aldiokta/protocgen 1.1.44 → 1.1.46
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
|
@@ -21,6 +21,7 @@ var prisca_v1_core_users_users_pb = require('../../../../prisca/v1/core/users/us
|
|
|
21
21
|
goog.object.extend(proto, prisca_v1_core_users_users_pb);
|
|
22
22
|
goog.exportSymbol('proto.Action', null, global);
|
|
23
23
|
goog.exportSymbol('proto.ActionCatalog', null, global);
|
|
24
|
+
goog.exportSymbol('proto.ActionList', null, global);
|
|
24
25
|
goog.exportSymbol('proto.AssignPolicyToRoleRequest', null, global);
|
|
25
26
|
goog.exportSymbol('proto.AssignPolicyToRoleResponse', null, global);
|
|
26
27
|
goog.exportSymbol('proto.AssignRoleToUserRequest', null, global);
|
|
@@ -696,6 +697,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
696
697
|
*/
|
|
697
698
|
proto.GetActionByServiceResponse.displayName = 'proto.GetActionByServiceResponse';
|
|
698
699
|
}
|
|
700
|
+
/**
|
|
701
|
+
* Generated by JsPbCodeGenerator.
|
|
702
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
703
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
704
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
705
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
706
|
+
* valid.
|
|
707
|
+
* @extends {jspb.Message}
|
|
708
|
+
* @constructor
|
|
709
|
+
*/
|
|
710
|
+
proto.ActionList = function(opt_data) {
|
|
711
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ActionList.repeatedFields_, null);
|
|
712
|
+
};
|
|
713
|
+
goog.inherits(proto.ActionList, jspb.Message);
|
|
714
|
+
if (goog.DEBUG && !COMPILED) {
|
|
715
|
+
/**
|
|
716
|
+
* @public
|
|
717
|
+
* @override
|
|
718
|
+
*/
|
|
719
|
+
proto.ActionList.displayName = 'proto.ActionList';
|
|
720
|
+
}
|
|
699
721
|
/**
|
|
700
722
|
* Generated by JsPbCodeGenerator.
|
|
701
723
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -1075,7 +1097,10 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
1075
1097
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1076
1098
|
statementList: jspb.Message.toObjectList(msg.getStatementList(),
|
|
1077
1099
|
proto.Statement.toObject, includeInstance),
|
|
1078
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1100
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1101
|
+
alias: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1102
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1103
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
1079
1104
|
};
|
|
1080
1105
|
|
|
1081
1106
|
if (includeInstance) {
|
|
@@ -1129,6 +1154,18 @@ proto.PoliciesResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1129
1154
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1130
1155
|
msg.setReferencesId(value);
|
|
1131
1156
|
break;
|
|
1157
|
+
case 5:
|
|
1158
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1159
|
+
msg.setAlias(value);
|
|
1160
|
+
break;
|
|
1161
|
+
case 6:
|
|
1162
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1163
|
+
msg.setCreatedAt(value);
|
|
1164
|
+
break;
|
|
1165
|
+
case 7:
|
|
1166
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1167
|
+
msg.setUpdatedAt(value);
|
|
1168
|
+
break;
|
|
1132
1169
|
default:
|
|
1133
1170
|
reader.skipField();
|
|
1134
1171
|
break;
|
|
@@ -1187,6 +1224,27 @@ proto.PoliciesResponse.serializeBinaryToWriter = function(message, writer) {
|
|
|
1187
1224
|
f
|
|
1188
1225
|
);
|
|
1189
1226
|
}
|
|
1227
|
+
f = message.getAlias();
|
|
1228
|
+
if (f.length > 0) {
|
|
1229
|
+
writer.writeString(
|
|
1230
|
+
5,
|
|
1231
|
+
f
|
|
1232
|
+
);
|
|
1233
|
+
}
|
|
1234
|
+
f = message.getCreatedAt();
|
|
1235
|
+
if (f.length > 0) {
|
|
1236
|
+
writer.writeString(
|
|
1237
|
+
6,
|
|
1238
|
+
f
|
|
1239
|
+
);
|
|
1240
|
+
}
|
|
1241
|
+
f = message.getUpdatedAt();
|
|
1242
|
+
if (f.length > 0) {
|
|
1243
|
+
writer.writeString(
|
|
1244
|
+
7,
|
|
1245
|
+
f
|
|
1246
|
+
);
|
|
1247
|
+
}
|
|
1190
1248
|
};
|
|
1191
1249
|
|
|
1192
1250
|
|
|
@@ -1282,6 +1340,60 @@ proto.PoliciesResponse.prototype.setReferencesId = function(value) {
|
|
|
1282
1340
|
};
|
|
1283
1341
|
|
|
1284
1342
|
|
|
1343
|
+
/**
|
|
1344
|
+
* optional string alias = 5;
|
|
1345
|
+
* @return {string}
|
|
1346
|
+
*/
|
|
1347
|
+
proto.PoliciesResponse.prototype.getAlias = function() {
|
|
1348
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1349
|
+
};
|
|
1350
|
+
|
|
1351
|
+
|
|
1352
|
+
/**
|
|
1353
|
+
* @param {string} value
|
|
1354
|
+
* @return {!proto.PoliciesResponse} returns this
|
|
1355
|
+
*/
|
|
1356
|
+
proto.PoliciesResponse.prototype.setAlias = function(value) {
|
|
1357
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1358
|
+
};
|
|
1359
|
+
|
|
1360
|
+
|
|
1361
|
+
/**
|
|
1362
|
+
* optional string created_at = 6;
|
|
1363
|
+
* @return {string}
|
|
1364
|
+
*/
|
|
1365
|
+
proto.PoliciesResponse.prototype.getCreatedAt = function() {
|
|
1366
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1367
|
+
};
|
|
1368
|
+
|
|
1369
|
+
|
|
1370
|
+
/**
|
|
1371
|
+
* @param {string} value
|
|
1372
|
+
* @return {!proto.PoliciesResponse} returns this
|
|
1373
|
+
*/
|
|
1374
|
+
proto.PoliciesResponse.prototype.setCreatedAt = function(value) {
|
|
1375
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1376
|
+
};
|
|
1377
|
+
|
|
1378
|
+
|
|
1379
|
+
/**
|
|
1380
|
+
* optional string updated_at = 7;
|
|
1381
|
+
* @return {string}
|
|
1382
|
+
*/
|
|
1383
|
+
proto.PoliciesResponse.prototype.getUpdatedAt = function() {
|
|
1384
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1385
|
+
};
|
|
1386
|
+
|
|
1387
|
+
|
|
1388
|
+
/**
|
|
1389
|
+
* @param {string} value
|
|
1390
|
+
* @return {!proto.PoliciesResponse} returns this
|
|
1391
|
+
*/
|
|
1392
|
+
proto.PoliciesResponse.prototype.setUpdatedAt = function(value) {
|
|
1393
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1394
|
+
};
|
|
1395
|
+
|
|
1396
|
+
|
|
1285
1397
|
|
|
1286
1398
|
/**
|
|
1287
1399
|
* List of repeated fields within this message type.
|
|
@@ -3848,7 +3960,8 @@ proto.ActionCatalog.toObject = function(includeInstance, msg) {
|
|
|
3848
3960
|
var f, obj = {
|
|
3849
3961
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3850
3962
|
alias: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3851
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
3963
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
3964
|
+
actionList: (f = msg.getActionList()) && proto.ActionList.toObject(includeInstance, f)
|
|
3852
3965
|
};
|
|
3853
3966
|
|
|
3854
3967
|
if (includeInstance) {
|
|
@@ -3897,6 +4010,11 @@ proto.ActionCatalog.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
3897
4010
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3898
4011
|
msg.setReferencesId(value);
|
|
3899
4012
|
break;
|
|
4013
|
+
case 4:
|
|
4014
|
+
var value = new proto.ActionList;
|
|
4015
|
+
reader.readMessage(value,proto.ActionList.deserializeBinaryFromReader);
|
|
4016
|
+
msg.setActionList(value);
|
|
4017
|
+
break;
|
|
3900
4018
|
default:
|
|
3901
4019
|
reader.skipField();
|
|
3902
4020
|
break;
|
|
@@ -3947,6 +4065,14 @@ proto.ActionCatalog.serializeBinaryToWriter = function(message, writer) {
|
|
|
3947
4065
|
f
|
|
3948
4066
|
);
|
|
3949
4067
|
}
|
|
4068
|
+
f = message.getActionList();
|
|
4069
|
+
if (f != null) {
|
|
4070
|
+
writer.writeMessage(
|
|
4071
|
+
4,
|
|
4072
|
+
f,
|
|
4073
|
+
proto.ActionList.serializeBinaryToWriter
|
|
4074
|
+
);
|
|
4075
|
+
}
|
|
3950
4076
|
};
|
|
3951
4077
|
|
|
3952
4078
|
|
|
@@ -4004,6 +4130,43 @@ proto.ActionCatalog.prototype.setReferencesId = function(value) {
|
|
|
4004
4130
|
};
|
|
4005
4131
|
|
|
4006
4132
|
|
|
4133
|
+
/**
|
|
4134
|
+
* optional ActionList action_list = 4;
|
|
4135
|
+
* @return {?proto.ActionList}
|
|
4136
|
+
*/
|
|
4137
|
+
proto.ActionCatalog.prototype.getActionList = function() {
|
|
4138
|
+
return /** @type{?proto.ActionList} */ (
|
|
4139
|
+
jspb.Message.getWrapperField(this, proto.ActionList, 4));
|
|
4140
|
+
};
|
|
4141
|
+
|
|
4142
|
+
|
|
4143
|
+
/**
|
|
4144
|
+
* @param {?proto.ActionList|undefined} value
|
|
4145
|
+
* @return {!proto.ActionCatalog} returns this
|
|
4146
|
+
*/
|
|
4147
|
+
proto.ActionCatalog.prototype.setActionList = function(value) {
|
|
4148
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
4149
|
+
};
|
|
4150
|
+
|
|
4151
|
+
|
|
4152
|
+
/**
|
|
4153
|
+
* Clears the message field making it undefined.
|
|
4154
|
+
* @return {!proto.ActionCatalog} returns this
|
|
4155
|
+
*/
|
|
4156
|
+
proto.ActionCatalog.prototype.clearActionList = function() {
|
|
4157
|
+
return this.setActionList(undefined);
|
|
4158
|
+
};
|
|
4159
|
+
|
|
4160
|
+
|
|
4161
|
+
/**
|
|
4162
|
+
* Returns whether this field is set.
|
|
4163
|
+
* @return {boolean}
|
|
4164
|
+
*/
|
|
4165
|
+
proto.ActionCatalog.prototype.hasActionList = function() {
|
|
4166
|
+
return jspb.Message.getField(this, 4) != null;
|
|
4167
|
+
};
|
|
4168
|
+
|
|
4169
|
+
|
|
4007
4170
|
|
|
4008
4171
|
|
|
4009
4172
|
|
|
@@ -7525,6 +7688,272 @@ proto.GetActionByServiceResponse.prototype.hasMeta = function() {
|
|
|
7525
7688
|
|
|
7526
7689
|
|
|
7527
7690
|
|
|
7691
|
+
/**
|
|
7692
|
+
* List of repeated fields within this message type.
|
|
7693
|
+
* @private {!Array<number>}
|
|
7694
|
+
* @const
|
|
7695
|
+
*/
|
|
7696
|
+
proto.ActionList.repeatedFields_ = [1,2,3];
|
|
7697
|
+
|
|
7698
|
+
|
|
7699
|
+
|
|
7700
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7701
|
+
/**
|
|
7702
|
+
* Creates an object representation of this proto.
|
|
7703
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
7704
|
+
* Optional fields that are not set will be set to undefined.
|
|
7705
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
7706
|
+
* For the list of reserved names please see:
|
|
7707
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
7708
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
7709
|
+
* JSPB instance for transitional soy proto support:
|
|
7710
|
+
* http://goto/soy-param-migration
|
|
7711
|
+
* @return {!Object}
|
|
7712
|
+
*/
|
|
7713
|
+
proto.ActionList.prototype.toObject = function(opt_includeInstance) {
|
|
7714
|
+
return proto.ActionList.toObject(opt_includeInstance, this);
|
|
7715
|
+
};
|
|
7716
|
+
|
|
7717
|
+
|
|
7718
|
+
/**
|
|
7719
|
+
* Static version of the {@see toObject} method.
|
|
7720
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
7721
|
+
* the JSPB instance for transitional soy proto support:
|
|
7722
|
+
* http://goto/soy-param-migration
|
|
7723
|
+
* @param {!proto.ActionList} msg The msg instance to transform.
|
|
7724
|
+
* @return {!Object}
|
|
7725
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7726
|
+
*/
|
|
7727
|
+
proto.ActionList.toObject = function(includeInstance, msg) {
|
|
7728
|
+
var f, obj = {
|
|
7729
|
+
listList: jspb.Message.toObjectList(msg.getListList(),
|
|
7730
|
+
proto.Action.toObject, includeInstance),
|
|
7731
|
+
readList: jspb.Message.toObjectList(msg.getReadList(),
|
|
7732
|
+
proto.Action.toObject, includeInstance),
|
|
7733
|
+
writeList: jspb.Message.toObjectList(msg.getWriteList(),
|
|
7734
|
+
proto.Action.toObject, includeInstance)
|
|
7735
|
+
};
|
|
7736
|
+
|
|
7737
|
+
if (includeInstance) {
|
|
7738
|
+
obj.$jspbMessageInstance = msg;
|
|
7739
|
+
}
|
|
7740
|
+
return obj;
|
|
7741
|
+
};
|
|
7742
|
+
}
|
|
7743
|
+
|
|
7744
|
+
|
|
7745
|
+
/**
|
|
7746
|
+
* Deserializes binary data (in protobuf wire format).
|
|
7747
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
7748
|
+
* @return {!proto.ActionList}
|
|
7749
|
+
*/
|
|
7750
|
+
proto.ActionList.deserializeBinary = function(bytes) {
|
|
7751
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
7752
|
+
var msg = new proto.ActionList;
|
|
7753
|
+
return proto.ActionList.deserializeBinaryFromReader(msg, reader);
|
|
7754
|
+
};
|
|
7755
|
+
|
|
7756
|
+
|
|
7757
|
+
/**
|
|
7758
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
7759
|
+
* given reader into the given message object.
|
|
7760
|
+
* @param {!proto.ActionList} msg The message object to deserialize into.
|
|
7761
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
7762
|
+
* @return {!proto.ActionList}
|
|
7763
|
+
*/
|
|
7764
|
+
proto.ActionList.deserializeBinaryFromReader = function(msg, reader) {
|
|
7765
|
+
while (reader.nextField()) {
|
|
7766
|
+
if (reader.isEndGroup()) {
|
|
7767
|
+
break;
|
|
7768
|
+
}
|
|
7769
|
+
var field = reader.getFieldNumber();
|
|
7770
|
+
switch (field) {
|
|
7771
|
+
case 1:
|
|
7772
|
+
var value = new proto.Action;
|
|
7773
|
+
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
7774
|
+
msg.addList(value);
|
|
7775
|
+
break;
|
|
7776
|
+
case 2:
|
|
7777
|
+
var value = new proto.Action;
|
|
7778
|
+
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
7779
|
+
msg.addRead(value);
|
|
7780
|
+
break;
|
|
7781
|
+
case 3:
|
|
7782
|
+
var value = new proto.Action;
|
|
7783
|
+
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
7784
|
+
msg.addWrite(value);
|
|
7785
|
+
break;
|
|
7786
|
+
default:
|
|
7787
|
+
reader.skipField();
|
|
7788
|
+
break;
|
|
7789
|
+
}
|
|
7790
|
+
}
|
|
7791
|
+
return msg;
|
|
7792
|
+
};
|
|
7793
|
+
|
|
7794
|
+
|
|
7795
|
+
/**
|
|
7796
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
7797
|
+
* @return {!Uint8Array}
|
|
7798
|
+
*/
|
|
7799
|
+
proto.ActionList.prototype.serializeBinary = function() {
|
|
7800
|
+
var writer = new jspb.BinaryWriter();
|
|
7801
|
+
proto.ActionList.serializeBinaryToWriter(this, writer);
|
|
7802
|
+
return writer.getResultBuffer();
|
|
7803
|
+
};
|
|
7804
|
+
|
|
7805
|
+
|
|
7806
|
+
/**
|
|
7807
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
7808
|
+
* format), writing to the given BinaryWriter.
|
|
7809
|
+
* @param {!proto.ActionList} message
|
|
7810
|
+
* @param {!jspb.BinaryWriter} writer
|
|
7811
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
7812
|
+
*/
|
|
7813
|
+
proto.ActionList.serializeBinaryToWriter = function(message, writer) {
|
|
7814
|
+
var f = undefined;
|
|
7815
|
+
f = message.getListList();
|
|
7816
|
+
if (f.length > 0) {
|
|
7817
|
+
writer.writeRepeatedMessage(
|
|
7818
|
+
1,
|
|
7819
|
+
f,
|
|
7820
|
+
proto.Action.serializeBinaryToWriter
|
|
7821
|
+
);
|
|
7822
|
+
}
|
|
7823
|
+
f = message.getReadList();
|
|
7824
|
+
if (f.length > 0) {
|
|
7825
|
+
writer.writeRepeatedMessage(
|
|
7826
|
+
2,
|
|
7827
|
+
f,
|
|
7828
|
+
proto.Action.serializeBinaryToWriter
|
|
7829
|
+
);
|
|
7830
|
+
}
|
|
7831
|
+
f = message.getWriteList();
|
|
7832
|
+
if (f.length > 0) {
|
|
7833
|
+
writer.writeRepeatedMessage(
|
|
7834
|
+
3,
|
|
7835
|
+
f,
|
|
7836
|
+
proto.Action.serializeBinaryToWriter
|
|
7837
|
+
);
|
|
7838
|
+
}
|
|
7839
|
+
};
|
|
7840
|
+
|
|
7841
|
+
|
|
7842
|
+
/**
|
|
7843
|
+
* repeated Action list = 1;
|
|
7844
|
+
* @return {!Array<!proto.Action>}
|
|
7845
|
+
*/
|
|
7846
|
+
proto.ActionList.prototype.getListList = function() {
|
|
7847
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
7848
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Action, 1));
|
|
7849
|
+
};
|
|
7850
|
+
|
|
7851
|
+
|
|
7852
|
+
/**
|
|
7853
|
+
* @param {!Array<!proto.Action>} value
|
|
7854
|
+
* @return {!proto.ActionList} returns this
|
|
7855
|
+
*/
|
|
7856
|
+
proto.ActionList.prototype.setListList = function(value) {
|
|
7857
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
7858
|
+
};
|
|
7859
|
+
|
|
7860
|
+
|
|
7861
|
+
/**
|
|
7862
|
+
* @param {!proto.Action=} opt_value
|
|
7863
|
+
* @param {number=} opt_index
|
|
7864
|
+
* @return {!proto.Action}
|
|
7865
|
+
*/
|
|
7866
|
+
proto.ActionList.prototype.addList = function(opt_value, opt_index) {
|
|
7867
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.Action, opt_index);
|
|
7868
|
+
};
|
|
7869
|
+
|
|
7870
|
+
|
|
7871
|
+
/**
|
|
7872
|
+
* Clears the list making it empty but non-null.
|
|
7873
|
+
* @return {!proto.ActionList} returns this
|
|
7874
|
+
*/
|
|
7875
|
+
proto.ActionList.prototype.clearListList = function() {
|
|
7876
|
+
return this.setListList([]);
|
|
7877
|
+
};
|
|
7878
|
+
|
|
7879
|
+
|
|
7880
|
+
/**
|
|
7881
|
+
* repeated Action read = 2;
|
|
7882
|
+
* @return {!Array<!proto.Action>}
|
|
7883
|
+
*/
|
|
7884
|
+
proto.ActionList.prototype.getReadList = function() {
|
|
7885
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
7886
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Action, 2));
|
|
7887
|
+
};
|
|
7888
|
+
|
|
7889
|
+
|
|
7890
|
+
/**
|
|
7891
|
+
* @param {!Array<!proto.Action>} value
|
|
7892
|
+
* @return {!proto.ActionList} returns this
|
|
7893
|
+
*/
|
|
7894
|
+
proto.ActionList.prototype.setReadList = function(value) {
|
|
7895
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
7896
|
+
};
|
|
7897
|
+
|
|
7898
|
+
|
|
7899
|
+
/**
|
|
7900
|
+
* @param {!proto.Action=} opt_value
|
|
7901
|
+
* @param {number=} opt_index
|
|
7902
|
+
* @return {!proto.Action}
|
|
7903
|
+
*/
|
|
7904
|
+
proto.ActionList.prototype.addRead = function(opt_value, opt_index) {
|
|
7905
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Action, opt_index);
|
|
7906
|
+
};
|
|
7907
|
+
|
|
7908
|
+
|
|
7909
|
+
/**
|
|
7910
|
+
* Clears the list making it empty but non-null.
|
|
7911
|
+
* @return {!proto.ActionList} returns this
|
|
7912
|
+
*/
|
|
7913
|
+
proto.ActionList.prototype.clearReadList = function() {
|
|
7914
|
+
return this.setReadList([]);
|
|
7915
|
+
};
|
|
7916
|
+
|
|
7917
|
+
|
|
7918
|
+
/**
|
|
7919
|
+
* repeated Action write = 3;
|
|
7920
|
+
* @return {!Array<!proto.Action>}
|
|
7921
|
+
*/
|
|
7922
|
+
proto.ActionList.prototype.getWriteList = function() {
|
|
7923
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
7924
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Action, 3));
|
|
7925
|
+
};
|
|
7926
|
+
|
|
7927
|
+
|
|
7928
|
+
/**
|
|
7929
|
+
* @param {!Array<!proto.Action>} value
|
|
7930
|
+
* @return {!proto.ActionList} returns this
|
|
7931
|
+
*/
|
|
7932
|
+
proto.ActionList.prototype.setWriteList = function(value) {
|
|
7933
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
7934
|
+
};
|
|
7935
|
+
|
|
7936
|
+
|
|
7937
|
+
/**
|
|
7938
|
+
* @param {!proto.Action=} opt_value
|
|
7939
|
+
* @param {number=} opt_index
|
|
7940
|
+
* @return {!proto.Action}
|
|
7941
|
+
*/
|
|
7942
|
+
proto.ActionList.prototype.addWrite = function(opt_value, opt_index) {
|
|
7943
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.Action, opt_index);
|
|
7944
|
+
};
|
|
7945
|
+
|
|
7946
|
+
|
|
7947
|
+
/**
|
|
7948
|
+
* Clears the list making it empty but non-null.
|
|
7949
|
+
* @return {!proto.ActionList} returns this
|
|
7950
|
+
*/
|
|
7951
|
+
proto.ActionList.prototype.clearWriteList = function() {
|
|
7952
|
+
return this.setWriteList([]);
|
|
7953
|
+
};
|
|
7954
|
+
|
|
7955
|
+
|
|
7956
|
+
|
|
7528
7957
|
|
|
7529
7958
|
|
|
7530
7959
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|