@aldiokta/protocgen 1.0.82 → 1.0.83
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
|
@@ -1254,7 +1254,9 @@ name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
1254
1254
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1255
1255
|
statementList: jspb.Message.toObjectList(msg.getStatementList(),
|
|
1256
1256
|
proto.PolicyStatement.toObject, includeInstance),
|
|
1257
|
-
referencesId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1257
|
+
referencesId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1258
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1259
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1258
1260
|
};
|
|
1259
1261
|
|
|
1260
1262
|
if (includeInstance) {
|
|
@@ -1308,6 +1310,14 @@ proto.Policy.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
1308
1310
|
var value = /** @type {string} */ (reader.readString());
|
|
1309
1311
|
msg.setReferencesId(value);
|
|
1310
1312
|
break;
|
|
1313
|
+
case 5:
|
|
1314
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1315
|
+
msg.setCreatedAt(value);
|
|
1316
|
+
break;
|
|
1317
|
+
case 6:
|
|
1318
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1319
|
+
msg.setUpdatedAt(value);
|
|
1320
|
+
break;
|
|
1311
1321
|
default:
|
|
1312
1322
|
reader.skipField();
|
|
1313
1323
|
break;
|
|
@@ -1366,6 +1376,20 @@ proto.Policy.serializeBinaryToWriter = function(message, writer) {
|
|
|
1366
1376
|
f
|
|
1367
1377
|
);
|
|
1368
1378
|
}
|
|
1379
|
+
f = message.getCreatedAt();
|
|
1380
|
+
if (f.length > 0) {
|
|
1381
|
+
writer.writeString(
|
|
1382
|
+
5,
|
|
1383
|
+
f
|
|
1384
|
+
);
|
|
1385
|
+
}
|
|
1386
|
+
f = message.getUpdatedAt();
|
|
1387
|
+
if (f.length > 0) {
|
|
1388
|
+
writer.writeString(
|
|
1389
|
+
6,
|
|
1390
|
+
f
|
|
1391
|
+
);
|
|
1392
|
+
}
|
|
1369
1393
|
};
|
|
1370
1394
|
|
|
1371
1395
|
|
|
@@ -1461,6 +1485,42 @@ proto.Policy.prototype.setReferencesId = function(value) {
|
|
|
1461
1485
|
};
|
|
1462
1486
|
|
|
1463
1487
|
|
|
1488
|
+
/**
|
|
1489
|
+
* optional string created_at = 5;
|
|
1490
|
+
* @return {string}
|
|
1491
|
+
*/
|
|
1492
|
+
proto.Policy.prototype.getCreatedAt = function() {
|
|
1493
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1494
|
+
};
|
|
1495
|
+
|
|
1496
|
+
|
|
1497
|
+
/**
|
|
1498
|
+
* @param {string} value
|
|
1499
|
+
* @return {!proto.Policy} returns this
|
|
1500
|
+
*/
|
|
1501
|
+
proto.Policy.prototype.setCreatedAt = function(value) {
|
|
1502
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1503
|
+
};
|
|
1504
|
+
|
|
1505
|
+
|
|
1506
|
+
/**
|
|
1507
|
+
* optional string updated_at = 6;
|
|
1508
|
+
* @return {string}
|
|
1509
|
+
*/
|
|
1510
|
+
proto.Policy.prototype.getUpdatedAt = function() {
|
|
1511
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1512
|
+
};
|
|
1513
|
+
|
|
1514
|
+
|
|
1515
|
+
/**
|
|
1516
|
+
* @param {string} value
|
|
1517
|
+
* @return {!proto.Policy} returns this
|
|
1518
|
+
*/
|
|
1519
|
+
proto.Policy.prototype.setUpdatedAt = function(value) {
|
|
1520
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1521
|
+
};
|
|
1522
|
+
|
|
1523
|
+
|
|
1464
1524
|
|
|
1465
1525
|
|
|
1466
1526
|
|