protobuf-platform 1.2.42 → 1.2.44
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/analytic/analytic.proto +7 -4
- package/analytic/analytic_pb.js +174 -30
- package/cms/cms.proto +7 -4
- package/cms/cms_pb.js +188 -36
- package/package.json +1 -1
package/analytic/analytic.proto
CHANGED
|
@@ -38,10 +38,13 @@ message DashboardResponse {
|
|
|
38
38
|
optional int32 login_count = 3;
|
|
39
39
|
optional int32 ftd_count = 4;
|
|
40
40
|
optional float ftd_sum = 5;
|
|
41
|
-
optional
|
|
42
|
-
optional
|
|
43
|
-
optional
|
|
44
|
-
optional float
|
|
41
|
+
optional float ftd_avg = 6;
|
|
42
|
+
optional int32 redep_count = 7;
|
|
43
|
+
optional float redep_sum = 8;
|
|
44
|
+
optional float redep_avg = 9;
|
|
45
|
+
optional int32 dep_count = 10;
|
|
46
|
+
optional float dep_sum = 11;
|
|
47
|
+
optional float dep_avg = 12;
|
|
45
48
|
}
|
|
46
49
|
//Global
|
|
47
50
|
message GlobalCasinoItem {
|
package/analytic/analytic_pb.js
CHANGED
|
@@ -1355,10 +1355,13 @@ proto.analytic.DashboardResponse.toObject = function(includeInstance, msg) {
|
|
|
1355
1355
|
loginCount: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
1356
1356
|
ftdCount: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1357
1357
|
ftdSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1358
|
+
ftdAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0),
|
|
1359
|
+
redepCount: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
1360
|
+
redepSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
1361
|
+
redepAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 9, 0.0),
|
|
1362
|
+
depCount: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
1363
|
+
depSum: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0),
|
|
1364
|
+
depAvg: jspb.Message.getFloatingPointFieldWithDefault(msg, 12, 0.0)
|
|
1362
1365
|
};
|
|
1363
1366
|
|
|
1364
1367
|
if (includeInstance) {
|
|
@@ -1416,21 +1419,33 @@ proto.analytic.DashboardResponse.deserializeBinaryFromReader = function(msg, rea
|
|
|
1416
1419
|
msg.setFtdSum(value);
|
|
1417
1420
|
break;
|
|
1418
1421
|
case 6:
|
|
1422
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1423
|
+
msg.setFtdAvg(value);
|
|
1424
|
+
break;
|
|
1425
|
+
case 7:
|
|
1419
1426
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1420
1427
|
msg.setRedepCount(value);
|
|
1421
1428
|
break;
|
|
1422
|
-
case
|
|
1429
|
+
case 8:
|
|
1423
1430
|
var value = /** @type {number} */ (reader.readFloat());
|
|
1424
1431
|
msg.setRedepSum(value);
|
|
1425
1432
|
break;
|
|
1426
|
-
case
|
|
1433
|
+
case 9:
|
|
1434
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1435
|
+
msg.setRedepAvg(value);
|
|
1436
|
+
break;
|
|
1437
|
+
case 10:
|
|
1427
1438
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1428
1439
|
msg.setDepCount(value);
|
|
1429
1440
|
break;
|
|
1430
|
-
case
|
|
1441
|
+
case 11:
|
|
1431
1442
|
var value = /** @type {number} */ (reader.readFloat());
|
|
1432
1443
|
msg.setDepSum(value);
|
|
1433
1444
|
break;
|
|
1445
|
+
case 12:
|
|
1446
|
+
var value = /** @type {number} */ (reader.readFloat());
|
|
1447
|
+
msg.setDepAvg(value);
|
|
1448
|
+
break;
|
|
1434
1449
|
default:
|
|
1435
1450
|
reader.skipField();
|
|
1436
1451
|
break;
|
|
@@ -1497,21 +1512,21 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1497
1512
|
}
|
|
1498
1513
|
f = /** @type {number} */ (jspb.Message.getField(message, 6));
|
|
1499
1514
|
if (f != null) {
|
|
1500
|
-
writer.
|
|
1515
|
+
writer.writeFloat(
|
|
1501
1516
|
6,
|
|
1502
1517
|
f
|
|
1503
1518
|
);
|
|
1504
1519
|
}
|
|
1505
1520
|
f = /** @type {number} */ (jspb.Message.getField(message, 7));
|
|
1506
1521
|
if (f != null) {
|
|
1507
|
-
writer.
|
|
1522
|
+
writer.writeInt32(
|
|
1508
1523
|
7,
|
|
1509
1524
|
f
|
|
1510
1525
|
);
|
|
1511
1526
|
}
|
|
1512
1527
|
f = /** @type {number} */ (jspb.Message.getField(message, 8));
|
|
1513
1528
|
if (f != null) {
|
|
1514
|
-
writer.
|
|
1529
|
+
writer.writeFloat(
|
|
1515
1530
|
8,
|
|
1516
1531
|
f
|
|
1517
1532
|
);
|
|
@@ -1523,6 +1538,27 @@ proto.analytic.DashboardResponse.serializeBinaryToWriter = function(message, wri
|
|
|
1523
1538
|
f
|
|
1524
1539
|
);
|
|
1525
1540
|
}
|
|
1541
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 10));
|
|
1542
|
+
if (f != null) {
|
|
1543
|
+
writer.writeInt32(
|
|
1544
|
+
10,
|
|
1545
|
+
f
|
|
1546
|
+
);
|
|
1547
|
+
}
|
|
1548
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 11));
|
|
1549
|
+
if (f != null) {
|
|
1550
|
+
writer.writeFloat(
|
|
1551
|
+
11,
|
|
1552
|
+
f
|
|
1553
|
+
);
|
|
1554
|
+
}
|
|
1555
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 12));
|
|
1556
|
+
if (f != null) {
|
|
1557
|
+
writer.writeFloat(
|
|
1558
|
+
12,
|
|
1559
|
+
f
|
|
1560
|
+
);
|
|
1561
|
+
}
|
|
1526
1562
|
};
|
|
1527
1563
|
|
|
1528
1564
|
|
|
@@ -1707,11 +1743,47 @@ proto.analytic.DashboardResponse.prototype.hasFtdSum = function() {
|
|
|
1707
1743
|
|
|
1708
1744
|
|
|
1709
1745
|
/**
|
|
1710
|
-
* optional
|
|
1746
|
+
* optional float ftd_avg = 6;
|
|
1747
|
+
* @return {number}
|
|
1748
|
+
*/
|
|
1749
|
+
proto.analytic.DashboardResponse.prototype.getFtdAvg = function() {
|
|
1750
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
1751
|
+
};
|
|
1752
|
+
|
|
1753
|
+
|
|
1754
|
+
/**
|
|
1755
|
+
* @param {number} value
|
|
1756
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1757
|
+
*/
|
|
1758
|
+
proto.analytic.DashboardResponse.prototype.setFtdAvg = function(value) {
|
|
1759
|
+
return jspb.Message.setField(this, 6, value);
|
|
1760
|
+
};
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
|
+
/**
|
|
1764
|
+
* Clears the field making it undefined.
|
|
1765
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1766
|
+
*/
|
|
1767
|
+
proto.analytic.DashboardResponse.prototype.clearFtdAvg = function() {
|
|
1768
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1769
|
+
};
|
|
1770
|
+
|
|
1771
|
+
|
|
1772
|
+
/**
|
|
1773
|
+
* Returns whether this field is set.
|
|
1774
|
+
* @return {boolean}
|
|
1775
|
+
*/
|
|
1776
|
+
proto.analytic.DashboardResponse.prototype.hasFtdAvg = function() {
|
|
1777
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1778
|
+
};
|
|
1779
|
+
|
|
1780
|
+
|
|
1781
|
+
/**
|
|
1782
|
+
* optional int32 redep_count = 7;
|
|
1711
1783
|
* @return {number}
|
|
1712
1784
|
*/
|
|
1713
1785
|
proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
|
|
1714
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1786
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1715
1787
|
};
|
|
1716
1788
|
|
|
1717
1789
|
|
|
@@ -1720,7 +1792,7 @@ proto.analytic.DashboardResponse.prototype.getRedepCount = function() {
|
|
|
1720
1792
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1721
1793
|
*/
|
|
1722
1794
|
proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
|
|
1723
|
-
return jspb.Message.setField(this,
|
|
1795
|
+
return jspb.Message.setField(this, 7, value);
|
|
1724
1796
|
};
|
|
1725
1797
|
|
|
1726
1798
|
|
|
@@ -1729,7 +1801,7 @@ proto.analytic.DashboardResponse.prototype.setRedepCount = function(value) {
|
|
|
1729
1801
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1730
1802
|
*/
|
|
1731
1803
|
proto.analytic.DashboardResponse.prototype.clearRedepCount = function() {
|
|
1732
|
-
return jspb.Message.setField(this,
|
|
1804
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1733
1805
|
};
|
|
1734
1806
|
|
|
1735
1807
|
|
|
@@ -1738,16 +1810,16 @@ proto.analytic.DashboardResponse.prototype.clearRedepCount = function() {
|
|
|
1738
1810
|
* @return {boolean}
|
|
1739
1811
|
*/
|
|
1740
1812
|
proto.analytic.DashboardResponse.prototype.hasRedepCount = function() {
|
|
1741
|
-
return jspb.Message.getField(this,
|
|
1813
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1742
1814
|
};
|
|
1743
1815
|
|
|
1744
1816
|
|
|
1745
1817
|
/**
|
|
1746
|
-
* optional float redep_sum =
|
|
1818
|
+
* optional float redep_sum = 8;
|
|
1747
1819
|
* @return {number}
|
|
1748
1820
|
*/
|
|
1749
1821
|
proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
|
|
1750
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
1822
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
|
|
1751
1823
|
};
|
|
1752
1824
|
|
|
1753
1825
|
|
|
@@ -1756,7 +1828,7 @@ proto.analytic.DashboardResponse.prototype.getRedepSum = function() {
|
|
|
1756
1828
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1757
1829
|
*/
|
|
1758
1830
|
proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
|
|
1759
|
-
return jspb.Message.setField(this,
|
|
1831
|
+
return jspb.Message.setField(this, 8, value);
|
|
1760
1832
|
};
|
|
1761
1833
|
|
|
1762
1834
|
|
|
@@ -1765,7 +1837,7 @@ proto.analytic.DashboardResponse.prototype.setRedepSum = function(value) {
|
|
|
1765
1837
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1766
1838
|
*/
|
|
1767
1839
|
proto.analytic.DashboardResponse.prototype.clearRedepSum = function() {
|
|
1768
|
-
return jspb.Message.setField(this,
|
|
1840
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1769
1841
|
};
|
|
1770
1842
|
|
|
1771
1843
|
|
|
@@ -1774,16 +1846,52 @@ proto.analytic.DashboardResponse.prototype.clearRedepSum = function() {
|
|
|
1774
1846
|
* @return {boolean}
|
|
1775
1847
|
*/
|
|
1776
1848
|
proto.analytic.DashboardResponse.prototype.hasRedepSum = function() {
|
|
1777
|
-
return jspb.Message.getField(this,
|
|
1849
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1850
|
+
};
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
/**
|
|
1854
|
+
* optional float redep_avg = 9;
|
|
1855
|
+
* @return {number}
|
|
1856
|
+
*/
|
|
1857
|
+
proto.analytic.DashboardResponse.prototype.getRedepAvg = function() {
|
|
1858
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 9, 0.0));
|
|
1859
|
+
};
|
|
1860
|
+
|
|
1861
|
+
|
|
1862
|
+
/**
|
|
1863
|
+
* @param {number} value
|
|
1864
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1865
|
+
*/
|
|
1866
|
+
proto.analytic.DashboardResponse.prototype.setRedepAvg = function(value) {
|
|
1867
|
+
return jspb.Message.setField(this, 9, value);
|
|
1868
|
+
};
|
|
1869
|
+
|
|
1870
|
+
|
|
1871
|
+
/**
|
|
1872
|
+
* Clears the field making it undefined.
|
|
1873
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1874
|
+
*/
|
|
1875
|
+
proto.analytic.DashboardResponse.prototype.clearRedepAvg = function() {
|
|
1876
|
+
return jspb.Message.setField(this, 9, undefined);
|
|
1877
|
+
};
|
|
1878
|
+
|
|
1879
|
+
|
|
1880
|
+
/**
|
|
1881
|
+
* Returns whether this field is set.
|
|
1882
|
+
* @return {boolean}
|
|
1883
|
+
*/
|
|
1884
|
+
proto.analytic.DashboardResponse.prototype.hasRedepAvg = function() {
|
|
1885
|
+
return jspb.Message.getField(this, 9) != null;
|
|
1778
1886
|
};
|
|
1779
1887
|
|
|
1780
1888
|
|
|
1781
1889
|
/**
|
|
1782
|
-
* optional int32 dep_count =
|
|
1890
|
+
* optional int32 dep_count = 10;
|
|
1783
1891
|
* @return {number}
|
|
1784
1892
|
*/
|
|
1785
1893
|
proto.analytic.DashboardResponse.prototype.getDepCount = function() {
|
|
1786
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1894
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1787
1895
|
};
|
|
1788
1896
|
|
|
1789
1897
|
|
|
@@ -1792,7 +1900,7 @@ proto.analytic.DashboardResponse.prototype.getDepCount = function() {
|
|
|
1792
1900
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1793
1901
|
*/
|
|
1794
1902
|
proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
|
|
1795
|
-
return jspb.Message.setField(this,
|
|
1903
|
+
return jspb.Message.setField(this, 10, value);
|
|
1796
1904
|
};
|
|
1797
1905
|
|
|
1798
1906
|
|
|
@@ -1801,7 +1909,7 @@ proto.analytic.DashboardResponse.prototype.setDepCount = function(value) {
|
|
|
1801
1909
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1802
1910
|
*/
|
|
1803
1911
|
proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
|
|
1804
|
-
return jspb.Message.setField(this,
|
|
1912
|
+
return jspb.Message.setField(this, 10, undefined);
|
|
1805
1913
|
};
|
|
1806
1914
|
|
|
1807
1915
|
|
|
@@ -1810,16 +1918,16 @@ proto.analytic.DashboardResponse.prototype.clearDepCount = function() {
|
|
|
1810
1918
|
* @return {boolean}
|
|
1811
1919
|
*/
|
|
1812
1920
|
proto.analytic.DashboardResponse.prototype.hasDepCount = function() {
|
|
1813
|
-
return jspb.Message.getField(this,
|
|
1921
|
+
return jspb.Message.getField(this, 10) != null;
|
|
1814
1922
|
};
|
|
1815
1923
|
|
|
1816
1924
|
|
|
1817
1925
|
/**
|
|
1818
|
-
* optional float dep_sum =
|
|
1926
|
+
* optional float dep_sum = 11;
|
|
1819
1927
|
* @return {number}
|
|
1820
1928
|
*/
|
|
1821
1929
|
proto.analytic.DashboardResponse.prototype.getDepSum = function() {
|
|
1822
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this,
|
|
1930
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 11, 0.0));
|
|
1823
1931
|
};
|
|
1824
1932
|
|
|
1825
1933
|
|
|
@@ -1828,7 +1936,7 @@ proto.analytic.DashboardResponse.prototype.getDepSum = function() {
|
|
|
1828
1936
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1829
1937
|
*/
|
|
1830
1938
|
proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
|
|
1831
|
-
return jspb.Message.setField(this,
|
|
1939
|
+
return jspb.Message.setField(this, 11, value);
|
|
1832
1940
|
};
|
|
1833
1941
|
|
|
1834
1942
|
|
|
@@ -1837,7 +1945,7 @@ proto.analytic.DashboardResponse.prototype.setDepSum = function(value) {
|
|
|
1837
1945
|
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1838
1946
|
*/
|
|
1839
1947
|
proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
|
|
1840
|
-
return jspb.Message.setField(this,
|
|
1948
|
+
return jspb.Message.setField(this, 11, undefined);
|
|
1841
1949
|
};
|
|
1842
1950
|
|
|
1843
1951
|
|
|
@@ -1846,7 +1954,43 @@ proto.analytic.DashboardResponse.prototype.clearDepSum = function() {
|
|
|
1846
1954
|
* @return {boolean}
|
|
1847
1955
|
*/
|
|
1848
1956
|
proto.analytic.DashboardResponse.prototype.hasDepSum = function() {
|
|
1849
|
-
return jspb.Message.getField(this,
|
|
1957
|
+
return jspb.Message.getField(this, 11) != null;
|
|
1958
|
+
};
|
|
1959
|
+
|
|
1960
|
+
|
|
1961
|
+
/**
|
|
1962
|
+
* optional float dep_avg = 12;
|
|
1963
|
+
* @return {number}
|
|
1964
|
+
*/
|
|
1965
|
+
proto.analytic.DashboardResponse.prototype.getDepAvg = function() {
|
|
1966
|
+
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 12, 0.0));
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* @param {number} value
|
|
1972
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1973
|
+
*/
|
|
1974
|
+
proto.analytic.DashboardResponse.prototype.setDepAvg = function(value) {
|
|
1975
|
+
return jspb.Message.setField(this, 12, value);
|
|
1976
|
+
};
|
|
1977
|
+
|
|
1978
|
+
|
|
1979
|
+
/**
|
|
1980
|
+
* Clears the field making it undefined.
|
|
1981
|
+
* @return {!proto.analytic.DashboardResponse} returns this
|
|
1982
|
+
*/
|
|
1983
|
+
proto.analytic.DashboardResponse.prototype.clearDepAvg = function() {
|
|
1984
|
+
return jspb.Message.setField(this, 12, undefined);
|
|
1985
|
+
};
|
|
1986
|
+
|
|
1987
|
+
|
|
1988
|
+
/**
|
|
1989
|
+
* Returns whether this field is set.
|
|
1990
|
+
* @return {boolean}
|
|
1991
|
+
*/
|
|
1992
|
+
proto.analytic.DashboardResponse.prototype.hasDepAvg = function() {
|
|
1993
|
+
return jspb.Message.getField(this, 12) != null;
|
|
1850
1994
|
};
|
|
1851
1995
|
|
|
1852
1996
|
|
package/cms/cms.proto
CHANGED
|
@@ -56,10 +56,13 @@ message PongResponse { string pong = 1; }
|
|
|
56
56
|
message PaginationRequest {
|
|
57
57
|
int32 limit = 1;
|
|
58
58
|
int32 offset = 2;
|
|
59
|
-
optional
|
|
60
|
-
optional
|
|
61
|
-
optional
|
|
62
|
-
optional
|
|
59
|
+
optional string order = 3;
|
|
60
|
+
optional int32 is_active = 4;
|
|
61
|
+
optional string geo = 5;
|
|
62
|
+
optional bool admin_side = 6;
|
|
63
|
+
optional string locale = 7;
|
|
64
|
+
optional string title = 8;
|
|
65
|
+
repeated string countries = 9;
|
|
63
66
|
}
|
|
64
67
|
//Media
|
|
65
68
|
message File { bytes media = 1; optional string file_name = 2; optional string file_type = 3; }
|
package/cms/cms_pb.js
CHANGED
|
@@ -131,7 +131,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
131
131
|
* @constructor
|
|
132
132
|
*/
|
|
133
133
|
proto.cms.PaginationRequest = function(opt_data) {
|
|
134
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
134
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PaginationRequest.repeatedFields_, null);
|
|
135
135
|
};
|
|
136
136
|
goog.inherits(proto.cms.PaginationRequest, jspb.Message);
|
|
137
137
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1473,6 +1473,13 @@ proto.cms.PongResponse.prototype.setPong = function(value) {
|
|
|
1473
1473
|
|
|
1474
1474
|
|
|
1475
1475
|
|
|
1476
|
+
/**
|
|
1477
|
+
* List of repeated fields within this message type.
|
|
1478
|
+
* @private {!Array<number>}
|
|
1479
|
+
* @const
|
|
1480
|
+
*/
|
|
1481
|
+
proto.cms.PaginationRequest.repeatedFields_ = [9];
|
|
1482
|
+
|
|
1476
1483
|
|
|
1477
1484
|
|
|
1478
1485
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1506,10 +1513,13 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
1506
1513
|
var f, obj = {
|
|
1507
1514
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1508
1515
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1516
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1517
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1518
|
+
geo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1519
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
1520
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1521
|
+
title: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1522
|
+
countriesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
1513
1523
|
};
|
|
1514
1524
|
|
|
1515
1525
|
if (includeInstance) {
|
|
@@ -1555,21 +1565,33 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1555
1565
|
msg.setOffset(value);
|
|
1556
1566
|
break;
|
|
1557
1567
|
case 3:
|
|
1568
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1569
|
+
msg.setOrder(value);
|
|
1570
|
+
break;
|
|
1571
|
+
case 4:
|
|
1558
1572
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1559
1573
|
msg.setIsActive(value);
|
|
1560
1574
|
break;
|
|
1561
|
-
case
|
|
1575
|
+
case 5:
|
|
1562
1576
|
var value = /** @type {string} */ (reader.readString());
|
|
1563
1577
|
msg.setGeo(value);
|
|
1564
1578
|
break;
|
|
1565
|
-
case
|
|
1579
|
+
case 6:
|
|
1566
1580
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1567
1581
|
msg.setAdminSide(value);
|
|
1568
1582
|
break;
|
|
1569
|
-
case
|
|
1583
|
+
case 7:
|
|
1570
1584
|
var value = /** @type {string} */ (reader.readString());
|
|
1571
1585
|
msg.setLocale(value);
|
|
1572
1586
|
break;
|
|
1587
|
+
case 8:
|
|
1588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1589
|
+
msg.setTitle(value);
|
|
1590
|
+
break;
|
|
1591
|
+
case 9:
|
|
1592
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1593
|
+
msg.addCountries(value);
|
|
1594
|
+
break;
|
|
1573
1595
|
default:
|
|
1574
1596
|
reader.skipField();
|
|
1575
1597
|
break;
|
|
@@ -1613,34 +1635,55 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
1613
1635
|
f
|
|
1614
1636
|
);
|
|
1615
1637
|
}
|
|
1616
|
-
f = /** @type {
|
|
1638
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1617
1639
|
if (f != null) {
|
|
1618
|
-
writer.
|
|
1640
|
+
writer.writeString(
|
|
1619
1641
|
3,
|
|
1620
1642
|
f
|
|
1621
1643
|
);
|
|
1622
1644
|
}
|
|
1623
|
-
f = /** @type {
|
|
1645
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
1624
1646
|
if (f != null) {
|
|
1625
|
-
writer.
|
|
1647
|
+
writer.writeInt32(
|
|
1626
1648
|
4,
|
|
1627
1649
|
f
|
|
1628
1650
|
);
|
|
1629
1651
|
}
|
|
1630
|
-
f = /** @type {
|
|
1652
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
1631
1653
|
if (f != null) {
|
|
1632
|
-
writer.
|
|
1654
|
+
writer.writeString(
|
|
1633
1655
|
5,
|
|
1634
1656
|
f
|
|
1635
1657
|
);
|
|
1636
1658
|
}
|
|
1637
|
-
f = /** @type {
|
|
1659
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
1638
1660
|
if (f != null) {
|
|
1639
|
-
writer.
|
|
1661
|
+
writer.writeBool(
|
|
1640
1662
|
6,
|
|
1641
1663
|
f
|
|
1642
1664
|
);
|
|
1643
1665
|
}
|
|
1666
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
1667
|
+
if (f != null) {
|
|
1668
|
+
writer.writeString(
|
|
1669
|
+
7,
|
|
1670
|
+
f
|
|
1671
|
+
);
|
|
1672
|
+
}
|
|
1673
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
1674
|
+
if (f != null) {
|
|
1675
|
+
writer.writeString(
|
|
1676
|
+
8,
|
|
1677
|
+
f
|
|
1678
|
+
);
|
|
1679
|
+
}
|
|
1680
|
+
f = message.getCountriesList();
|
|
1681
|
+
if (f.length > 0) {
|
|
1682
|
+
writer.writeRepeatedString(
|
|
1683
|
+
9,
|
|
1684
|
+
f
|
|
1685
|
+
);
|
|
1686
|
+
}
|
|
1644
1687
|
};
|
|
1645
1688
|
|
|
1646
1689
|
|
|
@@ -1681,11 +1724,47 @@ proto.cms.PaginationRequest.prototype.setOffset = function(value) {
|
|
|
1681
1724
|
|
|
1682
1725
|
|
|
1683
1726
|
/**
|
|
1684
|
-
* optional
|
|
1727
|
+
* optional string order = 3;
|
|
1728
|
+
* @return {string}
|
|
1729
|
+
*/
|
|
1730
|
+
proto.cms.PaginationRequest.prototype.getOrder = function() {
|
|
1731
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1732
|
+
};
|
|
1733
|
+
|
|
1734
|
+
|
|
1735
|
+
/**
|
|
1736
|
+
* @param {string} value
|
|
1737
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1738
|
+
*/
|
|
1739
|
+
proto.cms.PaginationRequest.prototype.setOrder = function(value) {
|
|
1740
|
+
return jspb.Message.setField(this, 3, value);
|
|
1741
|
+
};
|
|
1742
|
+
|
|
1743
|
+
|
|
1744
|
+
/**
|
|
1745
|
+
* Clears the field making it undefined.
|
|
1746
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1747
|
+
*/
|
|
1748
|
+
proto.cms.PaginationRequest.prototype.clearOrder = function() {
|
|
1749
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1750
|
+
};
|
|
1751
|
+
|
|
1752
|
+
|
|
1753
|
+
/**
|
|
1754
|
+
* Returns whether this field is set.
|
|
1755
|
+
* @return {boolean}
|
|
1756
|
+
*/
|
|
1757
|
+
proto.cms.PaginationRequest.prototype.hasOrder = function() {
|
|
1758
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1759
|
+
};
|
|
1760
|
+
|
|
1761
|
+
|
|
1762
|
+
/**
|
|
1763
|
+
* optional int32 is_active = 4;
|
|
1685
1764
|
* @return {number}
|
|
1686
1765
|
*/
|
|
1687
1766
|
proto.cms.PaginationRequest.prototype.getIsActive = function() {
|
|
1688
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1767
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1689
1768
|
};
|
|
1690
1769
|
|
|
1691
1770
|
|
|
@@ -1694,7 +1773,7 @@ proto.cms.PaginationRequest.prototype.getIsActive = function() {
|
|
|
1694
1773
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1695
1774
|
*/
|
|
1696
1775
|
proto.cms.PaginationRequest.prototype.setIsActive = function(value) {
|
|
1697
|
-
return jspb.Message.setField(this,
|
|
1776
|
+
return jspb.Message.setField(this, 4, value);
|
|
1698
1777
|
};
|
|
1699
1778
|
|
|
1700
1779
|
|
|
@@ -1703,7 +1782,7 @@ proto.cms.PaginationRequest.prototype.setIsActive = function(value) {
|
|
|
1703
1782
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1704
1783
|
*/
|
|
1705
1784
|
proto.cms.PaginationRequest.prototype.clearIsActive = function() {
|
|
1706
|
-
return jspb.Message.setField(this,
|
|
1785
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
1707
1786
|
};
|
|
1708
1787
|
|
|
1709
1788
|
|
|
@@ -1712,16 +1791,16 @@ proto.cms.PaginationRequest.prototype.clearIsActive = function() {
|
|
|
1712
1791
|
* @return {boolean}
|
|
1713
1792
|
*/
|
|
1714
1793
|
proto.cms.PaginationRequest.prototype.hasIsActive = function() {
|
|
1715
|
-
return jspb.Message.getField(this,
|
|
1794
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1716
1795
|
};
|
|
1717
1796
|
|
|
1718
1797
|
|
|
1719
1798
|
/**
|
|
1720
|
-
* optional string geo =
|
|
1799
|
+
* optional string geo = 5;
|
|
1721
1800
|
* @return {string}
|
|
1722
1801
|
*/
|
|
1723
1802
|
proto.cms.PaginationRequest.prototype.getGeo = function() {
|
|
1724
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1803
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1725
1804
|
};
|
|
1726
1805
|
|
|
1727
1806
|
|
|
@@ -1730,7 +1809,7 @@ proto.cms.PaginationRequest.prototype.getGeo = function() {
|
|
|
1730
1809
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1731
1810
|
*/
|
|
1732
1811
|
proto.cms.PaginationRequest.prototype.setGeo = function(value) {
|
|
1733
|
-
return jspb.Message.setField(this,
|
|
1812
|
+
return jspb.Message.setField(this, 5, value);
|
|
1734
1813
|
};
|
|
1735
1814
|
|
|
1736
1815
|
|
|
@@ -1739,7 +1818,7 @@ proto.cms.PaginationRequest.prototype.setGeo = function(value) {
|
|
|
1739
1818
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1740
1819
|
*/
|
|
1741
1820
|
proto.cms.PaginationRequest.prototype.clearGeo = function() {
|
|
1742
|
-
return jspb.Message.setField(this,
|
|
1821
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
1743
1822
|
};
|
|
1744
1823
|
|
|
1745
1824
|
|
|
@@ -1748,16 +1827,16 @@ proto.cms.PaginationRequest.prototype.clearGeo = function() {
|
|
|
1748
1827
|
* @return {boolean}
|
|
1749
1828
|
*/
|
|
1750
1829
|
proto.cms.PaginationRequest.prototype.hasGeo = function() {
|
|
1751
|
-
return jspb.Message.getField(this,
|
|
1830
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1752
1831
|
};
|
|
1753
1832
|
|
|
1754
1833
|
|
|
1755
1834
|
/**
|
|
1756
|
-
* optional bool admin_side =
|
|
1835
|
+
* optional bool admin_side = 6;
|
|
1757
1836
|
* @return {boolean}
|
|
1758
1837
|
*/
|
|
1759
1838
|
proto.cms.PaginationRequest.prototype.getAdminSide = function() {
|
|
1760
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
1839
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
1761
1840
|
};
|
|
1762
1841
|
|
|
1763
1842
|
|
|
@@ -1766,7 +1845,7 @@ proto.cms.PaginationRequest.prototype.getAdminSide = function() {
|
|
|
1766
1845
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1767
1846
|
*/
|
|
1768
1847
|
proto.cms.PaginationRequest.prototype.setAdminSide = function(value) {
|
|
1769
|
-
return jspb.Message.setField(this,
|
|
1848
|
+
return jspb.Message.setField(this, 6, value);
|
|
1770
1849
|
};
|
|
1771
1850
|
|
|
1772
1851
|
|
|
@@ -1775,7 +1854,7 @@ proto.cms.PaginationRequest.prototype.setAdminSide = function(value) {
|
|
|
1775
1854
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1776
1855
|
*/
|
|
1777
1856
|
proto.cms.PaginationRequest.prototype.clearAdminSide = function() {
|
|
1778
|
-
return jspb.Message.setField(this,
|
|
1857
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1779
1858
|
};
|
|
1780
1859
|
|
|
1781
1860
|
|
|
@@ -1784,16 +1863,16 @@ proto.cms.PaginationRequest.prototype.clearAdminSide = function() {
|
|
|
1784
1863
|
* @return {boolean}
|
|
1785
1864
|
*/
|
|
1786
1865
|
proto.cms.PaginationRequest.prototype.hasAdminSide = function() {
|
|
1787
|
-
return jspb.Message.getField(this,
|
|
1866
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1788
1867
|
};
|
|
1789
1868
|
|
|
1790
1869
|
|
|
1791
1870
|
/**
|
|
1792
|
-
* optional string locale =
|
|
1871
|
+
* optional string locale = 7;
|
|
1793
1872
|
* @return {string}
|
|
1794
1873
|
*/
|
|
1795
1874
|
proto.cms.PaginationRequest.prototype.getLocale = function() {
|
|
1796
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1875
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1797
1876
|
};
|
|
1798
1877
|
|
|
1799
1878
|
|
|
@@ -1802,7 +1881,7 @@ proto.cms.PaginationRequest.prototype.getLocale = function() {
|
|
|
1802
1881
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1803
1882
|
*/
|
|
1804
1883
|
proto.cms.PaginationRequest.prototype.setLocale = function(value) {
|
|
1805
|
-
return jspb.Message.setField(this,
|
|
1884
|
+
return jspb.Message.setField(this, 7, value);
|
|
1806
1885
|
};
|
|
1807
1886
|
|
|
1808
1887
|
|
|
@@ -1811,7 +1890,7 @@ proto.cms.PaginationRequest.prototype.setLocale = function(value) {
|
|
|
1811
1890
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1812
1891
|
*/
|
|
1813
1892
|
proto.cms.PaginationRequest.prototype.clearLocale = function() {
|
|
1814
|
-
return jspb.Message.setField(this,
|
|
1893
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1815
1894
|
};
|
|
1816
1895
|
|
|
1817
1896
|
|
|
@@ -1820,7 +1899,80 @@ proto.cms.PaginationRequest.prototype.clearLocale = function() {
|
|
|
1820
1899
|
* @return {boolean}
|
|
1821
1900
|
*/
|
|
1822
1901
|
proto.cms.PaginationRequest.prototype.hasLocale = function() {
|
|
1823
|
-
return jspb.Message.getField(this,
|
|
1902
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1903
|
+
};
|
|
1904
|
+
|
|
1905
|
+
|
|
1906
|
+
/**
|
|
1907
|
+
* optional string title = 8;
|
|
1908
|
+
* @return {string}
|
|
1909
|
+
*/
|
|
1910
|
+
proto.cms.PaginationRequest.prototype.getTitle = function() {
|
|
1911
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1912
|
+
};
|
|
1913
|
+
|
|
1914
|
+
|
|
1915
|
+
/**
|
|
1916
|
+
* @param {string} value
|
|
1917
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1918
|
+
*/
|
|
1919
|
+
proto.cms.PaginationRequest.prototype.setTitle = function(value) {
|
|
1920
|
+
return jspb.Message.setField(this, 8, value);
|
|
1921
|
+
};
|
|
1922
|
+
|
|
1923
|
+
|
|
1924
|
+
/**
|
|
1925
|
+
* Clears the field making it undefined.
|
|
1926
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1927
|
+
*/
|
|
1928
|
+
proto.cms.PaginationRequest.prototype.clearTitle = function() {
|
|
1929
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1930
|
+
};
|
|
1931
|
+
|
|
1932
|
+
|
|
1933
|
+
/**
|
|
1934
|
+
* Returns whether this field is set.
|
|
1935
|
+
* @return {boolean}
|
|
1936
|
+
*/
|
|
1937
|
+
proto.cms.PaginationRequest.prototype.hasTitle = function() {
|
|
1938
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1939
|
+
};
|
|
1940
|
+
|
|
1941
|
+
|
|
1942
|
+
/**
|
|
1943
|
+
* repeated string countries = 9;
|
|
1944
|
+
* @return {!Array<string>}
|
|
1945
|
+
*/
|
|
1946
|
+
proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
1947
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
1948
|
+
};
|
|
1949
|
+
|
|
1950
|
+
|
|
1951
|
+
/**
|
|
1952
|
+
* @param {!Array<string>} value
|
|
1953
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1954
|
+
*/
|
|
1955
|
+
proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
1956
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
1957
|
+
};
|
|
1958
|
+
|
|
1959
|
+
|
|
1960
|
+
/**
|
|
1961
|
+
* @param {string} value
|
|
1962
|
+
* @param {number=} opt_index
|
|
1963
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1964
|
+
*/
|
|
1965
|
+
proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
|
|
1966
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
1967
|
+
};
|
|
1968
|
+
|
|
1969
|
+
|
|
1970
|
+
/**
|
|
1971
|
+
* Clears the list making it empty but non-null.
|
|
1972
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1973
|
+
*/
|
|
1974
|
+
proto.cms.PaginationRequest.prototype.clearCountriesList = function() {
|
|
1975
|
+
return this.setCountriesList([]);
|
|
1824
1976
|
};
|
|
1825
1977
|
|
|
1826
1978
|
|