protobuf-platform 1.1.6 → 1.1.7
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
@@ -1443,7 +1443,8 @@ proto.tournament.UserSearchRequest.toObject = function(includeInstance, msg) {
|
|
1443
1443
|
var f, obj = {
|
1444
1444
|
userId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
1445
1445
|
balanceType: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1446
|
-
currency: jspb.Message.getFieldWithDefault(msg, 3, "")
|
1446
|
+
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1447
|
+
locale: jspb.Message.getFieldWithDefault(msg, 4, "")
|
1447
1448
|
};
|
1448
1449
|
|
1449
1450
|
if (includeInstance) {
|
@@ -1492,6 +1493,10 @@ proto.tournament.UserSearchRequest.deserializeBinaryFromReader = function(msg, r
|
|
1492
1493
|
var value = /** @type {string} */ (reader.readString());
|
1493
1494
|
msg.setCurrency(value);
|
1494
1495
|
break;
|
1496
|
+
case 4:
|
1497
|
+
var value = /** @type {string} */ (reader.readString());
|
1498
|
+
msg.setLocale(value);
|
1499
|
+
break;
|
1495
1500
|
default:
|
1496
1501
|
reader.skipField();
|
1497
1502
|
break;
|
@@ -1542,6 +1547,13 @@ proto.tournament.UserSearchRequest.serializeBinaryToWriter = function(message, w
|
|
1542
1547
|
f
|
1543
1548
|
);
|
1544
1549
|
}
|
1550
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1551
|
+
if (f != null) {
|
1552
|
+
writer.writeString(
|
1553
|
+
4,
|
1554
|
+
f
|
1555
|
+
);
|
1556
|
+
}
|
1545
1557
|
};
|
1546
1558
|
|
1547
1559
|
|
@@ -1653,6 +1665,42 @@ proto.tournament.UserSearchRequest.prototype.hasCurrency = function() {
|
|
1653
1665
|
};
|
1654
1666
|
|
1655
1667
|
|
1668
|
+
/**
|
1669
|
+
* optional string locale = 4;
|
1670
|
+
* @return {string}
|
1671
|
+
*/
|
1672
|
+
proto.tournament.UserSearchRequest.prototype.getLocale = function() {
|
1673
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
1674
|
+
};
|
1675
|
+
|
1676
|
+
|
1677
|
+
/**
|
1678
|
+
* @param {string} value
|
1679
|
+
* @return {!proto.tournament.UserSearchRequest} returns this
|
1680
|
+
*/
|
1681
|
+
proto.tournament.UserSearchRequest.prototype.setLocale = function(value) {
|
1682
|
+
return jspb.Message.setField(this, 4, value);
|
1683
|
+
};
|
1684
|
+
|
1685
|
+
|
1686
|
+
/**
|
1687
|
+
* Clears the field making it undefined.
|
1688
|
+
* @return {!proto.tournament.UserSearchRequest} returns this
|
1689
|
+
*/
|
1690
|
+
proto.tournament.UserSearchRequest.prototype.clearLocale = function() {
|
1691
|
+
return jspb.Message.setField(this, 4, undefined);
|
1692
|
+
};
|
1693
|
+
|
1694
|
+
|
1695
|
+
/**
|
1696
|
+
* Returns whether this field is set.
|
1697
|
+
* @return {boolean}
|
1698
|
+
*/
|
1699
|
+
proto.tournament.UserSearchRequest.prototype.hasLocale = function() {
|
1700
|
+
return jspb.Message.getField(this, 4) != null;
|
1701
|
+
};
|
1702
|
+
|
1703
|
+
|
1656
1704
|
|
1657
1705
|
/**
|
1658
1706
|
* List of repeated fields within this message type.
|