@aldiokta/protocgen 1.0.82 → 1.0.84
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
|
@@ -969,8 +969,7 @@ proto.PolicyStatement.toObject = function(includeInstance, msg) {
|
|
|
969
969
|
var f, obj = {
|
|
970
970
|
effect: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
971
971
|
actionList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
972
|
-
resourceList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
973
|
-
name: (f = jspb.Message.getField(msg, 4)) == null ? undefined : f
|
|
972
|
+
resourceList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
974
973
|
};
|
|
975
974
|
|
|
976
975
|
if (includeInstance) {
|
|
@@ -1019,10 +1018,6 @@ proto.PolicyStatement.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1019
1018
|
var value = /** @type {string} */ (reader.readString());
|
|
1020
1019
|
msg.addResource(value);
|
|
1021
1020
|
break;
|
|
1022
|
-
case 4:
|
|
1023
|
-
var value = /** @type {string} */ (reader.readString());
|
|
1024
|
-
msg.setName(value);
|
|
1025
|
-
break;
|
|
1026
1021
|
default:
|
|
1027
1022
|
reader.skipField();
|
|
1028
1023
|
break;
|
|
@@ -1073,13 +1068,6 @@ proto.PolicyStatement.serializeBinaryToWriter = function(message, writer) {
|
|
|
1073
1068
|
f
|
|
1074
1069
|
);
|
|
1075
1070
|
}
|
|
1076
|
-
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
1077
|
-
if (f != null) {
|
|
1078
|
-
writer.writeString(
|
|
1079
|
-
4,
|
|
1080
|
-
f
|
|
1081
|
-
);
|
|
1082
|
-
}
|
|
1083
1071
|
};
|
|
1084
1072
|
|
|
1085
1073
|
|
|
@@ -1175,42 +1163,6 @@ proto.PolicyStatement.prototype.clearResourceList = function() {
|
|
|
1175
1163
|
};
|
|
1176
1164
|
|
|
1177
1165
|
|
|
1178
|
-
/**
|
|
1179
|
-
* optional string name = 4;
|
|
1180
|
-
* @return {string}
|
|
1181
|
-
*/
|
|
1182
|
-
proto.PolicyStatement.prototype.getName = function() {
|
|
1183
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1184
|
-
};
|
|
1185
|
-
|
|
1186
|
-
|
|
1187
|
-
/**
|
|
1188
|
-
* @param {string} value
|
|
1189
|
-
* @return {!proto.PolicyStatement} returns this
|
|
1190
|
-
*/
|
|
1191
|
-
proto.PolicyStatement.prototype.setName = function(value) {
|
|
1192
|
-
return jspb.Message.setField(this, 4, value);
|
|
1193
|
-
};
|
|
1194
|
-
|
|
1195
|
-
|
|
1196
|
-
/**
|
|
1197
|
-
* Clears the field making it undefined.
|
|
1198
|
-
* @return {!proto.PolicyStatement} returns this
|
|
1199
|
-
*/
|
|
1200
|
-
proto.PolicyStatement.prototype.clearName = function() {
|
|
1201
|
-
return jspb.Message.setField(this, 4, undefined);
|
|
1202
|
-
};
|
|
1203
|
-
|
|
1204
|
-
|
|
1205
|
-
/**
|
|
1206
|
-
* Returns whether this field is set.
|
|
1207
|
-
* @return {boolean}
|
|
1208
|
-
*/
|
|
1209
|
-
proto.PolicyStatement.prototype.hasName = function() {
|
|
1210
|
-
return jspb.Message.getField(this, 4) != null;
|
|
1211
|
-
};
|
|
1212
|
-
|
|
1213
|
-
|
|
1214
1166
|
|
|
1215
1167
|
/**
|
|
1216
1168
|
* List of repeated fields within this message type.
|
|
@@ -1254,7 +1206,9 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
1254
1206
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1255
1207
|
statementList: jspb.Message.toObjectList(msg.getStatementList(),
|
|
1256
1208
|
proto.PolicyStatement.toObject, includeInstance),
|
|
1257
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1209
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1210
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1211
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1258
1212
|
};
|
|
1259
1213
|
|
|
1260
1214
|
if (includeInstance) {
|
|
@@ -1308,6 +1262,14 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1308
1262
|
var value = /** @type {string} */ (reader.readString());
|
|
1309
1263
|
msg.setReferencesId(value);
|
|
1310
1264
|
break;
|
|
1265
|
+
case 5:
|
|
1266
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1267
|
+
msg.setCreatedAt(value);
|
|
1268
|
+
break;
|
|
1269
|
+
case 6:
|
|
1270
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1271
|
+
msg.setUpdatedAt(value);
|
|
1272
|
+
break;
|
|
1311
1273
|
default:
|
|
1312
1274
|
reader.skipField();
|
|
1313
1275
|
break;
|
|
@@ -1366,6 +1328,20 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1366
1328
|
f
|
|
1367
1329
|
);
|
|
1368
1330
|
}
|
|
1331
|
+
f = message.getCreatedAt();
|
|
1332
|
+
if (f.length > 0) {
|
|
1333
|
+
writer.writeString(
|
|
1334
|
+
5,
|
|
1335
|
+
f
|
|
1336
|
+
);
|
|
1337
|
+
}
|
|
1338
|
+
f = message.getUpdatedAt();
|
|
1339
|
+
if (f.length > 0) {
|
|
1340
|
+
writer.writeString(
|
|
1341
|
+
6,
|
|
1342
|
+
f
|
|
1343
|
+
);
|
|
1344
|
+
}
|
|
1369
1345
|
};
|
|
1370
1346
|
|
|
1371
1347
|
|
|
@@ -1461,6 +1437,42 @@ proto.Policy.prototype.setReferencesId = function(value) {
|
|
|
1461
1437
|
};
|
|
1462
1438
|
|
|
1463
1439
|
|
|
1440
|
+
/**
|
|
1441
|
+
* optional string created_at = 5;
|
|
1442
|
+
* @return {string}
|
|
1443
|
+
*/
|
|
1444
|
+
proto.Policy.prototype.getCreatedAt = function() {
|
|
1445
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1446
|
+
};
|
|
1447
|
+
|
|
1448
|
+
|
|
1449
|
+
/**
|
|
1450
|
+
* @param {string} value
|
|
1451
|
+
* @return {!proto.Policy} returns this
|
|
1452
|
+
*/
|
|
1453
|
+
proto.Policy.prototype.setCreatedAt = function(value) {
|
|
1454
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1455
|
+
};
|
|
1456
|
+
|
|
1457
|
+
|
|
1458
|
+
/**
|
|
1459
|
+
* optional string updated_at = 6;
|
|
1460
|
+
* @return {string}
|
|
1461
|
+
*/
|
|
1462
|
+
proto.Policy.prototype.getUpdatedAt = function() {
|
|
1463
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1464
|
+
};
|
|
1465
|
+
|
|
1466
|
+
|
|
1467
|
+
/**
|
|
1468
|
+
* @param {string} value
|
|
1469
|
+
* @return {!proto.Policy} returns this
|
|
1470
|
+
*/
|
|
1471
|
+
proto.Policy.prototype.setUpdatedAt = function(value) {
|
|
1472
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1473
|
+
};
|
|
1474
|
+
|
|
1475
|
+
|
|
1464
1476
|
|
|
1465
1477
|
|
|
1466
1478
|
|