@aldiokta/protocgen 1.1.41 → 1.1.43
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/core/access_manager/access_manager_pb.js +1282 -498
- package/prisca/v1/core/auth/auth_pb.js +20 -20
- package/prisca/v1/core/file_upload/file_upload_grpc_pb.js +22 -0
- package/prisca/v1/core/messaging/notification_grpc_pb.js +129 -8
- package/prisca/v1/core/messaging/notification_pb.js +1815 -197
- package/prisca/v1/delivery_order/delivery_order_pb.js +74 -22
- package/prisca/v1/vendor_domain/vendor_domain_pb.js +31 -1
|
@@ -17,17 +17,23 @@ var global = globalThis;
|
|
|
17
17
|
|
|
18
18
|
var prisca_v1_global_meta_meta_pb = require('../../../../prisca/v1/global/meta/meta_pb.js');
|
|
19
19
|
goog.object.extend(proto, prisca_v1_global_meta_meta_pb);
|
|
20
|
-
goog.exportSymbol('proto.
|
|
20
|
+
goog.exportSymbol('proto.CountUnreadNotificationRes', null, global);
|
|
21
21
|
goog.exportSymbol('proto.CreateNotificationReq', null, global);
|
|
22
22
|
goog.exportSymbol('proto.CreateNotificationRes', null, global);
|
|
23
23
|
goog.exportSymbol('proto.DeleteNotificationEmployeeReq', null, global);
|
|
24
24
|
goog.exportSymbol('proto.DeleteNotificationEmployeeRes', null, global);
|
|
25
|
+
goog.exportSymbol('proto.DeleteNotificationVendorReq', null, global);
|
|
26
|
+
goog.exportSymbol('proto.DeleteNotificationVendorRes', null, global);
|
|
25
27
|
goog.exportSymbol('proto.EmptyMessage', null, global);
|
|
26
28
|
goog.exportSymbol('proto.GetListNotificationEmployeeReq', null, global);
|
|
27
29
|
goog.exportSymbol('proto.GetListNotificationEmployeeRes', null, global);
|
|
30
|
+
goog.exportSymbol('proto.GetListNotificationVendorReq', null, global);
|
|
31
|
+
goog.exportSymbol('proto.GetListNotificationVendorRes', null, global);
|
|
28
32
|
goog.exportSymbol('proto.Notification', null, global);
|
|
29
33
|
goog.exportSymbol('proto.NotificationEmployee', null, global);
|
|
30
34
|
goog.exportSymbol('proto.NotificationEmployeeItem', null, global);
|
|
35
|
+
goog.exportSymbol('proto.NotificationVendor', null, global);
|
|
36
|
+
goog.exportSymbol('proto.NotificationVendorItem', null, global);
|
|
31
37
|
goog.exportSymbol('proto.ReferenceId', null, global);
|
|
32
38
|
goog.exportSymbol('proto.ReferenceIds', null, global);
|
|
33
39
|
/**
|
|
@@ -93,6 +99,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
93
99
|
*/
|
|
94
100
|
proto.NotificationEmployeeItem.displayName = 'proto.NotificationEmployeeItem';
|
|
95
101
|
}
|
|
102
|
+
/**
|
|
103
|
+
* Generated by JsPbCodeGenerator.
|
|
104
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
105
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
106
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
107
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
108
|
+
* valid.
|
|
109
|
+
* @extends {jspb.Message}
|
|
110
|
+
* @constructor
|
|
111
|
+
*/
|
|
112
|
+
proto.NotificationVendor = function(opt_data) {
|
|
113
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
114
|
+
};
|
|
115
|
+
goog.inherits(proto.NotificationVendor, jspb.Message);
|
|
116
|
+
if (goog.DEBUG && !COMPILED) {
|
|
117
|
+
/**
|
|
118
|
+
* @public
|
|
119
|
+
* @override
|
|
120
|
+
*/
|
|
121
|
+
proto.NotificationVendor.displayName = 'proto.NotificationVendor';
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* Generated by JsPbCodeGenerator.
|
|
125
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
126
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
127
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
128
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
129
|
+
* valid.
|
|
130
|
+
* @extends {jspb.Message}
|
|
131
|
+
* @constructor
|
|
132
|
+
*/
|
|
133
|
+
proto.NotificationVendorItem = function(opt_data) {
|
|
134
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
135
|
+
};
|
|
136
|
+
goog.inherits(proto.NotificationVendorItem, jspb.Message);
|
|
137
|
+
if (goog.DEBUG && !COMPILED) {
|
|
138
|
+
/**
|
|
139
|
+
* @public
|
|
140
|
+
* @override
|
|
141
|
+
*/
|
|
142
|
+
proto.NotificationVendorItem.displayName = 'proto.NotificationVendorItem';
|
|
143
|
+
}
|
|
96
144
|
/**
|
|
97
145
|
* Generated by JsPbCodeGenerator.
|
|
98
146
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -114,6 +162,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
114
162
|
*/
|
|
115
163
|
proto.GetListNotificationEmployeeReq.displayName = 'proto.GetListNotificationEmployeeReq';
|
|
116
164
|
}
|
|
165
|
+
/**
|
|
166
|
+
* Generated by JsPbCodeGenerator.
|
|
167
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
168
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
169
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
170
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
171
|
+
* valid.
|
|
172
|
+
* @extends {jspb.Message}
|
|
173
|
+
* @constructor
|
|
174
|
+
*/
|
|
175
|
+
proto.GetListNotificationVendorReq = function(opt_data) {
|
|
176
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
177
|
+
};
|
|
178
|
+
goog.inherits(proto.GetListNotificationVendorReq, jspb.Message);
|
|
179
|
+
if (goog.DEBUG && !COMPILED) {
|
|
180
|
+
/**
|
|
181
|
+
* @public
|
|
182
|
+
* @override
|
|
183
|
+
*/
|
|
184
|
+
proto.GetListNotificationVendorReq.displayName = 'proto.GetListNotificationVendorReq';
|
|
185
|
+
}
|
|
117
186
|
/**
|
|
118
187
|
* Generated by JsPbCodeGenerator.
|
|
119
188
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -135,6 +204,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
135
204
|
*/
|
|
136
205
|
proto.GetListNotificationEmployeeRes.displayName = 'proto.GetListNotificationEmployeeRes';
|
|
137
206
|
}
|
|
207
|
+
/**
|
|
208
|
+
* Generated by JsPbCodeGenerator.
|
|
209
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
210
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
211
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
212
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
213
|
+
* valid.
|
|
214
|
+
* @extends {jspb.Message}
|
|
215
|
+
* @constructor
|
|
216
|
+
*/
|
|
217
|
+
proto.GetListNotificationVendorRes = function(opt_data) {
|
|
218
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.GetListNotificationVendorRes.repeatedFields_, null);
|
|
219
|
+
};
|
|
220
|
+
goog.inherits(proto.GetListNotificationVendorRes, jspb.Message);
|
|
221
|
+
if (goog.DEBUG && !COMPILED) {
|
|
222
|
+
/**
|
|
223
|
+
* @public
|
|
224
|
+
* @override
|
|
225
|
+
*/
|
|
226
|
+
proto.GetListNotificationVendorRes.displayName = 'proto.GetListNotificationVendorRes';
|
|
227
|
+
}
|
|
138
228
|
/**
|
|
139
229
|
* Generated by JsPbCodeGenerator.
|
|
140
230
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -292,16 +382,58 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
292
382
|
* @extends {jspb.Message}
|
|
293
383
|
* @constructor
|
|
294
384
|
*/
|
|
295
|
-
proto.
|
|
385
|
+
proto.DeleteNotificationVendorReq = function(opt_data) {
|
|
386
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationVendorReq.repeatedFields_, null);
|
|
387
|
+
};
|
|
388
|
+
goog.inherits(proto.DeleteNotificationVendorReq, jspb.Message);
|
|
389
|
+
if (goog.DEBUG && !COMPILED) {
|
|
390
|
+
/**
|
|
391
|
+
* @public
|
|
392
|
+
* @override
|
|
393
|
+
*/
|
|
394
|
+
proto.DeleteNotificationVendorReq.displayName = 'proto.DeleteNotificationVendorReq';
|
|
395
|
+
}
|
|
396
|
+
/**
|
|
397
|
+
* Generated by JsPbCodeGenerator.
|
|
398
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
399
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
400
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
401
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
402
|
+
* valid.
|
|
403
|
+
* @extends {jspb.Message}
|
|
404
|
+
* @constructor
|
|
405
|
+
*/
|
|
406
|
+
proto.DeleteNotificationVendorRes = function(opt_data) {
|
|
407
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.DeleteNotificationVendorRes.repeatedFields_, null);
|
|
408
|
+
};
|
|
409
|
+
goog.inherits(proto.DeleteNotificationVendorRes, jspb.Message);
|
|
410
|
+
if (goog.DEBUG && !COMPILED) {
|
|
411
|
+
/**
|
|
412
|
+
* @public
|
|
413
|
+
* @override
|
|
414
|
+
*/
|
|
415
|
+
proto.DeleteNotificationVendorRes.displayName = 'proto.DeleteNotificationVendorRes';
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Generated by JsPbCodeGenerator.
|
|
419
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
420
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
421
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
422
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
423
|
+
* valid.
|
|
424
|
+
* @extends {jspb.Message}
|
|
425
|
+
* @constructor
|
|
426
|
+
*/
|
|
427
|
+
proto.CountUnreadNotificationRes = function(opt_data) {
|
|
296
428
|
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
297
429
|
};
|
|
298
|
-
goog.inherits(proto.
|
|
430
|
+
goog.inherits(proto.CountUnreadNotificationRes, jspb.Message);
|
|
299
431
|
if (goog.DEBUG && !COMPILED) {
|
|
300
432
|
/**
|
|
301
433
|
* @public
|
|
302
434
|
* @override
|
|
303
435
|
*/
|
|
304
|
-
proto.
|
|
436
|
+
proto.CountUnreadNotificationRes.displayName = 'proto.CountUnreadNotificationRes';
|
|
305
437
|
}
|
|
306
438
|
|
|
307
439
|
/**
|
|
@@ -1399,8 +1531,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
1399
1531
|
* http://goto/soy-param-migration
|
|
1400
1532
|
* @return {!Object}
|
|
1401
1533
|
*/
|
|
1402
|
-
proto.
|
|
1403
|
-
return proto.
|
|
1534
|
+
proto.NotificationVendor.prototype.toObject = function(opt_includeInstance) {
|
|
1535
|
+
return proto.NotificationVendor.toObject(opt_includeInstance, this);
|
|
1404
1536
|
};
|
|
1405
1537
|
|
|
1406
1538
|
|
|
@@ -1409,14 +1541,17 @@ proto.GetListNotificationEmployeeReq.prototype.toObject = function(opt_includeIn
|
|
|
1409
1541
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1410
1542
|
* the JSPB instance for transitional soy proto support:
|
|
1411
1543
|
* http://goto/soy-param-migration
|
|
1412
|
-
* @param {!proto.
|
|
1544
|
+
* @param {!proto.NotificationVendor} msg The msg instance to transform.
|
|
1413
1545
|
* @return {!Object}
|
|
1414
1546
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1415
1547
|
*/
|
|
1416
|
-
proto.
|
|
1548
|
+
proto.NotificationVendor.toObject = function(includeInstance, msg) {
|
|
1417
1549
|
var f, obj = {
|
|
1418
|
-
|
|
1419
|
-
|
|
1550
|
+
referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1551
|
+
isRead: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
|
|
1552
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1553
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1554
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
1420
1555
|
};
|
|
1421
1556
|
|
|
1422
1557
|
if (includeInstance) {
|
|
@@ -1430,23 +1565,23 @@ query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObj
|
|
|
1430
1565
|
/**
|
|
1431
1566
|
* Deserializes binary data (in protobuf wire format).
|
|
1432
1567
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1433
|
-
* @return {!proto.
|
|
1568
|
+
* @return {!proto.NotificationVendor}
|
|
1434
1569
|
*/
|
|
1435
|
-
proto.
|
|
1570
|
+
proto.NotificationVendor.deserializeBinary = function(bytes) {
|
|
1436
1571
|
var reader = new jspb.BinaryReader(bytes);
|
|
1437
|
-
var msg = new proto.
|
|
1438
|
-
return proto.
|
|
1572
|
+
var msg = new proto.NotificationVendor;
|
|
1573
|
+
return proto.NotificationVendor.deserializeBinaryFromReader(msg, reader);
|
|
1439
1574
|
};
|
|
1440
1575
|
|
|
1441
1576
|
|
|
1442
1577
|
/**
|
|
1443
1578
|
* Deserializes binary data (in protobuf wire format) from the
|
|
1444
1579
|
* given reader into the given message object.
|
|
1445
|
-
* @param {!proto.
|
|
1580
|
+
* @param {!proto.NotificationVendor} msg The message object to deserialize into.
|
|
1446
1581
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1447
|
-
* @return {!proto.
|
|
1582
|
+
* @return {!proto.NotificationVendor}
|
|
1448
1583
|
*/
|
|
1449
|
-
proto.
|
|
1584
|
+
proto.NotificationVendor.deserializeBinaryFromReader = function(msg, reader) {
|
|
1450
1585
|
while (reader.nextField()) {
|
|
1451
1586
|
if (reader.isEndGroup()) {
|
|
1452
1587
|
break;
|
|
@@ -1454,14 +1589,24 @@ proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader = function(msg,
|
|
|
1454
1589
|
var field = reader.getFieldNumber();
|
|
1455
1590
|
switch (field) {
|
|
1456
1591
|
case 1:
|
|
1457
|
-
var value =
|
|
1458
|
-
|
|
1459
|
-
msg.setPagination(value);
|
|
1592
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1593
|
+
msg.setReferenceId(value);
|
|
1460
1594
|
break;
|
|
1461
1595
|
case 2:
|
|
1462
|
-
var value =
|
|
1463
|
-
|
|
1464
|
-
|
|
1596
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1597
|
+
msg.setIsRead(value);
|
|
1598
|
+
break;
|
|
1599
|
+
case 3:
|
|
1600
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1601
|
+
msg.setCreatedBy(value);
|
|
1602
|
+
break;
|
|
1603
|
+
case 4:
|
|
1604
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1605
|
+
msg.setCreatedAt(value);
|
|
1606
|
+
break;
|
|
1607
|
+
case 5:
|
|
1608
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1609
|
+
msg.setUpdatedAt(value);
|
|
1465
1610
|
break;
|
|
1466
1611
|
default:
|
|
1467
1612
|
reader.skipField();
|
|
@@ -1476,9 +1621,9 @@ proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader = function(msg,
|
|
|
1476
1621
|
* Serializes the message to binary data (in protobuf wire format).
|
|
1477
1622
|
* @return {!Uint8Array}
|
|
1478
1623
|
*/
|
|
1479
|
-
proto.
|
|
1624
|
+
proto.NotificationVendor.prototype.serializeBinary = function() {
|
|
1480
1625
|
var writer = new jspb.BinaryWriter();
|
|
1481
|
-
proto.
|
|
1626
|
+
proto.NotificationVendor.serializeBinaryToWriter(this, writer);
|
|
1482
1627
|
return writer.getResultBuffer();
|
|
1483
1628
|
};
|
|
1484
1629
|
|
|
@@ -1486,113 +1631,982 @@ proto.GetListNotificationEmployeeReq.prototype.serializeBinary = function() {
|
|
|
1486
1631
|
/**
|
|
1487
1632
|
* Serializes the given message to binary data (in protobuf wire
|
|
1488
1633
|
* format), writing to the given BinaryWriter.
|
|
1489
|
-
* @param {!proto.
|
|
1634
|
+
* @param {!proto.NotificationVendor} message
|
|
1490
1635
|
* @param {!jspb.BinaryWriter} writer
|
|
1491
1636
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1492
1637
|
*/
|
|
1493
|
-
proto.
|
|
1638
|
+
proto.NotificationVendor.serializeBinaryToWriter = function(message, writer) {
|
|
1494
1639
|
var f = undefined;
|
|
1495
|
-
f = message.
|
|
1496
|
-
if (f
|
|
1497
|
-
writer.
|
|
1640
|
+
f = message.getReferenceId();
|
|
1641
|
+
if (f.length > 0) {
|
|
1642
|
+
writer.writeString(
|
|
1498
1643
|
1,
|
|
1499
|
-
f
|
|
1500
|
-
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
1644
|
+
f
|
|
1501
1645
|
);
|
|
1502
1646
|
}
|
|
1503
|
-
f = message.
|
|
1504
|
-
if (f
|
|
1505
|
-
writer.
|
|
1647
|
+
f = message.getIsRead();
|
|
1648
|
+
if (f) {
|
|
1649
|
+
writer.writeBool(
|
|
1506
1650
|
2,
|
|
1507
|
-
f
|
|
1508
|
-
|
|
1651
|
+
f
|
|
1652
|
+
);
|
|
1653
|
+
}
|
|
1654
|
+
f = message.getCreatedBy();
|
|
1655
|
+
if (f.length > 0) {
|
|
1656
|
+
writer.writeString(
|
|
1657
|
+
3,
|
|
1658
|
+
f
|
|
1659
|
+
);
|
|
1660
|
+
}
|
|
1661
|
+
f = message.getCreatedAt();
|
|
1662
|
+
if (f.length > 0) {
|
|
1663
|
+
writer.writeString(
|
|
1664
|
+
4,
|
|
1665
|
+
f
|
|
1666
|
+
);
|
|
1667
|
+
}
|
|
1668
|
+
f = message.getUpdatedAt();
|
|
1669
|
+
if (f.length > 0) {
|
|
1670
|
+
writer.writeString(
|
|
1671
|
+
5,
|
|
1672
|
+
f
|
|
1509
1673
|
);
|
|
1510
1674
|
}
|
|
1511
1675
|
};
|
|
1512
1676
|
|
|
1513
1677
|
|
|
1514
1678
|
/**
|
|
1515
|
-
* optional
|
|
1516
|
-
* @return {
|
|
1679
|
+
* optional string reference_id = 1;
|
|
1680
|
+
* @return {string}
|
|
1517
1681
|
*/
|
|
1518
|
-
proto.
|
|
1519
|
-
return /** @type{
|
|
1520
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
1682
|
+
proto.NotificationVendor.prototype.getReferenceId = function() {
|
|
1683
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1521
1684
|
};
|
|
1522
1685
|
|
|
1523
1686
|
|
|
1524
1687
|
/**
|
|
1525
|
-
* @param {
|
|
1526
|
-
* @return {!proto.
|
|
1527
|
-
*/
|
|
1528
|
-
proto.
|
|
1529
|
-
return jspb.Message.
|
|
1688
|
+
* @param {string} value
|
|
1689
|
+
* @return {!proto.NotificationVendor} returns this
|
|
1690
|
+
*/
|
|
1691
|
+
proto.NotificationVendor.prototype.setReferenceId = function(value) {
|
|
1692
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1530
1693
|
};
|
|
1531
1694
|
|
|
1532
1695
|
|
|
1533
1696
|
/**
|
|
1534
|
-
*
|
|
1535
|
-
* @return {
|
|
1697
|
+
* optional bool is_read = 2;
|
|
1698
|
+
* @return {boolean}
|
|
1536
1699
|
*/
|
|
1537
|
-
proto.
|
|
1538
|
-
return
|
|
1700
|
+
proto.NotificationVendor.prototype.getIsRead = function() {
|
|
1701
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
|
|
1539
1702
|
};
|
|
1540
1703
|
|
|
1541
1704
|
|
|
1542
1705
|
/**
|
|
1543
|
-
*
|
|
1544
|
-
* @return {
|
|
1706
|
+
* @param {boolean} value
|
|
1707
|
+
* @return {!proto.NotificationVendor} returns this
|
|
1545
1708
|
*/
|
|
1546
|
-
proto.
|
|
1547
|
-
return jspb.Message.
|
|
1709
|
+
proto.NotificationVendor.prototype.setIsRead = function(value) {
|
|
1710
|
+
return jspb.Message.setProto3BooleanField(this, 2, value);
|
|
1548
1711
|
};
|
|
1549
1712
|
|
|
1550
1713
|
|
|
1551
1714
|
/**
|
|
1552
|
-
* optional
|
|
1553
|
-
* @return {
|
|
1715
|
+
* optional string created_by = 3;
|
|
1716
|
+
* @return {string}
|
|
1554
1717
|
*/
|
|
1555
|
-
proto.
|
|
1556
|
-
return /** @type{
|
|
1557
|
-
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
1718
|
+
proto.NotificationVendor.prototype.getCreatedBy = function() {
|
|
1719
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1558
1720
|
};
|
|
1559
1721
|
|
|
1560
1722
|
|
|
1561
1723
|
/**
|
|
1562
|
-
* @param {
|
|
1563
|
-
* @return {!proto.
|
|
1564
|
-
*/
|
|
1565
|
-
proto.
|
|
1566
|
-
return jspb.Message.
|
|
1724
|
+
* @param {string} value
|
|
1725
|
+
* @return {!proto.NotificationVendor} returns this
|
|
1726
|
+
*/
|
|
1727
|
+
proto.NotificationVendor.prototype.setCreatedBy = function(value) {
|
|
1728
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1567
1729
|
};
|
|
1568
1730
|
|
|
1569
1731
|
|
|
1570
1732
|
/**
|
|
1571
|
-
*
|
|
1572
|
-
* @return {
|
|
1733
|
+
* optional string created_at = 4;
|
|
1734
|
+
* @return {string}
|
|
1573
1735
|
*/
|
|
1574
|
-
proto.
|
|
1575
|
-
return
|
|
1736
|
+
proto.NotificationVendor.prototype.getCreatedAt = function() {
|
|
1737
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1576
1738
|
};
|
|
1577
1739
|
|
|
1578
1740
|
|
|
1579
1741
|
/**
|
|
1580
|
-
*
|
|
1581
|
-
* @return {
|
|
1742
|
+
* @param {string} value
|
|
1743
|
+
* @return {!proto.NotificationVendor} returns this
|
|
1582
1744
|
*/
|
|
1583
|
-
proto.
|
|
1584
|
-
return jspb.Message.
|
|
1745
|
+
proto.NotificationVendor.prototype.setCreatedAt = function(value) {
|
|
1746
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1585
1747
|
};
|
|
1586
1748
|
|
|
1587
1749
|
|
|
1588
|
-
|
|
1589
1750
|
/**
|
|
1590
|
-
*
|
|
1591
|
-
* @
|
|
1592
|
-
* @const
|
|
1751
|
+
* optional string updated_at = 5;
|
|
1752
|
+
* @return {string}
|
|
1593
1753
|
*/
|
|
1594
|
-
proto.
|
|
1595
|
-
|
|
1754
|
+
proto.NotificationVendor.prototype.getUpdatedAt = function() {
|
|
1755
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1756
|
+
};
|
|
1757
|
+
|
|
1758
|
+
|
|
1759
|
+
/**
|
|
1760
|
+
* @param {string} value
|
|
1761
|
+
* @return {!proto.NotificationVendor} returns this
|
|
1762
|
+
*/
|
|
1763
|
+
proto.NotificationVendor.prototype.setUpdatedAt = function(value) {
|
|
1764
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
1765
|
+
};
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
|
|
1770
|
+
|
|
1771
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1772
|
+
/**
|
|
1773
|
+
* Creates an object representation of this proto.
|
|
1774
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1775
|
+
* Optional fields that are not set will be set to undefined.
|
|
1776
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1777
|
+
* For the list of reserved names please see:
|
|
1778
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1779
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1780
|
+
* JSPB instance for transitional soy proto support:
|
|
1781
|
+
* http://goto/soy-param-migration
|
|
1782
|
+
* @return {!Object}
|
|
1783
|
+
*/
|
|
1784
|
+
proto.NotificationVendorItem.prototype.toObject = function(opt_includeInstance) {
|
|
1785
|
+
return proto.NotificationVendorItem.toObject(opt_includeInstance, this);
|
|
1786
|
+
};
|
|
1787
|
+
|
|
1788
|
+
|
|
1789
|
+
/**
|
|
1790
|
+
* Static version of the {@see toObject} method.
|
|
1791
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1792
|
+
* the JSPB instance for transitional soy proto support:
|
|
1793
|
+
* http://goto/soy-param-migration
|
|
1794
|
+
* @param {!proto.NotificationVendorItem} msg The msg instance to transform.
|
|
1795
|
+
* @return {!Object}
|
|
1796
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1797
|
+
*/
|
|
1798
|
+
proto.NotificationVendorItem.toObject = function(includeInstance, msg) {
|
|
1799
|
+
var f, obj = {
|
|
1800
|
+
referenceId: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
1801
|
+
vendorReferenceId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1802
|
+
companyReferenceId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1803
|
+
message: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1804
|
+
type: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1805
|
+
isRead: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
1806
|
+
documentType: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1807
|
+
documentReferenceId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1808
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
1809
|
+
createdAt: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
1810
|
+
updatedAt: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
1811
|
+
};
|
|
1812
|
+
|
|
1813
|
+
if (includeInstance) {
|
|
1814
|
+
obj.$jspbMessageInstance = msg;
|
|
1815
|
+
}
|
|
1816
|
+
return obj;
|
|
1817
|
+
};
|
|
1818
|
+
}
|
|
1819
|
+
|
|
1820
|
+
|
|
1821
|
+
/**
|
|
1822
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1823
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1824
|
+
* @return {!proto.NotificationVendorItem}
|
|
1825
|
+
*/
|
|
1826
|
+
proto.NotificationVendorItem.deserializeBinary = function(bytes) {
|
|
1827
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1828
|
+
var msg = new proto.NotificationVendorItem;
|
|
1829
|
+
return proto.NotificationVendorItem.deserializeBinaryFromReader(msg, reader);
|
|
1830
|
+
};
|
|
1831
|
+
|
|
1832
|
+
|
|
1833
|
+
/**
|
|
1834
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1835
|
+
* given reader into the given message object.
|
|
1836
|
+
* @param {!proto.NotificationVendorItem} msg The message object to deserialize into.
|
|
1837
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1838
|
+
* @return {!proto.NotificationVendorItem}
|
|
1839
|
+
*/
|
|
1840
|
+
proto.NotificationVendorItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
1841
|
+
while (reader.nextField()) {
|
|
1842
|
+
if (reader.isEndGroup()) {
|
|
1843
|
+
break;
|
|
1844
|
+
}
|
|
1845
|
+
var field = reader.getFieldNumber();
|
|
1846
|
+
switch (field) {
|
|
1847
|
+
case 1:
|
|
1848
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1849
|
+
msg.setReferenceId(value);
|
|
1850
|
+
break;
|
|
1851
|
+
case 2:
|
|
1852
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1853
|
+
msg.setVendorReferenceId(value);
|
|
1854
|
+
break;
|
|
1855
|
+
case 3:
|
|
1856
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1857
|
+
msg.setCompanyReferenceId(value);
|
|
1858
|
+
break;
|
|
1859
|
+
case 4:
|
|
1860
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1861
|
+
msg.setMessage(value);
|
|
1862
|
+
break;
|
|
1863
|
+
case 5:
|
|
1864
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1865
|
+
msg.setType(value);
|
|
1866
|
+
break;
|
|
1867
|
+
case 6:
|
|
1868
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
1869
|
+
msg.setIsRead(value);
|
|
1870
|
+
break;
|
|
1871
|
+
case 7:
|
|
1872
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1873
|
+
msg.setDocumentType(value);
|
|
1874
|
+
break;
|
|
1875
|
+
case 8:
|
|
1876
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1877
|
+
msg.setDocumentReferenceId(value);
|
|
1878
|
+
break;
|
|
1879
|
+
case 9:
|
|
1880
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1881
|
+
msg.setCreatedBy(value);
|
|
1882
|
+
break;
|
|
1883
|
+
case 10:
|
|
1884
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1885
|
+
msg.setCreatedAt(value);
|
|
1886
|
+
break;
|
|
1887
|
+
case 11:
|
|
1888
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1889
|
+
msg.setUpdatedAt(value);
|
|
1890
|
+
break;
|
|
1891
|
+
default:
|
|
1892
|
+
reader.skipField();
|
|
1893
|
+
break;
|
|
1894
|
+
}
|
|
1895
|
+
}
|
|
1896
|
+
return msg;
|
|
1897
|
+
};
|
|
1898
|
+
|
|
1899
|
+
|
|
1900
|
+
/**
|
|
1901
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1902
|
+
* @return {!Uint8Array}
|
|
1903
|
+
*/
|
|
1904
|
+
proto.NotificationVendorItem.prototype.serializeBinary = function() {
|
|
1905
|
+
var writer = new jspb.BinaryWriter();
|
|
1906
|
+
proto.NotificationVendorItem.serializeBinaryToWriter(this, writer);
|
|
1907
|
+
return writer.getResultBuffer();
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1913
|
+
* format), writing to the given BinaryWriter.
|
|
1914
|
+
* @param {!proto.NotificationVendorItem} message
|
|
1915
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1916
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1917
|
+
*/
|
|
1918
|
+
proto.NotificationVendorItem.serializeBinaryToWriter = function(message, writer) {
|
|
1919
|
+
var f = undefined;
|
|
1920
|
+
f = message.getReferenceId();
|
|
1921
|
+
if (f.length > 0) {
|
|
1922
|
+
writer.writeString(
|
|
1923
|
+
1,
|
|
1924
|
+
f
|
|
1925
|
+
);
|
|
1926
|
+
}
|
|
1927
|
+
f = message.getVendorReferenceId();
|
|
1928
|
+
if (f.length > 0) {
|
|
1929
|
+
writer.writeString(
|
|
1930
|
+
2,
|
|
1931
|
+
f
|
|
1932
|
+
);
|
|
1933
|
+
}
|
|
1934
|
+
f = message.getCompanyReferenceId();
|
|
1935
|
+
if (f.length > 0) {
|
|
1936
|
+
writer.writeString(
|
|
1937
|
+
3,
|
|
1938
|
+
f
|
|
1939
|
+
);
|
|
1940
|
+
}
|
|
1941
|
+
f = message.getMessage();
|
|
1942
|
+
if (f.length > 0) {
|
|
1943
|
+
writer.writeString(
|
|
1944
|
+
4,
|
|
1945
|
+
f
|
|
1946
|
+
);
|
|
1947
|
+
}
|
|
1948
|
+
f = message.getType();
|
|
1949
|
+
if (f.length > 0) {
|
|
1950
|
+
writer.writeString(
|
|
1951
|
+
5,
|
|
1952
|
+
f
|
|
1953
|
+
);
|
|
1954
|
+
}
|
|
1955
|
+
f = message.getIsRead();
|
|
1956
|
+
if (f) {
|
|
1957
|
+
writer.writeBool(
|
|
1958
|
+
6,
|
|
1959
|
+
f
|
|
1960
|
+
);
|
|
1961
|
+
}
|
|
1962
|
+
f = message.getDocumentType();
|
|
1963
|
+
if (f.length > 0) {
|
|
1964
|
+
writer.writeString(
|
|
1965
|
+
7,
|
|
1966
|
+
f
|
|
1967
|
+
);
|
|
1968
|
+
}
|
|
1969
|
+
f = message.getDocumentReferenceId();
|
|
1970
|
+
if (f.length > 0) {
|
|
1971
|
+
writer.writeString(
|
|
1972
|
+
8,
|
|
1973
|
+
f
|
|
1974
|
+
);
|
|
1975
|
+
}
|
|
1976
|
+
f = message.getCreatedBy();
|
|
1977
|
+
if (f.length > 0) {
|
|
1978
|
+
writer.writeString(
|
|
1979
|
+
9,
|
|
1980
|
+
f
|
|
1981
|
+
);
|
|
1982
|
+
}
|
|
1983
|
+
f = message.getCreatedAt();
|
|
1984
|
+
if (f.length > 0) {
|
|
1985
|
+
writer.writeString(
|
|
1986
|
+
10,
|
|
1987
|
+
f
|
|
1988
|
+
);
|
|
1989
|
+
}
|
|
1990
|
+
f = message.getUpdatedAt();
|
|
1991
|
+
if (f.length > 0) {
|
|
1992
|
+
writer.writeString(
|
|
1993
|
+
11,
|
|
1994
|
+
f
|
|
1995
|
+
);
|
|
1996
|
+
}
|
|
1997
|
+
};
|
|
1998
|
+
|
|
1999
|
+
|
|
2000
|
+
/**
|
|
2001
|
+
* optional string reference_id = 1;
|
|
2002
|
+
* @return {string}
|
|
2003
|
+
*/
|
|
2004
|
+
proto.NotificationVendorItem.prototype.getReferenceId = function() {
|
|
2005
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2006
|
+
};
|
|
2007
|
+
|
|
2008
|
+
|
|
2009
|
+
/**
|
|
2010
|
+
* @param {string} value
|
|
2011
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2012
|
+
*/
|
|
2013
|
+
proto.NotificationVendorItem.prototype.setReferenceId = function(value) {
|
|
2014
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2015
|
+
};
|
|
2016
|
+
|
|
2017
|
+
|
|
2018
|
+
/**
|
|
2019
|
+
* optional string vendor_reference_id = 2;
|
|
2020
|
+
* @return {string}
|
|
2021
|
+
*/
|
|
2022
|
+
proto.NotificationVendorItem.prototype.getVendorReferenceId = function() {
|
|
2023
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2024
|
+
};
|
|
2025
|
+
|
|
2026
|
+
|
|
2027
|
+
/**
|
|
2028
|
+
* @param {string} value
|
|
2029
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2030
|
+
*/
|
|
2031
|
+
proto.NotificationVendorItem.prototype.setVendorReferenceId = function(value) {
|
|
2032
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2033
|
+
};
|
|
2034
|
+
|
|
2035
|
+
|
|
2036
|
+
/**
|
|
2037
|
+
* optional string company_reference_id = 3;
|
|
2038
|
+
* @return {string}
|
|
2039
|
+
*/
|
|
2040
|
+
proto.NotificationVendorItem.prototype.getCompanyReferenceId = function() {
|
|
2041
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
2042
|
+
};
|
|
2043
|
+
|
|
2044
|
+
|
|
2045
|
+
/**
|
|
2046
|
+
* @param {string} value
|
|
2047
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2048
|
+
*/
|
|
2049
|
+
proto.NotificationVendorItem.prototype.setCompanyReferenceId = function(value) {
|
|
2050
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
2051
|
+
};
|
|
2052
|
+
|
|
2053
|
+
|
|
2054
|
+
/**
|
|
2055
|
+
* optional string message = 4;
|
|
2056
|
+
* @return {string}
|
|
2057
|
+
*/
|
|
2058
|
+
proto.NotificationVendorItem.prototype.getMessage = function() {
|
|
2059
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2060
|
+
};
|
|
2061
|
+
|
|
2062
|
+
|
|
2063
|
+
/**
|
|
2064
|
+
* @param {string} value
|
|
2065
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2066
|
+
*/
|
|
2067
|
+
proto.NotificationVendorItem.prototype.setMessage = function(value) {
|
|
2068
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2069
|
+
};
|
|
2070
|
+
|
|
2071
|
+
|
|
2072
|
+
/**
|
|
2073
|
+
* optional string type = 5;
|
|
2074
|
+
* @return {string}
|
|
2075
|
+
*/
|
|
2076
|
+
proto.NotificationVendorItem.prototype.getType = function() {
|
|
2077
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2078
|
+
};
|
|
2079
|
+
|
|
2080
|
+
|
|
2081
|
+
/**
|
|
2082
|
+
* @param {string} value
|
|
2083
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2084
|
+
*/
|
|
2085
|
+
proto.NotificationVendorItem.prototype.setType = function(value) {
|
|
2086
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2087
|
+
};
|
|
2088
|
+
|
|
2089
|
+
|
|
2090
|
+
/**
|
|
2091
|
+
* optional bool is_read = 6;
|
|
2092
|
+
* @return {boolean}
|
|
2093
|
+
*/
|
|
2094
|
+
proto.NotificationVendorItem.prototype.getIsRead = function() {
|
|
2095
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
2096
|
+
};
|
|
2097
|
+
|
|
2098
|
+
|
|
2099
|
+
/**
|
|
2100
|
+
* @param {boolean} value
|
|
2101
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2102
|
+
*/
|
|
2103
|
+
proto.NotificationVendorItem.prototype.setIsRead = function(value) {
|
|
2104
|
+
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
2105
|
+
};
|
|
2106
|
+
|
|
2107
|
+
|
|
2108
|
+
/**
|
|
2109
|
+
* optional string document_type = 7;
|
|
2110
|
+
* @return {string}
|
|
2111
|
+
*/
|
|
2112
|
+
proto.NotificationVendorItem.prototype.getDocumentType = function() {
|
|
2113
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
2114
|
+
};
|
|
2115
|
+
|
|
2116
|
+
|
|
2117
|
+
/**
|
|
2118
|
+
* @param {string} value
|
|
2119
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2120
|
+
*/
|
|
2121
|
+
proto.NotificationVendorItem.prototype.setDocumentType = function(value) {
|
|
2122
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
2123
|
+
};
|
|
2124
|
+
|
|
2125
|
+
|
|
2126
|
+
/**
|
|
2127
|
+
* optional string document_reference_id = 8;
|
|
2128
|
+
* @return {string}
|
|
2129
|
+
*/
|
|
2130
|
+
proto.NotificationVendorItem.prototype.getDocumentReferenceId = function() {
|
|
2131
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
2132
|
+
};
|
|
2133
|
+
|
|
2134
|
+
|
|
2135
|
+
/**
|
|
2136
|
+
* @param {string} value
|
|
2137
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2138
|
+
*/
|
|
2139
|
+
proto.NotificationVendorItem.prototype.setDocumentReferenceId = function(value) {
|
|
2140
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
2141
|
+
};
|
|
2142
|
+
|
|
2143
|
+
|
|
2144
|
+
/**
|
|
2145
|
+
* optional string created_by = 9;
|
|
2146
|
+
* @return {string}
|
|
2147
|
+
*/
|
|
2148
|
+
proto.NotificationVendorItem.prototype.getCreatedBy = function() {
|
|
2149
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
2150
|
+
};
|
|
2151
|
+
|
|
2152
|
+
|
|
2153
|
+
/**
|
|
2154
|
+
* @param {string} value
|
|
2155
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2156
|
+
*/
|
|
2157
|
+
proto.NotificationVendorItem.prototype.setCreatedBy = function(value) {
|
|
2158
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
2159
|
+
};
|
|
2160
|
+
|
|
2161
|
+
|
|
2162
|
+
/**
|
|
2163
|
+
* optional string created_at = 10;
|
|
2164
|
+
* @return {string}
|
|
2165
|
+
*/
|
|
2166
|
+
proto.NotificationVendorItem.prototype.getCreatedAt = function() {
|
|
2167
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
2168
|
+
};
|
|
2169
|
+
|
|
2170
|
+
|
|
2171
|
+
/**
|
|
2172
|
+
* @param {string} value
|
|
2173
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2174
|
+
*/
|
|
2175
|
+
proto.NotificationVendorItem.prototype.setCreatedAt = function(value) {
|
|
2176
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
2177
|
+
};
|
|
2178
|
+
|
|
2179
|
+
|
|
2180
|
+
/**
|
|
2181
|
+
* optional string updated_at = 11;
|
|
2182
|
+
* @return {string}
|
|
2183
|
+
*/
|
|
2184
|
+
proto.NotificationVendorItem.prototype.getUpdatedAt = function() {
|
|
2185
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
2186
|
+
};
|
|
2187
|
+
|
|
2188
|
+
|
|
2189
|
+
/**
|
|
2190
|
+
* @param {string} value
|
|
2191
|
+
* @return {!proto.NotificationVendorItem} returns this
|
|
2192
|
+
*/
|
|
2193
|
+
proto.NotificationVendorItem.prototype.setUpdatedAt = function(value) {
|
|
2194
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
2195
|
+
};
|
|
2196
|
+
|
|
2197
|
+
|
|
2198
|
+
|
|
2199
|
+
|
|
2200
|
+
|
|
2201
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2202
|
+
/**
|
|
2203
|
+
* Creates an object representation of this proto.
|
|
2204
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2205
|
+
* Optional fields that are not set will be set to undefined.
|
|
2206
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2207
|
+
* For the list of reserved names please see:
|
|
2208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2210
|
+
* JSPB instance for transitional soy proto support:
|
|
2211
|
+
* http://goto/soy-param-migration
|
|
2212
|
+
* @return {!Object}
|
|
2213
|
+
*/
|
|
2214
|
+
proto.GetListNotificationEmployeeReq.prototype.toObject = function(opt_includeInstance) {
|
|
2215
|
+
return proto.GetListNotificationEmployeeReq.toObject(opt_includeInstance, this);
|
|
2216
|
+
};
|
|
2217
|
+
|
|
2218
|
+
|
|
2219
|
+
/**
|
|
2220
|
+
* Static version of the {@see toObject} method.
|
|
2221
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2222
|
+
* the JSPB instance for transitional soy proto support:
|
|
2223
|
+
* http://goto/soy-param-migration
|
|
2224
|
+
* @param {!proto.GetListNotificationEmployeeReq} msg The msg instance to transform.
|
|
2225
|
+
* @return {!Object}
|
|
2226
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2227
|
+
*/
|
|
2228
|
+
proto.GetListNotificationEmployeeReq.toObject = function(includeInstance, msg) {
|
|
2229
|
+
var f, obj = {
|
|
2230
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2231
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2232
|
+
};
|
|
2233
|
+
|
|
2234
|
+
if (includeInstance) {
|
|
2235
|
+
obj.$jspbMessageInstance = msg;
|
|
2236
|
+
}
|
|
2237
|
+
return obj;
|
|
2238
|
+
};
|
|
2239
|
+
}
|
|
2240
|
+
|
|
2241
|
+
|
|
2242
|
+
/**
|
|
2243
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2244
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2245
|
+
* @return {!proto.GetListNotificationEmployeeReq}
|
|
2246
|
+
*/
|
|
2247
|
+
proto.GetListNotificationEmployeeReq.deserializeBinary = function(bytes) {
|
|
2248
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2249
|
+
var msg = new proto.GetListNotificationEmployeeReq;
|
|
2250
|
+
return proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader(msg, reader);
|
|
2251
|
+
};
|
|
2252
|
+
|
|
2253
|
+
|
|
2254
|
+
/**
|
|
2255
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2256
|
+
* given reader into the given message object.
|
|
2257
|
+
* @param {!proto.GetListNotificationEmployeeReq} msg The message object to deserialize into.
|
|
2258
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2259
|
+
* @return {!proto.GetListNotificationEmployeeReq}
|
|
2260
|
+
*/
|
|
2261
|
+
proto.GetListNotificationEmployeeReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2262
|
+
while (reader.nextField()) {
|
|
2263
|
+
if (reader.isEndGroup()) {
|
|
2264
|
+
break;
|
|
2265
|
+
}
|
|
2266
|
+
var field = reader.getFieldNumber();
|
|
2267
|
+
switch (field) {
|
|
2268
|
+
case 1:
|
|
2269
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2270
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2271
|
+
msg.setPagination(value);
|
|
2272
|
+
break;
|
|
2273
|
+
case 2:
|
|
2274
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2275
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2276
|
+
msg.setQuery(value);
|
|
2277
|
+
break;
|
|
2278
|
+
default:
|
|
2279
|
+
reader.skipField();
|
|
2280
|
+
break;
|
|
2281
|
+
}
|
|
2282
|
+
}
|
|
2283
|
+
return msg;
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2289
|
+
* @return {!Uint8Array}
|
|
2290
|
+
*/
|
|
2291
|
+
proto.GetListNotificationEmployeeReq.prototype.serializeBinary = function() {
|
|
2292
|
+
var writer = new jspb.BinaryWriter();
|
|
2293
|
+
proto.GetListNotificationEmployeeReq.serializeBinaryToWriter(this, writer);
|
|
2294
|
+
return writer.getResultBuffer();
|
|
2295
|
+
};
|
|
2296
|
+
|
|
2297
|
+
|
|
2298
|
+
/**
|
|
2299
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2300
|
+
* format), writing to the given BinaryWriter.
|
|
2301
|
+
* @param {!proto.GetListNotificationEmployeeReq} message
|
|
2302
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2303
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2304
|
+
*/
|
|
2305
|
+
proto.GetListNotificationEmployeeReq.serializeBinaryToWriter = function(message, writer) {
|
|
2306
|
+
var f = undefined;
|
|
2307
|
+
f = message.getPagination();
|
|
2308
|
+
if (f != null) {
|
|
2309
|
+
writer.writeMessage(
|
|
2310
|
+
1,
|
|
2311
|
+
f,
|
|
2312
|
+
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2313
|
+
);
|
|
2314
|
+
}
|
|
2315
|
+
f = message.getQuery();
|
|
2316
|
+
if (f != null) {
|
|
2317
|
+
writer.writeMessage(
|
|
2318
|
+
2,
|
|
2319
|
+
f,
|
|
2320
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
2321
|
+
);
|
|
2322
|
+
}
|
|
2323
|
+
};
|
|
2324
|
+
|
|
2325
|
+
|
|
2326
|
+
/**
|
|
2327
|
+
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2328
|
+
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2329
|
+
*/
|
|
2330
|
+
proto.GetListNotificationEmployeeReq.prototype.getPagination = function() {
|
|
2331
|
+
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2332
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2333
|
+
};
|
|
2334
|
+
|
|
2335
|
+
|
|
2336
|
+
/**
|
|
2337
|
+
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2338
|
+
* @return {!proto.GetListNotificationEmployeeReq} returns this
|
|
2339
|
+
*/
|
|
2340
|
+
proto.GetListNotificationEmployeeReq.prototype.setPagination = function(value) {
|
|
2341
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2342
|
+
};
|
|
2343
|
+
|
|
2344
|
+
|
|
2345
|
+
/**
|
|
2346
|
+
* Clears the message field making it undefined.
|
|
2347
|
+
* @return {!proto.GetListNotificationEmployeeReq} returns this
|
|
2348
|
+
*/
|
|
2349
|
+
proto.GetListNotificationEmployeeReq.prototype.clearPagination = function() {
|
|
2350
|
+
return this.setPagination(undefined);
|
|
2351
|
+
};
|
|
2352
|
+
|
|
2353
|
+
|
|
2354
|
+
/**
|
|
2355
|
+
* Returns whether this field is set.
|
|
2356
|
+
* @return {boolean}
|
|
2357
|
+
*/
|
|
2358
|
+
proto.GetListNotificationEmployeeReq.prototype.hasPagination = function() {
|
|
2359
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2360
|
+
};
|
|
2361
|
+
|
|
2362
|
+
|
|
2363
|
+
/**
|
|
2364
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2365
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2366
|
+
*/
|
|
2367
|
+
proto.GetListNotificationEmployeeReq.prototype.getQuery = function() {
|
|
2368
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2369
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2370
|
+
};
|
|
2371
|
+
|
|
2372
|
+
|
|
2373
|
+
/**
|
|
2374
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2375
|
+
* @return {!proto.GetListNotificationEmployeeReq} returns this
|
|
2376
|
+
*/
|
|
2377
|
+
proto.GetListNotificationEmployeeReq.prototype.setQuery = function(value) {
|
|
2378
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2379
|
+
};
|
|
2380
|
+
|
|
2381
|
+
|
|
2382
|
+
/**
|
|
2383
|
+
* Clears the message field making it undefined.
|
|
2384
|
+
* @return {!proto.GetListNotificationEmployeeReq} returns this
|
|
2385
|
+
*/
|
|
2386
|
+
proto.GetListNotificationEmployeeReq.prototype.clearQuery = function() {
|
|
2387
|
+
return this.setQuery(undefined);
|
|
2388
|
+
};
|
|
2389
|
+
|
|
2390
|
+
|
|
2391
|
+
/**
|
|
2392
|
+
* Returns whether this field is set.
|
|
2393
|
+
* @return {boolean}
|
|
2394
|
+
*/
|
|
2395
|
+
proto.GetListNotificationEmployeeReq.prototype.hasQuery = function() {
|
|
2396
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2397
|
+
};
|
|
2398
|
+
|
|
2399
|
+
|
|
2400
|
+
|
|
2401
|
+
|
|
2402
|
+
|
|
2403
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2404
|
+
/**
|
|
2405
|
+
* Creates an object representation of this proto.
|
|
2406
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2407
|
+
* Optional fields that are not set will be set to undefined.
|
|
2408
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2409
|
+
* For the list of reserved names please see:
|
|
2410
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2411
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2412
|
+
* JSPB instance for transitional soy proto support:
|
|
2413
|
+
* http://goto/soy-param-migration
|
|
2414
|
+
* @return {!Object}
|
|
2415
|
+
*/
|
|
2416
|
+
proto.GetListNotificationVendorReq.prototype.toObject = function(opt_includeInstance) {
|
|
2417
|
+
return proto.GetListNotificationVendorReq.toObject(opt_includeInstance, this);
|
|
2418
|
+
};
|
|
2419
|
+
|
|
2420
|
+
|
|
2421
|
+
/**
|
|
2422
|
+
* Static version of the {@see toObject} method.
|
|
2423
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2424
|
+
* the JSPB instance for transitional soy proto support:
|
|
2425
|
+
* http://goto/soy-param-migration
|
|
2426
|
+
* @param {!proto.GetListNotificationVendorReq} msg The msg instance to transform.
|
|
2427
|
+
* @return {!Object}
|
|
2428
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2429
|
+
*/
|
|
2430
|
+
proto.GetListNotificationVendorReq.toObject = function(includeInstance, msg) {
|
|
2431
|
+
var f, obj = {
|
|
2432
|
+
pagination: (f = msg.getPagination()) && prisca_v1_global_meta_meta_pb.PaginationRequest.toObject(includeInstance, f),
|
|
2433
|
+
query: (f = msg.getQuery()) && prisca_v1_global_meta_meta_pb.FilterRequest.toObject(includeInstance, f)
|
|
2434
|
+
};
|
|
2435
|
+
|
|
2436
|
+
if (includeInstance) {
|
|
2437
|
+
obj.$jspbMessageInstance = msg;
|
|
2438
|
+
}
|
|
2439
|
+
return obj;
|
|
2440
|
+
};
|
|
2441
|
+
}
|
|
2442
|
+
|
|
2443
|
+
|
|
2444
|
+
/**
|
|
2445
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2446
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2447
|
+
* @return {!proto.GetListNotificationVendorReq}
|
|
2448
|
+
*/
|
|
2449
|
+
proto.GetListNotificationVendorReq.deserializeBinary = function(bytes) {
|
|
2450
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2451
|
+
var msg = new proto.GetListNotificationVendorReq;
|
|
2452
|
+
return proto.GetListNotificationVendorReq.deserializeBinaryFromReader(msg, reader);
|
|
2453
|
+
};
|
|
2454
|
+
|
|
2455
|
+
|
|
2456
|
+
/**
|
|
2457
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2458
|
+
* given reader into the given message object.
|
|
2459
|
+
* @param {!proto.GetListNotificationVendorReq} msg The message object to deserialize into.
|
|
2460
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2461
|
+
* @return {!proto.GetListNotificationVendorReq}
|
|
2462
|
+
*/
|
|
2463
|
+
proto.GetListNotificationVendorReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2464
|
+
while (reader.nextField()) {
|
|
2465
|
+
if (reader.isEndGroup()) {
|
|
2466
|
+
break;
|
|
2467
|
+
}
|
|
2468
|
+
var field = reader.getFieldNumber();
|
|
2469
|
+
switch (field) {
|
|
2470
|
+
case 1:
|
|
2471
|
+
var value = new prisca_v1_global_meta_meta_pb.PaginationRequest;
|
|
2472
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.PaginationRequest.deserializeBinaryFromReader);
|
|
2473
|
+
msg.setPagination(value);
|
|
2474
|
+
break;
|
|
2475
|
+
case 2:
|
|
2476
|
+
var value = new prisca_v1_global_meta_meta_pb.FilterRequest;
|
|
2477
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.FilterRequest.deserializeBinaryFromReader);
|
|
2478
|
+
msg.setQuery(value);
|
|
2479
|
+
break;
|
|
2480
|
+
default:
|
|
2481
|
+
reader.skipField();
|
|
2482
|
+
break;
|
|
2483
|
+
}
|
|
2484
|
+
}
|
|
2485
|
+
return msg;
|
|
2486
|
+
};
|
|
2487
|
+
|
|
2488
|
+
|
|
2489
|
+
/**
|
|
2490
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2491
|
+
* @return {!Uint8Array}
|
|
2492
|
+
*/
|
|
2493
|
+
proto.GetListNotificationVendorReq.prototype.serializeBinary = function() {
|
|
2494
|
+
var writer = new jspb.BinaryWriter();
|
|
2495
|
+
proto.GetListNotificationVendorReq.serializeBinaryToWriter(this, writer);
|
|
2496
|
+
return writer.getResultBuffer();
|
|
2497
|
+
};
|
|
2498
|
+
|
|
2499
|
+
|
|
2500
|
+
/**
|
|
2501
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2502
|
+
* format), writing to the given BinaryWriter.
|
|
2503
|
+
* @param {!proto.GetListNotificationVendorReq} message
|
|
2504
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2505
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2506
|
+
*/
|
|
2507
|
+
proto.GetListNotificationVendorReq.serializeBinaryToWriter = function(message, writer) {
|
|
2508
|
+
var f = undefined;
|
|
2509
|
+
f = message.getPagination();
|
|
2510
|
+
if (f != null) {
|
|
2511
|
+
writer.writeMessage(
|
|
2512
|
+
1,
|
|
2513
|
+
f,
|
|
2514
|
+
prisca_v1_global_meta_meta_pb.PaginationRequest.serializeBinaryToWriter
|
|
2515
|
+
);
|
|
2516
|
+
}
|
|
2517
|
+
f = message.getQuery();
|
|
2518
|
+
if (f != null) {
|
|
2519
|
+
writer.writeMessage(
|
|
2520
|
+
2,
|
|
2521
|
+
f,
|
|
2522
|
+
prisca_v1_global_meta_meta_pb.FilterRequest.serializeBinaryToWriter
|
|
2523
|
+
);
|
|
2524
|
+
}
|
|
2525
|
+
};
|
|
2526
|
+
|
|
2527
|
+
|
|
2528
|
+
/**
|
|
2529
|
+
* optional prisca.v1.global.meta.PaginationRequest pagination = 1;
|
|
2530
|
+
* @return {?proto.prisca.v1.global.meta.PaginationRequest}
|
|
2531
|
+
*/
|
|
2532
|
+
proto.GetListNotificationVendorReq.prototype.getPagination = function() {
|
|
2533
|
+
return /** @type{?proto.prisca.v1.global.meta.PaginationRequest} */ (
|
|
2534
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.PaginationRequest, 1));
|
|
2535
|
+
};
|
|
2536
|
+
|
|
2537
|
+
|
|
2538
|
+
/**
|
|
2539
|
+
* @param {?proto.prisca.v1.global.meta.PaginationRequest|undefined} value
|
|
2540
|
+
* @return {!proto.GetListNotificationVendorReq} returns this
|
|
2541
|
+
*/
|
|
2542
|
+
proto.GetListNotificationVendorReq.prototype.setPagination = function(value) {
|
|
2543
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2544
|
+
};
|
|
2545
|
+
|
|
2546
|
+
|
|
2547
|
+
/**
|
|
2548
|
+
* Clears the message field making it undefined.
|
|
2549
|
+
* @return {!proto.GetListNotificationVendorReq} returns this
|
|
2550
|
+
*/
|
|
2551
|
+
proto.GetListNotificationVendorReq.prototype.clearPagination = function() {
|
|
2552
|
+
return this.setPagination(undefined);
|
|
2553
|
+
};
|
|
2554
|
+
|
|
2555
|
+
|
|
2556
|
+
/**
|
|
2557
|
+
* Returns whether this field is set.
|
|
2558
|
+
* @return {boolean}
|
|
2559
|
+
*/
|
|
2560
|
+
proto.GetListNotificationVendorReq.prototype.hasPagination = function() {
|
|
2561
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2562
|
+
};
|
|
2563
|
+
|
|
2564
|
+
|
|
2565
|
+
/**
|
|
2566
|
+
* optional prisca.v1.global.meta.FilterRequest query = 2;
|
|
2567
|
+
* @return {?proto.prisca.v1.global.meta.FilterRequest}
|
|
2568
|
+
*/
|
|
2569
|
+
proto.GetListNotificationVendorReq.prototype.getQuery = function() {
|
|
2570
|
+
return /** @type{?proto.prisca.v1.global.meta.FilterRequest} */ (
|
|
2571
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.FilterRequest, 2));
|
|
2572
|
+
};
|
|
2573
|
+
|
|
2574
|
+
|
|
2575
|
+
/**
|
|
2576
|
+
* @param {?proto.prisca.v1.global.meta.FilterRequest|undefined} value
|
|
2577
|
+
* @return {!proto.GetListNotificationVendorReq} returns this
|
|
2578
|
+
*/
|
|
2579
|
+
proto.GetListNotificationVendorReq.prototype.setQuery = function(value) {
|
|
2580
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2581
|
+
};
|
|
2582
|
+
|
|
2583
|
+
|
|
2584
|
+
/**
|
|
2585
|
+
* Clears the message field making it undefined.
|
|
2586
|
+
* @return {!proto.GetListNotificationVendorReq} returns this
|
|
2587
|
+
*/
|
|
2588
|
+
proto.GetListNotificationVendorReq.prototype.clearQuery = function() {
|
|
2589
|
+
return this.setQuery(undefined);
|
|
2590
|
+
};
|
|
2591
|
+
|
|
2592
|
+
|
|
2593
|
+
/**
|
|
2594
|
+
* Returns whether this field is set.
|
|
2595
|
+
* @return {boolean}
|
|
2596
|
+
*/
|
|
2597
|
+
proto.GetListNotificationVendorReq.prototype.hasQuery = function() {
|
|
2598
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2599
|
+
};
|
|
2600
|
+
|
|
2601
|
+
|
|
2602
|
+
|
|
2603
|
+
/**
|
|
2604
|
+
* List of repeated fields within this message type.
|
|
2605
|
+
* @private {!Array<number>}
|
|
2606
|
+
* @const
|
|
2607
|
+
*/
|
|
2608
|
+
proto.GetListNotificationEmployeeRes.repeatedFields_ = [1];
|
|
2609
|
+
|
|
1596
2610
|
|
|
1597
2611
|
|
|
1598
2612
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1797,6 +2811,217 @@ proto.GetListNotificationEmployeeRes.prototype.hasMeta = function() {
|
|
|
1797
2811
|
|
|
1798
2812
|
|
|
1799
2813
|
|
|
2814
|
+
/**
|
|
2815
|
+
* List of repeated fields within this message type.
|
|
2816
|
+
* @private {!Array<number>}
|
|
2817
|
+
* @const
|
|
2818
|
+
*/
|
|
2819
|
+
proto.GetListNotificationVendorRes.repeatedFields_ = [1];
|
|
2820
|
+
|
|
2821
|
+
|
|
2822
|
+
|
|
2823
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2824
|
+
/**
|
|
2825
|
+
* Creates an object representation of this proto.
|
|
2826
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2827
|
+
* Optional fields that are not set will be set to undefined.
|
|
2828
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2829
|
+
* For the list of reserved names please see:
|
|
2830
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2831
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2832
|
+
* JSPB instance for transitional soy proto support:
|
|
2833
|
+
* http://goto/soy-param-migration
|
|
2834
|
+
* @return {!Object}
|
|
2835
|
+
*/
|
|
2836
|
+
proto.GetListNotificationVendorRes.prototype.toObject = function(opt_includeInstance) {
|
|
2837
|
+
return proto.GetListNotificationVendorRes.toObject(opt_includeInstance, this);
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* Static version of the {@see toObject} method.
|
|
2843
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2844
|
+
* the JSPB instance for transitional soy proto support:
|
|
2845
|
+
* http://goto/soy-param-migration
|
|
2846
|
+
* @param {!proto.GetListNotificationVendorRes} msg The msg instance to transform.
|
|
2847
|
+
* @return {!Object}
|
|
2848
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2849
|
+
*/
|
|
2850
|
+
proto.GetListNotificationVendorRes.toObject = function(includeInstance, msg) {
|
|
2851
|
+
var f, obj = {
|
|
2852
|
+
dataList: jspb.Message.toObjectList(msg.getDataList(),
|
|
2853
|
+
proto.NotificationVendorItem.toObject, includeInstance),
|
|
2854
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2855
|
+
};
|
|
2856
|
+
|
|
2857
|
+
if (includeInstance) {
|
|
2858
|
+
obj.$jspbMessageInstance = msg;
|
|
2859
|
+
}
|
|
2860
|
+
return obj;
|
|
2861
|
+
};
|
|
2862
|
+
}
|
|
2863
|
+
|
|
2864
|
+
|
|
2865
|
+
/**
|
|
2866
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2867
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2868
|
+
* @return {!proto.GetListNotificationVendorRes}
|
|
2869
|
+
*/
|
|
2870
|
+
proto.GetListNotificationVendorRes.deserializeBinary = function(bytes) {
|
|
2871
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2872
|
+
var msg = new proto.GetListNotificationVendorRes;
|
|
2873
|
+
return proto.GetListNotificationVendorRes.deserializeBinaryFromReader(msg, reader);
|
|
2874
|
+
};
|
|
2875
|
+
|
|
2876
|
+
|
|
2877
|
+
/**
|
|
2878
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2879
|
+
* given reader into the given message object.
|
|
2880
|
+
* @param {!proto.GetListNotificationVendorRes} msg The message object to deserialize into.
|
|
2881
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2882
|
+
* @return {!proto.GetListNotificationVendorRes}
|
|
2883
|
+
*/
|
|
2884
|
+
proto.GetListNotificationVendorRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
2885
|
+
while (reader.nextField()) {
|
|
2886
|
+
if (reader.isEndGroup()) {
|
|
2887
|
+
break;
|
|
2888
|
+
}
|
|
2889
|
+
var field = reader.getFieldNumber();
|
|
2890
|
+
switch (field) {
|
|
2891
|
+
case 1:
|
|
2892
|
+
var value = new proto.NotificationVendorItem;
|
|
2893
|
+
reader.readMessage(value,proto.NotificationVendorItem.deserializeBinaryFromReader);
|
|
2894
|
+
msg.addData(value);
|
|
2895
|
+
break;
|
|
2896
|
+
case 2:
|
|
2897
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
2898
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
2899
|
+
msg.setMeta(value);
|
|
2900
|
+
break;
|
|
2901
|
+
default:
|
|
2902
|
+
reader.skipField();
|
|
2903
|
+
break;
|
|
2904
|
+
}
|
|
2905
|
+
}
|
|
2906
|
+
return msg;
|
|
2907
|
+
};
|
|
2908
|
+
|
|
2909
|
+
|
|
2910
|
+
/**
|
|
2911
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2912
|
+
* @return {!Uint8Array}
|
|
2913
|
+
*/
|
|
2914
|
+
proto.GetListNotificationVendorRes.prototype.serializeBinary = function() {
|
|
2915
|
+
var writer = new jspb.BinaryWriter();
|
|
2916
|
+
proto.GetListNotificationVendorRes.serializeBinaryToWriter(this, writer);
|
|
2917
|
+
return writer.getResultBuffer();
|
|
2918
|
+
};
|
|
2919
|
+
|
|
2920
|
+
|
|
2921
|
+
/**
|
|
2922
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2923
|
+
* format), writing to the given BinaryWriter.
|
|
2924
|
+
* @param {!proto.GetListNotificationVendorRes} message
|
|
2925
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2926
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2927
|
+
*/
|
|
2928
|
+
proto.GetListNotificationVendorRes.serializeBinaryToWriter = function(message, writer) {
|
|
2929
|
+
var f = undefined;
|
|
2930
|
+
f = message.getDataList();
|
|
2931
|
+
if (f.length > 0) {
|
|
2932
|
+
writer.writeRepeatedMessage(
|
|
2933
|
+
1,
|
|
2934
|
+
f,
|
|
2935
|
+
proto.NotificationVendorItem.serializeBinaryToWriter
|
|
2936
|
+
);
|
|
2937
|
+
}
|
|
2938
|
+
f = message.getMeta();
|
|
2939
|
+
if (f != null) {
|
|
2940
|
+
writer.writeMessage(
|
|
2941
|
+
2,
|
|
2942
|
+
f,
|
|
2943
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
2944
|
+
);
|
|
2945
|
+
}
|
|
2946
|
+
};
|
|
2947
|
+
|
|
2948
|
+
|
|
2949
|
+
/**
|
|
2950
|
+
* repeated NotificationVendorItem data = 1;
|
|
2951
|
+
* @return {!Array<!proto.NotificationVendorItem>}
|
|
2952
|
+
*/
|
|
2953
|
+
proto.GetListNotificationVendorRes.prototype.getDataList = function() {
|
|
2954
|
+
return /** @type{!Array<!proto.NotificationVendorItem>} */ (
|
|
2955
|
+
jspb.Message.getRepeatedWrapperField(this, proto.NotificationVendorItem, 1));
|
|
2956
|
+
};
|
|
2957
|
+
|
|
2958
|
+
|
|
2959
|
+
/**
|
|
2960
|
+
* @param {!Array<!proto.NotificationVendorItem>} value
|
|
2961
|
+
* @return {!proto.GetListNotificationVendorRes} returns this
|
|
2962
|
+
*/
|
|
2963
|
+
proto.GetListNotificationVendorRes.prototype.setDataList = function(value) {
|
|
2964
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2965
|
+
};
|
|
2966
|
+
|
|
2967
|
+
|
|
2968
|
+
/**
|
|
2969
|
+
* @param {!proto.NotificationVendorItem=} opt_value
|
|
2970
|
+
* @param {number=} opt_index
|
|
2971
|
+
* @return {!proto.NotificationVendorItem}
|
|
2972
|
+
*/
|
|
2973
|
+
proto.GetListNotificationVendorRes.prototype.addData = function(opt_value, opt_index) {
|
|
2974
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.NotificationVendorItem, opt_index);
|
|
2975
|
+
};
|
|
2976
|
+
|
|
2977
|
+
|
|
2978
|
+
/**
|
|
2979
|
+
* Clears the list making it empty but non-null.
|
|
2980
|
+
* @return {!proto.GetListNotificationVendorRes} returns this
|
|
2981
|
+
*/
|
|
2982
|
+
proto.GetListNotificationVendorRes.prototype.clearDataList = function() {
|
|
2983
|
+
return this.setDataList([]);
|
|
2984
|
+
};
|
|
2985
|
+
|
|
2986
|
+
|
|
2987
|
+
/**
|
|
2988
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2989
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2990
|
+
*/
|
|
2991
|
+
proto.GetListNotificationVendorRes.prototype.getMeta = function() {
|
|
2992
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2993
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2994
|
+
};
|
|
2995
|
+
|
|
2996
|
+
|
|
2997
|
+
/**
|
|
2998
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2999
|
+
* @return {!proto.GetListNotificationVendorRes} returns this
|
|
3000
|
+
*/
|
|
3001
|
+
proto.GetListNotificationVendorRes.prototype.setMeta = function(value) {
|
|
3002
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3003
|
+
};
|
|
3004
|
+
|
|
3005
|
+
|
|
3006
|
+
/**
|
|
3007
|
+
* Clears the message field making it undefined.
|
|
3008
|
+
* @return {!proto.GetListNotificationVendorRes} returns this
|
|
3009
|
+
*/
|
|
3010
|
+
proto.GetListNotificationVendorRes.prototype.clearMeta = function() {
|
|
3011
|
+
return this.setMeta(undefined);
|
|
3012
|
+
};
|
|
3013
|
+
|
|
3014
|
+
|
|
3015
|
+
/**
|
|
3016
|
+
* Returns whether this field is set.
|
|
3017
|
+
* @return {boolean}
|
|
3018
|
+
*/
|
|
3019
|
+
proto.GetListNotificationVendorRes.prototype.hasMeta = function() {
|
|
3020
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3021
|
+
};
|
|
3022
|
+
|
|
3023
|
+
|
|
3024
|
+
|
|
1800
3025
|
/**
|
|
1801
3026
|
* List of repeated fields within this message type.
|
|
1802
3027
|
* @private {!Array<number>}
|
|
@@ -1839,7 +3064,8 @@ message: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
|
1839
3064
|
type: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
1840
3065
|
documentType: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1841
3066
|
documentReferenceId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1842
|
-
receiversList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
3067
|
+
receiversList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
3068
|
+
vendorReferenceId: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
1843
3069
|
};
|
|
1844
3070
|
|
|
1845
3071
|
if (includeInstance) {
|
|
@@ -1896,6 +3122,10 @@ proto.CreateNotificationReq.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1896
3122
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
1897
3123
|
msg.addReceivers(value);
|
|
1898
3124
|
break;
|
|
3125
|
+
case 6:
|
|
3126
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3127
|
+
msg.setVendorReferenceId(value);
|
|
3128
|
+
break;
|
|
1899
3129
|
default:
|
|
1900
3130
|
reader.skipField();
|
|
1901
3131
|
break;
|
|
@@ -1955,8 +3185,15 @@ proto.CreateNotificationReq.serializeBinaryToWriter = function(message, writer)
|
|
|
1955
3185
|
}
|
|
1956
3186
|
f = message.getReceiversList();
|
|
1957
3187
|
if (f.length > 0) {
|
|
1958
|
-
writer.writeRepeatedString(
|
|
1959
|
-
5,
|
|
3188
|
+
writer.writeRepeatedString(
|
|
3189
|
+
5,
|
|
3190
|
+
f
|
|
3191
|
+
);
|
|
3192
|
+
}
|
|
3193
|
+
f = message.getVendorReferenceId();
|
|
3194
|
+
if (f.length > 0) {
|
|
3195
|
+
writer.writeString(
|
|
3196
|
+
6,
|
|
1960
3197
|
f
|
|
1961
3198
|
);
|
|
1962
3199
|
}
|
|
@@ -2072,6 +3309,24 @@ proto.CreateNotificationReq.prototype.clearReceiversList = function() {
|
|
|
2072
3309
|
};
|
|
2073
3310
|
|
|
2074
3311
|
|
|
3312
|
+
/**
|
|
3313
|
+
* optional string vendor_reference_id = 6;
|
|
3314
|
+
* @return {string}
|
|
3315
|
+
*/
|
|
3316
|
+
proto.CreateNotificationReq.prototype.getVendorReferenceId = function() {
|
|
3317
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
3318
|
+
};
|
|
3319
|
+
|
|
3320
|
+
|
|
3321
|
+
/**
|
|
3322
|
+
* @param {string} value
|
|
3323
|
+
* @return {!proto.CreateNotificationReq} returns this
|
|
3324
|
+
*/
|
|
3325
|
+
proto.CreateNotificationReq.prototype.setVendorReferenceId = function(value) {
|
|
3326
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
3327
|
+
};
|
|
3328
|
+
|
|
3329
|
+
|
|
2075
3330
|
|
|
2076
3331
|
|
|
2077
3332
|
|
|
@@ -2409,9 +3664,247 @@ proto.EmptyMessage.prototype.toObject = function(opt_includeInstance) {
|
|
|
2409
3664
|
* @return {!Object}
|
|
2410
3665
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2411
3666
|
*/
|
|
2412
|
-
proto.EmptyMessage.toObject = function(includeInstance, msg) {
|
|
3667
|
+
proto.EmptyMessage.toObject = function(includeInstance, msg) {
|
|
3668
|
+
var f, obj = {
|
|
3669
|
+
|
|
3670
|
+
};
|
|
3671
|
+
|
|
3672
|
+
if (includeInstance) {
|
|
3673
|
+
obj.$jspbMessageInstance = msg;
|
|
3674
|
+
}
|
|
3675
|
+
return obj;
|
|
3676
|
+
};
|
|
3677
|
+
}
|
|
3678
|
+
|
|
3679
|
+
|
|
3680
|
+
/**
|
|
3681
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3682
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3683
|
+
* @return {!proto.EmptyMessage}
|
|
3684
|
+
*/
|
|
3685
|
+
proto.EmptyMessage.deserializeBinary = function(bytes) {
|
|
3686
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3687
|
+
var msg = new proto.EmptyMessage;
|
|
3688
|
+
return proto.EmptyMessage.deserializeBinaryFromReader(msg, reader);
|
|
3689
|
+
};
|
|
3690
|
+
|
|
3691
|
+
|
|
3692
|
+
/**
|
|
3693
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3694
|
+
* given reader into the given message object.
|
|
3695
|
+
* @param {!proto.EmptyMessage} msg The message object to deserialize into.
|
|
3696
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3697
|
+
* @return {!proto.EmptyMessage}
|
|
3698
|
+
*/
|
|
3699
|
+
proto.EmptyMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
3700
|
+
while (reader.nextField()) {
|
|
3701
|
+
if (reader.isEndGroup()) {
|
|
3702
|
+
break;
|
|
3703
|
+
}
|
|
3704
|
+
var field = reader.getFieldNumber();
|
|
3705
|
+
switch (field) {
|
|
3706
|
+
default:
|
|
3707
|
+
reader.skipField();
|
|
3708
|
+
break;
|
|
3709
|
+
}
|
|
3710
|
+
}
|
|
3711
|
+
return msg;
|
|
3712
|
+
};
|
|
3713
|
+
|
|
3714
|
+
|
|
3715
|
+
/**
|
|
3716
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3717
|
+
* @return {!Uint8Array}
|
|
3718
|
+
*/
|
|
3719
|
+
proto.EmptyMessage.prototype.serializeBinary = function() {
|
|
3720
|
+
var writer = new jspb.BinaryWriter();
|
|
3721
|
+
proto.EmptyMessage.serializeBinaryToWriter(this, writer);
|
|
3722
|
+
return writer.getResultBuffer();
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3728
|
+
* format), writing to the given BinaryWriter.
|
|
3729
|
+
* @param {!proto.EmptyMessage} message
|
|
3730
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3731
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3732
|
+
*/
|
|
3733
|
+
proto.EmptyMessage.serializeBinaryToWriter = function(message, writer) {
|
|
3734
|
+
var f = undefined;
|
|
3735
|
+
};
|
|
3736
|
+
|
|
3737
|
+
|
|
3738
|
+
|
|
3739
|
+
|
|
3740
|
+
|
|
3741
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3742
|
+
/**
|
|
3743
|
+
* Creates an object representation of this proto.
|
|
3744
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3745
|
+
* Optional fields that are not set will be set to undefined.
|
|
3746
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3747
|
+
* For the list of reserved names please see:
|
|
3748
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3749
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3750
|
+
* JSPB instance for transitional soy proto support:
|
|
3751
|
+
* http://goto/soy-param-migration
|
|
3752
|
+
* @return {!Object}
|
|
3753
|
+
*/
|
|
3754
|
+
proto.ReferenceId.prototype.toObject = function(opt_includeInstance) {
|
|
3755
|
+
return proto.ReferenceId.toObject(opt_includeInstance, this);
|
|
3756
|
+
};
|
|
3757
|
+
|
|
3758
|
+
|
|
3759
|
+
/**
|
|
3760
|
+
* Static version of the {@see toObject} method.
|
|
3761
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3762
|
+
* the JSPB instance for transitional soy proto support:
|
|
3763
|
+
* http://goto/soy-param-migration
|
|
3764
|
+
* @param {!proto.ReferenceId} msg The msg instance to transform.
|
|
3765
|
+
* @return {!Object}
|
|
3766
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3767
|
+
*/
|
|
3768
|
+
proto.ReferenceId.toObject = function(includeInstance, msg) {
|
|
3769
|
+
var f, obj = {
|
|
3770
|
+
referenceId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
3771
|
+
};
|
|
3772
|
+
|
|
3773
|
+
if (includeInstance) {
|
|
3774
|
+
obj.$jspbMessageInstance = msg;
|
|
3775
|
+
}
|
|
3776
|
+
return obj;
|
|
3777
|
+
};
|
|
3778
|
+
}
|
|
3779
|
+
|
|
3780
|
+
|
|
3781
|
+
/**
|
|
3782
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3783
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3784
|
+
* @return {!proto.ReferenceId}
|
|
3785
|
+
*/
|
|
3786
|
+
proto.ReferenceId.deserializeBinary = function(bytes) {
|
|
3787
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3788
|
+
var msg = new proto.ReferenceId;
|
|
3789
|
+
return proto.ReferenceId.deserializeBinaryFromReader(msg, reader);
|
|
3790
|
+
};
|
|
3791
|
+
|
|
3792
|
+
|
|
3793
|
+
/**
|
|
3794
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3795
|
+
* given reader into the given message object.
|
|
3796
|
+
* @param {!proto.ReferenceId} msg The message object to deserialize into.
|
|
3797
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3798
|
+
* @return {!proto.ReferenceId}
|
|
3799
|
+
*/
|
|
3800
|
+
proto.ReferenceId.deserializeBinaryFromReader = function(msg, reader) {
|
|
3801
|
+
while (reader.nextField()) {
|
|
3802
|
+
if (reader.isEndGroup()) {
|
|
3803
|
+
break;
|
|
3804
|
+
}
|
|
3805
|
+
var field = reader.getFieldNumber();
|
|
3806
|
+
switch (field) {
|
|
3807
|
+
case 1:
|
|
3808
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3809
|
+
msg.setReferenceId(value);
|
|
3810
|
+
break;
|
|
3811
|
+
default:
|
|
3812
|
+
reader.skipField();
|
|
3813
|
+
break;
|
|
3814
|
+
}
|
|
3815
|
+
}
|
|
3816
|
+
return msg;
|
|
3817
|
+
};
|
|
3818
|
+
|
|
3819
|
+
|
|
3820
|
+
/**
|
|
3821
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3822
|
+
* @return {!Uint8Array}
|
|
3823
|
+
*/
|
|
3824
|
+
proto.ReferenceId.prototype.serializeBinary = function() {
|
|
3825
|
+
var writer = new jspb.BinaryWriter();
|
|
3826
|
+
proto.ReferenceId.serializeBinaryToWriter(this, writer);
|
|
3827
|
+
return writer.getResultBuffer();
|
|
3828
|
+
};
|
|
3829
|
+
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3833
|
+
* format), writing to the given BinaryWriter.
|
|
3834
|
+
* @param {!proto.ReferenceId} message
|
|
3835
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3836
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3837
|
+
*/
|
|
3838
|
+
proto.ReferenceId.serializeBinaryToWriter = function(message, writer) {
|
|
3839
|
+
var f = undefined;
|
|
3840
|
+
f = message.getReferenceId();
|
|
3841
|
+
if (f.length > 0) {
|
|
3842
|
+
writer.writeString(
|
|
3843
|
+
1,
|
|
3844
|
+
f
|
|
3845
|
+
);
|
|
3846
|
+
}
|
|
3847
|
+
};
|
|
3848
|
+
|
|
3849
|
+
|
|
3850
|
+
/**
|
|
3851
|
+
* optional string reference_id = 1;
|
|
3852
|
+
* @return {string}
|
|
3853
|
+
*/
|
|
3854
|
+
proto.ReferenceId.prototype.getReferenceId = function() {
|
|
3855
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3856
|
+
};
|
|
3857
|
+
|
|
3858
|
+
|
|
3859
|
+
/**
|
|
3860
|
+
* @param {string} value
|
|
3861
|
+
* @return {!proto.ReferenceId} returns this
|
|
3862
|
+
*/
|
|
3863
|
+
proto.ReferenceId.prototype.setReferenceId = function(value) {
|
|
3864
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3865
|
+
};
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
|
|
3869
|
+
/**
|
|
3870
|
+
* List of repeated fields within this message type.
|
|
3871
|
+
* @private {!Array<number>}
|
|
3872
|
+
* @const
|
|
3873
|
+
*/
|
|
3874
|
+
proto.DeleteNotificationEmployeeReq.repeatedFields_ = [1];
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
|
|
3878
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3879
|
+
/**
|
|
3880
|
+
* Creates an object representation of this proto.
|
|
3881
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3882
|
+
* Optional fields that are not set will be set to undefined.
|
|
3883
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3884
|
+
* For the list of reserved names please see:
|
|
3885
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3886
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3887
|
+
* JSPB instance for transitional soy proto support:
|
|
3888
|
+
* http://goto/soy-param-migration
|
|
3889
|
+
* @return {!Object}
|
|
3890
|
+
*/
|
|
3891
|
+
proto.DeleteNotificationEmployeeReq.prototype.toObject = function(opt_includeInstance) {
|
|
3892
|
+
return proto.DeleteNotificationEmployeeReq.toObject(opt_includeInstance, this);
|
|
3893
|
+
};
|
|
3894
|
+
|
|
3895
|
+
|
|
3896
|
+
/**
|
|
3897
|
+
* Static version of the {@see toObject} method.
|
|
3898
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3899
|
+
* the JSPB instance for transitional soy proto support:
|
|
3900
|
+
* http://goto/soy-param-migration
|
|
3901
|
+
* @param {!proto.DeleteNotificationEmployeeReq} msg The msg instance to transform.
|
|
3902
|
+
* @return {!Object}
|
|
3903
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3904
|
+
*/
|
|
3905
|
+
proto.DeleteNotificationEmployeeReq.toObject = function(includeInstance, msg) {
|
|
2413
3906
|
var f, obj = {
|
|
2414
|
-
|
|
3907
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2415
3908
|
};
|
|
2416
3909
|
|
|
2417
3910
|
if (includeInstance) {
|
|
@@ -2425,29 +3918,33 @@ proto.EmptyMessage.toObject = function(includeInstance, msg) {
|
|
|
2425
3918
|
/**
|
|
2426
3919
|
* Deserializes binary data (in protobuf wire format).
|
|
2427
3920
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2428
|
-
* @return {!proto.
|
|
3921
|
+
* @return {!proto.DeleteNotificationEmployeeReq}
|
|
2429
3922
|
*/
|
|
2430
|
-
proto.
|
|
3923
|
+
proto.DeleteNotificationEmployeeReq.deserializeBinary = function(bytes) {
|
|
2431
3924
|
var reader = new jspb.BinaryReader(bytes);
|
|
2432
|
-
var msg = new proto.
|
|
2433
|
-
return proto.
|
|
3925
|
+
var msg = new proto.DeleteNotificationEmployeeReq;
|
|
3926
|
+
return proto.DeleteNotificationEmployeeReq.deserializeBinaryFromReader(msg, reader);
|
|
2434
3927
|
};
|
|
2435
3928
|
|
|
2436
3929
|
|
|
2437
3930
|
/**
|
|
2438
3931
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2439
3932
|
* given reader into the given message object.
|
|
2440
|
-
* @param {!proto.
|
|
3933
|
+
* @param {!proto.DeleteNotificationEmployeeReq} msg The message object to deserialize into.
|
|
2441
3934
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2442
|
-
* @return {!proto.
|
|
3935
|
+
* @return {!proto.DeleteNotificationEmployeeReq}
|
|
2443
3936
|
*/
|
|
2444
|
-
proto.
|
|
3937
|
+
proto.DeleteNotificationEmployeeReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2445
3938
|
while (reader.nextField()) {
|
|
2446
3939
|
if (reader.isEndGroup()) {
|
|
2447
3940
|
break;
|
|
2448
3941
|
}
|
|
2449
3942
|
var field = reader.getFieldNumber();
|
|
2450
3943
|
switch (field) {
|
|
3944
|
+
case 1:
|
|
3945
|
+
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
3946
|
+
msg.addReferenceIds(value);
|
|
3947
|
+
break;
|
|
2451
3948
|
default:
|
|
2452
3949
|
reader.skipField();
|
|
2453
3950
|
break;
|
|
@@ -2461,9 +3958,9 @@ proto.EmptyMessage.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2461
3958
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2462
3959
|
* @return {!Uint8Array}
|
|
2463
3960
|
*/
|
|
2464
|
-
proto.
|
|
3961
|
+
proto.DeleteNotificationEmployeeReq.prototype.serializeBinary = function() {
|
|
2465
3962
|
var writer = new jspb.BinaryWriter();
|
|
2466
|
-
proto.
|
|
3963
|
+
proto.DeleteNotificationEmployeeReq.serializeBinaryToWriter(this, writer);
|
|
2467
3964
|
return writer.getResultBuffer();
|
|
2468
3965
|
};
|
|
2469
3966
|
|
|
@@ -2471,16 +3968,67 @@ proto.EmptyMessage.prototype.serializeBinary = function() {
|
|
|
2471
3968
|
/**
|
|
2472
3969
|
* Serializes the given message to binary data (in protobuf wire
|
|
2473
3970
|
* format), writing to the given BinaryWriter.
|
|
2474
|
-
* @param {!proto.
|
|
3971
|
+
* @param {!proto.DeleteNotificationEmployeeReq} message
|
|
2475
3972
|
* @param {!jspb.BinaryWriter} writer
|
|
2476
3973
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2477
3974
|
*/
|
|
2478
|
-
proto.
|
|
3975
|
+
proto.DeleteNotificationEmployeeReq.serializeBinaryToWriter = function(message, writer) {
|
|
2479
3976
|
var f = undefined;
|
|
3977
|
+
f = message.getReferenceIdsList();
|
|
3978
|
+
if (f.length > 0) {
|
|
3979
|
+
writer.writeRepeatedString(
|
|
3980
|
+
1,
|
|
3981
|
+
f
|
|
3982
|
+
);
|
|
3983
|
+
}
|
|
3984
|
+
};
|
|
3985
|
+
|
|
3986
|
+
|
|
3987
|
+
/**
|
|
3988
|
+
* repeated string reference_ids = 1;
|
|
3989
|
+
* @return {!Array<string>}
|
|
3990
|
+
*/
|
|
3991
|
+
proto.DeleteNotificationEmployeeReq.prototype.getReferenceIdsList = function() {
|
|
3992
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3993
|
+
};
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
/**
|
|
3997
|
+
* @param {!Array<string>} value
|
|
3998
|
+
* @return {!proto.DeleteNotificationEmployeeReq} returns this
|
|
3999
|
+
*/
|
|
4000
|
+
proto.DeleteNotificationEmployeeReq.prototype.setReferenceIdsList = function(value) {
|
|
4001
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
4002
|
+
};
|
|
4003
|
+
|
|
4004
|
+
|
|
4005
|
+
/**
|
|
4006
|
+
* @param {string} value
|
|
4007
|
+
* @param {number=} opt_index
|
|
4008
|
+
* @return {!proto.DeleteNotificationEmployeeReq} returns this
|
|
4009
|
+
*/
|
|
4010
|
+
proto.DeleteNotificationEmployeeReq.prototype.addReferenceIds = function(value, opt_index) {
|
|
4011
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4012
|
+
};
|
|
4013
|
+
|
|
4014
|
+
|
|
4015
|
+
/**
|
|
4016
|
+
* Clears the list making it empty but non-null.
|
|
4017
|
+
* @return {!proto.DeleteNotificationEmployeeReq} returns this
|
|
4018
|
+
*/
|
|
4019
|
+
proto.DeleteNotificationEmployeeReq.prototype.clearReferenceIdsList = function() {
|
|
4020
|
+
return this.setReferenceIdsList([]);
|
|
2480
4021
|
};
|
|
2481
4022
|
|
|
2482
4023
|
|
|
2483
4024
|
|
|
4025
|
+
/**
|
|
4026
|
+
* List of repeated fields within this message type.
|
|
4027
|
+
* @private {!Array<number>}
|
|
4028
|
+
* @const
|
|
4029
|
+
*/
|
|
4030
|
+
proto.DeleteNotificationEmployeeRes.repeatedFields_ = [1];
|
|
4031
|
+
|
|
2484
4032
|
|
|
2485
4033
|
|
|
2486
4034
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -2496,8 +4044,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2496
4044
|
* http://goto/soy-param-migration
|
|
2497
4045
|
* @return {!Object}
|
|
2498
4046
|
*/
|
|
2499
|
-
proto.
|
|
2500
|
-
return proto.
|
|
4047
|
+
proto.DeleteNotificationEmployeeRes.prototype.toObject = function(opt_includeInstance) {
|
|
4048
|
+
return proto.DeleteNotificationEmployeeRes.toObject(opt_includeInstance, this);
|
|
2501
4049
|
};
|
|
2502
4050
|
|
|
2503
4051
|
|
|
@@ -2506,13 +4054,14 @@ proto.ReferenceId.prototype.toObject = function(opt_includeInstance) {
|
|
|
2506
4054
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2507
4055
|
* the JSPB instance for transitional soy proto support:
|
|
2508
4056
|
* http://goto/soy-param-migration
|
|
2509
|
-
* @param {!proto.
|
|
4057
|
+
* @param {!proto.DeleteNotificationEmployeeRes} msg The msg instance to transform.
|
|
2510
4058
|
* @return {!Object}
|
|
2511
4059
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2512
4060
|
*/
|
|
2513
|
-
proto.
|
|
4061
|
+
proto.DeleteNotificationEmployeeRes.toObject = function(includeInstance, msg) {
|
|
2514
4062
|
var f, obj = {
|
|
2515
|
-
|
|
4063
|
+
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4064
|
+
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
2516
4065
|
};
|
|
2517
4066
|
|
|
2518
4067
|
if (includeInstance) {
|
|
@@ -2526,23 +4075,23 @@ referenceId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
|
2526
4075
|
/**
|
|
2527
4076
|
* Deserializes binary data (in protobuf wire format).
|
|
2528
4077
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2529
|
-
* @return {!proto.
|
|
4078
|
+
* @return {!proto.DeleteNotificationEmployeeRes}
|
|
2530
4079
|
*/
|
|
2531
|
-
proto.
|
|
4080
|
+
proto.DeleteNotificationEmployeeRes.deserializeBinary = function(bytes) {
|
|
2532
4081
|
var reader = new jspb.BinaryReader(bytes);
|
|
2533
|
-
var msg = new proto.
|
|
2534
|
-
return proto.
|
|
4082
|
+
var msg = new proto.DeleteNotificationEmployeeRes;
|
|
4083
|
+
return proto.DeleteNotificationEmployeeRes.deserializeBinaryFromReader(msg, reader);
|
|
2535
4084
|
};
|
|
2536
4085
|
|
|
2537
4086
|
|
|
2538
4087
|
/**
|
|
2539
4088
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2540
4089
|
* given reader into the given message object.
|
|
2541
|
-
* @param {!proto.
|
|
4090
|
+
* @param {!proto.DeleteNotificationEmployeeRes} msg The message object to deserialize into.
|
|
2542
4091
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2543
|
-
* @return {!proto.
|
|
4092
|
+
* @return {!proto.DeleteNotificationEmployeeRes}
|
|
2544
4093
|
*/
|
|
2545
|
-
proto.
|
|
4094
|
+
proto.DeleteNotificationEmployeeRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
2546
4095
|
while (reader.nextField()) {
|
|
2547
4096
|
if (reader.isEndGroup()) {
|
|
2548
4097
|
break;
|
|
@@ -2551,7 +4100,12 @@ proto.ReferenceId.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2551
4100
|
switch (field) {
|
|
2552
4101
|
case 1:
|
|
2553
4102
|
var value = /** @type {string} */ (reader.readStringRequireUtf8());
|
|
2554
|
-
msg.
|
|
4103
|
+
msg.addReferenceIds(value);
|
|
4104
|
+
break;
|
|
4105
|
+
case 2:
|
|
4106
|
+
var value = new prisca_v1_global_meta_meta_pb.Meta;
|
|
4107
|
+
reader.readMessage(value,prisca_v1_global_meta_meta_pb.Meta.deserializeBinaryFromReader);
|
|
4108
|
+
msg.setMeta(value);
|
|
2555
4109
|
break;
|
|
2556
4110
|
default:
|
|
2557
4111
|
reader.skipField();
|
|
@@ -2566,9 +4120,9 @@ proto.ReferenceId.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
2566
4120
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2567
4121
|
* @return {!Uint8Array}
|
|
2568
4122
|
*/
|
|
2569
|
-
proto.
|
|
4123
|
+
proto.DeleteNotificationEmployeeRes.prototype.serializeBinary = function() {
|
|
2570
4124
|
var writer = new jspb.BinaryWriter();
|
|
2571
|
-
proto.
|
|
4125
|
+
proto.DeleteNotificationEmployeeRes.serializeBinaryToWriter(this, writer);
|
|
2572
4126
|
return writer.getResultBuffer();
|
|
2573
4127
|
};
|
|
2574
4128
|
|
|
@@ -2576,37 +4130,101 @@ proto.ReferenceId.prototype.serializeBinary = function() {
|
|
|
2576
4130
|
/**
|
|
2577
4131
|
* Serializes the given message to binary data (in protobuf wire
|
|
2578
4132
|
* format), writing to the given BinaryWriter.
|
|
2579
|
-
* @param {!proto.
|
|
4133
|
+
* @param {!proto.DeleteNotificationEmployeeRes} message
|
|
2580
4134
|
* @param {!jspb.BinaryWriter} writer
|
|
2581
4135
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2582
4136
|
*/
|
|
2583
|
-
proto.
|
|
4137
|
+
proto.DeleteNotificationEmployeeRes.serializeBinaryToWriter = function(message, writer) {
|
|
2584
4138
|
var f = undefined;
|
|
2585
|
-
f = message.
|
|
4139
|
+
f = message.getReferenceIdsList();
|
|
2586
4140
|
if (f.length > 0) {
|
|
2587
|
-
writer.
|
|
4141
|
+
writer.writeRepeatedString(
|
|
2588
4142
|
1,
|
|
2589
4143
|
f
|
|
2590
4144
|
);
|
|
2591
4145
|
}
|
|
4146
|
+
f = message.getMeta();
|
|
4147
|
+
if (f != null) {
|
|
4148
|
+
writer.writeMessage(
|
|
4149
|
+
2,
|
|
4150
|
+
f,
|
|
4151
|
+
prisca_v1_global_meta_meta_pb.Meta.serializeBinaryToWriter
|
|
4152
|
+
);
|
|
4153
|
+
}
|
|
2592
4154
|
};
|
|
2593
4155
|
|
|
2594
4156
|
|
|
2595
4157
|
/**
|
|
2596
|
-
*
|
|
2597
|
-
* @return {string}
|
|
4158
|
+
* repeated string reference_ids = 1;
|
|
4159
|
+
* @return {!Array<string>}
|
|
2598
4160
|
*/
|
|
2599
|
-
proto.
|
|
2600
|
-
return /** @type {string} */ (jspb.Message.
|
|
4161
|
+
proto.DeleteNotificationEmployeeRes.prototype.getReferenceIdsList = function() {
|
|
4162
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
4163
|
+
};
|
|
4164
|
+
|
|
4165
|
+
|
|
4166
|
+
/**
|
|
4167
|
+
* @param {!Array<string>} value
|
|
4168
|
+
* @return {!proto.DeleteNotificationEmployeeRes} returns this
|
|
4169
|
+
*/
|
|
4170
|
+
proto.DeleteNotificationEmployeeRes.prototype.setReferenceIdsList = function(value) {
|
|
4171
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
2601
4172
|
};
|
|
2602
4173
|
|
|
2603
4174
|
|
|
2604
4175
|
/**
|
|
2605
4176
|
* @param {string} value
|
|
2606
|
-
* @
|
|
4177
|
+
* @param {number=} opt_index
|
|
4178
|
+
* @return {!proto.DeleteNotificationEmployeeRes} returns this
|
|
2607
4179
|
*/
|
|
2608
|
-
proto.
|
|
2609
|
-
return jspb.Message.
|
|
4180
|
+
proto.DeleteNotificationEmployeeRes.prototype.addReferenceIds = function(value, opt_index) {
|
|
4181
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
4182
|
+
};
|
|
4183
|
+
|
|
4184
|
+
|
|
4185
|
+
/**
|
|
4186
|
+
* Clears the list making it empty but non-null.
|
|
4187
|
+
* @return {!proto.DeleteNotificationEmployeeRes} returns this
|
|
4188
|
+
*/
|
|
4189
|
+
proto.DeleteNotificationEmployeeRes.prototype.clearReferenceIdsList = function() {
|
|
4190
|
+
return this.setReferenceIdsList([]);
|
|
4191
|
+
};
|
|
4192
|
+
|
|
4193
|
+
|
|
4194
|
+
/**
|
|
4195
|
+
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
4196
|
+
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
4197
|
+
*/
|
|
4198
|
+
proto.DeleteNotificationEmployeeRes.prototype.getMeta = function() {
|
|
4199
|
+
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
4200
|
+
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
4201
|
+
};
|
|
4202
|
+
|
|
4203
|
+
|
|
4204
|
+
/**
|
|
4205
|
+
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
4206
|
+
* @return {!proto.DeleteNotificationEmployeeRes} returns this
|
|
4207
|
+
*/
|
|
4208
|
+
proto.DeleteNotificationEmployeeRes.prototype.setMeta = function(value) {
|
|
4209
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4210
|
+
};
|
|
4211
|
+
|
|
4212
|
+
|
|
4213
|
+
/**
|
|
4214
|
+
* Clears the message field making it undefined.
|
|
4215
|
+
* @return {!proto.DeleteNotificationEmployeeRes} returns this
|
|
4216
|
+
*/
|
|
4217
|
+
proto.DeleteNotificationEmployeeRes.prototype.clearMeta = function() {
|
|
4218
|
+
return this.setMeta(undefined);
|
|
4219
|
+
};
|
|
4220
|
+
|
|
4221
|
+
|
|
4222
|
+
/**
|
|
4223
|
+
* Returns whether this field is set.
|
|
4224
|
+
* @return {boolean}
|
|
4225
|
+
*/
|
|
4226
|
+
proto.DeleteNotificationEmployeeRes.prototype.hasMeta = function() {
|
|
4227
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2610
4228
|
};
|
|
2611
4229
|
|
|
2612
4230
|
|
|
@@ -2616,7 +4234,7 @@ proto.ReferenceId.prototype.setReferenceId = function(value) {
|
|
|
2616
4234
|
* @private {!Array<number>}
|
|
2617
4235
|
* @const
|
|
2618
4236
|
*/
|
|
2619
|
-
proto.
|
|
4237
|
+
proto.DeleteNotificationVendorReq.repeatedFields_ = [1];
|
|
2620
4238
|
|
|
2621
4239
|
|
|
2622
4240
|
|
|
@@ -2633,8 +4251,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2633
4251
|
* http://goto/soy-param-migration
|
|
2634
4252
|
* @return {!Object}
|
|
2635
4253
|
*/
|
|
2636
|
-
proto.
|
|
2637
|
-
return proto.
|
|
4254
|
+
proto.DeleteNotificationVendorReq.prototype.toObject = function(opt_includeInstance) {
|
|
4255
|
+
return proto.DeleteNotificationVendorReq.toObject(opt_includeInstance, this);
|
|
2638
4256
|
};
|
|
2639
4257
|
|
|
2640
4258
|
|
|
@@ -2643,11 +4261,11 @@ proto.DeleteNotificationEmployeeReq.prototype.toObject = function(opt_includeIns
|
|
|
2643
4261
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2644
4262
|
* the JSPB instance for transitional soy proto support:
|
|
2645
4263
|
* http://goto/soy-param-migration
|
|
2646
|
-
* @param {!proto.
|
|
4264
|
+
* @param {!proto.DeleteNotificationVendorReq} msg The msg instance to transform.
|
|
2647
4265
|
* @return {!Object}
|
|
2648
4266
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2649
4267
|
*/
|
|
2650
|
-
proto.
|
|
4268
|
+
proto.DeleteNotificationVendorReq.toObject = function(includeInstance, msg) {
|
|
2651
4269
|
var f, obj = {
|
|
2652
4270
|
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f
|
|
2653
4271
|
};
|
|
@@ -2663,23 +4281,23 @@ referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefine
|
|
|
2663
4281
|
/**
|
|
2664
4282
|
* Deserializes binary data (in protobuf wire format).
|
|
2665
4283
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2666
|
-
* @return {!proto.
|
|
4284
|
+
* @return {!proto.DeleteNotificationVendorReq}
|
|
2667
4285
|
*/
|
|
2668
|
-
proto.
|
|
4286
|
+
proto.DeleteNotificationVendorReq.deserializeBinary = function(bytes) {
|
|
2669
4287
|
var reader = new jspb.BinaryReader(bytes);
|
|
2670
|
-
var msg = new proto.
|
|
2671
|
-
return proto.
|
|
4288
|
+
var msg = new proto.DeleteNotificationVendorReq;
|
|
4289
|
+
return proto.DeleteNotificationVendorReq.deserializeBinaryFromReader(msg, reader);
|
|
2672
4290
|
};
|
|
2673
4291
|
|
|
2674
4292
|
|
|
2675
4293
|
/**
|
|
2676
4294
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2677
4295
|
* given reader into the given message object.
|
|
2678
|
-
* @param {!proto.
|
|
4296
|
+
* @param {!proto.DeleteNotificationVendorReq} msg The message object to deserialize into.
|
|
2679
4297
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2680
|
-
* @return {!proto.
|
|
4298
|
+
* @return {!proto.DeleteNotificationVendorReq}
|
|
2681
4299
|
*/
|
|
2682
|
-
proto.
|
|
4300
|
+
proto.DeleteNotificationVendorReq.deserializeBinaryFromReader = function(msg, reader) {
|
|
2683
4301
|
while (reader.nextField()) {
|
|
2684
4302
|
if (reader.isEndGroup()) {
|
|
2685
4303
|
break;
|
|
@@ -2703,9 +4321,9 @@ proto.DeleteNotificationEmployeeReq.deserializeBinaryFromReader = function(msg,
|
|
|
2703
4321
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2704
4322
|
* @return {!Uint8Array}
|
|
2705
4323
|
*/
|
|
2706
|
-
proto.
|
|
4324
|
+
proto.DeleteNotificationVendorReq.prototype.serializeBinary = function() {
|
|
2707
4325
|
var writer = new jspb.BinaryWriter();
|
|
2708
|
-
proto.
|
|
4326
|
+
proto.DeleteNotificationVendorReq.serializeBinaryToWriter(this, writer);
|
|
2709
4327
|
return writer.getResultBuffer();
|
|
2710
4328
|
};
|
|
2711
4329
|
|
|
@@ -2713,11 +4331,11 @@ proto.DeleteNotificationEmployeeReq.prototype.serializeBinary = function() {
|
|
|
2713
4331
|
/**
|
|
2714
4332
|
* Serializes the given message to binary data (in protobuf wire
|
|
2715
4333
|
* format), writing to the given BinaryWriter.
|
|
2716
|
-
* @param {!proto.
|
|
4334
|
+
* @param {!proto.DeleteNotificationVendorReq} message
|
|
2717
4335
|
* @param {!jspb.BinaryWriter} writer
|
|
2718
4336
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2719
4337
|
*/
|
|
2720
|
-
proto.
|
|
4338
|
+
proto.DeleteNotificationVendorReq.serializeBinaryToWriter = function(message, writer) {
|
|
2721
4339
|
var f = undefined;
|
|
2722
4340
|
f = message.getReferenceIdsList();
|
|
2723
4341
|
if (f.length > 0) {
|
|
@@ -2733,16 +4351,16 @@ proto.DeleteNotificationEmployeeReq.serializeBinaryToWriter = function(message,
|
|
|
2733
4351
|
* repeated string reference_ids = 1;
|
|
2734
4352
|
* @return {!Array<string>}
|
|
2735
4353
|
*/
|
|
2736
|
-
proto.
|
|
4354
|
+
proto.DeleteNotificationVendorReq.prototype.getReferenceIdsList = function() {
|
|
2737
4355
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2738
4356
|
};
|
|
2739
4357
|
|
|
2740
4358
|
|
|
2741
4359
|
/**
|
|
2742
4360
|
* @param {!Array<string>} value
|
|
2743
|
-
* @return {!proto.
|
|
4361
|
+
* @return {!proto.DeleteNotificationVendorReq} returns this
|
|
2744
4362
|
*/
|
|
2745
|
-
proto.
|
|
4363
|
+
proto.DeleteNotificationVendorReq.prototype.setReferenceIdsList = function(value) {
|
|
2746
4364
|
return jspb.Message.setField(this, 1, value || []);
|
|
2747
4365
|
};
|
|
2748
4366
|
|
|
@@ -2750,18 +4368,18 @@ proto.DeleteNotificationEmployeeReq.prototype.setReferenceIdsList = function(val
|
|
|
2750
4368
|
/**
|
|
2751
4369
|
* @param {string} value
|
|
2752
4370
|
* @param {number=} opt_index
|
|
2753
|
-
* @return {!proto.
|
|
4371
|
+
* @return {!proto.DeleteNotificationVendorReq} returns this
|
|
2754
4372
|
*/
|
|
2755
|
-
proto.
|
|
4373
|
+
proto.DeleteNotificationVendorReq.prototype.addReferenceIds = function(value, opt_index) {
|
|
2756
4374
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2757
4375
|
};
|
|
2758
4376
|
|
|
2759
4377
|
|
|
2760
4378
|
/**
|
|
2761
4379
|
* Clears the list making it empty but non-null.
|
|
2762
|
-
* @return {!proto.
|
|
4380
|
+
* @return {!proto.DeleteNotificationVendorReq} returns this
|
|
2763
4381
|
*/
|
|
2764
|
-
proto.
|
|
4382
|
+
proto.DeleteNotificationVendorReq.prototype.clearReferenceIdsList = function() {
|
|
2765
4383
|
return this.setReferenceIdsList([]);
|
|
2766
4384
|
};
|
|
2767
4385
|
|
|
@@ -2772,7 +4390,7 @@ proto.DeleteNotificationEmployeeReq.prototype.clearReferenceIdsList = function()
|
|
|
2772
4390
|
* @private {!Array<number>}
|
|
2773
4391
|
* @const
|
|
2774
4392
|
*/
|
|
2775
|
-
proto.
|
|
4393
|
+
proto.DeleteNotificationVendorRes.repeatedFields_ = [1];
|
|
2776
4394
|
|
|
2777
4395
|
|
|
2778
4396
|
|
|
@@ -2789,8 +4407,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2789
4407
|
* http://goto/soy-param-migration
|
|
2790
4408
|
* @return {!Object}
|
|
2791
4409
|
*/
|
|
2792
|
-
proto.
|
|
2793
|
-
return proto.
|
|
4410
|
+
proto.DeleteNotificationVendorRes.prototype.toObject = function(opt_includeInstance) {
|
|
4411
|
+
return proto.DeleteNotificationVendorRes.toObject(opt_includeInstance, this);
|
|
2794
4412
|
};
|
|
2795
4413
|
|
|
2796
4414
|
|
|
@@ -2799,11 +4417,11 @@ proto.DeleteNotificationEmployeeRes.prototype.toObject = function(opt_includeIns
|
|
|
2799
4417
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2800
4418
|
* the JSPB instance for transitional soy proto support:
|
|
2801
4419
|
* http://goto/soy-param-migration
|
|
2802
|
-
* @param {!proto.
|
|
4420
|
+
* @param {!proto.DeleteNotificationVendorRes} msg The msg instance to transform.
|
|
2803
4421
|
* @return {!Object}
|
|
2804
4422
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2805
4423
|
*/
|
|
2806
|
-
proto.
|
|
4424
|
+
proto.DeleteNotificationVendorRes.toObject = function(includeInstance, msg) {
|
|
2807
4425
|
var f, obj = {
|
|
2808
4426
|
referenceIdsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
2809
4427
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
@@ -2820,23 +4438,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
2820
4438
|
/**
|
|
2821
4439
|
* Deserializes binary data (in protobuf wire format).
|
|
2822
4440
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2823
|
-
* @return {!proto.
|
|
4441
|
+
* @return {!proto.DeleteNotificationVendorRes}
|
|
2824
4442
|
*/
|
|
2825
|
-
proto.
|
|
4443
|
+
proto.DeleteNotificationVendorRes.deserializeBinary = function(bytes) {
|
|
2826
4444
|
var reader = new jspb.BinaryReader(bytes);
|
|
2827
|
-
var msg = new proto.
|
|
2828
|
-
return proto.
|
|
4445
|
+
var msg = new proto.DeleteNotificationVendorRes;
|
|
4446
|
+
return proto.DeleteNotificationVendorRes.deserializeBinaryFromReader(msg, reader);
|
|
2829
4447
|
};
|
|
2830
4448
|
|
|
2831
4449
|
|
|
2832
4450
|
/**
|
|
2833
4451
|
* Deserializes binary data (in protobuf wire format) from the
|
|
2834
4452
|
* given reader into the given message object.
|
|
2835
|
-
* @param {!proto.
|
|
4453
|
+
* @param {!proto.DeleteNotificationVendorRes} msg The message object to deserialize into.
|
|
2836
4454
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2837
|
-
* @return {!proto.
|
|
4455
|
+
* @return {!proto.DeleteNotificationVendorRes}
|
|
2838
4456
|
*/
|
|
2839
|
-
proto.
|
|
4457
|
+
proto.DeleteNotificationVendorRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
2840
4458
|
while (reader.nextField()) {
|
|
2841
4459
|
if (reader.isEndGroup()) {
|
|
2842
4460
|
break;
|
|
@@ -2865,9 +4483,9 @@ proto.DeleteNotificationEmployeeRes.deserializeBinaryFromReader = function(msg,
|
|
|
2865
4483
|
* Serializes the message to binary data (in protobuf wire format).
|
|
2866
4484
|
* @return {!Uint8Array}
|
|
2867
4485
|
*/
|
|
2868
|
-
proto.
|
|
4486
|
+
proto.DeleteNotificationVendorRes.prototype.serializeBinary = function() {
|
|
2869
4487
|
var writer = new jspb.BinaryWriter();
|
|
2870
|
-
proto.
|
|
4488
|
+
proto.DeleteNotificationVendorRes.serializeBinaryToWriter(this, writer);
|
|
2871
4489
|
return writer.getResultBuffer();
|
|
2872
4490
|
};
|
|
2873
4491
|
|
|
@@ -2875,11 +4493,11 @@ proto.DeleteNotificationEmployeeRes.prototype.serializeBinary = function() {
|
|
|
2875
4493
|
/**
|
|
2876
4494
|
* Serializes the given message to binary data (in protobuf wire
|
|
2877
4495
|
* format), writing to the given BinaryWriter.
|
|
2878
|
-
* @param {!proto.
|
|
4496
|
+
* @param {!proto.DeleteNotificationVendorRes} message
|
|
2879
4497
|
* @param {!jspb.BinaryWriter} writer
|
|
2880
4498
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2881
4499
|
*/
|
|
2882
|
-
proto.
|
|
4500
|
+
proto.DeleteNotificationVendorRes.serializeBinaryToWriter = function(message, writer) {
|
|
2883
4501
|
var f = undefined;
|
|
2884
4502
|
f = message.getReferenceIdsList();
|
|
2885
4503
|
if (f.length > 0) {
|
|
@@ -2903,16 +4521,16 @@ proto.DeleteNotificationEmployeeRes.serializeBinaryToWriter = function(message,
|
|
|
2903
4521
|
* repeated string reference_ids = 1;
|
|
2904
4522
|
* @return {!Array<string>}
|
|
2905
4523
|
*/
|
|
2906
|
-
proto.
|
|
4524
|
+
proto.DeleteNotificationVendorRes.prototype.getReferenceIdsList = function() {
|
|
2907
4525
|
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
2908
4526
|
};
|
|
2909
4527
|
|
|
2910
4528
|
|
|
2911
4529
|
/**
|
|
2912
4530
|
* @param {!Array<string>} value
|
|
2913
|
-
* @return {!proto.
|
|
4531
|
+
* @return {!proto.DeleteNotificationVendorRes} returns this
|
|
2914
4532
|
*/
|
|
2915
|
-
proto.
|
|
4533
|
+
proto.DeleteNotificationVendorRes.prototype.setReferenceIdsList = function(value) {
|
|
2916
4534
|
return jspb.Message.setField(this, 1, value || []);
|
|
2917
4535
|
};
|
|
2918
4536
|
|
|
@@ -2920,18 +4538,18 @@ proto.DeleteNotificationEmployeeRes.prototype.setReferenceIdsList = function(val
|
|
|
2920
4538
|
/**
|
|
2921
4539
|
* @param {string} value
|
|
2922
4540
|
* @param {number=} opt_index
|
|
2923
|
-
* @return {!proto.
|
|
4541
|
+
* @return {!proto.DeleteNotificationVendorRes} returns this
|
|
2924
4542
|
*/
|
|
2925
|
-
proto.
|
|
4543
|
+
proto.DeleteNotificationVendorRes.prototype.addReferenceIds = function(value, opt_index) {
|
|
2926
4544
|
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
2927
4545
|
};
|
|
2928
4546
|
|
|
2929
4547
|
|
|
2930
4548
|
/**
|
|
2931
4549
|
* Clears the list making it empty but non-null.
|
|
2932
|
-
* @return {!proto.
|
|
4550
|
+
* @return {!proto.DeleteNotificationVendorRes} returns this
|
|
2933
4551
|
*/
|
|
2934
|
-
proto.
|
|
4552
|
+
proto.DeleteNotificationVendorRes.prototype.clearReferenceIdsList = function() {
|
|
2935
4553
|
return this.setReferenceIdsList([]);
|
|
2936
4554
|
};
|
|
2937
4555
|
|
|
@@ -2940,7 +4558,7 @@ proto.DeleteNotificationEmployeeRes.prototype.clearReferenceIdsList = function()
|
|
|
2940
4558
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
2941
4559
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
2942
4560
|
*/
|
|
2943
|
-
proto.
|
|
4561
|
+
proto.DeleteNotificationVendorRes.prototype.getMeta = function() {
|
|
2944
4562
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
2945
4563
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
2946
4564
|
};
|
|
@@ -2948,18 +4566,18 @@ proto.DeleteNotificationEmployeeRes.prototype.getMeta = function() {
|
|
|
2948
4566
|
|
|
2949
4567
|
/**
|
|
2950
4568
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
2951
|
-
* @return {!proto.
|
|
4569
|
+
* @return {!proto.DeleteNotificationVendorRes} returns this
|
|
2952
4570
|
*/
|
|
2953
|
-
proto.
|
|
4571
|
+
proto.DeleteNotificationVendorRes.prototype.setMeta = function(value) {
|
|
2954
4572
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
2955
4573
|
};
|
|
2956
4574
|
|
|
2957
4575
|
|
|
2958
4576
|
/**
|
|
2959
4577
|
* Clears the message field making it undefined.
|
|
2960
|
-
* @return {!proto.
|
|
4578
|
+
* @return {!proto.DeleteNotificationVendorRes} returns this
|
|
2961
4579
|
*/
|
|
2962
|
-
proto.
|
|
4580
|
+
proto.DeleteNotificationVendorRes.prototype.clearMeta = function() {
|
|
2963
4581
|
return this.setMeta(undefined);
|
|
2964
4582
|
};
|
|
2965
4583
|
|
|
@@ -2968,7 +4586,7 @@ proto.DeleteNotificationEmployeeRes.prototype.clearMeta = function() {
|
|
|
2968
4586
|
* Returns whether this field is set.
|
|
2969
4587
|
* @return {boolean}
|
|
2970
4588
|
*/
|
|
2971
|
-
proto.
|
|
4589
|
+
proto.DeleteNotificationVendorRes.prototype.hasMeta = function() {
|
|
2972
4590
|
return jspb.Message.getField(this, 2) != null;
|
|
2973
4591
|
};
|
|
2974
4592
|
|
|
@@ -2989,8 +4607,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
2989
4607
|
* http://goto/soy-param-migration
|
|
2990
4608
|
* @return {!Object}
|
|
2991
4609
|
*/
|
|
2992
|
-
proto.
|
|
2993
|
-
return proto.
|
|
4610
|
+
proto.CountUnreadNotificationRes.prototype.toObject = function(opt_includeInstance) {
|
|
4611
|
+
return proto.CountUnreadNotificationRes.toObject(opt_includeInstance, this);
|
|
2994
4612
|
};
|
|
2995
4613
|
|
|
2996
4614
|
|
|
@@ -2999,11 +4617,11 @@ proto.CountUnreadNotificationEmployeeRes.prototype.toObject = function(opt_inclu
|
|
|
2999
4617
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3000
4618
|
* the JSPB instance for transitional soy proto support:
|
|
3001
4619
|
* http://goto/soy-param-migration
|
|
3002
|
-
* @param {!proto.
|
|
4620
|
+
* @param {!proto.CountUnreadNotificationRes} msg The msg instance to transform.
|
|
3003
4621
|
* @return {!Object}
|
|
3004
4622
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3005
4623
|
*/
|
|
3006
|
-
proto.
|
|
4624
|
+
proto.CountUnreadNotificationRes.toObject = function(includeInstance, msg) {
|
|
3007
4625
|
var f, obj = {
|
|
3008
4626
|
count: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
3009
4627
|
meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(includeInstance, f)
|
|
@@ -3020,23 +4638,23 @@ meta: (f = msg.getMeta()) && prisca_v1_global_meta_meta_pb.Meta.toObject(include
|
|
|
3020
4638
|
/**
|
|
3021
4639
|
* Deserializes binary data (in protobuf wire format).
|
|
3022
4640
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3023
|
-
* @return {!proto.
|
|
4641
|
+
* @return {!proto.CountUnreadNotificationRes}
|
|
3024
4642
|
*/
|
|
3025
|
-
proto.
|
|
4643
|
+
proto.CountUnreadNotificationRes.deserializeBinary = function(bytes) {
|
|
3026
4644
|
var reader = new jspb.BinaryReader(bytes);
|
|
3027
|
-
var msg = new proto.
|
|
3028
|
-
return proto.
|
|
4645
|
+
var msg = new proto.CountUnreadNotificationRes;
|
|
4646
|
+
return proto.CountUnreadNotificationRes.deserializeBinaryFromReader(msg, reader);
|
|
3029
4647
|
};
|
|
3030
4648
|
|
|
3031
4649
|
|
|
3032
4650
|
/**
|
|
3033
4651
|
* Deserializes binary data (in protobuf wire format) from the
|
|
3034
4652
|
* given reader into the given message object.
|
|
3035
|
-
* @param {!proto.
|
|
4653
|
+
* @param {!proto.CountUnreadNotificationRes} msg The message object to deserialize into.
|
|
3036
4654
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3037
|
-
* @return {!proto.
|
|
4655
|
+
* @return {!proto.CountUnreadNotificationRes}
|
|
3038
4656
|
*/
|
|
3039
|
-
proto.
|
|
4657
|
+
proto.CountUnreadNotificationRes.deserializeBinaryFromReader = function(msg, reader) {
|
|
3040
4658
|
while (reader.nextField()) {
|
|
3041
4659
|
if (reader.isEndGroup()) {
|
|
3042
4660
|
break;
|
|
@@ -3065,9 +4683,9 @@ proto.CountUnreadNotificationEmployeeRes.deserializeBinaryFromReader = function(
|
|
|
3065
4683
|
* Serializes the message to binary data (in protobuf wire format).
|
|
3066
4684
|
* @return {!Uint8Array}
|
|
3067
4685
|
*/
|
|
3068
|
-
proto.
|
|
4686
|
+
proto.CountUnreadNotificationRes.prototype.serializeBinary = function() {
|
|
3069
4687
|
var writer = new jspb.BinaryWriter();
|
|
3070
|
-
proto.
|
|
4688
|
+
proto.CountUnreadNotificationRes.serializeBinaryToWriter(this, writer);
|
|
3071
4689
|
return writer.getResultBuffer();
|
|
3072
4690
|
};
|
|
3073
4691
|
|
|
@@ -3075,11 +4693,11 @@ proto.CountUnreadNotificationEmployeeRes.prototype.serializeBinary = function()
|
|
|
3075
4693
|
/**
|
|
3076
4694
|
* Serializes the given message to binary data (in protobuf wire
|
|
3077
4695
|
* format), writing to the given BinaryWriter.
|
|
3078
|
-
* @param {!proto.
|
|
4696
|
+
* @param {!proto.CountUnreadNotificationRes} message
|
|
3079
4697
|
* @param {!jspb.BinaryWriter} writer
|
|
3080
4698
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3081
4699
|
*/
|
|
3082
|
-
proto.
|
|
4700
|
+
proto.CountUnreadNotificationRes.serializeBinaryToWriter = function(message, writer) {
|
|
3083
4701
|
var f = undefined;
|
|
3084
4702
|
f = message.getCount();
|
|
3085
4703
|
if (f !== 0) {
|
|
@@ -3103,16 +4721,16 @@ proto.CountUnreadNotificationEmployeeRes.serializeBinaryToWriter = function(mess
|
|
|
3103
4721
|
* optional int64 count = 1;
|
|
3104
4722
|
* @return {number}
|
|
3105
4723
|
*/
|
|
3106
|
-
proto.
|
|
4724
|
+
proto.CountUnreadNotificationRes.prototype.getCount = function() {
|
|
3107
4725
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3108
4726
|
};
|
|
3109
4727
|
|
|
3110
4728
|
|
|
3111
4729
|
/**
|
|
3112
4730
|
* @param {number} value
|
|
3113
|
-
* @return {!proto.
|
|
4731
|
+
* @return {!proto.CountUnreadNotificationRes} returns this
|
|
3114
4732
|
*/
|
|
3115
|
-
proto.
|
|
4733
|
+
proto.CountUnreadNotificationRes.prototype.setCount = function(value) {
|
|
3116
4734
|
return jspb.Message.setProto3IntField(this, 1, value);
|
|
3117
4735
|
};
|
|
3118
4736
|
|
|
@@ -3121,7 +4739,7 @@ proto.CountUnreadNotificationEmployeeRes.prototype.setCount = function(value) {
|
|
|
3121
4739
|
* optional prisca.v1.global.meta.Meta meta = 2;
|
|
3122
4740
|
* @return {?proto.prisca.v1.global.meta.Meta}
|
|
3123
4741
|
*/
|
|
3124
|
-
proto.
|
|
4742
|
+
proto.CountUnreadNotificationRes.prototype.getMeta = function() {
|
|
3125
4743
|
return /** @type{?proto.prisca.v1.global.meta.Meta} */ (
|
|
3126
4744
|
jspb.Message.getWrapperField(this, prisca_v1_global_meta_meta_pb.Meta, 2));
|
|
3127
4745
|
};
|
|
@@ -3129,18 +4747,18 @@ proto.CountUnreadNotificationEmployeeRes.prototype.getMeta = function() {
|
|
|
3129
4747
|
|
|
3130
4748
|
/**
|
|
3131
4749
|
* @param {?proto.prisca.v1.global.meta.Meta|undefined} value
|
|
3132
|
-
* @return {!proto.
|
|
4750
|
+
* @return {!proto.CountUnreadNotificationRes} returns this
|
|
3133
4751
|
*/
|
|
3134
|
-
proto.
|
|
4752
|
+
proto.CountUnreadNotificationRes.prototype.setMeta = function(value) {
|
|
3135
4753
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
3136
4754
|
};
|
|
3137
4755
|
|
|
3138
4756
|
|
|
3139
4757
|
/**
|
|
3140
4758
|
* Clears the message field making it undefined.
|
|
3141
|
-
* @return {!proto.
|
|
4759
|
+
* @return {!proto.CountUnreadNotificationRes} returns this
|
|
3142
4760
|
*/
|
|
3143
|
-
proto.
|
|
4761
|
+
proto.CountUnreadNotificationRes.prototype.clearMeta = function() {
|
|
3144
4762
|
return this.setMeta(undefined);
|
|
3145
4763
|
};
|
|
3146
4764
|
|
|
@@ -3149,7 +4767,7 @@ proto.CountUnreadNotificationEmployeeRes.prototype.clearMeta = function() {
|
|
|
3149
4767
|
* Returns whether this field is set.
|
|
3150
4768
|
* @return {boolean}
|
|
3151
4769
|
*/
|
|
3152
|
-
proto.
|
|
4770
|
+
proto.CountUnreadNotificationRes.prototype.hasMeta = function() {
|
|
3153
4771
|
return jspb.Message.getField(this, 2) != null;
|
|
3154
4772
|
};
|
|
3155
4773
|
|