protobuf-platform 1.0.127 → 1.0.129
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/user/user.proto +10 -5
- package/user/user_pb.js +288 -30
package/package.json
CHANGED
package/user/user.proto
CHANGED
@@ -45,11 +45,16 @@ 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;
|
57
|
+
optional string promo_code = 13;
|
53
58
|
}
|
54
59
|
message LoggedInResponse {
|
55
60
|
int32 id = 1;
|
package/user/user_pb.js
CHANGED
@@ -1378,10 +1378,15 @@ 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),
|
1389
|
+
promoCode: jspb.Message.getFieldWithDefault(msg, 13, "")
|
1385
1390
|
};
|
1386
1391
|
|
1387
1392
|
if (includeInstance) {
|
@@ -1436,20 +1441,40 @@ proto.user.RegistrationRequest.deserializeBinaryFromReader = function(msg, reade
|
|
1436
1441
|
break;
|
1437
1442
|
case 5:
|
1438
1443
|
var value = /** @type {string} */ (reader.readString());
|
1439
|
-
msg.
|
1444
|
+
msg.setCity(value);
|
1440
1445
|
break;
|
1441
1446
|
case 6:
|
1442
1447
|
var value = /** @type {string} */ (reader.readString());
|
1443
|
-
msg.
|
1448
|
+
msg.setTimezone(value);
|
1444
1449
|
break;
|
1445
1450
|
case 7:
|
1446
1451
|
var value = /** @type {string} */ (reader.readString());
|
1447
|
-
msg.
|
1452
|
+
msg.setFirstName(value);
|
1448
1453
|
break;
|
1449
1454
|
case 8:
|
1455
|
+
var value = /** @type {string} */ (reader.readString());
|
1456
|
+
msg.setLastName(value);
|
1457
|
+
break;
|
1458
|
+
case 9:
|
1459
|
+
var value = /** @type {string} */ (reader.readString());
|
1460
|
+
msg.setBirthday(value);
|
1461
|
+
break;
|
1462
|
+
case 10:
|
1450
1463
|
var value = /** @type {string} */ (reader.readString());
|
1451
1464
|
msg.setLocale(value);
|
1452
1465
|
break;
|
1466
|
+
case 11:
|
1467
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
1468
|
+
msg.setEmailSubscription(value);
|
1469
|
+
break;
|
1470
|
+
case 12:
|
1471
|
+
var value = /** @type {number} */ (reader.readInt32());
|
1472
|
+
msg.setAffiliateId(value);
|
1473
|
+
break;
|
1474
|
+
case 13:
|
1475
|
+
var value = /** @type {string} */ (reader.readString());
|
1476
|
+
msg.setPromoCode(value);
|
1477
|
+
break;
|
1453
1478
|
default:
|
1454
1479
|
reader.skipField();
|
1455
1480
|
break;
|
@@ -1500,8 +1525,8 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
1500
1525
|
f
|
1501
1526
|
);
|
1502
1527
|
}
|
1503
|
-
f =
|
1504
|
-
if (f
|
1528
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
1529
|
+
if (f != null) {
|
1505
1530
|
writer.writeString(
|
1506
1531
|
4,
|
1507
1532
|
f
|
@@ -1535,6 +1560,41 @@ proto.user.RegistrationRequest.serializeBinaryToWriter = function(message, write
|
|
1535
1560
|
f
|
1536
1561
|
);
|
1537
1562
|
}
|
1563
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 9));
|
1564
|
+
if (f != null) {
|
1565
|
+
writer.writeString(
|
1566
|
+
9,
|
1567
|
+
f
|
1568
|
+
);
|
1569
|
+
}
|
1570
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 10));
|
1571
|
+
if (f != null) {
|
1572
|
+
writer.writeString(
|
1573
|
+
10,
|
1574
|
+
f
|
1575
|
+
);
|
1576
|
+
}
|
1577
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 11));
|
1578
|
+
if (f != null) {
|
1579
|
+
writer.writeBool(
|
1580
|
+
11,
|
1581
|
+
f
|
1582
|
+
);
|
1583
|
+
}
|
1584
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
1585
|
+
if (f != null) {
|
1586
|
+
writer.writeInt32(
|
1587
|
+
12,
|
1588
|
+
f
|
1589
|
+
);
|
1590
|
+
}
|
1591
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 13));
|
1592
|
+
if (f != null) {
|
1593
|
+
writer.writeString(
|
1594
|
+
13,
|
1595
|
+
f
|
1596
|
+
);
|
1597
|
+
}
|
1538
1598
|
};
|
1539
1599
|
|
1540
1600
|
|
@@ -1606,15 +1666,33 @@ proto.user.RegistrationRequest.prototype.getCountry = function() {
|
|
1606
1666
|
* @return {!proto.user.RegistrationRequest} returns this
|
1607
1667
|
*/
|
1608
1668
|
proto.user.RegistrationRequest.prototype.setCountry = function(value) {
|
1609
|
-
return jspb.Message.
|
1669
|
+
return jspb.Message.setField(this, 4, value);
|
1670
|
+
};
|
1671
|
+
|
1672
|
+
|
1673
|
+
/**
|
1674
|
+
* Clears the field making it undefined.
|
1675
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1676
|
+
*/
|
1677
|
+
proto.user.RegistrationRequest.prototype.clearCountry = function() {
|
1678
|
+
return jspb.Message.setField(this, 4, undefined);
|
1610
1679
|
};
|
1611
1680
|
|
1612
1681
|
|
1613
1682
|
/**
|
1614
|
-
*
|
1683
|
+
* Returns whether this field is set.
|
1684
|
+
* @return {boolean}
|
1685
|
+
*/
|
1686
|
+
proto.user.RegistrationRequest.prototype.hasCountry = function() {
|
1687
|
+
return jspb.Message.getField(this, 4) != null;
|
1688
|
+
};
|
1689
|
+
|
1690
|
+
|
1691
|
+
/**
|
1692
|
+
* optional string city = 5;
|
1615
1693
|
* @return {string}
|
1616
1694
|
*/
|
1617
|
-
proto.user.RegistrationRequest.prototype.
|
1695
|
+
proto.user.RegistrationRequest.prototype.getCity = function() {
|
1618
1696
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
1619
1697
|
};
|
1620
1698
|
|
@@ -1623,7 +1701,7 @@ proto.user.RegistrationRequest.prototype.getFirstName = function() {
|
|
1623
1701
|
* @param {string} value
|
1624
1702
|
* @return {!proto.user.RegistrationRequest} returns this
|
1625
1703
|
*/
|
1626
|
-
proto.user.RegistrationRequest.prototype.
|
1704
|
+
proto.user.RegistrationRequest.prototype.setCity = function(value) {
|
1627
1705
|
return jspb.Message.setField(this, 5, value);
|
1628
1706
|
};
|
1629
1707
|
|
@@ -1632,7 +1710,7 @@ proto.user.RegistrationRequest.prototype.setFirstName = function(value) {
|
|
1632
1710
|
* Clears the field making it undefined.
|
1633
1711
|
* @return {!proto.user.RegistrationRequest} returns this
|
1634
1712
|
*/
|
1635
|
-
proto.user.RegistrationRequest.prototype.
|
1713
|
+
proto.user.RegistrationRequest.prototype.clearCity = function() {
|
1636
1714
|
return jspb.Message.setField(this, 5, undefined);
|
1637
1715
|
};
|
1638
1716
|
|
@@ -1641,16 +1719,16 @@ proto.user.RegistrationRequest.prototype.clearFirstName = function() {
|
|
1641
1719
|
* Returns whether this field is set.
|
1642
1720
|
* @return {boolean}
|
1643
1721
|
*/
|
1644
|
-
proto.user.RegistrationRequest.prototype.
|
1722
|
+
proto.user.RegistrationRequest.prototype.hasCity = function() {
|
1645
1723
|
return jspb.Message.getField(this, 5) != null;
|
1646
1724
|
};
|
1647
1725
|
|
1648
1726
|
|
1649
1727
|
/**
|
1650
|
-
* optional string
|
1728
|
+
* optional string timezone = 6;
|
1651
1729
|
* @return {string}
|
1652
1730
|
*/
|
1653
|
-
proto.user.RegistrationRequest.prototype.
|
1731
|
+
proto.user.RegistrationRequest.prototype.getTimezone = function() {
|
1654
1732
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
1655
1733
|
};
|
1656
1734
|
|
@@ -1659,7 +1737,7 @@ proto.user.RegistrationRequest.prototype.getLastName = function() {
|
|
1659
1737
|
* @param {string} value
|
1660
1738
|
* @return {!proto.user.RegistrationRequest} returns this
|
1661
1739
|
*/
|
1662
|
-
proto.user.RegistrationRequest.prototype.
|
1740
|
+
proto.user.RegistrationRequest.prototype.setTimezone = function(value) {
|
1663
1741
|
return jspb.Message.setField(this, 6, value);
|
1664
1742
|
};
|
1665
1743
|
|
@@ -1668,7 +1746,7 @@ proto.user.RegistrationRequest.prototype.setLastName = function(value) {
|
|
1668
1746
|
* Clears the field making it undefined.
|
1669
1747
|
* @return {!proto.user.RegistrationRequest} returns this
|
1670
1748
|
*/
|
1671
|
-
proto.user.RegistrationRequest.prototype.
|
1749
|
+
proto.user.RegistrationRequest.prototype.clearTimezone = function() {
|
1672
1750
|
return jspb.Message.setField(this, 6, undefined);
|
1673
1751
|
};
|
1674
1752
|
|
@@ -1677,16 +1755,16 @@ proto.user.RegistrationRequest.prototype.clearLastName = function() {
|
|
1677
1755
|
* Returns whether this field is set.
|
1678
1756
|
* @return {boolean}
|
1679
1757
|
*/
|
1680
|
-
proto.user.RegistrationRequest.prototype.
|
1758
|
+
proto.user.RegistrationRequest.prototype.hasTimezone = function() {
|
1681
1759
|
return jspb.Message.getField(this, 6) != null;
|
1682
1760
|
};
|
1683
1761
|
|
1684
1762
|
|
1685
1763
|
/**
|
1686
|
-
* optional string
|
1764
|
+
* optional string first_name = 7;
|
1687
1765
|
* @return {string}
|
1688
1766
|
*/
|
1689
|
-
proto.user.RegistrationRequest.prototype.
|
1767
|
+
proto.user.RegistrationRequest.prototype.getFirstName = function() {
|
1690
1768
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
1691
1769
|
};
|
1692
1770
|
|
@@ -1695,7 +1773,7 @@ proto.user.RegistrationRequest.prototype.getBirthday = function() {
|
|
1695
1773
|
* @param {string} value
|
1696
1774
|
* @return {!proto.user.RegistrationRequest} returns this
|
1697
1775
|
*/
|
1698
|
-
proto.user.RegistrationRequest.prototype.
|
1776
|
+
proto.user.RegistrationRequest.prototype.setFirstName = function(value) {
|
1699
1777
|
return jspb.Message.setField(this, 7, value);
|
1700
1778
|
};
|
1701
1779
|
|
@@ -1704,7 +1782,7 @@ proto.user.RegistrationRequest.prototype.setBirthday = function(value) {
|
|
1704
1782
|
* Clears the field making it undefined.
|
1705
1783
|
* @return {!proto.user.RegistrationRequest} returns this
|
1706
1784
|
*/
|
1707
|
-
proto.user.RegistrationRequest.prototype.
|
1785
|
+
proto.user.RegistrationRequest.prototype.clearFirstName = function() {
|
1708
1786
|
return jspb.Message.setField(this, 7, undefined);
|
1709
1787
|
};
|
1710
1788
|
|
@@ -1713,16 +1791,16 @@ proto.user.RegistrationRequest.prototype.clearBirthday = function() {
|
|
1713
1791
|
* Returns whether this field is set.
|
1714
1792
|
* @return {boolean}
|
1715
1793
|
*/
|
1716
|
-
proto.user.RegistrationRequest.prototype.
|
1794
|
+
proto.user.RegistrationRequest.prototype.hasFirstName = function() {
|
1717
1795
|
return jspb.Message.getField(this, 7) != null;
|
1718
1796
|
};
|
1719
1797
|
|
1720
1798
|
|
1721
1799
|
/**
|
1722
|
-
* optional string
|
1800
|
+
* optional string last_name = 8;
|
1723
1801
|
* @return {string}
|
1724
1802
|
*/
|
1725
|
-
proto.user.RegistrationRequest.prototype.
|
1803
|
+
proto.user.RegistrationRequest.prototype.getLastName = function() {
|
1726
1804
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
1727
1805
|
};
|
1728
1806
|
|
@@ -1731,7 +1809,7 @@ proto.user.RegistrationRequest.prototype.getLocale = function() {
|
|
1731
1809
|
* @param {string} value
|
1732
1810
|
* @return {!proto.user.RegistrationRequest} returns this
|
1733
1811
|
*/
|
1734
|
-
proto.user.RegistrationRequest.prototype.
|
1812
|
+
proto.user.RegistrationRequest.prototype.setLastName = function(value) {
|
1735
1813
|
return jspb.Message.setField(this, 8, value);
|
1736
1814
|
};
|
1737
1815
|
|
@@ -1740,7 +1818,7 @@ proto.user.RegistrationRequest.prototype.setLocale = function(value) {
|
|
1740
1818
|
* Clears the field making it undefined.
|
1741
1819
|
* @return {!proto.user.RegistrationRequest} returns this
|
1742
1820
|
*/
|
1743
|
-
proto.user.RegistrationRequest.prototype.
|
1821
|
+
proto.user.RegistrationRequest.prototype.clearLastName = function() {
|
1744
1822
|
return jspb.Message.setField(this, 8, undefined);
|
1745
1823
|
};
|
1746
1824
|
|
@@ -1749,11 +1827,191 @@ proto.user.RegistrationRequest.prototype.clearLocale = function() {
|
|
1749
1827
|
* Returns whether this field is set.
|
1750
1828
|
* @return {boolean}
|
1751
1829
|
*/
|
1752
|
-
proto.user.RegistrationRequest.prototype.
|
1830
|
+
proto.user.RegistrationRequest.prototype.hasLastName = function() {
|
1753
1831
|
return jspb.Message.getField(this, 8) != null;
|
1754
1832
|
};
|
1755
1833
|
|
1756
1834
|
|
1835
|
+
/**
|
1836
|
+
* optional string birthday = 9;
|
1837
|
+
* @return {string}
|
1838
|
+
*/
|
1839
|
+
proto.user.RegistrationRequest.prototype.getBirthday = function() {
|
1840
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
1841
|
+
};
|
1842
|
+
|
1843
|
+
|
1844
|
+
/**
|
1845
|
+
* @param {string} value
|
1846
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1847
|
+
*/
|
1848
|
+
proto.user.RegistrationRequest.prototype.setBirthday = function(value) {
|
1849
|
+
return jspb.Message.setField(this, 9, value);
|
1850
|
+
};
|
1851
|
+
|
1852
|
+
|
1853
|
+
/**
|
1854
|
+
* Clears the field making it undefined.
|
1855
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1856
|
+
*/
|
1857
|
+
proto.user.RegistrationRequest.prototype.clearBirthday = function() {
|
1858
|
+
return jspb.Message.setField(this, 9, undefined);
|
1859
|
+
};
|
1860
|
+
|
1861
|
+
|
1862
|
+
/**
|
1863
|
+
* Returns whether this field is set.
|
1864
|
+
* @return {boolean}
|
1865
|
+
*/
|
1866
|
+
proto.user.RegistrationRequest.prototype.hasBirthday = function() {
|
1867
|
+
return jspb.Message.getField(this, 9) != null;
|
1868
|
+
};
|
1869
|
+
|
1870
|
+
|
1871
|
+
/**
|
1872
|
+
* optional string locale = 10;
|
1873
|
+
* @return {string}
|
1874
|
+
*/
|
1875
|
+
proto.user.RegistrationRequest.prototype.getLocale = function() {
|
1876
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
1877
|
+
};
|
1878
|
+
|
1879
|
+
|
1880
|
+
/**
|
1881
|
+
* @param {string} value
|
1882
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1883
|
+
*/
|
1884
|
+
proto.user.RegistrationRequest.prototype.setLocale = function(value) {
|
1885
|
+
return jspb.Message.setField(this, 10, value);
|
1886
|
+
};
|
1887
|
+
|
1888
|
+
|
1889
|
+
/**
|
1890
|
+
* Clears the field making it undefined.
|
1891
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1892
|
+
*/
|
1893
|
+
proto.user.RegistrationRequest.prototype.clearLocale = function() {
|
1894
|
+
return jspb.Message.setField(this, 10, undefined);
|
1895
|
+
};
|
1896
|
+
|
1897
|
+
|
1898
|
+
/**
|
1899
|
+
* Returns whether this field is set.
|
1900
|
+
* @return {boolean}
|
1901
|
+
*/
|
1902
|
+
proto.user.RegistrationRequest.prototype.hasLocale = function() {
|
1903
|
+
return jspb.Message.getField(this, 10) != null;
|
1904
|
+
};
|
1905
|
+
|
1906
|
+
|
1907
|
+
/**
|
1908
|
+
* optional bool email_subscription = 11;
|
1909
|
+
* @return {boolean}
|
1910
|
+
*/
|
1911
|
+
proto.user.RegistrationRequest.prototype.getEmailSubscription = function() {
|
1912
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
1913
|
+
};
|
1914
|
+
|
1915
|
+
|
1916
|
+
/**
|
1917
|
+
* @param {boolean} value
|
1918
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1919
|
+
*/
|
1920
|
+
proto.user.RegistrationRequest.prototype.setEmailSubscription = function(value) {
|
1921
|
+
return jspb.Message.setField(this, 11, value);
|
1922
|
+
};
|
1923
|
+
|
1924
|
+
|
1925
|
+
/**
|
1926
|
+
* Clears the field making it undefined.
|
1927
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1928
|
+
*/
|
1929
|
+
proto.user.RegistrationRequest.prototype.clearEmailSubscription = function() {
|
1930
|
+
return jspb.Message.setField(this, 11, undefined);
|
1931
|
+
};
|
1932
|
+
|
1933
|
+
|
1934
|
+
/**
|
1935
|
+
* Returns whether this field is set.
|
1936
|
+
* @return {boolean}
|
1937
|
+
*/
|
1938
|
+
proto.user.RegistrationRequest.prototype.hasEmailSubscription = function() {
|
1939
|
+
return jspb.Message.getField(this, 11) != null;
|
1940
|
+
};
|
1941
|
+
|
1942
|
+
|
1943
|
+
/**
|
1944
|
+
* optional int32 affiliate_id = 12;
|
1945
|
+
* @return {number}
|
1946
|
+
*/
|
1947
|
+
proto.user.RegistrationRequest.prototype.getAffiliateId = function() {
|
1948
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
1949
|
+
};
|
1950
|
+
|
1951
|
+
|
1952
|
+
/**
|
1953
|
+
* @param {number} value
|
1954
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1955
|
+
*/
|
1956
|
+
proto.user.RegistrationRequest.prototype.setAffiliateId = function(value) {
|
1957
|
+
return jspb.Message.setField(this, 12, value);
|
1958
|
+
};
|
1959
|
+
|
1960
|
+
|
1961
|
+
/**
|
1962
|
+
* Clears the field making it undefined.
|
1963
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1964
|
+
*/
|
1965
|
+
proto.user.RegistrationRequest.prototype.clearAffiliateId = function() {
|
1966
|
+
return jspb.Message.setField(this, 12, undefined);
|
1967
|
+
};
|
1968
|
+
|
1969
|
+
|
1970
|
+
/**
|
1971
|
+
* Returns whether this field is set.
|
1972
|
+
* @return {boolean}
|
1973
|
+
*/
|
1974
|
+
proto.user.RegistrationRequest.prototype.hasAffiliateId = function() {
|
1975
|
+
return jspb.Message.getField(this, 12) != null;
|
1976
|
+
};
|
1977
|
+
|
1978
|
+
|
1979
|
+
/**
|
1980
|
+
* optional string promo_code = 13;
|
1981
|
+
* @return {string}
|
1982
|
+
*/
|
1983
|
+
proto.user.RegistrationRequest.prototype.getPromoCode = function() {
|
1984
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
1985
|
+
};
|
1986
|
+
|
1987
|
+
|
1988
|
+
/**
|
1989
|
+
* @param {string} value
|
1990
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
1991
|
+
*/
|
1992
|
+
proto.user.RegistrationRequest.prototype.setPromoCode = function(value) {
|
1993
|
+
return jspb.Message.setField(this, 13, value);
|
1994
|
+
};
|
1995
|
+
|
1996
|
+
|
1997
|
+
/**
|
1998
|
+
* Clears the field making it undefined.
|
1999
|
+
* @return {!proto.user.RegistrationRequest} returns this
|
2000
|
+
*/
|
2001
|
+
proto.user.RegistrationRequest.prototype.clearPromoCode = function() {
|
2002
|
+
return jspb.Message.setField(this, 13, undefined);
|
2003
|
+
};
|
2004
|
+
|
2005
|
+
|
2006
|
+
/**
|
2007
|
+
* Returns whether this field is set.
|
2008
|
+
* @return {boolean}
|
2009
|
+
*/
|
2010
|
+
proto.user.RegistrationRequest.prototype.hasPromoCode = function() {
|
2011
|
+
return jspb.Message.getField(this, 13) != null;
|
2012
|
+
};
|
2013
|
+
|
2014
|
+
|
1757
2015
|
|
1758
2016
|
|
1759
2017
|
|