protobuf-platform 1.0.126 → 1.0.128
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/game/game.proto +5 -0
- package/game/game_pb.js +206 -2
- package/package.json +1 -1
- package/user/user.proto +9 -5
- package/user/user_pb.js +240 -30
package/game/game.proto
CHANGED
@@ -445,6 +445,7 @@ message WagerListRequest {
|
|
445
445
|
optional string title = 2;
|
446
446
|
optional string description = 3;
|
447
447
|
optional bool is_active = 4;
|
448
|
+
optional float contribution = 5;
|
448
449
|
}
|
449
450
|
message WagerListGamesRequest {
|
450
451
|
int32 id = 1;
|
@@ -452,6 +453,10 @@ message WagerListGamesRequest {
|
|
452
453
|
}
|
453
454
|
message WagerListItem {
|
454
455
|
int32 id = 1;
|
456
|
+
string title = 2;
|
457
|
+
float contribution = 3;
|
458
|
+
optional string description = 4;
|
459
|
+
optional bool is_active = 5;
|
455
460
|
}
|
456
461
|
message WagerListResponse {
|
457
462
|
WagerListItem data = 1;
|
package/game/game_pb.js
CHANGED
@@ -18394,7 +18394,8 @@ proto.game.WagerListRequest.toObject = function(includeInstance, msg) {
|
|
18394
18394
|
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
18395
18395
|
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
18396
18396
|
description: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
18397
|
-
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
18397
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
18398
|
+
contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0)
|
18398
18399
|
};
|
18399
18400
|
|
18400
18401
|
if (includeInstance) {
|
@@ -18447,6 +18448,10 @@ proto.game.WagerListRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
18447
18448
|
var value = /** @type {boolean} */ (reader.readBool());
|
18448
18449
|
msg.setIsActive(value);
|
18449
18450
|
break;
|
18451
|
+
case 5:
|
18452
|
+
var value = /** @type {number} */ (reader.readFloat());
|
18453
|
+
msg.setContribution(value);
|
18454
|
+
break;
|
18450
18455
|
default:
|
18451
18456
|
reader.skipField();
|
18452
18457
|
break;
|
@@ -18504,6 +18509,13 @@ proto.game.WagerListRequest.serializeBinaryToWriter = function(message, writer)
|
|
18504
18509
|
f
|
18505
18510
|
);
|
18506
18511
|
}
|
18512
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 5));
|
18513
|
+
if (f != null) {
|
18514
|
+
writer.writeFloat(
|
18515
|
+
5,
|
18516
|
+
f
|
18517
|
+
);
|
18518
|
+
}
|
18507
18519
|
};
|
18508
18520
|
|
18509
18521
|
|
@@ -18651,6 +18663,42 @@ proto.game.WagerListRequest.prototype.hasIsActive = function() {
|
|
18651
18663
|
};
|
18652
18664
|
|
18653
18665
|
|
18666
|
+
/**
|
18667
|
+
* optional float contribution = 5;
|
18668
|
+
* @return {number}
|
18669
|
+
*/
|
18670
|
+
proto.game.WagerListRequest.prototype.getContribution = function() {
|
18671
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
18672
|
+
};
|
18673
|
+
|
18674
|
+
|
18675
|
+
/**
|
18676
|
+
* @param {number} value
|
18677
|
+
* @return {!proto.game.WagerListRequest} returns this
|
18678
|
+
*/
|
18679
|
+
proto.game.WagerListRequest.prototype.setContribution = function(value) {
|
18680
|
+
return jspb.Message.setField(this, 5, value);
|
18681
|
+
};
|
18682
|
+
|
18683
|
+
|
18684
|
+
/**
|
18685
|
+
* Clears the field making it undefined.
|
18686
|
+
* @return {!proto.game.WagerListRequest} returns this
|
18687
|
+
*/
|
18688
|
+
proto.game.WagerListRequest.prototype.clearContribution = function() {
|
18689
|
+
return jspb.Message.setField(this, 5, undefined);
|
18690
|
+
};
|
18691
|
+
|
18692
|
+
|
18693
|
+
/**
|
18694
|
+
* Returns whether this field is set.
|
18695
|
+
* @return {boolean}
|
18696
|
+
*/
|
18697
|
+
proto.game.WagerListRequest.prototype.hasContribution = function() {
|
18698
|
+
return jspb.Message.getField(this, 5) != null;
|
18699
|
+
};
|
18700
|
+
|
18701
|
+
|
18654
18702
|
|
18655
18703
|
/**
|
18656
18704
|
* List of repeated fields within this message type.
|
@@ -18871,7 +18919,11 @@ proto.game.WagerListItem.prototype.toObject = function(opt_includeInstance) {
|
|
18871
18919
|
*/
|
18872
18920
|
proto.game.WagerListItem.toObject = function(includeInstance, msg) {
|
18873
18921
|
var f, obj = {
|
18874
|
-
id: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
18922
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
18923
|
+
title: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
18924
|
+
contribution: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
18925
|
+
description: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
18926
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
18875
18927
|
};
|
18876
18928
|
|
18877
18929
|
if (includeInstance) {
|
@@ -18912,6 +18964,22 @@ proto.game.WagerListItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
18912
18964
|
var value = /** @type {number} */ (reader.readInt32());
|
18913
18965
|
msg.setId(value);
|
18914
18966
|
break;
|
18967
|
+
case 2:
|
18968
|
+
var value = /** @type {string} */ (reader.readString());
|
18969
|
+
msg.setTitle(value);
|
18970
|
+
break;
|
18971
|
+
case 3:
|
18972
|
+
var value = /** @type {number} */ (reader.readFloat());
|
18973
|
+
msg.setContribution(value);
|
18974
|
+
break;
|
18975
|
+
case 4:
|
18976
|
+
var value = /** @type {string} */ (reader.readString());
|
18977
|
+
msg.setDescription(value);
|
18978
|
+
break;
|
18979
|
+
case 5:
|
18980
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
18981
|
+
msg.setIsActive(value);
|
18982
|
+
break;
|
18915
18983
|
default:
|
18916
18984
|
reader.skipField();
|
18917
18985
|
break;
|
@@ -18948,6 +19016,34 @@ proto.game.WagerListItem.serializeBinaryToWriter = function(message, writer) {
|
|
18948
19016
|
f
|
18949
19017
|
);
|
18950
19018
|
}
|
19019
|
+
f = message.getTitle();
|
19020
|
+
if (f.length > 0) {
|
19021
|
+
writer.writeString(
|
19022
|
+
2,
|
19023
|
+
f
|
19024
|
+
);
|
19025
|
+
}
|
19026
|
+
f = message.getContribution();
|
19027
|
+
if (f !== 0.0) {
|
19028
|
+
writer.writeFloat(
|
19029
|
+
3,
|
19030
|
+
f
|
19031
|
+
);
|
19032
|
+
}
|
19033
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
19034
|
+
if (f != null) {
|
19035
|
+
writer.writeString(
|
19036
|
+
4,
|
19037
|
+
f
|
19038
|
+
);
|
19039
|
+
}
|
19040
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
19041
|
+
if (f != null) {
|
19042
|
+
writer.writeBool(
|
19043
|
+
5,
|
19044
|
+
f
|
19045
|
+
);
|
19046
|
+
}
|
18951
19047
|
};
|
18952
19048
|
|
18953
19049
|
|
@@ -18969,6 +19065,114 @@ proto.game.WagerListItem.prototype.setId = function(value) {
|
|
18969
19065
|
};
|
18970
19066
|
|
18971
19067
|
|
19068
|
+
/**
|
19069
|
+
* optional string title = 2;
|
19070
|
+
* @return {string}
|
19071
|
+
*/
|
19072
|
+
proto.game.WagerListItem.prototype.getTitle = function() {
|
19073
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
19074
|
+
};
|
19075
|
+
|
19076
|
+
|
19077
|
+
/**
|
19078
|
+
* @param {string} value
|
19079
|
+
* @return {!proto.game.WagerListItem} returns this
|
19080
|
+
*/
|
19081
|
+
proto.game.WagerListItem.prototype.setTitle = function(value) {
|
19082
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
19083
|
+
};
|
19084
|
+
|
19085
|
+
|
19086
|
+
/**
|
19087
|
+
* optional float contribution = 3;
|
19088
|
+
* @return {number}
|
19089
|
+
*/
|
19090
|
+
proto.game.WagerListItem.prototype.getContribution = function() {
|
19091
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
19092
|
+
};
|
19093
|
+
|
19094
|
+
|
19095
|
+
/**
|
19096
|
+
* @param {number} value
|
19097
|
+
* @return {!proto.game.WagerListItem} returns this
|
19098
|
+
*/
|
19099
|
+
proto.game.WagerListItem.prototype.setContribution = function(value) {
|
19100
|
+
return jspb.Message.setProto3FloatField(this, 3, value);
|
19101
|
+
};
|
19102
|
+
|
19103
|
+
|
19104
|
+
/**
|
19105
|
+
* optional string description = 4;
|
19106
|
+
* @return {string}
|
19107
|
+
*/
|
19108
|
+
proto.game.WagerListItem.prototype.getDescription = function() {
|
19109
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
19110
|
+
};
|
19111
|
+
|
19112
|
+
|
19113
|
+
/**
|
19114
|
+
* @param {string} value
|
19115
|
+
* @return {!proto.game.WagerListItem} returns this
|
19116
|
+
*/
|
19117
|
+
proto.game.WagerListItem.prototype.setDescription = function(value) {
|
19118
|
+
return jspb.Message.setField(this, 4, value);
|
19119
|
+
};
|
19120
|
+
|
19121
|
+
|
19122
|
+
/**
|
19123
|
+
* Clears the field making it undefined.
|
19124
|
+
* @return {!proto.game.WagerListItem} returns this
|
19125
|
+
*/
|
19126
|
+
proto.game.WagerListItem.prototype.clearDescription = function() {
|
19127
|
+
return jspb.Message.setField(this, 4, undefined);
|
19128
|
+
};
|
19129
|
+
|
19130
|
+
|
19131
|
+
/**
|
19132
|
+
* Returns whether this field is set.
|
19133
|
+
* @return {boolean}
|
19134
|
+
*/
|
19135
|
+
proto.game.WagerListItem.prototype.hasDescription = function() {
|
19136
|
+
return jspb.Message.getField(this, 4) != null;
|
19137
|
+
};
|
19138
|
+
|
19139
|
+
|
19140
|
+
/**
|
19141
|
+
* optional bool is_active = 5;
|
19142
|
+
* @return {boolean}
|
19143
|
+
*/
|
19144
|
+
proto.game.WagerListItem.prototype.getIsActive = function() {
|
19145
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
19146
|
+
};
|
19147
|
+
|
19148
|
+
|
19149
|
+
/**
|
19150
|
+
* @param {boolean} value
|
19151
|
+
* @return {!proto.game.WagerListItem} returns this
|
19152
|
+
*/
|
19153
|
+
proto.game.WagerListItem.prototype.setIsActive = function(value) {
|
19154
|
+
return jspb.Message.setField(this, 5, value);
|
19155
|
+
};
|
19156
|
+
|
19157
|
+
|
19158
|
+
/**
|
19159
|
+
* Clears the field making it undefined.
|
19160
|
+
* @return {!proto.game.WagerListItem} returns this
|
19161
|
+
*/
|
19162
|
+
proto.game.WagerListItem.prototype.clearIsActive = function() {
|
19163
|
+
return jspb.Message.setField(this, 5, undefined);
|
19164
|
+
};
|
19165
|
+
|
19166
|
+
|
19167
|
+
/**
|
19168
|
+
* Returns whether this field is set.
|
19169
|
+
* @return {boolean}
|
19170
|
+
*/
|
19171
|
+
proto.game.WagerListItem.prototype.hasIsActive = function() {
|
19172
|
+
return jspb.Message.getField(this, 5) != null;
|
19173
|
+
};
|
19174
|
+
|
19175
|
+
|
18972
19176
|
|
18973
19177
|
|
18974
19178
|
|
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -45,11 +45,15 @@ message RegistrationRequest {
|
|
45
45
|
string email = 1;
|
46
46
|
string password = 2;
|
47
47
|
string currency = 3;
|
48
|
-
string country = 4;
|
49
|
-
optional string
|
50
|
-
optional string
|
51
|
-
optional string
|
52
|
-
optional string
|
48
|
+
optional string country = 4;
|
49
|
+
optional string city = 5;
|
50
|
+
optional string timezone = 6;
|
51
|
+
optional string first_name = 7;
|
52
|
+
optional string last_name = 8;
|
53
|
+
optional string birthday = 9;
|
54
|
+
optional string locale = 10;
|
55
|
+
optional bool email_subscription = 11;
|
56
|
+
optional int32 affiliate_id = 12;
|
53
57
|
}
|
54
58
|
message LoggedInResponse {
|
55
59
|
int32 id = 1;
|
package/user/user_pb.js
CHANGED
@@ -1378,10 +1378,14 @@ proto.user.RegistrationRequest.toObject = function(includeInstance, msg) {
|
|
1378
1378
|
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
1379
1379
|
currency: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
1380
1380
|
country: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
1381
|
-
|
1382
|
-
|
1383
|
-
|
1384
|
-
|
1381
|
+
city: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
1382
|
+
timezone: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
1383
|
+
firstName: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
1384
|
+
lastName: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
1385
|
+
birthday: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
1386
|
+
locale: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
1387
|
+
emailSubscription: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
1388
|
+
affiliateId: jspb.Message.getFieldWithDefault(msg, 12, 0)
|
1385
1389
|
};
|
1386
1390
|
|
1387
1391
|
if (includeInstance) {
|
@@ -1436,20 +1440,36 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
1436
1440
|
break;
|
1437
1441
|
case 5:
|
1438
1442
|
var value = /** @type {string} */ (reader.readString());
|
1439
|
-
msg.
|
1443
|
+
msg.setCity(value);
|
1440
1444
|
break;
|
1441
1445
|
case 6:
|
1442
1446
|
var value = /** @type {string} */ (reader.readString());
|
1443
|
-
msg.
|
1447
|
+
msg.setTimezone(value);
|
1444
1448
|
break;
|
1445
1449
|
case 7:
|
1446
1450
|
var value = /** @type {string} */ (reader.readString());
|
1447
|
-
msg.
|
1451
|
+
msg.setFirstName(value);
|
1448
1452
|
break;
|
1449
1453
|
case 8:
|
1454
|
+
var value = /** @type {string} */ (reader.readString());
|
1455
|
+
msg.setLastName(value);
|
1456
|
+
break;
|
1457
|
+
case 9:
|
1458
|
+
var value = /** @type {string} */ (reader.readString());
|
1459
|
+
msg.setBirthday(value);
|
1460
|
+
break;
|
1461
|
+
case 10:
|
1450
1462
|
var value = /** @type {string} */ (reader.readString());
|
1451
1463
|
msg.setLocale(value);
|
1452
1464
|
break;
|
1465
|
+
case 11:
|
1466
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
1467
|
+
msg.setEmailSubscription(value);
|
1468
|
+
break;
|
1469
|
+
case 12:
|
1470
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1471
|
+
msg.setAffiliateId(value);
|
1472
|
+
break;
|
1453
1473
|
default:
|
1454
1474
|
reader.skipField();
|
1455
1475
|
break;
|
@@ -1500,8 +1520,8 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
1500
1520
|
f
|
1501
1521
|
);
|
1502
1522
|
}
|
1503
|
-
f =
|
1504
|
-
if (f
|
1523
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1524
|
+
if (f != null) {
|
1505
1525
|
writer.writeString(
|
1506
1526
|
4,
|
1507
1527
|
f
|
@@ -1535,6 +1555,34 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
1535
1555
|
f
|
1536
1556
|
);
|
1537
1557
|
}
|
1558
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
1559
|
+
if (f != null) {
|
1560
|
+
writer.writeString(
|
1561
|
+
9,
|
1562
|
+
f
|
1563
|
+
);
|
1564
|
+
}
|
1565
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
1566
|
+
if (f != null) {
|
1567
|
+
writer.writeString(
|
1568
|
+
10,
|
1569
|
+
f
|
1570
|
+
);
|
1571
|
+
}
|
1572
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
1573
|
+
if (f != null) {
|
1574
|
+
writer.writeBool(
|
1575
|
+
11,
|
1576
|
+
f
|
1577
|
+
);
|
1578
|
+
}
|
1579
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
1580
|
+
if (f != null) {
|
1581
|
+
writer.writeInt32(
|
1582
|
+
12,
|
1583
|
+
f
|
1584
|
+
);
|
1585
|
+
}
|
1538
1586
|
};
|
1539
1587
|
|
1540
1588
|
|
@@ -1606,15 +1654,33 @@ proto.user.RegistrationRequest.prototype.getCountry = function() {
|
|
1606
1654
|
* @return {!proto.user.RegistrationRequest} returns this
|
1607
1655
|
*/
|
1608
1656
|
proto.user.RegistrationRequest.prototype.setCountry = function(value) {
|
1609
|
-
return jspb.Message.
|
1657
|
+
return jspb.Message.setField(this, 4, value);
|
1658
|
+
};
|
1659
|
+
|
1660
|
+
|
1661
|
+
/**
|
1662
|
+
* Clears the field making it undefined.
|
1663
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1664
|
+
*/
|
1665
|
+
proto.user.RegistrationRequest.prototype.clearCountry = function() {
|
1666
|
+
return jspb.Message.setField(this, 4, undefined);
|
1667
|
+
};
|
1668
|
+
|
1669
|
+
|
1670
|
+
/**
|
1671
|
+
* Returns whether this field is set.
|
1672
|
+
* @return {boolean}
|
1673
|
+
*/
|
1674
|
+
proto.user.RegistrationRequest.prototype.hasCountry = function() {
|
1675
|
+
return jspb.Message.getField(this, 4) != null;
|
1610
1676
|
};
|
1611
1677
|
|
1612
1678
|
|
1613
1679
|
/**
|
1614
|
-
* optional string
|
1680
|
+
* optional string city = 5;
|
1615
1681
|
* @return {string}
|
1616
1682
|
*/
|
1617
|
-
proto.user.RegistrationRequest.prototype.
|
1683
|
+
proto.user.RegistrationRequest.prototype.getCity = function() {
|
1618
1684
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1619
1685
|
};
|
1620
1686
|
|
@@ -1623,7 +1689,7 @@ proto.user.RegistrationRequest.prototype.getFirstName = function() {
|
|
1623
1689
|
* @param {string} value
|
1624
1690
|
* @return {!proto.user.RegistrationRequest} returns this
|
1625
1691
|
*/
|
1626
|
-
proto.user.RegistrationRequest.prototype.
|
1692
|
+
proto.user.RegistrationRequest.prototype.setCity = function(value) {
|
1627
1693
|
return jspb.Message.setField(this, 5, value);
|
1628
1694
|
};
|
1629
1695
|
|
@@ -1632,7 +1698,7 @@ proto.user.RegistrationRequest.prototype.setFirstName = function(value) {
|
|
1632
1698
|
* Clears the field making it undefined.
|
1633
1699
|
* @return {!proto.user.RegistrationRequest} returns this
|
1634
1700
|
*/
|
1635
|
-
proto.user.RegistrationRequest.prototype.
|
1701
|
+
proto.user.RegistrationRequest.prototype.clearCity = function() {
|
1636
1702
|
return jspb.Message.setField(this, 5, undefined);
|
1637
1703
|
};
|
1638
1704
|
|
@@ -1641,16 +1707,16 @@ proto.user.RegistrationRequest.prototype.clearFirstName = function() {
|
|
1641
1707
|
* Returns whether this field is set.
|
1642
1708
|
* @return {boolean}
|
1643
1709
|
*/
|
1644
|
-
proto.user.RegistrationRequest.prototype.
|
1710
|
+
proto.user.RegistrationRequest.prototype.hasCity = function() {
|
1645
1711
|
return jspb.Message.getField(this, 5) != null;
|
1646
1712
|
};
|
1647
1713
|
|
1648
1714
|
|
1649
1715
|
/**
|
1650
|
-
* optional string
|
1716
|
+
* optional string timezone = 6;
|
1651
1717
|
* @return {string}
|
1652
1718
|
*/
|
1653
|
-
proto.user.RegistrationRequest.prototype.
|
1719
|
+
proto.user.RegistrationRequest.prototype.getTimezone = function() {
|
1654
1720
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
1655
1721
|
};
|
1656
1722
|
|
@@ -1659,7 +1725,7 @@ proto.user.RegistrationRequest.prototype.getLastName = function() {
|
|
1659
1725
|
* @param {string} value
|
1660
1726
|
* @return {!proto.user.RegistrationRequest} returns this
|
1661
1727
|
*/
|
1662
|
-
proto.user.RegistrationRequest.prototype.
|
1728
|
+
proto.user.RegistrationRequest.prototype.setTimezone = function(value) {
|
1663
1729
|
return jspb.Message.setField(this, 6, value);
|
1664
1730
|
};
|
1665
1731
|
|
@@ -1668,7 +1734,7 @@ proto.user.RegistrationRequest.prototype.setLastName = function(value) {
|
|
1668
1734
|
* Clears the field making it undefined.
|
1669
1735
|
* @return {!proto.user.RegistrationRequest} returns this
|
1670
1736
|
*/
|
1671
|
-
proto.user.RegistrationRequest.prototype.
|
1737
|
+
proto.user.RegistrationRequest.prototype.clearTimezone = function() {
|
1672
1738
|
return jspb.Message.setField(this, 6, undefined);
|
1673
1739
|
};
|
1674
1740
|
|
@@ -1677,16 +1743,16 @@ proto.user.RegistrationRequest.prototype.clearLastName = function() {
|
|
1677
1743
|
* Returns whether this field is set.
|
1678
1744
|
* @return {boolean}
|
1679
1745
|
*/
|
1680
|
-
proto.user.RegistrationRequest.prototype.
|
1746
|
+
proto.user.RegistrationRequest.prototype.hasTimezone = function() {
|
1681
1747
|
return jspb.Message.getField(this, 6) != null;
|
1682
1748
|
};
|
1683
1749
|
|
1684
1750
|
|
1685
1751
|
/**
|
1686
|
-
* optional string
|
1752
|
+
* optional string first_name = 7;
|
1687
1753
|
* @return {string}
|
1688
1754
|
*/
|
1689
|
-
proto.user.RegistrationRequest.prototype.
|
1755
|
+
proto.user.RegistrationRequest.prototype.getFirstName = function() {
|
1690
1756
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
1691
1757
|
};
|
1692
1758
|
|
@@ -1695,7 +1761,7 @@ proto.user.RegistrationRequest.prototype.getBirthday = function() {
|
|
1695
1761
|
* @param {string} value
|
1696
1762
|
* @return {!proto.user.RegistrationRequest} returns this
|
1697
1763
|
*/
|
1698
|
-
proto.user.RegistrationRequest.prototype.
|
1764
|
+
proto.user.RegistrationRequest.prototype.setFirstName = function(value) {
|
1699
1765
|
return jspb.Message.setField(this, 7, value);
|
1700
1766
|
};
|
1701
1767
|
|
@@ -1704,7 +1770,7 @@ proto.user.RegistrationRequest.prototype.setBirthday = function(value) {
|
|
1704
1770
|
* Clears the field making it undefined.
|
1705
1771
|
* @return {!proto.user.RegistrationRequest} returns this
|
1706
1772
|
*/
|
1707
|
-
proto.user.RegistrationRequest.prototype.
|
1773
|
+
proto.user.RegistrationRequest.prototype.clearFirstName = function() {
|
1708
1774
|
return jspb.Message.setField(this, 7, undefined);
|
1709
1775
|
};
|
1710
1776
|
|
@@ -1713,16 +1779,16 @@ proto.user.RegistrationRequest.prototype.clearBirthday = function() {
|
|
1713
1779
|
* Returns whether this field is set.
|
1714
1780
|
* @return {boolean}
|
1715
1781
|
*/
|
1716
|
-
proto.user.RegistrationRequest.prototype.
|
1782
|
+
proto.user.RegistrationRequest.prototype.hasFirstName = function() {
|
1717
1783
|
return jspb.Message.getField(this, 7) != null;
|
1718
1784
|
};
|
1719
1785
|
|
1720
1786
|
|
1721
1787
|
/**
|
1722
|
-
* optional string
|
1788
|
+
* optional string last_name = 8;
|
1723
1789
|
* @return {string}
|
1724
1790
|
*/
|
1725
|
-
proto.user.RegistrationRequest.prototype.
|
1791
|
+
proto.user.RegistrationRequest.prototype.getLastName = function() {
|
1726
1792
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
1727
1793
|
};
|
1728
1794
|
|
@@ -1731,7 +1797,7 @@ proto.user.RegistrationRequest.prototype.getLocale = function() {
|
|
1731
1797
|
* @param {string} value
|
1732
1798
|
* @return {!proto.user.RegistrationRequest} returns this
|
1733
1799
|
*/
|
1734
|
-
proto.user.RegistrationRequest.prototype.
|
1800
|
+
proto.user.RegistrationRequest.prototype.setLastName = function(value) {
|
1735
1801
|
return jspb.Message.setField(this, 8, value);
|
1736
1802
|
};
|
1737
1803
|
|
@@ -1740,7 +1806,7 @@ proto.user.RegistrationRequest.prototype.setLocale = function(value) {
|
|
1740
1806
|
* Clears the field making it undefined.
|
1741
1807
|
* @return {!proto.user.RegistrationRequest} returns this
|
1742
1808
|
*/
|
1743
|
-
proto.user.RegistrationRequest.prototype.
|
1809
|
+
proto.user.RegistrationRequest.prototype.clearLastName = function() {
|
1744
1810
|
return jspb.Message.setField(this, 8, undefined);
|
1745
1811
|
};
|
1746
1812
|
|
@@ -1749,11 +1815,155 @@ proto.user.RegistrationRequest.prototype.clearLocale = function() {
|
|
1749
1815
|
* Returns whether this field is set.
|
1750
1816
|
* @return {boolean}
|
1751
1817
|
*/
|
1752
|
-
proto.user.RegistrationRequest.prototype.
|
1818
|
+
proto.user.RegistrationRequest.prototype.hasLastName = function() {
|
1753
1819
|
return jspb.Message.getField(this, 8) != null;
|
1754
1820
|
};
|
1755
1821
|
|
1756
1822
|
|
1823
|
+
/**
|
1824
|
+
* optional string birthday = 9;
|
1825
|
+
* @return {string}
|
1826
|
+
*/
|
1827
|
+
proto.user.RegistrationRequest.prototype.getBirthday = function() {
|
1828
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1829
|
+
};
|
1830
|
+
|
1831
|
+
|
1832
|
+
/**
|
1833
|
+
* @param {string} value
|
1834
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1835
|
+
*/
|
1836
|
+
proto.user.RegistrationRequest.prototype.setBirthday = function(value) {
|
1837
|
+
return jspb.Message.setField(this, 9, value);
|
1838
|
+
};
|
1839
|
+
|
1840
|
+
|
1841
|
+
/**
|
1842
|
+
* Clears the field making it undefined.
|
1843
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1844
|
+
*/
|
1845
|
+
proto.user.RegistrationRequest.prototype.clearBirthday = function() {
|
1846
|
+
return jspb.Message.setField(this, 9, undefined);
|
1847
|
+
};
|
1848
|
+
|
1849
|
+
|
1850
|
+
/**
|
1851
|
+
* Returns whether this field is set.
|
1852
|
+
* @return {boolean}
|
1853
|
+
*/
|
1854
|
+
proto.user.RegistrationRequest.prototype.hasBirthday = function() {
|
1855
|
+
return jspb.Message.getField(this, 9) != null;
|
1856
|
+
};
|
1857
|
+
|
1858
|
+
|
1859
|
+
/**
|
1860
|
+
* optional string locale = 10;
|
1861
|
+
* @return {string}
|
1862
|
+
*/
|
1863
|
+
proto.user.RegistrationRequest.prototype.getLocale = function() {
|
1864
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
1865
|
+
};
|
1866
|
+
|
1867
|
+
|
1868
|
+
/**
|
1869
|
+
* @param {string} value
|
1870
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1871
|
+
*/
|
1872
|
+
proto.user.RegistrationRequest.prototype.setLocale = function(value) {
|
1873
|
+
return jspb.Message.setField(this, 10, value);
|
1874
|
+
};
|
1875
|
+
|
1876
|
+
|
1877
|
+
/**
|
1878
|
+
* Clears the field making it undefined.
|
1879
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1880
|
+
*/
|
1881
|
+
proto.user.RegistrationRequest.prototype.clearLocale = function() {
|
1882
|
+
return jspb.Message.setField(this, 10, undefined);
|
1883
|
+
};
|
1884
|
+
|
1885
|
+
|
1886
|
+
/**
|
1887
|
+
* Returns whether this field is set.
|
1888
|
+
* @return {boolean}
|
1889
|
+
*/
|
1890
|
+
proto.user.RegistrationRequest.prototype.hasLocale = function() {
|
1891
|
+
return jspb.Message.getField(this, 10) != null;
|
1892
|
+
};
|
1893
|
+
|
1894
|
+
|
1895
|
+
/**
|
1896
|
+
* optional bool email_subscription = 11;
|
1897
|
+
* @return {boolean}
|
1898
|
+
*/
|
1899
|
+
proto.user.RegistrationRequest.prototype.getEmailSubscription = function() {
|
1900
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
1901
|
+
};
|
1902
|
+
|
1903
|
+
|
1904
|
+
/**
|
1905
|
+
* @param {boolean} value
|
1906
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1907
|
+
*/
|
1908
|
+
proto.user.RegistrationRequest.prototype.setEmailSubscription = function(value) {
|
1909
|
+
return jspb.Message.setField(this, 11, value);
|
1910
|
+
};
|
1911
|
+
|
1912
|
+
|
1913
|
+
/**
|
1914
|
+
* Clears the field making it undefined.
|
1915
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1916
|
+
*/
|
1917
|
+
proto.user.RegistrationRequest.prototype.clearEmailSubscription = function() {
|
1918
|
+
return jspb.Message.setField(this, 11, undefined);
|
1919
|
+
};
|
1920
|
+
|
1921
|
+
|
1922
|
+
/**
|
1923
|
+
* Returns whether this field is set.
|
1924
|
+
* @return {boolean}
|
1925
|
+
*/
|
1926
|
+
proto.user.RegistrationRequest.prototype.hasEmailSubscription = function() {
|
1927
|
+
return jspb.Message.getField(this, 11) != null;
|
1928
|
+
};
|
1929
|
+
|
1930
|
+
|
1931
|
+
/**
|
1932
|
+
* optional int32 affiliate_id = 12;
|
1933
|
+
* @return {number}
|
1934
|
+
*/
|
1935
|
+
proto.user.RegistrationRequest.prototype.getAffiliateId = function() {
|
1936
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
1937
|
+
};
|
1938
|
+
|
1939
|
+
|
1940
|
+
/**
|
1941
|
+
* @param {number} value
|
1942
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1943
|
+
*/
|
1944
|
+
proto.user.RegistrationRequest.prototype.setAffiliateId = function(value) {
|
1945
|
+
return jspb.Message.setField(this, 12, value);
|
1946
|
+
};
|
1947
|
+
|
1948
|
+
|
1949
|
+
/**
|
1950
|
+
* Clears the field making it undefined.
|
1951
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1952
|
+
*/
|
1953
|
+
proto.user.RegistrationRequest.prototype.clearAffiliateId = function() {
|
1954
|
+
return jspb.Message.setField(this, 12, undefined);
|
1955
|
+
};
|
1956
|
+
|
1957
|
+
|
1958
|
+
/**
|
1959
|
+
* Returns whether this field is set.
|
1960
|
+
* @return {boolean}
|
1961
|
+
*/
|
1962
|
+
proto.user.RegistrationRequest.prototype.hasAffiliateId = function() {
|
1963
|
+
return jspb.Message.getField(this, 12) != null;
|
1964
|
+
};
|
1965
|
+
|
1966
|
+
|
1757
1967
|
|
1758
1968
|
|
1759
1969
|
|