@aldiokta/protocgen 1.1.40 → 1.1.41
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 +1 -1
- package/prisca/v1/bidding/bidding_pb.js +31 -1
- package/prisca/v1/core/access_manager/access_manager_pb.js +221 -142
- package/prisca/v1/core/auth/auth_pb.js +18 -14
- package/prisca/v1/core/item_transaction/item_transaction_pb.js +231 -7
- package/prisca/v1/good_receipt/good_receipt_grpc_pb.js +22 -0
- package/prisca/v1/good_receipt/good_receipt_pb.js +370 -23
- package/prisca/v1/invoice/invoice_grpc_pb.js +55 -0
- package/prisca/v1/invoice/invoice_pb.js +778 -16
- package/prisca/v1/purchase_order/purchase_order_grpc_pb.js +22 -0
- package/prisca/v1/purchase_order/purchase_order_pb.js +370 -23
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_grpc_pb.js +55 -0
- package/prisca/v1/purchase_requisition_trx/purchase_requisition_trx_pb.js +673 -1
- package/prisca/v1/request_for_quotation/request_for_quotation_grpc_pb.js +55 -0
- package/prisca/v1/request_for_quotation/request_for_quotation_pb.js +674 -2
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +9911 -2373
|
@@ -994,7 +994,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
994
994
|
* @private {!Array<number>}
|
|
995
995
|
* @const
|
|
996
996
|
*/
|
|
997
|
-
proto.PolicyStatement.repeatedFields_ = [2
|
|
997
|
+
proto.PolicyStatement.repeatedFields_ = [2];
|
|
998
998
|
|
|
999
999
|
|
|
1000
1000
|
|
|
@@ -1027,9 +1027,9 @@ proto.PolicyStatement.prototype.toObject = function(opt_includeInstance) {
|
|
|
1027
1027
|
*/
|
|
1028
1028
|
proto.PolicyStatement.toObject = function(includeInstance, msg) {
|
|
1029
1029
|
var f, obj = {
|
|
1030
|
-
effect: jspb.Message.getFieldWithDefault(msg, 1,
|
|
1031
|
-
|
|
1032
|
-
|
|
1030
|
+
effect: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1031
|
+
actionsList: jspb.Message.toObjectList(msg.getActionsList(),
|
|
1032
|
+
proto.Action.toObject, includeInstance)
|
|
1033
1033
|
};
|
|
1034
1034
|
|
|
1035
1035
|
if (includeInstance) {
|
|
@@ -1067,16 +1067,13 @@ proto.PolicyStatement.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1067
1067
|
var field = reader.getFieldNumber();
|
|
1068
1068
|
switch (field) {
|
|
1069
1069
|
case 1:
|
|
1070
|
-
var value = /** @type {
|
|
1070
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1071
1071
|
msg.setEffect(value);
|
|
1072
1072
|
break;
|
|
1073
1073
|
case 2:
|
|
1074
|
-
var value =
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
case 3:
|
|
1078
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1079
|
-
msg.addResource(value);
|
|
1074
|
+
var value = new proto.Action;
|
|
1075
|
+
reader.readMessage(value,proto.Action.deserializeBinaryFromReader);
|
|
1076
|
+
msg.addActions(value);
|
|
1080
1077
|
break;
|
|
1081
1078
|
default:
|
|
1082
1079
|
reader.skipField();
|
|
@@ -1108,109 +1105,67 @@ proto.PolicyStatement.prototype.serializeBinary = function() {
|
|
|
1108
1105
|
proto.PolicyStatement.serializeBinaryToWriter = function(message, writer) {
|
|
1109
1106
|
var f = undefined;
|
|
1110
1107
|
f = message.getEffect();
|
|
1111
|
-
if (f
|
|
1112
|
-
writer.
|
|
1108
|
+
if (f.length > 0) {
|
|
1109
|
+
writer.writeString(
|
|
1113
1110
|
1,
|
|
1114
1111
|
f
|
|
1115
1112
|
);
|
|
1116
1113
|
}
|
|
1117
|
-
f = message.
|
|
1114
|
+
f = message.getActionsList();
|
|
1118
1115
|
if (f.length > 0) {
|
|
1119
|
-
writer.
|
|
1116
|
+
writer.writeRepeatedMessage(
|
|
1120
1117
|
2,
|
|
1121
|
-
f
|
|
1122
|
-
|
|
1123
|
-
}
|
|
1124
|
-
f = message.getResourceList();
|
|
1125
|
-
if (f.length > 0) {
|
|
1126
|
-
writer.writeRepeatedString(
|
|
1127
|
-
3,
|
|
1128
|
-
f
|
|
1118
|
+
f,
|
|
1119
|
+
proto.Action.serializeBinaryToWriter
|
|
1129
1120
|
);
|
|
1130
1121
|
}
|
|
1131
1122
|
};
|
|
1132
1123
|
|
|
1133
1124
|
|
|
1134
1125
|
/**
|
|
1135
|
-
* optional
|
|
1136
|
-
* @return {
|
|
1126
|
+
* optional string effect = 1;
|
|
1127
|
+
* @return {string}
|
|
1137
1128
|
*/
|
|
1138
1129
|
proto.PolicyStatement.prototype.getEffect = function() {
|
|
1139
|
-
return /** @type {
|
|
1140
|
-
};
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
/**
|
|
1144
|
-
* @param {!proto.Effect} value
|
|
1145
|
-
* @return {!proto.PolicyStatement} returns this
|
|
1146
|
-
*/
|
|
1147
|
-
proto.PolicyStatement.prototype.setEffect = function(value) {
|
|
1148
|
-
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
1149
|
-
};
|
|
1150
|
-
|
|
1151
|
-
|
|
1152
|
-
/**
|
|
1153
|
-
* repeated string action = 2;
|
|
1154
|
-
* @return {!Array<string>}
|
|
1155
|
-
*/
|
|
1156
|
-
proto.PolicyStatement.prototype.getActionList = function() {
|
|
1157
|
-
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
1158
|
-
};
|
|
1159
|
-
|
|
1160
|
-
|
|
1161
|
-
/**
|
|
1162
|
-
* @param {!Array<string>} value
|
|
1163
|
-
* @return {!proto.PolicyStatement} returns this
|
|
1164
|
-
*/
|
|
1165
|
-
proto.PolicyStatement.prototype.setActionList = function(value) {
|
|
1166
|
-
return jspb.Message.setField(this, 2, value || []);
|
|
1130
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1167
1131
|
};
|
|
1168
1132
|
|
|
1169
1133
|
|
|
1170
1134
|
/**
|
|
1171
1135
|
* @param {string} value
|
|
1172
|
-
* @param {number=} opt_index
|
|
1173
|
-
* @return {!proto.PolicyStatement} returns this
|
|
1174
|
-
*/
|
|
1175
|
-
proto.PolicyStatement.prototype.addAction = function(value, opt_index) {
|
|
1176
|
-
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
1177
|
-
};
|
|
1178
|
-
|
|
1179
|
-
|
|
1180
|
-
/**
|
|
1181
|
-
* Clears the list making it empty but non-null.
|
|
1182
1136
|
* @return {!proto.PolicyStatement} returns this
|
|
1183
1137
|
*/
|
|
1184
|
-
proto.PolicyStatement.prototype.
|
|
1185
|
-
return
|
|
1138
|
+
proto.PolicyStatement.prototype.setEffect = function(value) {
|
|
1139
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1186
1140
|
};
|
|
1187
1141
|
|
|
1188
1142
|
|
|
1189
1143
|
/**
|
|
1190
|
-
* repeated
|
|
1191
|
-
* @return {!Array
|
|
1144
|
+
* repeated Action actions = 2;
|
|
1145
|
+
* @return {!Array<!proto.Action>}
|
|
1192
1146
|
*/
|
|
1193
|
-
proto.PolicyStatement.prototype.
|
|
1194
|
-
return /** @type
|
|
1147
|
+
proto.PolicyStatement.prototype.getActionsList = function() {
|
|
1148
|
+
return /** @type{!Array<!proto.Action>} */ (
|
|
1149
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Action, 2));
|
|
1195
1150
|
};
|
|
1196
1151
|
|
|
1197
1152
|
|
|
1198
1153
|
/**
|
|
1199
|
-
* @param {!Array
|
|
1154
|
+
* @param {!Array<!proto.Action>} value
|
|
1200
1155
|
* @return {!proto.PolicyStatement} returns this
|
|
1201
|
-
|
|
1202
|
-
proto.PolicyStatement.prototype.
|
|
1203
|
-
return jspb.Message.
|
|
1156
|
+
*/
|
|
1157
|
+
proto.PolicyStatement.prototype.setActionsList = function(value) {
|
|
1158
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
1204
1159
|
};
|
|
1205
1160
|
|
|
1206
1161
|
|
|
1207
1162
|
/**
|
|
1208
|
-
* @param {
|
|
1163
|
+
* @param {!proto.Action=} opt_value
|
|
1209
1164
|
* @param {number=} opt_index
|
|
1210
|
-
* @return {!proto.
|
|
1165
|
+
* @return {!proto.Action}
|
|
1211
1166
|
*/
|
|
1212
|
-
proto.PolicyStatement.prototype.
|
|
1213
|
-
return jspb.Message.
|
|
1167
|
+
proto.PolicyStatement.prototype.addActions = function(opt_value, opt_index) {
|
|
1168
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.Action, opt_index);
|
|
1214
1169
|
};
|
|
1215
1170
|
|
|
1216
1171
|
|
|
@@ -1218,8 +1173,8 @@ proto.PolicyStatement.prototype.addResource = function(value, opt_index) {
|
|
|
1218
1173
|
* Clears the list making it empty but non-null.
|
|
1219
1174
|
* @return {!proto.PolicyStatement} returns this
|
|
1220
1175
|
*/
|
|
1221
|
-
proto.PolicyStatement.prototype.
|
|
1222
|
-
return this.
|
|
1176
|
+
proto.PolicyStatement.prototype.clearActionsList = function() {
|
|
1177
|
+
return this.setActionsList([]);
|
|
1223
1178
|
};
|
|
1224
1179
|
|
|
1225
1180
|
|
|
@@ -1264,11 +1219,13 @@ proto.Policy.toObject = function(includeInstance, msg) {
|
|
|
1264
1219
|
var f, obj = {
|
|
1265
1220
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1266
1221
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1267
|
-
|
|
1222
|
+
statementsList: jspb.Message.toObjectList(msg.getStatementsList(),
|
|
1268
1223
|
proto.PolicyStatement.toObject, includeInstance),
|
|
1269
1224
|
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1270
1225
|
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1271
|
-
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1226
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
1227
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1228
|
+
updatedBy: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
1272
1229
|
};
|
|
1273
1230
|
|
|
1274
1231
|
if (includeInstance) {
|
|
@@ -1316,7 +1273,7 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1316
1273
|
case 3:
|
|
1317
1274
|
var value = new proto.PolicyStatement;
|
|
1318
1275
|
reader.readMessage(value,proto.PolicyStatement.deserializeBinaryFromReader);
|
|
1319
|
-
msg.
|
|
1276
|
+
msg.addStatements(value);
|
|
1320
1277
|
break;
|
|
1321
1278
|
case 4:
|
|
1322
1279
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
@@ -1330,6 +1287,14 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1330
1287
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1331
1288
|
msg.setUpdatedAt(value);
|
|
1332
1289
|
break;
|
|
1290
|
+
case 7:
|
|
1291
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1292
|
+
msg.setCreatedBy(value);
|
|
1293
|
+
break;
|
|
1294
|
+
case 8:
|
|
1295
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1296
|
+
msg.setUpdatedBy(value);
|
|
1297
|
+
break;
|
|
1333
1298
|
default:
|
|
1334
1299
|
reader.skipField();
|
|
1335
1300
|
break;
|
|
@@ -1373,7 +1338,7 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1373
1338
|
f
|
|
1374
1339
|
);
|
|
1375
1340
|
}
|
|
1376
|
-
f = message.
|
|
1341
|
+
f = message.getStatementsList();
|
|
1377
1342
|
if (f.length > 0) {
|
|
1378
1343
|
writer.writeRepeatedMessage(
|
|
1379
1344
|
3,
|
|
@@ -1402,6 +1367,20 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1402
1367
|
f
|
|
1403
1368
|
);
|
|
1404
1369
|
}
|
|
1370
|
+
f = message.getCreatedBy();
|
|
1371
|
+
if (f.length > 0) {
|
|
1372
|
+
writer.writeString(
|
|
1373
|
+
7,
|
|
1374
|
+
f
|
|
1375
|
+
);
|
|
1376
|
+
}
|
|
1377
|
+
f = message.getUpdatedBy();
|
|
1378
|
+
if (f.length > 0) {
|
|
1379
|
+
writer.writeString(
|
|
1380
|
+
8,
|
|
1381
|
+
f
|
|
1382
|
+
);
|
|
1383
|
+
}
|
|
1405
1384
|
};
|
|
1406
1385
|
|
|
1407
1386
|
|
|
@@ -1442,10 +1421,10 @@ proto.Policy.prototype.setDescription = function(value) {
|
|
|
1442
1421
|
|
|
1443
1422
|
|
|
1444
1423
|
/**
|
|
1445
|
-
* repeated PolicyStatement
|
|
1424
|
+
* repeated PolicyStatement statements = 3;
|
|
1446
1425
|
* @return {!Array<!proto.PolicyStatement>}
|
|
1447
1426
|
*/
|
|
1448
|
-
proto.Policy.prototype.
|
|
1427
|
+
proto.Policy.prototype.getStatementsList = function() {
|
|
1449
1428
|
return /** @type{!Array<!proto.PolicyStatement>} */ (
|
|
1450
1429
|
jspb.Message.getRepeatedWrapperField(this, proto.PolicyStatement, 3));
|
|
1451
1430
|
};
|
|
@@ -1455,7 +1434,7 @@ proto.Policy.prototype.getStatementList = function() {
|
|
|
1455
1434
|
* @param {!Array<!proto.PolicyStatement>} value
|
|
1456
1435
|
* @return {!proto.Policy} returns this
|
|
1457
1436
|
*/
|
|
1458
|
-
proto.Policy.prototype.
|
|
1437
|
+
proto.Policy.prototype.setStatementsList = function(value) {
|
|
1459
1438
|
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
1460
1439
|
};
|
|
1461
1440
|
|
|
@@ -1465,7 +1444,7 @@ proto.Policy.prototype.setStatementList = function(value) {
|
|
|
1465
1444
|
* @param {number=} opt_index
|
|
1466
1445
|
* @return {!proto.PolicyStatement}
|
|
1467
1446
|
*/
|
|
1468
|
-
proto.Policy.prototype.
|
|
1447
|
+
proto.Policy.prototype.addStatements = function(opt_value, opt_index) {
|
|
1469
1448
|
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.PolicyStatement, opt_index);
|
|
1470
1449
|
};
|
|
1471
1450
|
|
|
@@ -1474,8 +1453,8 @@ proto.Policy.prototype.addStatement = function(opt_value, opt_index) {
|
|
|
1474
1453
|
* Clears the list making it empty but non-null.
|
|
1475
1454
|
* @return {!proto.Policy} returns this
|
|
1476
1455
|
*/
|
|
1477
|
-
proto.Policy.prototype.
|
|
1478
|
-
return this.
|
|
1456
|
+
proto.Policy.prototype.clearStatementsList = function() {
|
|
1457
|
+
return this.setStatementsList([]);
|
|
1479
1458
|
};
|
|
1480
1459
|
|
|
1481
1460
|
|
|
@@ -1533,6 +1512,42 @@ proto.Policy.prototype.setUpdatedAt = function(value) {
|
|
|
1533
1512
|
};
|
|
1534
1513
|
|
|
1535
1514
|
|
|
1515
|
+
/**
|
|
1516
|
+
* optional string created_by = 7;
|
|
1517
|
+
* @return {string}
|
|
1518
|
+
*/
|
|
1519
|
+
proto.Policy.prototype.getCreatedBy = function() {
|
|
1520
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
|
|
1524
|
+
/**
|
|
1525
|
+
* @param {string} value
|
|
1526
|
+
* @return {!proto.Policy} returns this
|
|
1527
|
+
*/
|
|
1528
|
+
proto.Policy.prototype.setCreatedBy = function(value) {
|
|
1529
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
1530
|
+
};
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
/**
|
|
1534
|
+
* optional string updated_by = 8;
|
|
1535
|
+
* @return {string}
|
|
1536
|
+
*/
|
|
1537
|
+
proto.Policy.prototype.getUpdatedBy = function() {
|
|
1538
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1539
|
+
};
|
|
1540
|
+
|
|
1541
|
+
|
|
1542
|
+
/**
|
|
1543
|
+
* @param {string} value
|
|
1544
|
+
* @return {!proto.Policy} returns this
|
|
1545
|
+
*/
|
|
1546
|
+
proto.Policy.prototype.setUpdatedBy = function(value) {
|
|
1547
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1548
|
+
};
|
|
1549
|
+
|
|
1550
|
+
|
|
1536
1551
|
|
|
1537
1552
|
|
|
1538
1553
|
|
|
@@ -2439,7 +2454,8 @@ proto.Resource.toObject = function(includeInstance, msg) {
|
|
|
2439
2454
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2440
2455
|
parameter: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2441
2456
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2442
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2457
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2458
|
+
resourceFilter: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2443
2459
|
};
|
|
2444
2460
|
|
|
2445
2461
|
if (includeInstance) {
|
|
@@ -2492,6 +2508,10 @@ proto.Resource.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2492
2508
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2493
2509
|
msg.setReferencesId(value);
|
|
2494
2510
|
break;
|
|
2511
|
+
case 5:
|
|
2512
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2513
|
+
msg.setResourceFilter(value);
|
|
2514
|
+
break;
|
|
2495
2515
|
default:
|
|
2496
2516
|
reader.skipField();
|
|
2497
2517
|
break;
|
|
@@ -2549,6 +2569,13 @@ proto.Resource.serializeBinaryToWriter = function(message, writer) {
|
|
|
2549
2569
|
f
|
|
2550
2570
|
);
|
|
2551
2571
|
}
|
|
2572
|
+
f = message.getResourceFilter();
|
|
2573
|
+
if (f.length > 0) {
|
|
2574
|
+
writer.writeString(
|
|
2575
|
+
5,
|
|
2576
|
+
f
|
|
2577
|
+
);
|
|
2578
|
+
}
|
|
2552
2579
|
};
|
|
2553
2580
|
|
|
2554
2581
|
|
|
@@ -2624,6 +2651,24 @@ proto.Resource.prototype.setReferencesId = function(value) {
|
|
|
2624
2651
|
};
|
|
2625
2652
|
|
|
2626
2653
|
|
|
2654
|
+
/**
|
|
2655
|
+
* optional string resource_filter = 5;
|
|
2656
|
+
* @return {string}
|
|
2657
|
+
*/
|
|
2658
|
+
proto.Resource.prototype.getResourceFilter = function() {
|
|
2659
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2660
|
+
};
|
|
2661
|
+
|
|
2662
|
+
|
|
2663
|
+
/**
|
|
2664
|
+
* @param {string} value
|
|
2665
|
+
* @return {!proto.Resource} returns this
|
|
2666
|
+
*/
|
|
2667
|
+
proto.Resource.prototype.setResourceFilter = function(value) {
|
|
2668
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2669
|
+
};
|
|
2670
|
+
|
|
2671
|
+
|
|
2627
2672
|
|
|
2628
2673
|
/**
|
|
2629
2674
|
* List of repeated fields within this message type.
|
|
@@ -2665,9 +2710,11 @@ proto.Action.toObject = function(includeInstance, msg) {
|
|
|
2665
2710
|
var f, obj = {
|
|
2666
2711
|
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2667
2712
|
referencesId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2668
|
-
|
|
2669
|
-
|
|
2670
|
-
|
|
2713
|
+
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
2714
|
+
accessLevel: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2715
|
+
resourceList: jspb.Message.toObjectList(msg.getResourceList(),
|
|
2716
|
+
proto.Resource.toObject, includeInstance),
|
|
2717
|
+
actionCatalog: (f = msg.getActionCatalog()) && proto.ActionCatalog.toObject(includeInstance, f)
|
|
2671
2718
|
};
|
|
2672
2719
|
|
|
2673
2720
|
if (includeInstance) {
|
|
@@ -2714,17 +2761,22 @@ proto.Action.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2714
2761
|
break;
|
|
2715
2762
|
case 3:
|
|
2716
2763
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2717
|
-
msg.
|
|
2764
|
+
msg.setDescription(value);
|
|
2718
2765
|
break;
|
|
2719
2766
|
case 4:
|
|
2767
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2768
|
+
msg.setAccessLevel(value);
|
|
2769
|
+
break;
|
|
2770
|
+
case 5:
|
|
2771
|
+
var value = new proto.Resource;
|
|
2772
|
+
reader.readMessage(value,proto.Resource.deserializeBinaryFromReader);
|
|
2773
|
+
msg.addResource(value);
|
|
2774
|
+
break;
|
|
2775
|
+
case 6:
|
|
2720
2776
|
var value = new proto.ActionCatalog;
|
|
2721
2777
|
reader.readMessage(value,proto.ActionCatalog.deserializeBinaryFromReader);
|
|
2722
2778
|
msg.setActionCatalog(value);
|
|
2723
2779
|
break;
|
|
2724
|
-
case 5:
|
|
2725
|
-
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2726
|
-
msg.addResources(value);
|
|
2727
|
-
break;
|
|
2728
2780
|
default:
|
|
2729
2781
|
reader.skipField();
|
|
2730
2782
|
break;
|
|
@@ -2768,26 +2820,34 @@ proto.Action.serializeBinaryToWriter = function(message, writer) {
|
|
|
2768
2820
|
f
|
|
2769
2821
|
);
|
|
2770
2822
|
}
|
|
2771
|
-
f = message.
|
|
2823
|
+
f = message.getDescription();
|
|
2772
2824
|
if (f.length > 0) {
|
|
2773
2825
|
writer.writeString(
|
|
2774
2826
|
3,
|
|
2775
2827
|
f
|
|
2776
2828
|
);
|
|
2777
2829
|
}
|
|
2778
|
-
f = message.
|
|
2779
|
-
if (f
|
|
2780
|
-
writer.
|
|
2830
|
+
f = message.getAccessLevel();
|
|
2831
|
+
if (f.length > 0) {
|
|
2832
|
+
writer.writeString(
|
|
2781
2833
|
4,
|
|
2782
|
-
f
|
|
2783
|
-
proto.ActionCatalog.serializeBinaryToWriter
|
|
2834
|
+
f
|
|
2784
2835
|
);
|
|
2785
2836
|
}
|
|
2786
|
-
f = message.
|
|
2837
|
+
f = message.getResourceList();
|
|
2787
2838
|
if (f.length > 0) {
|
|
2788
|
-
writer.
|
|
2839
|
+
writer.writeRepeatedMessage(
|
|
2789
2840
|
5,
|
|
2790
|
-
f
|
|
2841
|
+
f,
|
|
2842
|
+
proto.Resource.serializeBinaryToWriter
|
|
2843
|
+
);
|
|
2844
|
+
}
|
|
2845
|
+
f = message.getActionCatalog();
|
|
2846
|
+
if (f != null) {
|
|
2847
|
+
writer.writeMessage(
|
|
2848
|
+
6,
|
|
2849
|
+
f,
|
|
2850
|
+
proto.ActionCatalog.serializeBinaryToWriter
|
|
2791
2851
|
);
|
|
2792
2852
|
}
|
|
2793
2853
|
};
|
|
@@ -2830,10 +2890,10 @@ proto.Action.prototype.setReferencesId = function(value) {
|
|
|
2830
2890
|
|
|
2831
2891
|
|
|
2832
2892
|
/**
|
|
2833
|
-
* optional string
|
|
2893
|
+
* optional string description = 3;
|
|
2834
2894
|
* @return {string}
|
|
2835
2895
|
*/
|
|
2836
|
-
proto.Action.prototype.
|
|
2896
|
+
proto.Action.prototype.getDescription = function() {
|
|
2837
2897
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2838
2898
|
};
|
|
2839
2899
|
|
|
@@ -2842,82 +2902,101 @@ proto.Action.prototype.getCatalogReferencesId = function() {
|
|
|
2842
2902
|
* @param {string} value
|
|
2843
2903
|
* @return {!proto.Action} returns this
|
|
2844
2904
|
*/
|
|
2845
|
-
proto.Action.prototype.
|
|
2905
|
+
proto.Action.prototype.setDescription = function(value) {
|
|
2846
2906
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2847
2907
|
};
|
|
2848
2908
|
|
|
2849
2909
|
|
|
2850
2910
|
/**
|
|
2851
|
-
* optional
|
|
2852
|
-
* @return {
|
|
2911
|
+
* optional string access_level = 4;
|
|
2912
|
+
* @return {string}
|
|
2853
2913
|
*/
|
|
2854
|
-
proto.Action.prototype.
|
|
2855
|
-
return /** @type{
|
|
2856
|
-
jspb.Message.getWrapperField(this, proto.ActionCatalog, 4));
|
|
2914
|
+
proto.Action.prototype.getAccessLevel = function() {
|
|
2915
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2857
2916
|
};
|
|
2858
2917
|
|
|
2859
2918
|
|
|
2860
2919
|
/**
|
|
2861
|
-
* @param {
|
|
2920
|
+
* @param {string} value
|
|
2862
2921
|
* @return {!proto.Action} returns this
|
|
2863
|
-
*/
|
|
2864
|
-
proto.Action.prototype.
|
|
2865
|
-
return jspb.Message.
|
|
2922
|
+
*/
|
|
2923
|
+
proto.Action.prototype.setAccessLevel = function(value) {
|
|
2924
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2866
2925
|
};
|
|
2867
2926
|
|
|
2868
2927
|
|
|
2869
2928
|
/**
|
|
2870
|
-
*
|
|
2929
|
+
* repeated Resource resource = 5;
|
|
2930
|
+
* @return {!Array<!proto.Resource>}
|
|
2931
|
+
*/
|
|
2932
|
+
proto.Action.prototype.getResourceList = function() {
|
|
2933
|
+
return /** @type{!Array<!proto.Resource>} */ (
|
|
2934
|
+
jspb.Message.getRepeatedWrapperField(this, proto.Resource, 5));
|
|
2935
|
+
};
|
|
2936
|
+
|
|
2937
|
+
|
|
2938
|
+
/**
|
|
2939
|
+
* @param {!Array<!proto.Resource>} value
|
|
2871
2940
|
* @return {!proto.Action} returns this
|
|
2941
|
+
*/
|
|
2942
|
+
proto.Action.prototype.setResourceList = function(value) {
|
|
2943
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
2944
|
+
};
|
|
2945
|
+
|
|
2946
|
+
|
|
2947
|
+
/**
|
|
2948
|
+
* @param {!proto.Resource=} opt_value
|
|
2949
|
+
* @param {number=} opt_index
|
|
2950
|
+
* @return {!proto.Resource}
|
|
2872
2951
|
*/
|
|
2873
|
-
proto.Action.prototype.
|
|
2874
|
-
return this.
|
|
2952
|
+
proto.Action.prototype.addResource = function(opt_value, opt_index) {
|
|
2953
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.Resource, opt_index);
|
|
2875
2954
|
};
|
|
2876
2955
|
|
|
2877
2956
|
|
|
2878
2957
|
/**
|
|
2879
|
-
*
|
|
2880
|
-
* @return {
|
|
2958
|
+
* Clears the list making it empty but non-null.
|
|
2959
|
+
* @return {!proto.Action} returns this
|
|
2881
2960
|
*/
|
|
2882
|
-
proto.Action.prototype.
|
|
2883
|
-
return
|
|
2961
|
+
proto.Action.prototype.clearResourceList = function() {
|
|
2962
|
+
return this.setResourceList([]);
|
|
2884
2963
|
};
|
|
2885
2964
|
|
|
2886
2965
|
|
|
2887
2966
|
/**
|
|
2888
|
-
*
|
|
2889
|
-
* @return {
|
|
2967
|
+
* optional ActionCatalog action_catalog = 6;
|
|
2968
|
+
* @return {?proto.ActionCatalog}
|
|
2890
2969
|
*/
|
|
2891
|
-
proto.Action.prototype.
|
|
2892
|
-
return /** @type
|
|
2970
|
+
proto.Action.prototype.getActionCatalog = function() {
|
|
2971
|
+
return /** @type{?proto.ActionCatalog} */ (
|
|
2972
|
+
jspb.Message.getWrapperField(this, proto.ActionCatalog, 6));
|
|
2893
2973
|
};
|
|
2894
2974
|
|
|
2895
2975
|
|
|
2896
2976
|
/**
|
|
2897
|
-
* @param {
|
|
2977
|
+
* @param {?proto.ActionCatalog|undefined} value
|
|
2898
2978
|
* @return {!proto.Action} returns this
|
|
2899
|
-
|
|
2900
|
-
proto.Action.prototype.
|
|
2901
|
-
return jspb.Message.
|
|
2979
|
+
*/
|
|
2980
|
+
proto.Action.prototype.setActionCatalog = function(value) {
|
|
2981
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
2902
2982
|
};
|
|
2903
2983
|
|
|
2904
2984
|
|
|
2905
2985
|
/**
|
|
2906
|
-
*
|
|
2907
|
-
* @param {number=} opt_index
|
|
2986
|
+
* Clears the message field making it undefined.
|
|
2908
2987
|
* @return {!proto.Action} returns this
|
|
2909
2988
|
*/
|
|
2910
|
-
proto.Action.prototype.
|
|
2911
|
-
return
|
|
2989
|
+
proto.Action.prototype.clearActionCatalog = function() {
|
|
2990
|
+
return this.setActionCatalog(undefined);
|
|
2912
2991
|
};
|
|
2913
2992
|
|
|
2914
2993
|
|
|
2915
2994
|
/**
|
|
2916
|
-
*
|
|
2917
|
-
* @return {
|
|
2995
|
+
* Returns whether this field is set.
|
|
2996
|
+
* @return {boolean}
|
|
2918
2997
|
*/
|
|
2919
|
-
proto.Action.prototype.
|
|
2920
|
-
return
|
|
2998
|
+
proto.Action.prototype.hasActionCatalog = function() {
|
|
2999
|
+
return jspb.Message.getField(this, 6) != null;
|
|
2921
3000
|
};
|
|
2922
3001
|
|
|
2923
3002
|
|