protobuf-platform 1.1.71 → 1.1.72
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
@@ -32,8 +32,9 @@ message GetFileRequest { string file_name = 1; string instance_type = 2; }
|
|
32
32
|
message PaginationRequest {
|
33
33
|
int32 limit = 1;
|
34
34
|
int32 offset = 2;
|
35
|
-
optional
|
36
|
-
optional
|
35
|
+
optional string order = 3;
|
36
|
+
optional UserSearchRequest user_search_params = 4;
|
37
|
+
optional SearchRequest additional_search_params = 5;
|
37
38
|
}
|
38
39
|
message UserSearchRequest {
|
39
40
|
optional int32 user_id = 1;
|
@@ -1342,6 +1342,7 @@ proto.tournament.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
1342
1342
|
var f, obj = {
|
1343
1343
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1344
1344
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
1345
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1345
1346
|
userSearchParams: (f = msg.getUserSearchParams()) && proto.tournament.UserSearchRequest.toObject(includeInstance, f),
|
1346
1347
|
additionalSearchParams: (f = msg.getAdditionalSearchParams()) && proto.tournament.SearchRequest.toObject(includeInstance, f)
|
1347
1348
|
};
|
@@ -1389,11 +1390,15 @@ proto.tournament.PaginationRequest.deserializeBinaryFromReader = function(msg, r
|
|
1389
1390
|
msg.setOffset(value);
|
1390
1391
|
break;
|
1391
1392
|
case 3:
|
1393
|
+
var value = /** @type {string} */ (reader.readString());
|
1394
|
+
msg.setOrder(value);
|
1395
|
+
break;
|
1396
|
+
case 4:
|
1392
1397
|
var value = new proto.tournament.UserSearchRequest;
|
1393
1398
|
reader.readMessage(value,proto.tournament.UserSearchRequest.deserializeBinaryFromReader);
|
1394
1399
|
msg.setUserSearchParams(value);
|
1395
1400
|
break;
|
1396
|
-
case
|
1401
|
+
case 5:
|
1397
1402
|
var value = new proto.tournament.SearchRequest;
|
1398
1403
|
reader.readMessage(value,proto.tournament.SearchRequest.deserializeBinaryFromReader);
|
1399
1404
|
msg.setAdditionalSearchParams(value);
|
@@ -1441,10 +1446,17 @@ proto.tournament.PaginationRequest.serializeBinaryToWriter = function(message, w
|
|
1441
1446
|
f
|
1442
1447
|
);
|
1443
1448
|
}
|
1449
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
1450
|
+
if (f != null) {
|
1451
|
+
writer.writeString(
|
1452
|
+
3,
|
1453
|
+
f
|
1454
|
+
);
|
1455
|
+
}
|
1444
1456
|
f = message.getUserSearchParams();
|
1445
1457
|
if (f != null) {
|
1446
1458
|
writer.writeMessage(
|
1447
|
-
|
1459
|
+
4,
|
1448
1460
|
f,
|
1449
1461
|
proto.tournament.UserSearchRequest.serializeBinaryToWriter
|
1450
1462
|
);
|
@@ -1452,7 +1464,7 @@ proto.tournament.PaginationRequest.serializeBinaryToWriter = function(message, w
|
|
1452
1464
|
f = message.getAdditionalSearchParams();
|
1453
1465
|
if (f != null) {
|
1454
1466
|
writer.writeMessage(
|
1455
|
-
|
1467
|
+
5,
|
1456
1468
|
f,
|
1457
1469
|
proto.tournament.SearchRequest.serializeBinaryToWriter
|
1458
1470
|
);
|
@@ -1497,12 +1509,48 @@ proto.tournament.PaginationRequest.prototype.setOffset = function(value) {
|
|
1497
1509
|
|
1498
1510
|
|
1499
1511
|
/**
|
1500
|
-
* optional
|
1512
|
+
* optional string order = 3;
|
1513
|
+
* @return {string}
|
1514
|
+
*/
|
1515
|
+
proto.tournament.PaginationRequest.prototype.getOrder = function() {
|
1516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
1517
|
+
};
|
1518
|
+
|
1519
|
+
|
1520
|
+
/**
|
1521
|
+
* @param {string} value
|
1522
|
+
* @return {!proto.tournament.PaginationRequest} returns this
|
1523
|
+
*/
|
1524
|
+
proto.tournament.PaginationRequest.prototype.setOrder = function(value) {
|
1525
|
+
return jspb.Message.setField(this, 3, value);
|
1526
|
+
};
|
1527
|
+
|
1528
|
+
|
1529
|
+
/**
|
1530
|
+
* Clears the field making it undefined.
|
1531
|
+
* @return {!proto.tournament.PaginationRequest} returns this
|
1532
|
+
*/
|
1533
|
+
proto.tournament.PaginationRequest.prototype.clearOrder = function() {
|
1534
|
+
return jspb.Message.setField(this, 3, undefined);
|
1535
|
+
};
|
1536
|
+
|
1537
|
+
|
1538
|
+
/**
|
1539
|
+
* Returns whether this field is set.
|
1540
|
+
* @return {boolean}
|
1541
|
+
*/
|
1542
|
+
proto.tournament.PaginationRequest.prototype.hasOrder = function() {
|
1543
|
+
return jspb.Message.getField(this, 3) != null;
|
1544
|
+
};
|
1545
|
+
|
1546
|
+
|
1547
|
+
/**
|
1548
|
+
* optional UserSearchRequest user_search_params = 4;
|
1501
1549
|
* @return {?proto.tournament.UserSearchRequest}
|
1502
1550
|
*/
|
1503
1551
|
proto.tournament.PaginationRequest.prototype.getUserSearchParams = function() {
|
1504
1552
|
return /** @type{?proto.tournament.UserSearchRequest} */ (
|
1505
|
-
jspb.Message.getWrapperField(this, proto.tournament.UserSearchRequest,
|
1553
|
+
jspb.Message.getWrapperField(this, proto.tournament.UserSearchRequest, 4));
|
1506
1554
|
};
|
1507
1555
|
|
1508
1556
|
|
@@ -1511,7 +1559,7 @@ proto.tournament.PaginationRequest.prototype.getUserSearchParams = function() {
|
|
1511
1559
|
* @return {!proto.tournament.PaginationRequest} returns this
|
1512
1560
|
*/
|
1513
1561
|
proto.tournament.PaginationRequest.prototype.setUserSearchParams = function(value) {
|
1514
|
-
return jspb.Message.setWrapperField(this,
|
1562
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
1515
1563
|
};
|
1516
1564
|
|
1517
1565
|
|
@@ -1529,17 +1577,17 @@ proto.tournament.PaginationRequest.prototype.clearUserSearchParams = function()
|
|
1529
1577
|
* @return {boolean}
|
1530
1578
|
*/
|
1531
1579
|
proto.tournament.PaginationRequest.prototype.hasUserSearchParams = function() {
|
1532
|
-
return jspb.Message.getField(this,
|
1580
|
+
return jspb.Message.getField(this, 4) != null;
|
1533
1581
|
};
|
1534
1582
|
|
1535
1583
|
|
1536
1584
|
/**
|
1537
|
-
* optional SearchRequest additional_search_params =
|
1585
|
+
* optional SearchRequest additional_search_params = 5;
|
1538
1586
|
* @return {?proto.tournament.SearchRequest}
|
1539
1587
|
*/
|
1540
1588
|
proto.tournament.PaginationRequest.prototype.getAdditionalSearchParams = function() {
|
1541
1589
|
return /** @type{?proto.tournament.SearchRequest} */ (
|
1542
|
-
jspb.Message.getWrapperField(this, proto.tournament.SearchRequest,
|
1590
|
+
jspb.Message.getWrapperField(this, proto.tournament.SearchRequest, 5));
|
1543
1591
|
};
|
1544
1592
|
|
1545
1593
|
|
@@ -1548,7 +1596,7 @@ proto.tournament.PaginationRequest.prototype.getAdditionalSearchParams = functio
|
|
1548
1596
|
* @return {!proto.tournament.PaginationRequest} returns this
|
1549
1597
|
*/
|
1550
1598
|
proto.tournament.PaginationRequest.prototype.setAdditionalSearchParams = function(value) {
|
1551
|
-
return jspb.Message.setWrapperField(this,
|
1599
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
1552
1600
|
};
|
1553
1601
|
|
1554
1602
|
|
@@ -1566,7 +1614,7 @@ proto.tournament.PaginationRequest.prototype.clearAdditionalSearchParams = funct
|
|
1566
1614
|
* @return {boolean}
|
1567
1615
|
*/
|
1568
1616
|
proto.tournament.PaginationRequest.prototype.hasAdditionalSearchParams = function() {
|
1569
|
-
return jspb.Message.getField(this,
|
1617
|
+
return jspb.Message.getField(this, 5) != null;
|
1570
1618
|
};
|
1571
1619
|
|
1572
1620
|
|