protobuf-platform 1.2.43 → 1.2.45
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/cms/cms.proto +17 -4
- package/cms/cms_pb.js +674 -40
- package/package.json +1 -1
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; }
|
|
@@ -204,6 +207,7 @@ message PageItem {
|
|
|
204
207
|
string title = 3;
|
|
205
208
|
optional string content = 4;
|
|
206
209
|
optional int32 is_active = 5;
|
|
210
|
+
repeated TranslationItem translations = 6;
|
|
207
211
|
}
|
|
208
212
|
message PageResponse {
|
|
209
213
|
PageItem data = 1;
|
|
@@ -267,6 +271,7 @@ message PromoItem {
|
|
|
267
271
|
optional string finished_at = 8;
|
|
268
272
|
optional string image_big = 9;
|
|
269
273
|
optional string image_small = 10;
|
|
274
|
+
repeated TranslationItem translations = 11;
|
|
270
275
|
}
|
|
271
276
|
message PromoResponse {
|
|
272
277
|
PromoItem data = 1;
|
|
@@ -333,4 +338,12 @@ message GameWidgetsItemsResponse {
|
|
|
333
338
|
repeated GameWidgetItem items = 1;
|
|
334
339
|
optional int32 total_pages = 2;
|
|
335
340
|
optional int32 total_items = 3;
|
|
341
|
+
}
|
|
342
|
+
//Translations
|
|
343
|
+
message TranslationItem {
|
|
344
|
+
optional string geo = 1;
|
|
345
|
+
optional string locale = 2;
|
|
346
|
+
optional string title = 3;
|
|
347
|
+
optional string content = 4;
|
|
348
|
+
optional bool is_active = 5;
|
|
336
349
|
}
|
package/cms/cms_pb.js
CHANGED
|
@@ -76,6 +76,7 @@ goog.exportSymbol('proto.cms.PromoTranslationRequest', null, global);
|
|
|
76
76
|
goog.exportSymbol('proto.cms.PromoTranslationResponse', null, global);
|
|
77
77
|
goog.exportSymbol('proto.cms.PromosItemsResponse', null, global);
|
|
78
78
|
goog.exportSymbol('proto.cms.SignUpFormWidgetItem', null, global);
|
|
79
|
+
goog.exportSymbol('proto.cms.TranslationItem', null, global);
|
|
79
80
|
goog.exportSymbol('proto.cms.UserBannerGroupResponse', null, global);
|
|
80
81
|
goog.exportSymbol('proto.cms.UserBannerItem', null, global);
|
|
81
82
|
/**
|
|
@@ -131,7 +132,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
131
132
|
* @constructor
|
|
132
133
|
*/
|
|
133
134
|
proto.cms.PaginationRequest = function(opt_data) {
|
|
134
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
135
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PaginationRequest.repeatedFields_, null);
|
|
135
136
|
};
|
|
136
137
|
goog.inherits(proto.cms.PaginationRequest, jspb.Message);
|
|
137
138
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -698,7 +699,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
698
699
|
* @constructor
|
|
699
700
|
*/
|
|
700
701
|
proto.cms.PageItem = function(opt_data) {
|
|
701
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
702
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PageItem.repeatedFields_, null);
|
|
702
703
|
};
|
|
703
704
|
goog.inherits(proto.cms.PageItem, jspb.Message);
|
|
704
705
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -908,7 +909,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
908
909
|
* @constructor
|
|
909
910
|
*/
|
|
910
911
|
proto.cms.PromoItem = function(opt_data) {
|
|
911
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
912
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.PromoItem.repeatedFields_, null);
|
|
912
913
|
};
|
|
913
914
|
goog.inherits(proto.cms.PromoItem, jspb.Message);
|
|
914
915
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -1212,6 +1213,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1212
1213
|
*/
|
|
1213
1214
|
proto.cms.GameWidgetsItemsResponse.displayName = 'proto.cms.GameWidgetsItemsResponse';
|
|
1214
1215
|
}
|
|
1216
|
+
/**
|
|
1217
|
+
* Generated by JsPbCodeGenerator.
|
|
1218
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1219
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1220
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1221
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1222
|
+
* valid.
|
|
1223
|
+
* @extends {jspb.Message}
|
|
1224
|
+
* @constructor
|
|
1225
|
+
*/
|
|
1226
|
+
proto.cms.TranslationItem = function(opt_data) {
|
|
1227
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1228
|
+
};
|
|
1229
|
+
goog.inherits(proto.cms.TranslationItem, jspb.Message);
|
|
1230
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1231
|
+
/**
|
|
1232
|
+
* @public
|
|
1233
|
+
* @override
|
|
1234
|
+
*/
|
|
1235
|
+
proto.cms.TranslationItem.displayName = 'proto.cms.TranslationItem';
|
|
1236
|
+
}
|
|
1215
1237
|
|
|
1216
1238
|
|
|
1217
1239
|
|
|
@@ -1473,6 +1495,13 @@ proto.cms.PongResponse.prototype.setPong = function(value) {
|
|
|
1473
1495
|
|
|
1474
1496
|
|
|
1475
1497
|
|
|
1498
|
+
/**
|
|
1499
|
+
* List of repeated fields within this message type.
|
|
1500
|
+
* @private {!Array<number>}
|
|
1501
|
+
* @const
|
|
1502
|
+
*/
|
|
1503
|
+
proto.cms.PaginationRequest.repeatedFields_ = [9];
|
|
1504
|
+
|
|
1476
1505
|
|
|
1477
1506
|
|
|
1478
1507
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -1506,10 +1535,13 @@ proto.cms.PaginationRequest.toObject = function(includeInstance, msg) {
|
|
|
1506
1535
|
var f, obj = {
|
|
1507
1536
|
limit: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
1508
1537
|
offset: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
1509
|
-
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
|
|
1538
|
+
order: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
1539
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
1540
|
+
geo: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
1541
|
+
adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
1542
|
+
locale: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
1543
|
+
title: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
1544
|
+
countriesList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
1513
1545
|
};
|
|
1514
1546
|
|
|
1515
1547
|
if (includeInstance) {
|
|
@@ -1555,21 +1587,33 @@ proto.cms.PaginationRequest.deserializeBinaryFromReader = function(msg, reader)
|
|
|
1555
1587
|
msg.setOffset(value);
|
|
1556
1588
|
break;
|
|
1557
1589
|
case 3:
|
|
1590
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1591
|
+
msg.setOrder(value);
|
|
1592
|
+
break;
|
|
1593
|
+
case 4:
|
|
1558
1594
|
var value = /** @type {number} */ (reader.readInt32());
|
|
1559
1595
|
msg.setIsActive(value);
|
|
1560
1596
|
break;
|
|
1561
|
-
case
|
|
1597
|
+
case 5:
|
|
1562
1598
|
var value = /** @type {string} */ (reader.readString());
|
|
1563
1599
|
msg.setGeo(value);
|
|
1564
1600
|
break;
|
|
1565
|
-
case
|
|
1601
|
+
case 6:
|
|
1566
1602
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
1567
1603
|
msg.setAdminSide(value);
|
|
1568
1604
|
break;
|
|
1569
|
-
case
|
|
1605
|
+
case 7:
|
|
1570
1606
|
var value = /** @type {string} */ (reader.readString());
|
|
1571
1607
|
msg.setLocale(value);
|
|
1572
1608
|
break;
|
|
1609
|
+
case 8:
|
|
1610
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1611
|
+
msg.setTitle(value);
|
|
1612
|
+
break;
|
|
1613
|
+
case 9:
|
|
1614
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1615
|
+
msg.addCountries(value);
|
|
1616
|
+
break;
|
|
1573
1617
|
default:
|
|
1574
1618
|
reader.skipField();
|
|
1575
1619
|
break;
|
|
@@ -1613,34 +1657,55 @@ proto.cms.PaginationRequest.serializeBinaryToWriter = function(message, writer)
|
|
|
1613
1657
|
f
|
|
1614
1658
|
);
|
|
1615
1659
|
}
|
|
1616
|
-
f = /** @type {
|
|
1660
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
1617
1661
|
if (f != null) {
|
|
1618
|
-
writer.
|
|
1662
|
+
writer.writeString(
|
|
1619
1663
|
3,
|
|
1620
1664
|
f
|
|
1621
1665
|
);
|
|
1622
1666
|
}
|
|
1623
|
-
f = /** @type {
|
|
1667
|
+
f = /** @type {number} */ (jspb.Message.getField(message, 4));
|
|
1624
1668
|
if (f != null) {
|
|
1625
|
-
writer.
|
|
1669
|
+
writer.writeInt32(
|
|
1626
1670
|
4,
|
|
1627
1671
|
f
|
|
1628
1672
|
);
|
|
1629
1673
|
}
|
|
1630
|
-
f = /** @type {
|
|
1674
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 5));
|
|
1631
1675
|
if (f != null) {
|
|
1632
|
-
writer.
|
|
1676
|
+
writer.writeString(
|
|
1633
1677
|
5,
|
|
1634
1678
|
f
|
|
1635
1679
|
);
|
|
1636
1680
|
}
|
|
1637
|
-
f = /** @type {
|
|
1681
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 6));
|
|
1638
1682
|
if (f != null) {
|
|
1639
|
-
writer.
|
|
1683
|
+
writer.writeBool(
|
|
1640
1684
|
6,
|
|
1641
1685
|
f
|
|
1642
1686
|
);
|
|
1643
1687
|
}
|
|
1688
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 7));
|
|
1689
|
+
if (f != null) {
|
|
1690
|
+
writer.writeString(
|
|
1691
|
+
7,
|
|
1692
|
+
f
|
|
1693
|
+
);
|
|
1694
|
+
}
|
|
1695
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 8));
|
|
1696
|
+
if (f != null) {
|
|
1697
|
+
writer.writeString(
|
|
1698
|
+
8,
|
|
1699
|
+
f
|
|
1700
|
+
);
|
|
1701
|
+
}
|
|
1702
|
+
f = message.getCountriesList();
|
|
1703
|
+
if (f.length > 0) {
|
|
1704
|
+
writer.writeRepeatedString(
|
|
1705
|
+
9,
|
|
1706
|
+
f
|
|
1707
|
+
);
|
|
1708
|
+
}
|
|
1644
1709
|
};
|
|
1645
1710
|
|
|
1646
1711
|
|
|
@@ -1681,11 +1746,47 @@ proto.cms.PaginationRequest.prototype.setOffset = function(value) {
|
|
|
1681
1746
|
|
|
1682
1747
|
|
|
1683
1748
|
/**
|
|
1684
|
-
* optional
|
|
1749
|
+
* optional string order = 3;
|
|
1750
|
+
* @return {string}
|
|
1751
|
+
*/
|
|
1752
|
+
proto.cms.PaginationRequest.prototype.getOrder = function() {
|
|
1753
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* @param {string} value
|
|
1759
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1760
|
+
*/
|
|
1761
|
+
proto.cms.PaginationRequest.prototype.setOrder = function(value) {
|
|
1762
|
+
return jspb.Message.setField(this, 3, value);
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
/**
|
|
1767
|
+
* Clears the field making it undefined.
|
|
1768
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1769
|
+
*/
|
|
1770
|
+
proto.cms.PaginationRequest.prototype.clearOrder = function() {
|
|
1771
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
1772
|
+
};
|
|
1773
|
+
|
|
1774
|
+
|
|
1775
|
+
/**
|
|
1776
|
+
* Returns whether this field is set.
|
|
1777
|
+
* @return {boolean}
|
|
1778
|
+
*/
|
|
1779
|
+
proto.cms.PaginationRequest.prototype.hasOrder = function() {
|
|
1780
|
+
return jspb.Message.getField(this, 3) != null;
|
|
1781
|
+
};
|
|
1782
|
+
|
|
1783
|
+
|
|
1784
|
+
/**
|
|
1785
|
+
* optional int32 is_active = 4;
|
|
1685
1786
|
* @return {number}
|
|
1686
1787
|
*/
|
|
1687
1788
|
proto.cms.PaginationRequest.prototype.getIsActive = function() {
|
|
1688
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this,
|
|
1789
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
1689
1790
|
};
|
|
1690
1791
|
|
|
1691
1792
|
|
|
@@ -1694,7 +1795,7 @@ proto.cms.PaginationRequest.prototype.getIsActive = function() {
|
|
|
1694
1795
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1695
1796
|
*/
|
|
1696
1797
|
proto.cms.PaginationRequest.prototype.setIsActive = function(value) {
|
|
1697
|
-
return jspb.Message.setField(this,
|
|
1798
|
+
return jspb.Message.setField(this, 4, value);
|
|
1698
1799
|
};
|
|
1699
1800
|
|
|
1700
1801
|
|
|
@@ -1703,7 +1804,7 @@ proto.cms.PaginationRequest.prototype.setIsActive = function(value) {
|
|
|
1703
1804
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1704
1805
|
*/
|
|
1705
1806
|
proto.cms.PaginationRequest.prototype.clearIsActive = function() {
|
|
1706
|
-
return jspb.Message.setField(this,
|
|
1807
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
1707
1808
|
};
|
|
1708
1809
|
|
|
1709
1810
|
|
|
@@ -1712,16 +1813,16 @@ proto.cms.PaginationRequest.prototype.clearIsActive = function() {
|
|
|
1712
1813
|
* @return {boolean}
|
|
1713
1814
|
*/
|
|
1714
1815
|
proto.cms.PaginationRequest.prototype.hasIsActive = function() {
|
|
1715
|
-
return jspb.Message.getField(this,
|
|
1816
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1716
1817
|
};
|
|
1717
1818
|
|
|
1718
1819
|
|
|
1719
1820
|
/**
|
|
1720
|
-
* optional string geo =
|
|
1821
|
+
* optional string geo = 5;
|
|
1721
1822
|
* @return {string}
|
|
1722
1823
|
*/
|
|
1723
1824
|
proto.cms.PaginationRequest.prototype.getGeo = function() {
|
|
1724
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1825
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
1725
1826
|
};
|
|
1726
1827
|
|
|
1727
1828
|
|
|
@@ -1730,7 +1831,7 @@ proto.cms.PaginationRequest.prototype.getGeo = function() {
|
|
|
1730
1831
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1731
1832
|
*/
|
|
1732
1833
|
proto.cms.PaginationRequest.prototype.setGeo = function(value) {
|
|
1733
|
-
return jspb.Message.setField(this,
|
|
1834
|
+
return jspb.Message.setField(this, 5, value);
|
|
1734
1835
|
};
|
|
1735
1836
|
|
|
1736
1837
|
|
|
@@ -1739,7 +1840,7 @@ proto.cms.PaginationRequest.prototype.setGeo = function(value) {
|
|
|
1739
1840
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1740
1841
|
*/
|
|
1741
1842
|
proto.cms.PaginationRequest.prototype.clearGeo = function() {
|
|
1742
|
-
return jspb.Message.setField(this,
|
|
1843
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
1743
1844
|
};
|
|
1744
1845
|
|
|
1745
1846
|
|
|
@@ -1748,16 +1849,16 @@ proto.cms.PaginationRequest.prototype.clearGeo = function() {
|
|
|
1748
1849
|
* @return {boolean}
|
|
1749
1850
|
*/
|
|
1750
1851
|
proto.cms.PaginationRequest.prototype.hasGeo = function() {
|
|
1751
|
-
return jspb.Message.getField(this,
|
|
1852
|
+
return jspb.Message.getField(this, 5) != null;
|
|
1752
1853
|
};
|
|
1753
1854
|
|
|
1754
1855
|
|
|
1755
1856
|
/**
|
|
1756
|
-
* optional bool admin_side =
|
|
1857
|
+
* optional bool admin_side = 6;
|
|
1757
1858
|
* @return {boolean}
|
|
1758
1859
|
*/
|
|
1759
1860
|
proto.cms.PaginationRequest.prototype.getAdminSide = function() {
|
|
1760
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this,
|
|
1861
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
1761
1862
|
};
|
|
1762
1863
|
|
|
1763
1864
|
|
|
@@ -1766,7 +1867,7 @@ proto.cms.PaginationRequest.prototype.getAdminSide = function() {
|
|
|
1766
1867
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1767
1868
|
*/
|
|
1768
1869
|
proto.cms.PaginationRequest.prototype.setAdminSide = function(value) {
|
|
1769
|
-
return jspb.Message.setField(this,
|
|
1870
|
+
return jspb.Message.setField(this, 6, value);
|
|
1770
1871
|
};
|
|
1771
1872
|
|
|
1772
1873
|
|
|
@@ -1775,7 +1876,7 @@ proto.cms.PaginationRequest.prototype.setAdminSide = function(value) {
|
|
|
1775
1876
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1776
1877
|
*/
|
|
1777
1878
|
proto.cms.PaginationRequest.prototype.clearAdminSide = function() {
|
|
1778
|
-
return jspb.Message.setField(this,
|
|
1879
|
+
return jspb.Message.setField(this, 6, undefined);
|
|
1779
1880
|
};
|
|
1780
1881
|
|
|
1781
1882
|
|
|
@@ -1784,16 +1885,16 @@ proto.cms.PaginationRequest.prototype.clearAdminSide = function() {
|
|
|
1784
1885
|
* @return {boolean}
|
|
1785
1886
|
*/
|
|
1786
1887
|
proto.cms.PaginationRequest.prototype.hasAdminSide = function() {
|
|
1787
|
-
return jspb.Message.getField(this,
|
|
1888
|
+
return jspb.Message.getField(this, 6) != null;
|
|
1788
1889
|
};
|
|
1789
1890
|
|
|
1790
1891
|
|
|
1791
1892
|
/**
|
|
1792
|
-
* optional string locale =
|
|
1893
|
+
* optional string locale = 7;
|
|
1793
1894
|
* @return {string}
|
|
1794
1895
|
*/
|
|
1795
1896
|
proto.cms.PaginationRequest.prototype.getLocale = function() {
|
|
1796
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
1897
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
1797
1898
|
};
|
|
1798
1899
|
|
|
1799
1900
|
|
|
@@ -1802,7 +1903,7 @@ proto.cms.PaginationRequest.prototype.getLocale = function() {
|
|
|
1802
1903
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1803
1904
|
*/
|
|
1804
1905
|
proto.cms.PaginationRequest.prototype.setLocale = function(value) {
|
|
1805
|
-
return jspb.Message.setField(this,
|
|
1906
|
+
return jspb.Message.setField(this, 7, value);
|
|
1806
1907
|
};
|
|
1807
1908
|
|
|
1808
1909
|
|
|
@@ -1811,7 +1912,7 @@ proto.cms.PaginationRequest.prototype.setLocale = function(value) {
|
|
|
1811
1912
|
* @return {!proto.cms.PaginationRequest} returns this
|
|
1812
1913
|
*/
|
|
1813
1914
|
proto.cms.PaginationRequest.prototype.clearLocale = function() {
|
|
1814
|
-
return jspb.Message.setField(this,
|
|
1915
|
+
return jspb.Message.setField(this, 7, undefined);
|
|
1815
1916
|
};
|
|
1816
1917
|
|
|
1817
1918
|
|
|
@@ -1820,7 +1921,80 @@ proto.cms.PaginationRequest.prototype.clearLocale = function() {
|
|
|
1820
1921
|
* @return {boolean}
|
|
1821
1922
|
*/
|
|
1822
1923
|
proto.cms.PaginationRequest.prototype.hasLocale = function() {
|
|
1823
|
-
return jspb.Message.getField(this,
|
|
1924
|
+
return jspb.Message.getField(this, 7) != null;
|
|
1925
|
+
};
|
|
1926
|
+
|
|
1927
|
+
|
|
1928
|
+
/**
|
|
1929
|
+
* optional string title = 8;
|
|
1930
|
+
* @return {string}
|
|
1931
|
+
*/
|
|
1932
|
+
proto.cms.PaginationRequest.prototype.getTitle = function() {
|
|
1933
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1934
|
+
};
|
|
1935
|
+
|
|
1936
|
+
|
|
1937
|
+
/**
|
|
1938
|
+
* @param {string} value
|
|
1939
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1940
|
+
*/
|
|
1941
|
+
proto.cms.PaginationRequest.prototype.setTitle = function(value) {
|
|
1942
|
+
return jspb.Message.setField(this, 8, value);
|
|
1943
|
+
};
|
|
1944
|
+
|
|
1945
|
+
|
|
1946
|
+
/**
|
|
1947
|
+
* Clears the field making it undefined.
|
|
1948
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1949
|
+
*/
|
|
1950
|
+
proto.cms.PaginationRequest.prototype.clearTitle = function() {
|
|
1951
|
+
return jspb.Message.setField(this, 8, undefined);
|
|
1952
|
+
};
|
|
1953
|
+
|
|
1954
|
+
|
|
1955
|
+
/**
|
|
1956
|
+
* Returns whether this field is set.
|
|
1957
|
+
* @return {boolean}
|
|
1958
|
+
*/
|
|
1959
|
+
proto.cms.PaginationRequest.prototype.hasTitle = function() {
|
|
1960
|
+
return jspb.Message.getField(this, 8) != null;
|
|
1961
|
+
};
|
|
1962
|
+
|
|
1963
|
+
|
|
1964
|
+
/**
|
|
1965
|
+
* repeated string countries = 9;
|
|
1966
|
+
* @return {!Array<string>}
|
|
1967
|
+
*/
|
|
1968
|
+
proto.cms.PaginationRequest.prototype.getCountriesList = function() {
|
|
1969
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 9));
|
|
1970
|
+
};
|
|
1971
|
+
|
|
1972
|
+
|
|
1973
|
+
/**
|
|
1974
|
+
* @param {!Array<string>} value
|
|
1975
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1976
|
+
*/
|
|
1977
|
+
proto.cms.PaginationRequest.prototype.setCountriesList = function(value) {
|
|
1978
|
+
return jspb.Message.setField(this, 9, value || []);
|
|
1979
|
+
};
|
|
1980
|
+
|
|
1981
|
+
|
|
1982
|
+
/**
|
|
1983
|
+
* @param {string} value
|
|
1984
|
+
* @param {number=} opt_index
|
|
1985
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1986
|
+
*/
|
|
1987
|
+
proto.cms.PaginationRequest.prototype.addCountries = function(value, opt_index) {
|
|
1988
|
+
return jspb.Message.addToRepeatedField(this, 9, value, opt_index);
|
|
1989
|
+
};
|
|
1990
|
+
|
|
1991
|
+
|
|
1992
|
+
/**
|
|
1993
|
+
* Clears the list making it empty but non-null.
|
|
1994
|
+
* @return {!proto.cms.PaginationRequest} returns this
|
|
1995
|
+
*/
|
|
1996
|
+
proto.cms.PaginationRequest.prototype.clearCountriesList = function() {
|
|
1997
|
+
return this.setCountriesList([]);
|
|
1824
1998
|
};
|
|
1825
1999
|
|
|
1826
2000
|
|
|
@@ -8424,6 +8598,13 @@ proto.cms.PageRequest.prototype.hasIsActive = function() {
|
|
|
8424
8598
|
|
|
8425
8599
|
|
|
8426
8600
|
|
|
8601
|
+
/**
|
|
8602
|
+
* List of repeated fields within this message type.
|
|
8603
|
+
* @private {!Array<number>}
|
|
8604
|
+
* @const
|
|
8605
|
+
*/
|
|
8606
|
+
proto.cms.PageItem.repeatedFields_ = [6];
|
|
8607
|
+
|
|
8427
8608
|
|
|
8428
8609
|
|
|
8429
8610
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -8459,7 +8640,9 @@ proto.cms.PageItem.toObject = function(includeInstance, msg) {
|
|
|
8459
8640
|
slug: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
8460
8641
|
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
8461
8642
|
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
8462
|
-
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
8643
|
+
isActive: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
8644
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
8645
|
+
proto.cms.TranslationItem.toObject, includeInstance)
|
|
8463
8646
|
};
|
|
8464
8647
|
|
|
8465
8648
|
if (includeInstance) {
|
|
@@ -8516,6 +8699,11 @@ proto.cms.PageItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
8516
8699
|
var value = /** @type {number} */ (reader.readInt32());
|
|
8517
8700
|
msg.setIsActive(value);
|
|
8518
8701
|
break;
|
|
8702
|
+
case 6:
|
|
8703
|
+
var value = new proto.cms.TranslationItem;
|
|
8704
|
+
reader.readMessage(value,proto.cms.TranslationItem.deserializeBinaryFromReader);
|
|
8705
|
+
msg.addTranslations(value);
|
|
8706
|
+
break;
|
|
8519
8707
|
default:
|
|
8520
8708
|
reader.skipField();
|
|
8521
8709
|
break;
|
|
@@ -8580,6 +8768,14 @@ proto.cms.PageItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
8580
8768
|
f
|
|
8581
8769
|
);
|
|
8582
8770
|
}
|
|
8771
|
+
f = message.getTranslationsList();
|
|
8772
|
+
if (f.length > 0) {
|
|
8773
|
+
writer.writeRepeatedMessage(
|
|
8774
|
+
6,
|
|
8775
|
+
f,
|
|
8776
|
+
proto.cms.TranslationItem.serializeBinaryToWriter
|
|
8777
|
+
);
|
|
8778
|
+
}
|
|
8583
8779
|
};
|
|
8584
8780
|
|
|
8585
8781
|
|
|
@@ -8709,6 +8905,44 @@ proto.cms.PageItem.prototype.hasIsActive = function() {
|
|
|
8709
8905
|
};
|
|
8710
8906
|
|
|
8711
8907
|
|
|
8908
|
+
/**
|
|
8909
|
+
* repeated TranslationItem translations = 6;
|
|
8910
|
+
* @return {!Array<!proto.cms.TranslationItem>}
|
|
8911
|
+
*/
|
|
8912
|
+
proto.cms.PageItem.prototype.getTranslationsList = function() {
|
|
8913
|
+
return /** @type{!Array<!proto.cms.TranslationItem>} */ (
|
|
8914
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.TranslationItem, 6));
|
|
8915
|
+
};
|
|
8916
|
+
|
|
8917
|
+
|
|
8918
|
+
/**
|
|
8919
|
+
* @param {!Array<!proto.cms.TranslationItem>} value
|
|
8920
|
+
* @return {!proto.cms.PageItem} returns this
|
|
8921
|
+
*/
|
|
8922
|
+
proto.cms.PageItem.prototype.setTranslationsList = function(value) {
|
|
8923
|
+
return jspb.Message.setRepeatedWrapperField(this, 6, value);
|
|
8924
|
+
};
|
|
8925
|
+
|
|
8926
|
+
|
|
8927
|
+
/**
|
|
8928
|
+
* @param {!proto.cms.TranslationItem=} opt_value
|
|
8929
|
+
* @param {number=} opt_index
|
|
8930
|
+
* @return {!proto.cms.TranslationItem}
|
|
8931
|
+
*/
|
|
8932
|
+
proto.cms.PageItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
8933
|
+
return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.cms.TranslationItem, opt_index);
|
|
8934
|
+
};
|
|
8935
|
+
|
|
8936
|
+
|
|
8937
|
+
/**
|
|
8938
|
+
* Clears the list making it empty but non-null.
|
|
8939
|
+
* @return {!proto.cms.PageItem} returns this
|
|
8940
|
+
*/
|
|
8941
|
+
proto.cms.PageItem.prototype.clearTranslationsList = function() {
|
|
8942
|
+
return this.setTranslationsList([]);
|
|
8943
|
+
};
|
|
8944
|
+
|
|
8945
|
+
|
|
8712
8946
|
|
|
8713
8947
|
|
|
8714
8948
|
|
|
@@ -10975,6 +11209,13 @@ proto.cms.PromoItemRequest.prototype.hasFinishedAt = function() {
|
|
|
10975
11209
|
|
|
10976
11210
|
|
|
10977
11211
|
|
|
11212
|
+
/**
|
|
11213
|
+
* List of repeated fields within this message type.
|
|
11214
|
+
* @private {!Array<number>}
|
|
11215
|
+
* @const
|
|
11216
|
+
*/
|
|
11217
|
+
proto.cms.PromoItem.repeatedFields_ = [11];
|
|
11218
|
+
|
|
10978
11219
|
|
|
10979
11220
|
|
|
10980
11221
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -11015,7 +11256,9 @@ proto.cms.PromoItem.toObject = function(includeInstance, msg) {
|
|
|
11015
11256
|
startedAt: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
11016
11257
|
finishedAt: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
11017
11258
|
imageBig: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
11018
|
-
imageSmall: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
11259
|
+
imageSmall: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
11260
|
+
translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
|
|
11261
|
+
proto.cms.TranslationItem.toObject, includeInstance)
|
|
11019
11262
|
};
|
|
11020
11263
|
|
|
11021
11264
|
if (includeInstance) {
|
|
@@ -11092,6 +11335,11 @@ proto.cms.PromoItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
11092
11335
|
var value = /** @type {string} */ (reader.readString());
|
|
11093
11336
|
msg.setImageSmall(value);
|
|
11094
11337
|
break;
|
|
11338
|
+
case 11:
|
|
11339
|
+
var value = new proto.cms.TranslationItem;
|
|
11340
|
+
reader.readMessage(value,proto.cms.TranslationItem.deserializeBinaryFromReader);
|
|
11341
|
+
msg.addTranslations(value);
|
|
11342
|
+
break;
|
|
11095
11343
|
default:
|
|
11096
11344
|
reader.skipField();
|
|
11097
11345
|
break;
|
|
@@ -11191,6 +11439,14 @@ proto.cms.PromoItem.serializeBinaryToWriter = function(message, writer) {
|
|
|
11191
11439
|
f
|
|
11192
11440
|
);
|
|
11193
11441
|
}
|
|
11442
|
+
f = message.getTranslationsList();
|
|
11443
|
+
if (f.length > 0) {
|
|
11444
|
+
writer.writeRepeatedMessage(
|
|
11445
|
+
11,
|
|
11446
|
+
f,
|
|
11447
|
+
proto.cms.TranslationItem.serializeBinaryToWriter
|
|
11448
|
+
);
|
|
11449
|
+
}
|
|
11194
11450
|
};
|
|
11195
11451
|
|
|
11196
11452
|
|
|
@@ -11554,6 +11810,44 @@ proto.cms.PromoItem.prototype.hasImageSmall = function() {
|
|
|
11554
11810
|
};
|
|
11555
11811
|
|
|
11556
11812
|
|
|
11813
|
+
/**
|
|
11814
|
+
* repeated TranslationItem translations = 11;
|
|
11815
|
+
* @return {!Array<!proto.cms.TranslationItem>}
|
|
11816
|
+
*/
|
|
11817
|
+
proto.cms.PromoItem.prototype.getTranslationsList = function() {
|
|
11818
|
+
return /** @type{!Array<!proto.cms.TranslationItem>} */ (
|
|
11819
|
+
jspb.Message.getRepeatedWrapperField(this, proto.cms.TranslationItem, 11));
|
|
11820
|
+
};
|
|
11821
|
+
|
|
11822
|
+
|
|
11823
|
+
/**
|
|
11824
|
+
* @param {!Array<!proto.cms.TranslationItem>} value
|
|
11825
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
11826
|
+
*/
|
|
11827
|
+
proto.cms.PromoItem.prototype.setTranslationsList = function(value) {
|
|
11828
|
+
return jspb.Message.setRepeatedWrapperField(this, 11, value);
|
|
11829
|
+
};
|
|
11830
|
+
|
|
11831
|
+
|
|
11832
|
+
/**
|
|
11833
|
+
* @param {!proto.cms.TranslationItem=} opt_value
|
|
11834
|
+
* @param {number=} opt_index
|
|
11835
|
+
* @return {!proto.cms.TranslationItem}
|
|
11836
|
+
*/
|
|
11837
|
+
proto.cms.PromoItem.prototype.addTranslations = function(opt_value, opt_index) {
|
|
11838
|
+
return jspb.Message.addToRepeatedWrapperField(this, 11, opt_value, proto.cms.TranslationItem, opt_index);
|
|
11839
|
+
};
|
|
11840
|
+
|
|
11841
|
+
|
|
11842
|
+
/**
|
|
11843
|
+
* Clears the list making it empty but non-null.
|
|
11844
|
+
* @return {!proto.cms.PromoItem} returns this
|
|
11845
|
+
*/
|
|
11846
|
+
proto.cms.PromoItem.prototype.clearTranslationsList = function() {
|
|
11847
|
+
return this.setTranslationsList([]);
|
|
11848
|
+
};
|
|
11849
|
+
|
|
11850
|
+
|
|
11557
11851
|
|
|
11558
11852
|
|
|
11559
11853
|
|
|
@@ -14516,4 +14810,344 @@ proto.cms.GameWidgetsItemsResponse.prototype.hasTotalItems = function() {
|
|
|
14516
14810
|
};
|
|
14517
14811
|
|
|
14518
14812
|
|
|
14813
|
+
|
|
14814
|
+
|
|
14815
|
+
|
|
14816
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
14817
|
+
/**
|
|
14818
|
+
* Creates an object representation of this proto.
|
|
14819
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
14820
|
+
* Optional fields that are not set will be set to undefined.
|
|
14821
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
14822
|
+
* For the list of reserved names please see:
|
|
14823
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
14824
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
14825
|
+
* JSPB instance for transitional soy proto support:
|
|
14826
|
+
* http://goto/soy-param-migration
|
|
14827
|
+
* @return {!Object}
|
|
14828
|
+
*/
|
|
14829
|
+
proto.cms.TranslationItem.prototype.toObject = function(opt_includeInstance) {
|
|
14830
|
+
return proto.cms.TranslationItem.toObject(opt_includeInstance, this);
|
|
14831
|
+
};
|
|
14832
|
+
|
|
14833
|
+
|
|
14834
|
+
/**
|
|
14835
|
+
* Static version of the {@see toObject} method.
|
|
14836
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
14837
|
+
* the JSPB instance for transitional soy proto support:
|
|
14838
|
+
* http://goto/soy-param-migration
|
|
14839
|
+
* @param {!proto.cms.TranslationItem} msg The msg instance to transform.
|
|
14840
|
+
* @return {!Object}
|
|
14841
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14842
|
+
*/
|
|
14843
|
+
proto.cms.TranslationItem.toObject = function(includeInstance, msg) {
|
|
14844
|
+
var f, obj = {
|
|
14845
|
+
geo: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
14846
|
+
locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
14847
|
+
title: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
14848
|
+
content: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
14849
|
+
isActive: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
|
|
14850
|
+
};
|
|
14851
|
+
|
|
14852
|
+
if (includeInstance) {
|
|
14853
|
+
obj.$jspbMessageInstance = msg;
|
|
14854
|
+
}
|
|
14855
|
+
return obj;
|
|
14856
|
+
};
|
|
14857
|
+
}
|
|
14858
|
+
|
|
14859
|
+
|
|
14860
|
+
/**
|
|
14861
|
+
* Deserializes binary data (in protobuf wire format).
|
|
14862
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
14863
|
+
* @return {!proto.cms.TranslationItem}
|
|
14864
|
+
*/
|
|
14865
|
+
proto.cms.TranslationItem.deserializeBinary = function(bytes) {
|
|
14866
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
14867
|
+
var msg = new proto.cms.TranslationItem;
|
|
14868
|
+
return proto.cms.TranslationItem.deserializeBinaryFromReader(msg, reader);
|
|
14869
|
+
};
|
|
14870
|
+
|
|
14871
|
+
|
|
14872
|
+
/**
|
|
14873
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
14874
|
+
* given reader into the given message object.
|
|
14875
|
+
* @param {!proto.cms.TranslationItem} msg The message object to deserialize into.
|
|
14876
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
14877
|
+
* @return {!proto.cms.TranslationItem}
|
|
14878
|
+
*/
|
|
14879
|
+
proto.cms.TranslationItem.deserializeBinaryFromReader = function(msg, reader) {
|
|
14880
|
+
while (reader.nextField()) {
|
|
14881
|
+
if (reader.isEndGroup()) {
|
|
14882
|
+
break;
|
|
14883
|
+
}
|
|
14884
|
+
var field = reader.getFieldNumber();
|
|
14885
|
+
switch (field) {
|
|
14886
|
+
case 1:
|
|
14887
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14888
|
+
msg.setGeo(value);
|
|
14889
|
+
break;
|
|
14890
|
+
case 2:
|
|
14891
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14892
|
+
msg.setLocale(value);
|
|
14893
|
+
break;
|
|
14894
|
+
case 3:
|
|
14895
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14896
|
+
msg.setTitle(value);
|
|
14897
|
+
break;
|
|
14898
|
+
case 4:
|
|
14899
|
+
var value = /** @type {string} */ (reader.readString());
|
|
14900
|
+
msg.setContent(value);
|
|
14901
|
+
break;
|
|
14902
|
+
case 5:
|
|
14903
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14904
|
+
msg.setIsActive(value);
|
|
14905
|
+
break;
|
|
14906
|
+
default:
|
|
14907
|
+
reader.skipField();
|
|
14908
|
+
break;
|
|
14909
|
+
}
|
|
14910
|
+
}
|
|
14911
|
+
return msg;
|
|
14912
|
+
};
|
|
14913
|
+
|
|
14914
|
+
|
|
14915
|
+
/**
|
|
14916
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
14917
|
+
* @return {!Uint8Array}
|
|
14918
|
+
*/
|
|
14919
|
+
proto.cms.TranslationItem.prototype.serializeBinary = function() {
|
|
14920
|
+
var writer = new jspb.BinaryWriter();
|
|
14921
|
+
proto.cms.TranslationItem.serializeBinaryToWriter(this, writer);
|
|
14922
|
+
return writer.getResultBuffer();
|
|
14923
|
+
};
|
|
14924
|
+
|
|
14925
|
+
|
|
14926
|
+
/**
|
|
14927
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
14928
|
+
* format), writing to the given BinaryWriter.
|
|
14929
|
+
* @param {!proto.cms.TranslationItem} message
|
|
14930
|
+
* @param {!jspb.BinaryWriter} writer
|
|
14931
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
14932
|
+
*/
|
|
14933
|
+
proto.cms.TranslationItem.serializeBinaryToWriter = function(message, writer) {
|
|
14934
|
+
var f = undefined;
|
|
14935
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 1));
|
|
14936
|
+
if (f != null) {
|
|
14937
|
+
writer.writeString(
|
|
14938
|
+
1,
|
|
14939
|
+
f
|
|
14940
|
+
);
|
|
14941
|
+
}
|
|
14942
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 2));
|
|
14943
|
+
if (f != null) {
|
|
14944
|
+
writer.writeString(
|
|
14945
|
+
2,
|
|
14946
|
+
f
|
|
14947
|
+
);
|
|
14948
|
+
}
|
|
14949
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 3));
|
|
14950
|
+
if (f != null) {
|
|
14951
|
+
writer.writeString(
|
|
14952
|
+
3,
|
|
14953
|
+
f
|
|
14954
|
+
);
|
|
14955
|
+
}
|
|
14956
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
14957
|
+
if (f != null) {
|
|
14958
|
+
writer.writeString(
|
|
14959
|
+
4,
|
|
14960
|
+
f
|
|
14961
|
+
);
|
|
14962
|
+
}
|
|
14963
|
+
f = /** @type {boolean} */ (jspb.Message.getField(message, 5));
|
|
14964
|
+
if (f != null) {
|
|
14965
|
+
writer.writeBool(
|
|
14966
|
+
5,
|
|
14967
|
+
f
|
|
14968
|
+
);
|
|
14969
|
+
}
|
|
14970
|
+
};
|
|
14971
|
+
|
|
14972
|
+
|
|
14973
|
+
/**
|
|
14974
|
+
* optional string geo = 1;
|
|
14975
|
+
* @return {string}
|
|
14976
|
+
*/
|
|
14977
|
+
proto.cms.TranslationItem.prototype.getGeo = function() {
|
|
14978
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
14979
|
+
};
|
|
14980
|
+
|
|
14981
|
+
|
|
14982
|
+
/**
|
|
14983
|
+
* @param {string} value
|
|
14984
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
14985
|
+
*/
|
|
14986
|
+
proto.cms.TranslationItem.prototype.setGeo = function(value) {
|
|
14987
|
+
return jspb.Message.setField(this, 1, value);
|
|
14988
|
+
};
|
|
14989
|
+
|
|
14990
|
+
|
|
14991
|
+
/**
|
|
14992
|
+
* Clears the field making it undefined.
|
|
14993
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
14994
|
+
*/
|
|
14995
|
+
proto.cms.TranslationItem.prototype.clearGeo = function() {
|
|
14996
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
14997
|
+
};
|
|
14998
|
+
|
|
14999
|
+
|
|
15000
|
+
/**
|
|
15001
|
+
* Returns whether this field is set.
|
|
15002
|
+
* @return {boolean}
|
|
15003
|
+
*/
|
|
15004
|
+
proto.cms.TranslationItem.prototype.hasGeo = function() {
|
|
15005
|
+
return jspb.Message.getField(this, 1) != null;
|
|
15006
|
+
};
|
|
15007
|
+
|
|
15008
|
+
|
|
15009
|
+
/**
|
|
15010
|
+
* optional string locale = 2;
|
|
15011
|
+
* @return {string}
|
|
15012
|
+
*/
|
|
15013
|
+
proto.cms.TranslationItem.prototype.getLocale = function() {
|
|
15014
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
15015
|
+
};
|
|
15016
|
+
|
|
15017
|
+
|
|
15018
|
+
/**
|
|
15019
|
+
* @param {string} value
|
|
15020
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15021
|
+
*/
|
|
15022
|
+
proto.cms.TranslationItem.prototype.setLocale = function(value) {
|
|
15023
|
+
return jspb.Message.setField(this, 2, value);
|
|
15024
|
+
};
|
|
15025
|
+
|
|
15026
|
+
|
|
15027
|
+
/**
|
|
15028
|
+
* Clears the field making it undefined.
|
|
15029
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15030
|
+
*/
|
|
15031
|
+
proto.cms.TranslationItem.prototype.clearLocale = function() {
|
|
15032
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
15033
|
+
};
|
|
15034
|
+
|
|
15035
|
+
|
|
15036
|
+
/**
|
|
15037
|
+
* Returns whether this field is set.
|
|
15038
|
+
* @return {boolean}
|
|
15039
|
+
*/
|
|
15040
|
+
proto.cms.TranslationItem.prototype.hasLocale = function() {
|
|
15041
|
+
return jspb.Message.getField(this, 2) != null;
|
|
15042
|
+
};
|
|
15043
|
+
|
|
15044
|
+
|
|
15045
|
+
/**
|
|
15046
|
+
* optional string title = 3;
|
|
15047
|
+
* @return {string}
|
|
15048
|
+
*/
|
|
15049
|
+
proto.cms.TranslationItem.prototype.getTitle = function() {
|
|
15050
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
15051
|
+
};
|
|
15052
|
+
|
|
15053
|
+
|
|
15054
|
+
/**
|
|
15055
|
+
* @param {string} value
|
|
15056
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15057
|
+
*/
|
|
15058
|
+
proto.cms.TranslationItem.prototype.setTitle = function(value) {
|
|
15059
|
+
return jspb.Message.setField(this, 3, value);
|
|
15060
|
+
};
|
|
15061
|
+
|
|
15062
|
+
|
|
15063
|
+
/**
|
|
15064
|
+
* Clears the field making it undefined.
|
|
15065
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15066
|
+
*/
|
|
15067
|
+
proto.cms.TranslationItem.prototype.clearTitle = function() {
|
|
15068
|
+
return jspb.Message.setField(this, 3, undefined);
|
|
15069
|
+
};
|
|
15070
|
+
|
|
15071
|
+
|
|
15072
|
+
/**
|
|
15073
|
+
* Returns whether this field is set.
|
|
15074
|
+
* @return {boolean}
|
|
15075
|
+
*/
|
|
15076
|
+
proto.cms.TranslationItem.prototype.hasTitle = function() {
|
|
15077
|
+
return jspb.Message.getField(this, 3) != null;
|
|
15078
|
+
};
|
|
15079
|
+
|
|
15080
|
+
|
|
15081
|
+
/**
|
|
15082
|
+
* optional string content = 4;
|
|
15083
|
+
* @return {string}
|
|
15084
|
+
*/
|
|
15085
|
+
proto.cms.TranslationItem.prototype.getContent = function() {
|
|
15086
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
15087
|
+
};
|
|
15088
|
+
|
|
15089
|
+
|
|
15090
|
+
/**
|
|
15091
|
+
* @param {string} value
|
|
15092
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15093
|
+
*/
|
|
15094
|
+
proto.cms.TranslationItem.prototype.setContent = function(value) {
|
|
15095
|
+
return jspb.Message.setField(this, 4, value);
|
|
15096
|
+
};
|
|
15097
|
+
|
|
15098
|
+
|
|
15099
|
+
/**
|
|
15100
|
+
* Clears the field making it undefined.
|
|
15101
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15102
|
+
*/
|
|
15103
|
+
proto.cms.TranslationItem.prototype.clearContent = function() {
|
|
15104
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
15105
|
+
};
|
|
15106
|
+
|
|
15107
|
+
|
|
15108
|
+
/**
|
|
15109
|
+
* Returns whether this field is set.
|
|
15110
|
+
* @return {boolean}
|
|
15111
|
+
*/
|
|
15112
|
+
proto.cms.TranslationItem.prototype.hasContent = function() {
|
|
15113
|
+
return jspb.Message.getField(this, 4) != null;
|
|
15114
|
+
};
|
|
15115
|
+
|
|
15116
|
+
|
|
15117
|
+
/**
|
|
15118
|
+
* optional bool is_active = 5;
|
|
15119
|
+
* @return {boolean}
|
|
15120
|
+
*/
|
|
15121
|
+
proto.cms.TranslationItem.prototype.getIsActive = function() {
|
|
15122
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
|
|
15123
|
+
};
|
|
15124
|
+
|
|
15125
|
+
|
|
15126
|
+
/**
|
|
15127
|
+
* @param {boolean} value
|
|
15128
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15129
|
+
*/
|
|
15130
|
+
proto.cms.TranslationItem.prototype.setIsActive = function(value) {
|
|
15131
|
+
return jspb.Message.setField(this, 5, value);
|
|
15132
|
+
};
|
|
15133
|
+
|
|
15134
|
+
|
|
15135
|
+
/**
|
|
15136
|
+
* Clears the field making it undefined.
|
|
15137
|
+
* @return {!proto.cms.TranslationItem} returns this
|
|
15138
|
+
*/
|
|
15139
|
+
proto.cms.TranslationItem.prototype.clearIsActive = function() {
|
|
15140
|
+
return jspb.Message.setField(this, 5, undefined);
|
|
15141
|
+
};
|
|
15142
|
+
|
|
15143
|
+
|
|
15144
|
+
/**
|
|
15145
|
+
* Returns whether this field is set.
|
|
15146
|
+
* @return {boolean}
|
|
15147
|
+
*/
|
|
15148
|
+
proto.cms.TranslationItem.prototype.hasIsActive = function() {
|
|
15149
|
+
return jspb.Message.getField(this, 5) != null;
|
|
15150
|
+
};
|
|
15151
|
+
|
|
15152
|
+
|
|
14519
15153
|
goog.object.extend(exports, proto.cms);
|