protobuf-platform 1.2.106 → 1.2.107

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_pb.js CHANGED
@@ -36,6 +36,13 @@ goog.exportSymbol('proto.cms.BannerTexts', null, global);
36
36
  goog.exportSymbol('proto.cms.BurgerMenuWidgetItem', null, global);
37
37
  goog.exportSymbol('proto.cms.CommonWidgetRequest', null, global);
38
38
  goog.exportSymbol('proto.cms.File', null, global);
39
+ goog.exportSymbol('proto.cms.FooterMainTextItem', null, global);
40
+ goog.exportSymbol('proto.cms.FooterMainTextItemRequest', null, global);
41
+ goog.exportSymbol('proto.cms.FooterMainTextItemsResponse', null, global);
42
+ goog.exportSymbol('proto.cms.FooterMainTextResponse', null, global);
43
+ goog.exportSymbol('proto.cms.FooterMainTextStatusResponse', null, global);
44
+ goog.exportSymbol('proto.cms.FooterMainTextTranslationRequest', null, global);
45
+ goog.exportSymbol('proto.cms.FooterMainTextTranslationResponse', null, global);
39
46
  goog.exportSymbol('proto.cms.FooterPartnersFile', null, global);
40
47
  goog.exportSymbol('proto.cms.FooterPartnersItem', null, global);
41
48
  goog.exportSymbol('proto.cms.FooterPartnersItemMeta', null, global);
@@ -57,6 +64,8 @@ goog.exportSymbol('proto.cms.GetBannerGroupRequest', null, global);
57
64
  goog.exportSymbol('proto.cms.GetBannerRequest', null, global);
58
65
  goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
59
66
  goog.exportSymbol('proto.cms.GetFileRequest', null, global);
67
+ goog.exportSymbol('proto.cms.GetFooterMainTextRequest', null, global);
68
+ goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global);
60
69
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
61
70
  goog.exportSymbol('proto.cms.GetGameWidgetRequest', null, global);
62
71
  goog.exportSymbol('proto.cms.GetHeaderWidgetRequest', null, global);
@@ -68,6 +77,7 @@ goog.exportSymbol('proto.cms.GetPromoTranslationRequest', null, global);
68
77
  goog.exportSymbol('proto.cms.GetSignUpFormWidgetRequest', null, global);
69
78
  goog.exportSymbol('proto.cms.HeaderWidgetItem', null, global);
70
79
  goog.exportSymbol('proto.cms.ItemsBunchRequest', null, global);
80
+ goog.exportSymbol('proto.cms.LocaleContentItem', null, global);
71
81
  goog.exportSymbol('proto.cms.MainPageWidgetItem', null, global);
72
82
  goog.exportSymbol('proto.cms.MainPageWidgetResponse', null, global);
73
83
  goog.exportSymbol('proto.cms.PageItem', null, global);
@@ -1521,6 +1531,216 @@ if (goog.DEBUG && !COMPILED) {
1521
1531
  */
1522
1532
  proto.cms.FooterPartnersItemsResponse.displayName = 'proto.cms.FooterPartnersItemsResponse';
1523
1533
  }
1534
+ /**
1535
+ * Generated by JsPbCodeGenerator.
1536
+ * @param {Array=} opt_data Optional initial data array, typically from a
1537
+ * server response, or constructed directly in Javascript. The array is used
1538
+ * in place and becomes part of the constructed object. It is not cloned.
1539
+ * If no data is provided, the constructed object will be empty, but still
1540
+ * valid.
1541
+ * @extends {jspb.Message}
1542
+ * @constructor
1543
+ */
1544
+ proto.cms.FooterMainTextItemRequest = function(opt_data) {
1545
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1546
+ };
1547
+ goog.inherits(proto.cms.FooterMainTextItemRequest, jspb.Message);
1548
+ if (goog.DEBUG && !COMPILED) {
1549
+ /**
1550
+ * @public
1551
+ * @override
1552
+ */
1553
+ proto.cms.FooterMainTextItemRequest.displayName = 'proto.cms.FooterMainTextItemRequest';
1554
+ }
1555
+ /**
1556
+ * Generated by JsPbCodeGenerator.
1557
+ * @param {Array=} opt_data Optional initial data array, typically from a
1558
+ * server response, or constructed directly in Javascript. The array is used
1559
+ * in place and becomes part of the constructed object. It is not cloned.
1560
+ * If no data is provided, the constructed object will be empty, but still
1561
+ * valid.
1562
+ * @extends {jspb.Message}
1563
+ * @constructor
1564
+ */
1565
+ proto.cms.LocaleContentItem = function(opt_data) {
1566
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1567
+ };
1568
+ goog.inherits(proto.cms.LocaleContentItem, jspb.Message);
1569
+ if (goog.DEBUG && !COMPILED) {
1570
+ /**
1571
+ * @public
1572
+ * @override
1573
+ */
1574
+ proto.cms.LocaleContentItem.displayName = 'proto.cms.LocaleContentItem';
1575
+ }
1576
+ /**
1577
+ * Generated by JsPbCodeGenerator.
1578
+ * @param {Array=} opt_data Optional initial data array, typically from a
1579
+ * server response, or constructed directly in Javascript. The array is used
1580
+ * in place and becomes part of the constructed object. It is not cloned.
1581
+ * If no data is provided, the constructed object will be empty, but still
1582
+ * valid.
1583
+ * @extends {jspb.Message}
1584
+ * @constructor
1585
+ */
1586
+ proto.cms.FooterMainTextItem = function(opt_data) {
1587
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterMainTextItem.repeatedFields_, null);
1588
+ };
1589
+ goog.inherits(proto.cms.FooterMainTextItem, jspb.Message);
1590
+ if (goog.DEBUG && !COMPILED) {
1591
+ /**
1592
+ * @public
1593
+ * @override
1594
+ */
1595
+ proto.cms.FooterMainTextItem.displayName = 'proto.cms.FooterMainTextItem';
1596
+ }
1597
+ /**
1598
+ * Generated by JsPbCodeGenerator.
1599
+ * @param {Array=} opt_data Optional initial data array, typically from a
1600
+ * server response, or constructed directly in Javascript. The array is used
1601
+ * in place and becomes part of the constructed object. It is not cloned.
1602
+ * If no data is provided, the constructed object will be empty, but still
1603
+ * valid.
1604
+ * @extends {jspb.Message}
1605
+ * @constructor
1606
+ */
1607
+ proto.cms.FooterMainTextResponse = function(opt_data) {
1608
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1609
+ };
1610
+ goog.inherits(proto.cms.FooterMainTextResponse, jspb.Message);
1611
+ if (goog.DEBUG && !COMPILED) {
1612
+ /**
1613
+ * @public
1614
+ * @override
1615
+ */
1616
+ proto.cms.FooterMainTextResponse.displayName = 'proto.cms.FooterMainTextResponse';
1617
+ }
1618
+ /**
1619
+ * Generated by JsPbCodeGenerator.
1620
+ * @param {Array=} opt_data Optional initial data array, typically from a
1621
+ * server response, or constructed directly in Javascript. The array is used
1622
+ * in place and becomes part of the constructed object. It is not cloned.
1623
+ * If no data is provided, the constructed object will be empty, but still
1624
+ * valid.
1625
+ * @extends {jspb.Message}
1626
+ * @constructor
1627
+ */
1628
+ proto.cms.FooterMainTextStatusResponse = function(opt_data) {
1629
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1630
+ };
1631
+ goog.inherits(proto.cms.FooterMainTextStatusResponse, jspb.Message);
1632
+ if (goog.DEBUG && !COMPILED) {
1633
+ /**
1634
+ * @public
1635
+ * @override
1636
+ */
1637
+ proto.cms.FooterMainTextStatusResponse.displayName = 'proto.cms.FooterMainTextStatusResponse';
1638
+ }
1639
+ /**
1640
+ * Generated by JsPbCodeGenerator.
1641
+ * @param {Array=} opt_data Optional initial data array, typically from a
1642
+ * server response, or constructed directly in Javascript. The array is used
1643
+ * in place and becomes part of the constructed object. It is not cloned.
1644
+ * If no data is provided, the constructed object will be empty, but still
1645
+ * valid.
1646
+ * @extends {jspb.Message}
1647
+ * @constructor
1648
+ */
1649
+ proto.cms.FooterMainTextItemsResponse = function(opt_data) {
1650
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterMainTextItemsResponse.repeatedFields_, null);
1651
+ };
1652
+ goog.inherits(proto.cms.FooterMainTextItemsResponse, jspb.Message);
1653
+ if (goog.DEBUG && !COMPILED) {
1654
+ /**
1655
+ * @public
1656
+ * @override
1657
+ */
1658
+ proto.cms.FooterMainTextItemsResponse.displayName = 'proto.cms.FooterMainTextItemsResponse';
1659
+ }
1660
+ /**
1661
+ * Generated by JsPbCodeGenerator.
1662
+ * @param {Array=} opt_data Optional initial data array, typically from a
1663
+ * server response, or constructed directly in Javascript. The array is used
1664
+ * in place and becomes part of the constructed object. It is not cloned.
1665
+ * If no data is provided, the constructed object will be empty, but still
1666
+ * valid.
1667
+ * @extends {jspb.Message}
1668
+ * @constructor
1669
+ */
1670
+ proto.cms.GetFooterMainTextRequest = function(opt_data) {
1671
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1672
+ };
1673
+ goog.inherits(proto.cms.GetFooterMainTextRequest, jspb.Message);
1674
+ if (goog.DEBUG && !COMPILED) {
1675
+ /**
1676
+ * @public
1677
+ * @override
1678
+ */
1679
+ proto.cms.GetFooterMainTextRequest.displayName = 'proto.cms.GetFooterMainTextRequest';
1680
+ }
1681
+ /**
1682
+ * Generated by JsPbCodeGenerator.
1683
+ * @param {Array=} opt_data Optional initial data array, typically from a
1684
+ * server response, or constructed directly in Javascript. The array is used
1685
+ * in place and becomes part of the constructed object. It is not cloned.
1686
+ * If no data is provided, the constructed object will be empty, but still
1687
+ * valid.
1688
+ * @extends {jspb.Message}
1689
+ * @constructor
1690
+ */
1691
+ proto.cms.FooterMainTextTranslationRequest = function(opt_data) {
1692
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1693
+ };
1694
+ goog.inherits(proto.cms.FooterMainTextTranslationRequest, jspb.Message);
1695
+ if (goog.DEBUG && !COMPILED) {
1696
+ /**
1697
+ * @public
1698
+ * @override
1699
+ */
1700
+ proto.cms.FooterMainTextTranslationRequest.displayName = 'proto.cms.FooterMainTextTranslationRequest';
1701
+ }
1702
+ /**
1703
+ * Generated by JsPbCodeGenerator.
1704
+ * @param {Array=} opt_data Optional initial data array, typically from a
1705
+ * server response, or constructed directly in Javascript. The array is used
1706
+ * in place and becomes part of the constructed object. It is not cloned.
1707
+ * If no data is provided, the constructed object will be empty, but still
1708
+ * valid.
1709
+ * @extends {jspb.Message}
1710
+ * @constructor
1711
+ */
1712
+ proto.cms.GetFooterMainTextTranslationRequest = function(opt_data) {
1713
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1714
+ };
1715
+ goog.inherits(proto.cms.GetFooterMainTextTranslationRequest, jspb.Message);
1716
+ if (goog.DEBUG && !COMPILED) {
1717
+ /**
1718
+ * @public
1719
+ * @override
1720
+ */
1721
+ proto.cms.GetFooterMainTextTranslationRequest.displayName = 'proto.cms.GetFooterMainTextTranslationRequest';
1722
+ }
1723
+ /**
1724
+ * Generated by JsPbCodeGenerator.
1725
+ * @param {Array=} opt_data Optional initial data array, typically from a
1726
+ * server response, or constructed directly in Javascript. The array is used
1727
+ * in place and becomes part of the constructed object. It is not cloned.
1728
+ * If no data is provided, the constructed object will be empty, but still
1729
+ * valid.
1730
+ * @extends {jspb.Message}
1731
+ * @constructor
1732
+ */
1733
+ proto.cms.FooterMainTextTranslationResponse = function(opt_data) {
1734
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1735
+ };
1736
+ goog.inherits(proto.cms.FooterMainTextTranslationResponse, jspb.Message);
1737
+ if (goog.DEBUG && !COMPILED) {
1738
+ /**
1739
+ * @public
1740
+ * @override
1741
+ */
1742
+ proto.cms.FooterMainTextTranslationResponse.displayName = 'proto.cms.FooterMainTextTranslationResponse';
1743
+ }
1524
1744
 
1525
1745
 
1526
1746
 
@@ -18699,4 +18919,2135 @@ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalItems = function() {
18699
18919
  };
18700
18920
 
18701
18921
 
18922
+
18923
+
18924
+
18925
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18926
+ /**
18927
+ * Creates an object representation of this proto.
18928
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18929
+ * Optional fields that are not set will be set to undefined.
18930
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18931
+ * For the list of reserved names please see:
18932
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18933
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18934
+ * JSPB instance for transitional soy proto support:
18935
+ * http://goto/soy-param-migration
18936
+ * @return {!Object}
18937
+ */
18938
+ proto.cms.FooterMainTextItemRequest.prototype.toObject = function(opt_includeInstance) {
18939
+ return proto.cms.FooterMainTextItemRequest.toObject(opt_includeInstance, this);
18940
+ };
18941
+
18942
+
18943
+ /**
18944
+ * Static version of the {@see toObject} method.
18945
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18946
+ * the JSPB instance for transitional soy proto support:
18947
+ * http://goto/soy-param-migration
18948
+ * @param {!proto.cms.FooterMainTextItemRequest} msg The msg instance to transform.
18949
+ * @return {!Object}
18950
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18951
+ */
18952
+ proto.cms.FooterMainTextItemRequest.toObject = function(includeInstance, msg) {
18953
+ var f, obj = {
18954
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
18955
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
18956
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
18957
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
18958
+ content: jspb.Message.getFieldWithDefault(msg, 5, "")
18959
+ };
18960
+
18961
+ if (includeInstance) {
18962
+ obj.$jspbMessageInstance = msg;
18963
+ }
18964
+ return obj;
18965
+ };
18966
+ }
18967
+
18968
+
18969
+ /**
18970
+ * Deserializes binary data (in protobuf wire format).
18971
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18972
+ * @return {!proto.cms.FooterMainTextItemRequest}
18973
+ */
18974
+ proto.cms.FooterMainTextItemRequest.deserializeBinary = function(bytes) {
18975
+ var reader = new jspb.BinaryReader(bytes);
18976
+ var msg = new proto.cms.FooterMainTextItemRequest;
18977
+ return proto.cms.FooterMainTextItemRequest.deserializeBinaryFromReader(msg, reader);
18978
+ };
18979
+
18980
+
18981
+ /**
18982
+ * Deserializes binary data (in protobuf wire format) from the
18983
+ * given reader into the given message object.
18984
+ * @param {!proto.cms.FooterMainTextItemRequest} msg The message object to deserialize into.
18985
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18986
+ * @return {!proto.cms.FooterMainTextItemRequest}
18987
+ */
18988
+ proto.cms.FooterMainTextItemRequest.deserializeBinaryFromReader = function(msg, reader) {
18989
+ while (reader.nextField()) {
18990
+ if (reader.isEndGroup()) {
18991
+ break;
18992
+ }
18993
+ var field = reader.getFieldNumber();
18994
+ switch (field) {
18995
+ case 1:
18996
+ var value = /** @type {number} */ (reader.readInt32());
18997
+ msg.setId(value);
18998
+ break;
18999
+ case 2:
19000
+ var value = /** @type {string} */ (reader.readString());
19001
+ msg.setGeo(value);
19002
+ break;
19003
+ case 3:
19004
+ var value = /** @type {string} */ (reader.readString());
19005
+ msg.setTitle(value);
19006
+ break;
19007
+ case 4:
19008
+ var value = /** @type {number} */ (reader.readInt32());
19009
+ msg.setIsActive(value);
19010
+ break;
19011
+ case 5:
19012
+ var value = /** @type {string} */ (reader.readString());
19013
+ msg.setContent(value);
19014
+ break;
19015
+ default:
19016
+ reader.skipField();
19017
+ break;
19018
+ }
19019
+ }
19020
+ return msg;
19021
+ };
19022
+
19023
+
19024
+ /**
19025
+ * Serializes the message to binary data (in protobuf wire format).
19026
+ * @return {!Uint8Array}
19027
+ */
19028
+ proto.cms.FooterMainTextItemRequest.prototype.serializeBinary = function() {
19029
+ var writer = new jspb.BinaryWriter();
19030
+ proto.cms.FooterMainTextItemRequest.serializeBinaryToWriter(this, writer);
19031
+ return writer.getResultBuffer();
19032
+ };
19033
+
19034
+
19035
+ /**
19036
+ * Serializes the given message to binary data (in protobuf wire
19037
+ * format), writing to the given BinaryWriter.
19038
+ * @param {!proto.cms.FooterMainTextItemRequest} message
19039
+ * @param {!jspb.BinaryWriter} writer
19040
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19041
+ */
19042
+ proto.cms.FooterMainTextItemRequest.serializeBinaryToWriter = function(message, writer) {
19043
+ var f = undefined;
19044
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
19045
+ if (f != null) {
19046
+ writer.writeInt32(
19047
+ 1,
19048
+ f
19049
+ );
19050
+ }
19051
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
19052
+ if (f != null) {
19053
+ writer.writeString(
19054
+ 2,
19055
+ f
19056
+ );
19057
+ }
19058
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
19059
+ if (f != null) {
19060
+ writer.writeString(
19061
+ 3,
19062
+ f
19063
+ );
19064
+ }
19065
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
19066
+ if (f != null) {
19067
+ writer.writeInt32(
19068
+ 4,
19069
+ f
19070
+ );
19071
+ }
19072
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
19073
+ if (f != null) {
19074
+ writer.writeString(
19075
+ 5,
19076
+ f
19077
+ );
19078
+ }
19079
+ };
19080
+
19081
+
19082
+ /**
19083
+ * optional int32 id = 1;
19084
+ * @return {number}
19085
+ */
19086
+ proto.cms.FooterMainTextItemRequest.prototype.getId = function() {
19087
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19088
+ };
19089
+
19090
+
19091
+ /**
19092
+ * @param {number} value
19093
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19094
+ */
19095
+ proto.cms.FooterMainTextItemRequest.prototype.setId = function(value) {
19096
+ return jspb.Message.setField(this, 1, value);
19097
+ };
19098
+
19099
+
19100
+ /**
19101
+ * Clears the field making it undefined.
19102
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19103
+ */
19104
+ proto.cms.FooterMainTextItemRequest.prototype.clearId = function() {
19105
+ return jspb.Message.setField(this, 1, undefined);
19106
+ };
19107
+
19108
+
19109
+ /**
19110
+ * Returns whether this field is set.
19111
+ * @return {boolean}
19112
+ */
19113
+ proto.cms.FooterMainTextItemRequest.prototype.hasId = function() {
19114
+ return jspb.Message.getField(this, 1) != null;
19115
+ };
19116
+
19117
+
19118
+ /**
19119
+ * optional string geo = 2;
19120
+ * @return {string}
19121
+ */
19122
+ proto.cms.FooterMainTextItemRequest.prototype.getGeo = function() {
19123
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19124
+ };
19125
+
19126
+
19127
+ /**
19128
+ * @param {string} value
19129
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19130
+ */
19131
+ proto.cms.FooterMainTextItemRequest.prototype.setGeo = function(value) {
19132
+ return jspb.Message.setField(this, 2, value);
19133
+ };
19134
+
19135
+
19136
+ /**
19137
+ * Clears the field making it undefined.
19138
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19139
+ */
19140
+ proto.cms.FooterMainTextItemRequest.prototype.clearGeo = function() {
19141
+ return jspb.Message.setField(this, 2, undefined);
19142
+ };
19143
+
19144
+
19145
+ /**
19146
+ * Returns whether this field is set.
19147
+ * @return {boolean}
19148
+ */
19149
+ proto.cms.FooterMainTextItemRequest.prototype.hasGeo = function() {
19150
+ return jspb.Message.getField(this, 2) != null;
19151
+ };
19152
+
19153
+
19154
+ /**
19155
+ * optional string title = 3;
19156
+ * @return {string}
19157
+ */
19158
+ proto.cms.FooterMainTextItemRequest.prototype.getTitle = function() {
19159
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
19160
+ };
19161
+
19162
+
19163
+ /**
19164
+ * @param {string} value
19165
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19166
+ */
19167
+ proto.cms.FooterMainTextItemRequest.prototype.setTitle = function(value) {
19168
+ return jspb.Message.setField(this, 3, value);
19169
+ };
19170
+
19171
+
19172
+ /**
19173
+ * Clears the field making it undefined.
19174
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19175
+ */
19176
+ proto.cms.FooterMainTextItemRequest.prototype.clearTitle = function() {
19177
+ return jspb.Message.setField(this, 3, undefined);
19178
+ };
19179
+
19180
+
19181
+ /**
19182
+ * Returns whether this field is set.
19183
+ * @return {boolean}
19184
+ */
19185
+ proto.cms.FooterMainTextItemRequest.prototype.hasTitle = function() {
19186
+ return jspb.Message.getField(this, 3) != null;
19187
+ };
19188
+
19189
+
19190
+ /**
19191
+ * optional int32 is_active = 4;
19192
+ * @return {number}
19193
+ */
19194
+ proto.cms.FooterMainTextItemRequest.prototype.getIsActive = function() {
19195
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
19196
+ };
19197
+
19198
+
19199
+ /**
19200
+ * @param {number} value
19201
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19202
+ */
19203
+ proto.cms.FooterMainTextItemRequest.prototype.setIsActive = function(value) {
19204
+ return jspb.Message.setField(this, 4, value);
19205
+ };
19206
+
19207
+
19208
+ /**
19209
+ * Clears the field making it undefined.
19210
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19211
+ */
19212
+ proto.cms.FooterMainTextItemRequest.prototype.clearIsActive = function() {
19213
+ return jspb.Message.setField(this, 4, undefined);
19214
+ };
19215
+
19216
+
19217
+ /**
19218
+ * Returns whether this field is set.
19219
+ * @return {boolean}
19220
+ */
19221
+ proto.cms.FooterMainTextItemRequest.prototype.hasIsActive = function() {
19222
+ return jspb.Message.getField(this, 4) != null;
19223
+ };
19224
+
19225
+
19226
+ /**
19227
+ * optional string content = 5;
19228
+ * @return {string}
19229
+ */
19230
+ proto.cms.FooterMainTextItemRequest.prototype.getContent = function() {
19231
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
19232
+ };
19233
+
19234
+
19235
+ /**
19236
+ * @param {string} value
19237
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19238
+ */
19239
+ proto.cms.FooterMainTextItemRequest.prototype.setContent = function(value) {
19240
+ return jspb.Message.setField(this, 5, value);
19241
+ };
19242
+
19243
+
19244
+ /**
19245
+ * Clears the field making it undefined.
19246
+ * @return {!proto.cms.FooterMainTextItemRequest} returns this
19247
+ */
19248
+ proto.cms.FooterMainTextItemRequest.prototype.clearContent = function() {
19249
+ return jspb.Message.setField(this, 5, undefined);
19250
+ };
19251
+
19252
+
19253
+ /**
19254
+ * Returns whether this field is set.
19255
+ * @return {boolean}
19256
+ */
19257
+ proto.cms.FooterMainTextItemRequest.prototype.hasContent = function() {
19258
+ return jspb.Message.getField(this, 5) != null;
19259
+ };
19260
+
19261
+
19262
+
19263
+
19264
+
19265
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19266
+ /**
19267
+ * Creates an object representation of this proto.
19268
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19269
+ * Optional fields that are not set will be set to undefined.
19270
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19271
+ * For the list of reserved names please see:
19272
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19273
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19274
+ * JSPB instance for transitional soy proto support:
19275
+ * http://goto/soy-param-migration
19276
+ * @return {!Object}
19277
+ */
19278
+ proto.cms.LocaleContentItem.prototype.toObject = function(opt_includeInstance) {
19279
+ return proto.cms.LocaleContentItem.toObject(opt_includeInstance, this);
19280
+ };
19281
+
19282
+
19283
+ /**
19284
+ * Static version of the {@see toObject} method.
19285
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19286
+ * the JSPB instance for transitional soy proto support:
19287
+ * http://goto/soy-param-migration
19288
+ * @param {!proto.cms.LocaleContentItem} msg The msg instance to transform.
19289
+ * @return {!Object}
19290
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19291
+ */
19292
+ proto.cms.LocaleContentItem.toObject = function(includeInstance, msg) {
19293
+ var f, obj = {
19294
+ locale: jspb.Message.getFieldWithDefault(msg, 1, ""),
19295
+ content: jspb.Message.getFieldWithDefault(msg, 2, "")
19296
+ };
19297
+
19298
+ if (includeInstance) {
19299
+ obj.$jspbMessageInstance = msg;
19300
+ }
19301
+ return obj;
19302
+ };
19303
+ }
19304
+
19305
+
19306
+ /**
19307
+ * Deserializes binary data (in protobuf wire format).
19308
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19309
+ * @return {!proto.cms.LocaleContentItem}
19310
+ */
19311
+ proto.cms.LocaleContentItem.deserializeBinary = function(bytes) {
19312
+ var reader = new jspb.BinaryReader(bytes);
19313
+ var msg = new proto.cms.LocaleContentItem;
19314
+ return proto.cms.LocaleContentItem.deserializeBinaryFromReader(msg, reader);
19315
+ };
19316
+
19317
+
19318
+ /**
19319
+ * Deserializes binary data (in protobuf wire format) from the
19320
+ * given reader into the given message object.
19321
+ * @param {!proto.cms.LocaleContentItem} msg The message object to deserialize into.
19322
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19323
+ * @return {!proto.cms.LocaleContentItem}
19324
+ */
19325
+ proto.cms.LocaleContentItem.deserializeBinaryFromReader = function(msg, reader) {
19326
+ while (reader.nextField()) {
19327
+ if (reader.isEndGroup()) {
19328
+ break;
19329
+ }
19330
+ var field = reader.getFieldNumber();
19331
+ switch (field) {
19332
+ case 1:
19333
+ var value = /** @type {string} */ (reader.readString());
19334
+ msg.setLocale(value);
19335
+ break;
19336
+ case 2:
19337
+ var value = /** @type {string} */ (reader.readString());
19338
+ msg.setContent(value);
19339
+ break;
19340
+ default:
19341
+ reader.skipField();
19342
+ break;
19343
+ }
19344
+ }
19345
+ return msg;
19346
+ };
19347
+
19348
+
19349
+ /**
19350
+ * Serializes the message to binary data (in protobuf wire format).
19351
+ * @return {!Uint8Array}
19352
+ */
19353
+ proto.cms.LocaleContentItem.prototype.serializeBinary = function() {
19354
+ var writer = new jspb.BinaryWriter();
19355
+ proto.cms.LocaleContentItem.serializeBinaryToWriter(this, writer);
19356
+ return writer.getResultBuffer();
19357
+ };
19358
+
19359
+
19360
+ /**
19361
+ * Serializes the given message to binary data (in protobuf wire
19362
+ * format), writing to the given BinaryWriter.
19363
+ * @param {!proto.cms.LocaleContentItem} message
19364
+ * @param {!jspb.BinaryWriter} writer
19365
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19366
+ */
19367
+ proto.cms.LocaleContentItem.serializeBinaryToWriter = function(message, writer) {
19368
+ var f = undefined;
19369
+ f = message.getLocale();
19370
+ if (f.length > 0) {
19371
+ writer.writeString(
19372
+ 1,
19373
+ f
19374
+ );
19375
+ }
19376
+ f = message.getContent();
19377
+ if (f.length > 0) {
19378
+ writer.writeString(
19379
+ 2,
19380
+ f
19381
+ );
19382
+ }
19383
+ };
19384
+
19385
+
19386
+ /**
19387
+ * optional string locale = 1;
19388
+ * @return {string}
19389
+ */
19390
+ proto.cms.LocaleContentItem.prototype.getLocale = function() {
19391
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
19392
+ };
19393
+
19394
+
19395
+ /**
19396
+ * @param {string} value
19397
+ * @return {!proto.cms.LocaleContentItem} returns this
19398
+ */
19399
+ proto.cms.LocaleContentItem.prototype.setLocale = function(value) {
19400
+ return jspb.Message.setProto3StringField(this, 1, value);
19401
+ };
19402
+
19403
+
19404
+ /**
19405
+ * optional string content = 2;
19406
+ * @return {string}
19407
+ */
19408
+ proto.cms.LocaleContentItem.prototype.getContent = function() {
19409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19410
+ };
19411
+
19412
+
19413
+ /**
19414
+ * @param {string} value
19415
+ * @return {!proto.cms.LocaleContentItem} returns this
19416
+ */
19417
+ proto.cms.LocaleContentItem.prototype.setContent = function(value) {
19418
+ return jspb.Message.setProto3StringField(this, 2, value);
19419
+ };
19420
+
19421
+
19422
+
19423
+ /**
19424
+ * List of repeated fields within this message type.
19425
+ * @private {!Array<number>}
19426
+ * @const
19427
+ */
19428
+ proto.cms.FooterMainTextItem.repeatedFields_ = [6];
19429
+
19430
+
19431
+
19432
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19433
+ /**
19434
+ * Creates an object representation of this proto.
19435
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19436
+ * Optional fields that are not set will be set to undefined.
19437
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19438
+ * For the list of reserved names please see:
19439
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19440
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19441
+ * JSPB instance for transitional soy proto support:
19442
+ * http://goto/soy-param-migration
19443
+ * @return {!Object}
19444
+ */
19445
+ proto.cms.FooterMainTextItem.prototype.toObject = function(opt_includeInstance) {
19446
+ return proto.cms.FooterMainTextItem.toObject(opt_includeInstance, this);
19447
+ };
19448
+
19449
+
19450
+ /**
19451
+ * Static version of the {@see toObject} method.
19452
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19453
+ * the JSPB instance for transitional soy proto support:
19454
+ * http://goto/soy-param-migration
19455
+ * @param {!proto.cms.FooterMainTextItem} msg The msg instance to transform.
19456
+ * @return {!Object}
19457
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19458
+ */
19459
+ proto.cms.FooterMainTextItem.toObject = function(includeInstance, msg) {
19460
+ var f, obj = {
19461
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
19462
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
19463
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
19464
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
19465
+ content: jspb.Message.getFieldWithDefault(msg, 5, ""),
19466
+ translationsList: jspb.Message.toObjectList(msg.getTranslationsList(),
19467
+ proto.cms.LocaleContentItem.toObject, includeInstance)
19468
+ };
19469
+
19470
+ if (includeInstance) {
19471
+ obj.$jspbMessageInstance = msg;
19472
+ }
19473
+ return obj;
19474
+ };
19475
+ }
19476
+
19477
+
19478
+ /**
19479
+ * Deserializes binary data (in protobuf wire format).
19480
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19481
+ * @return {!proto.cms.FooterMainTextItem}
19482
+ */
19483
+ proto.cms.FooterMainTextItem.deserializeBinary = function(bytes) {
19484
+ var reader = new jspb.BinaryReader(bytes);
19485
+ var msg = new proto.cms.FooterMainTextItem;
19486
+ return proto.cms.FooterMainTextItem.deserializeBinaryFromReader(msg, reader);
19487
+ };
19488
+
19489
+
19490
+ /**
19491
+ * Deserializes binary data (in protobuf wire format) from the
19492
+ * given reader into the given message object.
19493
+ * @param {!proto.cms.FooterMainTextItem} msg The message object to deserialize into.
19494
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19495
+ * @return {!proto.cms.FooterMainTextItem}
19496
+ */
19497
+ proto.cms.FooterMainTextItem.deserializeBinaryFromReader = function(msg, reader) {
19498
+ while (reader.nextField()) {
19499
+ if (reader.isEndGroup()) {
19500
+ break;
19501
+ }
19502
+ var field = reader.getFieldNumber();
19503
+ switch (field) {
19504
+ case 1:
19505
+ var value = /** @type {number} */ (reader.readInt32());
19506
+ msg.setId(value);
19507
+ break;
19508
+ case 2:
19509
+ var value = /** @type {string} */ (reader.readString());
19510
+ msg.setGeo(value);
19511
+ break;
19512
+ case 3:
19513
+ var value = /** @type {string} */ (reader.readString());
19514
+ msg.setTitle(value);
19515
+ break;
19516
+ case 4:
19517
+ var value = /** @type {number} */ (reader.readInt32());
19518
+ msg.setIsActive(value);
19519
+ break;
19520
+ case 5:
19521
+ var value = /** @type {string} */ (reader.readString());
19522
+ msg.setContent(value);
19523
+ break;
19524
+ case 6:
19525
+ var value = new proto.cms.LocaleContentItem;
19526
+ reader.readMessage(value,proto.cms.LocaleContentItem.deserializeBinaryFromReader);
19527
+ msg.addTranslations(value);
19528
+ break;
19529
+ default:
19530
+ reader.skipField();
19531
+ break;
19532
+ }
19533
+ }
19534
+ return msg;
19535
+ };
19536
+
19537
+
19538
+ /**
19539
+ * Serializes the message to binary data (in protobuf wire format).
19540
+ * @return {!Uint8Array}
19541
+ */
19542
+ proto.cms.FooterMainTextItem.prototype.serializeBinary = function() {
19543
+ var writer = new jspb.BinaryWriter();
19544
+ proto.cms.FooterMainTextItem.serializeBinaryToWriter(this, writer);
19545
+ return writer.getResultBuffer();
19546
+ };
19547
+
19548
+
19549
+ /**
19550
+ * Serializes the given message to binary data (in protobuf wire
19551
+ * format), writing to the given BinaryWriter.
19552
+ * @param {!proto.cms.FooterMainTextItem} message
19553
+ * @param {!jspb.BinaryWriter} writer
19554
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19555
+ */
19556
+ proto.cms.FooterMainTextItem.serializeBinaryToWriter = function(message, writer) {
19557
+ var f = undefined;
19558
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
19559
+ if (f != null) {
19560
+ writer.writeInt32(
19561
+ 1,
19562
+ f
19563
+ );
19564
+ }
19565
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
19566
+ if (f != null) {
19567
+ writer.writeString(
19568
+ 2,
19569
+ f
19570
+ );
19571
+ }
19572
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
19573
+ if (f != null) {
19574
+ writer.writeString(
19575
+ 3,
19576
+ f
19577
+ );
19578
+ }
19579
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
19580
+ if (f != null) {
19581
+ writer.writeInt32(
19582
+ 4,
19583
+ f
19584
+ );
19585
+ }
19586
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
19587
+ if (f != null) {
19588
+ writer.writeString(
19589
+ 5,
19590
+ f
19591
+ );
19592
+ }
19593
+ f = message.getTranslationsList();
19594
+ if (f.length > 0) {
19595
+ writer.writeRepeatedMessage(
19596
+ 6,
19597
+ f,
19598
+ proto.cms.LocaleContentItem.serializeBinaryToWriter
19599
+ );
19600
+ }
19601
+ };
19602
+
19603
+
19604
+ /**
19605
+ * optional int32 id = 1;
19606
+ * @return {number}
19607
+ */
19608
+ proto.cms.FooterMainTextItem.prototype.getId = function() {
19609
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
19610
+ };
19611
+
19612
+
19613
+ /**
19614
+ * @param {number} value
19615
+ * @return {!proto.cms.FooterMainTextItem} returns this
19616
+ */
19617
+ proto.cms.FooterMainTextItem.prototype.setId = function(value) {
19618
+ return jspb.Message.setField(this, 1, value);
19619
+ };
19620
+
19621
+
19622
+ /**
19623
+ * Clears the field making it undefined.
19624
+ * @return {!proto.cms.FooterMainTextItem} returns this
19625
+ */
19626
+ proto.cms.FooterMainTextItem.prototype.clearId = function() {
19627
+ return jspb.Message.setField(this, 1, undefined);
19628
+ };
19629
+
19630
+
19631
+ /**
19632
+ * Returns whether this field is set.
19633
+ * @return {boolean}
19634
+ */
19635
+ proto.cms.FooterMainTextItem.prototype.hasId = function() {
19636
+ return jspb.Message.getField(this, 1) != null;
19637
+ };
19638
+
19639
+
19640
+ /**
19641
+ * optional string geo = 2;
19642
+ * @return {string}
19643
+ */
19644
+ proto.cms.FooterMainTextItem.prototype.getGeo = function() {
19645
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
19646
+ };
19647
+
19648
+
19649
+ /**
19650
+ * @param {string} value
19651
+ * @return {!proto.cms.FooterMainTextItem} returns this
19652
+ */
19653
+ proto.cms.FooterMainTextItem.prototype.setGeo = function(value) {
19654
+ return jspb.Message.setField(this, 2, value);
19655
+ };
19656
+
19657
+
19658
+ /**
19659
+ * Clears the field making it undefined.
19660
+ * @return {!proto.cms.FooterMainTextItem} returns this
19661
+ */
19662
+ proto.cms.FooterMainTextItem.prototype.clearGeo = function() {
19663
+ return jspb.Message.setField(this, 2, undefined);
19664
+ };
19665
+
19666
+
19667
+ /**
19668
+ * Returns whether this field is set.
19669
+ * @return {boolean}
19670
+ */
19671
+ proto.cms.FooterMainTextItem.prototype.hasGeo = function() {
19672
+ return jspb.Message.getField(this, 2) != null;
19673
+ };
19674
+
19675
+
19676
+ /**
19677
+ * optional string title = 3;
19678
+ * @return {string}
19679
+ */
19680
+ proto.cms.FooterMainTextItem.prototype.getTitle = function() {
19681
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
19682
+ };
19683
+
19684
+
19685
+ /**
19686
+ * @param {string} value
19687
+ * @return {!proto.cms.FooterMainTextItem} returns this
19688
+ */
19689
+ proto.cms.FooterMainTextItem.prototype.setTitle = function(value) {
19690
+ return jspb.Message.setField(this, 3, value);
19691
+ };
19692
+
19693
+
19694
+ /**
19695
+ * Clears the field making it undefined.
19696
+ * @return {!proto.cms.FooterMainTextItem} returns this
19697
+ */
19698
+ proto.cms.FooterMainTextItem.prototype.clearTitle = function() {
19699
+ return jspb.Message.setField(this, 3, undefined);
19700
+ };
19701
+
19702
+
19703
+ /**
19704
+ * Returns whether this field is set.
19705
+ * @return {boolean}
19706
+ */
19707
+ proto.cms.FooterMainTextItem.prototype.hasTitle = function() {
19708
+ return jspb.Message.getField(this, 3) != null;
19709
+ };
19710
+
19711
+
19712
+ /**
19713
+ * optional int32 is_active = 4;
19714
+ * @return {number}
19715
+ */
19716
+ proto.cms.FooterMainTextItem.prototype.getIsActive = function() {
19717
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
19718
+ };
19719
+
19720
+
19721
+ /**
19722
+ * @param {number} value
19723
+ * @return {!proto.cms.FooterMainTextItem} returns this
19724
+ */
19725
+ proto.cms.FooterMainTextItem.prototype.setIsActive = function(value) {
19726
+ return jspb.Message.setField(this, 4, value);
19727
+ };
19728
+
19729
+
19730
+ /**
19731
+ * Clears the field making it undefined.
19732
+ * @return {!proto.cms.FooterMainTextItem} returns this
19733
+ */
19734
+ proto.cms.FooterMainTextItem.prototype.clearIsActive = function() {
19735
+ return jspb.Message.setField(this, 4, undefined);
19736
+ };
19737
+
19738
+
19739
+ /**
19740
+ * Returns whether this field is set.
19741
+ * @return {boolean}
19742
+ */
19743
+ proto.cms.FooterMainTextItem.prototype.hasIsActive = function() {
19744
+ return jspb.Message.getField(this, 4) != null;
19745
+ };
19746
+
19747
+
19748
+ /**
19749
+ * optional string content = 5;
19750
+ * @return {string}
19751
+ */
19752
+ proto.cms.FooterMainTextItem.prototype.getContent = function() {
19753
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
19754
+ };
19755
+
19756
+
19757
+ /**
19758
+ * @param {string} value
19759
+ * @return {!proto.cms.FooterMainTextItem} returns this
19760
+ */
19761
+ proto.cms.FooterMainTextItem.prototype.setContent = function(value) {
19762
+ return jspb.Message.setField(this, 5, value);
19763
+ };
19764
+
19765
+
19766
+ /**
19767
+ * Clears the field making it undefined.
19768
+ * @return {!proto.cms.FooterMainTextItem} returns this
19769
+ */
19770
+ proto.cms.FooterMainTextItem.prototype.clearContent = function() {
19771
+ return jspb.Message.setField(this, 5, undefined);
19772
+ };
19773
+
19774
+
19775
+ /**
19776
+ * Returns whether this field is set.
19777
+ * @return {boolean}
19778
+ */
19779
+ proto.cms.FooterMainTextItem.prototype.hasContent = function() {
19780
+ return jspb.Message.getField(this, 5) != null;
19781
+ };
19782
+
19783
+
19784
+ /**
19785
+ * repeated LocaleContentItem translations = 6;
19786
+ * @return {!Array<!proto.cms.LocaleContentItem>}
19787
+ */
19788
+ proto.cms.FooterMainTextItem.prototype.getTranslationsList = function() {
19789
+ return /** @type{!Array<!proto.cms.LocaleContentItem>} */ (
19790
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.LocaleContentItem, 6));
19791
+ };
19792
+
19793
+
19794
+ /**
19795
+ * @param {!Array<!proto.cms.LocaleContentItem>} value
19796
+ * @return {!proto.cms.FooterMainTextItem} returns this
19797
+ */
19798
+ proto.cms.FooterMainTextItem.prototype.setTranslationsList = function(value) {
19799
+ return jspb.Message.setRepeatedWrapperField(this, 6, value);
19800
+ };
19801
+
19802
+
19803
+ /**
19804
+ * @param {!proto.cms.LocaleContentItem=} opt_value
19805
+ * @param {number=} opt_index
19806
+ * @return {!proto.cms.LocaleContentItem}
19807
+ */
19808
+ proto.cms.FooterMainTextItem.prototype.addTranslations = function(opt_value, opt_index) {
19809
+ return jspb.Message.addToRepeatedWrapperField(this, 6, opt_value, proto.cms.LocaleContentItem, opt_index);
19810
+ };
19811
+
19812
+
19813
+ /**
19814
+ * Clears the list making it empty but non-null.
19815
+ * @return {!proto.cms.FooterMainTextItem} returns this
19816
+ */
19817
+ proto.cms.FooterMainTextItem.prototype.clearTranslationsList = function() {
19818
+ return this.setTranslationsList([]);
19819
+ };
19820
+
19821
+
19822
+
19823
+
19824
+
19825
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19826
+ /**
19827
+ * Creates an object representation of this proto.
19828
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19829
+ * Optional fields that are not set will be set to undefined.
19830
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19831
+ * For the list of reserved names please see:
19832
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19833
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19834
+ * JSPB instance for transitional soy proto support:
19835
+ * http://goto/soy-param-migration
19836
+ * @return {!Object}
19837
+ */
19838
+ proto.cms.FooterMainTextResponse.prototype.toObject = function(opt_includeInstance) {
19839
+ return proto.cms.FooterMainTextResponse.toObject(opt_includeInstance, this);
19840
+ };
19841
+
19842
+
19843
+ /**
19844
+ * Static version of the {@see toObject} method.
19845
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19846
+ * the JSPB instance for transitional soy proto support:
19847
+ * http://goto/soy-param-migration
19848
+ * @param {!proto.cms.FooterMainTextResponse} msg The msg instance to transform.
19849
+ * @return {!Object}
19850
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19851
+ */
19852
+ proto.cms.FooterMainTextResponse.toObject = function(includeInstance, msg) {
19853
+ var f, obj = {
19854
+ data: (f = msg.getData()) && proto.cms.FooterMainTextItem.toObject(includeInstance, f)
19855
+ };
19856
+
19857
+ if (includeInstance) {
19858
+ obj.$jspbMessageInstance = msg;
19859
+ }
19860
+ return obj;
19861
+ };
19862
+ }
19863
+
19864
+
19865
+ /**
19866
+ * Deserializes binary data (in protobuf wire format).
19867
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
19868
+ * @return {!proto.cms.FooterMainTextResponse}
19869
+ */
19870
+ proto.cms.FooterMainTextResponse.deserializeBinary = function(bytes) {
19871
+ var reader = new jspb.BinaryReader(bytes);
19872
+ var msg = new proto.cms.FooterMainTextResponse;
19873
+ return proto.cms.FooterMainTextResponse.deserializeBinaryFromReader(msg, reader);
19874
+ };
19875
+
19876
+
19877
+ /**
19878
+ * Deserializes binary data (in protobuf wire format) from the
19879
+ * given reader into the given message object.
19880
+ * @param {!proto.cms.FooterMainTextResponse} msg The message object to deserialize into.
19881
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
19882
+ * @return {!proto.cms.FooterMainTextResponse}
19883
+ */
19884
+ proto.cms.FooterMainTextResponse.deserializeBinaryFromReader = function(msg, reader) {
19885
+ while (reader.nextField()) {
19886
+ if (reader.isEndGroup()) {
19887
+ break;
19888
+ }
19889
+ var field = reader.getFieldNumber();
19890
+ switch (field) {
19891
+ case 1:
19892
+ var value = new proto.cms.FooterMainTextItem;
19893
+ reader.readMessage(value,proto.cms.FooterMainTextItem.deserializeBinaryFromReader);
19894
+ msg.setData(value);
19895
+ break;
19896
+ default:
19897
+ reader.skipField();
19898
+ break;
19899
+ }
19900
+ }
19901
+ return msg;
19902
+ };
19903
+
19904
+
19905
+ /**
19906
+ * Serializes the message to binary data (in protobuf wire format).
19907
+ * @return {!Uint8Array}
19908
+ */
19909
+ proto.cms.FooterMainTextResponse.prototype.serializeBinary = function() {
19910
+ var writer = new jspb.BinaryWriter();
19911
+ proto.cms.FooterMainTextResponse.serializeBinaryToWriter(this, writer);
19912
+ return writer.getResultBuffer();
19913
+ };
19914
+
19915
+
19916
+ /**
19917
+ * Serializes the given message to binary data (in protobuf wire
19918
+ * format), writing to the given BinaryWriter.
19919
+ * @param {!proto.cms.FooterMainTextResponse} message
19920
+ * @param {!jspb.BinaryWriter} writer
19921
+ * @suppress {unusedLocalVariables} f is only used for nested messages
19922
+ */
19923
+ proto.cms.FooterMainTextResponse.serializeBinaryToWriter = function(message, writer) {
19924
+ var f = undefined;
19925
+ f = message.getData();
19926
+ if (f != null) {
19927
+ writer.writeMessage(
19928
+ 1,
19929
+ f,
19930
+ proto.cms.FooterMainTextItem.serializeBinaryToWriter
19931
+ );
19932
+ }
19933
+ };
19934
+
19935
+
19936
+ /**
19937
+ * optional FooterMainTextItem data = 1;
19938
+ * @return {?proto.cms.FooterMainTextItem}
19939
+ */
19940
+ proto.cms.FooterMainTextResponse.prototype.getData = function() {
19941
+ return /** @type{?proto.cms.FooterMainTextItem} */ (
19942
+ jspb.Message.getWrapperField(this, proto.cms.FooterMainTextItem, 1));
19943
+ };
19944
+
19945
+
19946
+ /**
19947
+ * @param {?proto.cms.FooterMainTextItem|undefined} value
19948
+ * @return {!proto.cms.FooterMainTextResponse} returns this
19949
+ */
19950
+ proto.cms.FooterMainTextResponse.prototype.setData = function(value) {
19951
+ return jspb.Message.setWrapperField(this, 1, value);
19952
+ };
19953
+
19954
+
19955
+ /**
19956
+ * Clears the message field making it undefined.
19957
+ * @return {!proto.cms.FooterMainTextResponse} returns this
19958
+ */
19959
+ proto.cms.FooterMainTextResponse.prototype.clearData = function() {
19960
+ return this.setData(undefined);
19961
+ };
19962
+
19963
+
19964
+ /**
19965
+ * Returns whether this field is set.
19966
+ * @return {boolean}
19967
+ */
19968
+ proto.cms.FooterMainTextResponse.prototype.hasData = function() {
19969
+ return jspb.Message.getField(this, 1) != null;
19970
+ };
19971
+
19972
+
19973
+
19974
+
19975
+
19976
+ if (jspb.Message.GENERATE_TO_OBJECT) {
19977
+ /**
19978
+ * Creates an object representation of this proto.
19979
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
19980
+ * Optional fields that are not set will be set to undefined.
19981
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
19982
+ * For the list of reserved names please see:
19983
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
19984
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
19985
+ * JSPB instance for transitional soy proto support:
19986
+ * http://goto/soy-param-migration
19987
+ * @return {!Object}
19988
+ */
19989
+ proto.cms.FooterMainTextStatusResponse.prototype.toObject = function(opt_includeInstance) {
19990
+ return proto.cms.FooterMainTextStatusResponse.toObject(opt_includeInstance, this);
19991
+ };
19992
+
19993
+
19994
+ /**
19995
+ * Static version of the {@see toObject} method.
19996
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
19997
+ * the JSPB instance for transitional soy proto support:
19998
+ * http://goto/soy-param-migration
19999
+ * @param {!proto.cms.FooterMainTextStatusResponse} msg The msg instance to transform.
20000
+ * @return {!Object}
20001
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20002
+ */
20003
+ proto.cms.FooterMainTextStatusResponse.toObject = function(includeInstance, msg) {
20004
+ var f, obj = {
20005
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
20006
+ };
20007
+
20008
+ if (includeInstance) {
20009
+ obj.$jspbMessageInstance = msg;
20010
+ }
20011
+ return obj;
20012
+ };
20013
+ }
20014
+
20015
+
20016
+ /**
20017
+ * Deserializes binary data (in protobuf wire format).
20018
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20019
+ * @return {!proto.cms.FooterMainTextStatusResponse}
20020
+ */
20021
+ proto.cms.FooterMainTextStatusResponse.deserializeBinary = function(bytes) {
20022
+ var reader = new jspb.BinaryReader(bytes);
20023
+ var msg = new proto.cms.FooterMainTextStatusResponse;
20024
+ return proto.cms.FooterMainTextStatusResponse.deserializeBinaryFromReader(msg, reader);
20025
+ };
20026
+
20027
+
20028
+ /**
20029
+ * Deserializes binary data (in protobuf wire format) from the
20030
+ * given reader into the given message object.
20031
+ * @param {!proto.cms.FooterMainTextStatusResponse} msg The message object to deserialize into.
20032
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20033
+ * @return {!proto.cms.FooterMainTextStatusResponse}
20034
+ */
20035
+ proto.cms.FooterMainTextStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
20036
+ while (reader.nextField()) {
20037
+ if (reader.isEndGroup()) {
20038
+ break;
20039
+ }
20040
+ var field = reader.getFieldNumber();
20041
+ switch (field) {
20042
+ case 1:
20043
+ var value = /** @type {string} */ (reader.readString());
20044
+ msg.setStatus(value);
20045
+ break;
20046
+ default:
20047
+ reader.skipField();
20048
+ break;
20049
+ }
20050
+ }
20051
+ return msg;
20052
+ };
20053
+
20054
+
20055
+ /**
20056
+ * Serializes the message to binary data (in protobuf wire format).
20057
+ * @return {!Uint8Array}
20058
+ */
20059
+ proto.cms.FooterMainTextStatusResponse.prototype.serializeBinary = function() {
20060
+ var writer = new jspb.BinaryWriter();
20061
+ proto.cms.FooterMainTextStatusResponse.serializeBinaryToWriter(this, writer);
20062
+ return writer.getResultBuffer();
20063
+ };
20064
+
20065
+
20066
+ /**
20067
+ * Serializes the given message to binary data (in protobuf wire
20068
+ * format), writing to the given BinaryWriter.
20069
+ * @param {!proto.cms.FooterMainTextStatusResponse} message
20070
+ * @param {!jspb.BinaryWriter} writer
20071
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20072
+ */
20073
+ proto.cms.FooterMainTextStatusResponse.serializeBinaryToWriter = function(message, writer) {
20074
+ var f = undefined;
20075
+ f = message.getStatus();
20076
+ if (f.length > 0) {
20077
+ writer.writeString(
20078
+ 1,
20079
+ f
20080
+ );
20081
+ }
20082
+ };
20083
+
20084
+
20085
+ /**
20086
+ * optional string status = 1;
20087
+ * @return {string}
20088
+ */
20089
+ proto.cms.FooterMainTextStatusResponse.prototype.getStatus = function() {
20090
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
20091
+ };
20092
+
20093
+
20094
+ /**
20095
+ * @param {string} value
20096
+ * @return {!proto.cms.FooterMainTextStatusResponse} returns this
20097
+ */
20098
+ proto.cms.FooterMainTextStatusResponse.prototype.setStatus = function(value) {
20099
+ return jspb.Message.setProto3StringField(this, 1, value);
20100
+ };
20101
+
20102
+
20103
+
20104
+ /**
20105
+ * List of repeated fields within this message type.
20106
+ * @private {!Array<number>}
20107
+ * @const
20108
+ */
20109
+ proto.cms.FooterMainTextItemsResponse.repeatedFields_ = [1];
20110
+
20111
+
20112
+
20113
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20114
+ /**
20115
+ * Creates an object representation of this proto.
20116
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20117
+ * Optional fields that are not set will be set to undefined.
20118
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20119
+ * For the list of reserved names please see:
20120
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20121
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20122
+ * JSPB instance for transitional soy proto support:
20123
+ * http://goto/soy-param-migration
20124
+ * @return {!Object}
20125
+ */
20126
+ proto.cms.FooterMainTextItemsResponse.prototype.toObject = function(opt_includeInstance) {
20127
+ return proto.cms.FooterMainTextItemsResponse.toObject(opt_includeInstance, this);
20128
+ };
20129
+
20130
+
20131
+ /**
20132
+ * Static version of the {@see toObject} method.
20133
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20134
+ * the JSPB instance for transitional soy proto support:
20135
+ * http://goto/soy-param-migration
20136
+ * @param {!proto.cms.FooterMainTextItemsResponse} msg The msg instance to transform.
20137
+ * @return {!Object}
20138
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20139
+ */
20140
+ proto.cms.FooterMainTextItemsResponse.toObject = function(includeInstance, msg) {
20141
+ var f, obj = {
20142
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
20143
+ proto.cms.FooterMainTextItem.toObject, includeInstance),
20144
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
20145
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
20146
+ };
20147
+
20148
+ if (includeInstance) {
20149
+ obj.$jspbMessageInstance = msg;
20150
+ }
20151
+ return obj;
20152
+ };
20153
+ }
20154
+
20155
+
20156
+ /**
20157
+ * Deserializes binary data (in protobuf wire format).
20158
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20159
+ * @return {!proto.cms.FooterMainTextItemsResponse}
20160
+ */
20161
+ proto.cms.FooterMainTextItemsResponse.deserializeBinary = function(bytes) {
20162
+ var reader = new jspb.BinaryReader(bytes);
20163
+ var msg = new proto.cms.FooterMainTextItemsResponse;
20164
+ return proto.cms.FooterMainTextItemsResponse.deserializeBinaryFromReader(msg, reader);
20165
+ };
20166
+
20167
+
20168
+ /**
20169
+ * Deserializes binary data (in protobuf wire format) from the
20170
+ * given reader into the given message object.
20171
+ * @param {!proto.cms.FooterMainTextItemsResponse} msg The message object to deserialize into.
20172
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20173
+ * @return {!proto.cms.FooterMainTextItemsResponse}
20174
+ */
20175
+ proto.cms.FooterMainTextItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
20176
+ while (reader.nextField()) {
20177
+ if (reader.isEndGroup()) {
20178
+ break;
20179
+ }
20180
+ var field = reader.getFieldNumber();
20181
+ switch (field) {
20182
+ case 1:
20183
+ var value = new proto.cms.FooterMainTextItem;
20184
+ reader.readMessage(value,proto.cms.FooterMainTextItem.deserializeBinaryFromReader);
20185
+ msg.addItems(value);
20186
+ break;
20187
+ case 2:
20188
+ var value = /** @type {number} */ (reader.readInt32());
20189
+ msg.setTotalPages(value);
20190
+ break;
20191
+ case 3:
20192
+ var value = /** @type {number} */ (reader.readInt32());
20193
+ msg.setTotalItems(value);
20194
+ break;
20195
+ default:
20196
+ reader.skipField();
20197
+ break;
20198
+ }
20199
+ }
20200
+ return msg;
20201
+ };
20202
+
20203
+
20204
+ /**
20205
+ * Serializes the message to binary data (in protobuf wire format).
20206
+ * @return {!Uint8Array}
20207
+ */
20208
+ proto.cms.FooterMainTextItemsResponse.prototype.serializeBinary = function() {
20209
+ var writer = new jspb.BinaryWriter();
20210
+ proto.cms.FooterMainTextItemsResponse.serializeBinaryToWriter(this, writer);
20211
+ return writer.getResultBuffer();
20212
+ };
20213
+
20214
+
20215
+ /**
20216
+ * Serializes the given message to binary data (in protobuf wire
20217
+ * format), writing to the given BinaryWriter.
20218
+ * @param {!proto.cms.FooterMainTextItemsResponse} message
20219
+ * @param {!jspb.BinaryWriter} writer
20220
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20221
+ */
20222
+ proto.cms.FooterMainTextItemsResponse.serializeBinaryToWriter = function(message, writer) {
20223
+ var f = undefined;
20224
+ f = message.getItemsList();
20225
+ if (f.length > 0) {
20226
+ writer.writeRepeatedMessage(
20227
+ 1,
20228
+ f,
20229
+ proto.cms.FooterMainTextItem.serializeBinaryToWriter
20230
+ );
20231
+ }
20232
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
20233
+ if (f != null) {
20234
+ writer.writeInt32(
20235
+ 2,
20236
+ f
20237
+ );
20238
+ }
20239
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
20240
+ if (f != null) {
20241
+ writer.writeInt32(
20242
+ 3,
20243
+ f
20244
+ );
20245
+ }
20246
+ };
20247
+
20248
+
20249
+ /**
20250
+ * repeated FooterMainTextItem items = 1;
20251
+ * @return {!Array<!proto.cms.FooterMainTextItem>}
20252
+ */
20253
+ proto.cms.FooterMainTextItemsResponse.prototype.getItemsList = function() {
20254
+ return /** @type{!Array<!proto.cms.FooterMainTextItem>} */ (
20255
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterMainTextItem, 1));
20256
+ };
20257
+
20258
+
20259
+ /**
20260
+ * @param {!Array<!proto.cms.FooterMainTextItem>} value
20261
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20262
+ */
20263
+ proto.cms.FooterMainTextItemsResponse.prototype.setItemsList = function(value) {
20264
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
20265
+ };
20266
+
20267
+
20268
+ /**
20269
+ * @param {!proto.cms.FooterMainTextItem=} opt_value
20270
+ * @param {number=} opt_index
20271
+ * @return {!proto.cms.FooterMainTextItem}
20272
+ */
20273
+ proto.cms.FooterMainTextItemsResponse.prototype.addItems = function(opt_value, opt_index) {
20274
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterMainTextItem, opt_index);
20275
+ };
20276
+
20277
+
20278
+ /**
20279
+ * Clears the list making it empty but non-null.
20280
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20281
+ */
20282
+ proto.cms.FooterMainTextItemsResponse.prototype.clearItemsList = function() {
20283
+ return this.setItemsList([]);
20284
+ };
20285
+
20286
+
20287
+ /**
20288
+ * optional int32 total_pages = 2;
20289
+ * @return {number}
20290
+ */
20291
+ proto.cms.FooterMainTextItemsResponse.prototype.getTotalPages = function() {
20292
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
20293
+ };
20294
+
20295
+
20296
+ /**
20297
+ * @param {number} value
20298
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20299
+ */
20300
+ proto.cms.FooterMainTextItemsResponse.prototype.setTotalPages = function(value) {
20301
+ return jspb.Message.setField(this, 2, value);
20302
+ };
20303
+
20304
+
20305
+ /**
20306
+ * Clears the field making it undefined.
20307
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20308
+ */
20309
+ proto.cms.FooterMainTextItemsResponse.prototype.clearTotalPages = function() {
20310
+ return jspb.Message.setField(this, 2, undefined);
20311
+ };
20312
+
20313
+
20314
+ /**
20315
+ * Returns whether this field is set.
20316
+ * @return {boolean}
20317
+ */
20318
+ proto.cms.FooterMainTextItemsResponse.prototype.hasTotalPages = function() {
20319
+ return jspb.Message.getField(this, 2) != null;
20320
+ };
20321
+
20322
+
20323
+ /**
20324
+ * optional int32 total_items = 3;
20325
+ * @return {number}
20326
+ */
20327
+ proto.cms.FooterMainTextItemsResponse.prototype.getTotalItems = function() {
20328
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
20329
+ };
20330
+
20331
+
20332
+ /**
20333
+ * @param {number} value
20334
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20335
+ */
20336
+ proto.cms.FooterMainTextItemsResponse.prototype.setTotalItems = function(value) {
20337
+ return jspb.Message.setField(this, 3, value);
20338
+ };
20339
+
20340
+
20341
+ /**
20342
+ * Clears the field making it undefined.
20343
+ * @return {!proto.cms.FooterMainTextItemsResponse} returns this
20344
+ */
20345
+ proto.cms.FooterMainTextItemsResponse.prototype.clearTotalItems = function() {
20346
+ return jspb.Message.setField(this, 3, undefined);
20347
+ };
20348
+
20349
+
20350
+ /**
20351
+ * Returns whether this field is set.
20352
+ * @return {boolean}
20353
+ */
20354
+ proto.cms.FooterMainTextItemsResponse.prototype.hasTotalItems = function() {
20355
+ return jspb.Message.getField(this, 3) != null;
20356
+ };
20357
+
20358
+
20359
+
20360
+
20361
+
20362
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20363
+ /**
20364
+ * Creates an object representation of this proto.
20365
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20366
+ * Optional fields that are not set will be set to undefined.
20367
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20368
+ * For the list of reserved names please see:
20369
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20370
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20371
+ * JSPB instance for transitional soy proto support:
20372
+ * http://goto/soy-param-migration
20373
+ * @return {!Object}
20374
+ */
20375
+ proto.cms.GetFooterMainTextRequest.prototype.toObject = function(opt_includeInstance) {
20376
+ return proto.cms.GetFooterMainTextRequest.toObject(opt_includeInstance, this);
20377
+ };
20378
+
20379
+
20380
+ /**
20381
+ * Static version of the {@see toObject} method.
20382
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20383
+ * the JSPB instance for transitional soy proto support:
20384
+ * http://goto/soy-param-migration
20385
+ * @param {!proto.cms.GetFooterMainTextRequest} msg The msg instance to transform.
20386
+ * @return {!Object}
20387
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20388
+ */
20389
+ proto.cms.GetFooterMainTextRequest.toObject = function(includeInstance, msg) {
20390
+ var f, obj = {
20391
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
20392
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
20393
+ };
20394
+
20395
+ if (includeInstance) {
20396
+ obj.$jspbMessageInstance = msg;
20397
+ }
20398
+ return obj;
20399
+ };
20400
+ }
20401
+
20402
+
20403
+ /**
20404
+ * Deserializes binary data (in protobuf wire format).
20405
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20406
+ * @return {!proto.cms.GetFooterMainTextRequest}
20407
+ */
20408
+ proto.cms.GetFooterMainTextRequest.deserializeBinary = function(bytes) {
20409
+ var reader = new jspb.BinaryReader(bytes);
20410
+ var msg = new proto.cms.GetFooterMainTextRequest;
20411
+ return proto.cms.GetFooterMainTextRequest.deserializeBinaryFromReader(msg, reader);
20412
+ };
20413
+
20414
+
20415
+ /**
20416
+ * Deserializes binary data (in protobuf wire format) from the
20417
+ * given reader into the given message object.
20418
+ * @param {!proto.cms.GetFooterMainTextRequest} msg The message object to deserialize into.
20419
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20420
+ * @return {!proto.cms.GetFooterMainTextRequest}
20421
+ */
20422
+ proto.cms.GetFooterMainTextRequest.deserializeBinaryFromReader = function(msg, reader) {
20423
+ while (reader.nextField()) {
20424
+ if (reader.isEndGroup()) {
20425
+ break;
20426
+ }
20427
+ var field = reader.getFieldNumber();
20428
+ switch (field) {
20429
+ case 1:
20430
+ var value = /** @type {number} */ (reader.readInt32());
20431
+ msg.setId(value);
20432
+ break;
20433
+ case 2:
20434
+ var value = /** @type {boolean} */ (reader.readBool());
20435
+ msg.setAdminSide(value);
20436
+ break;
20437
+ default:
20438
+ reader.skipField();
20439
+ break;
20440
+ }
20441
+ }
20442
+ return msg;
20443
+ };
20444
+
20445
+
20446
+ /**
20447
+ * Serializes the message to binary data (in protobuf wire format).
20448
+ * @return {!Uint8Array}
20449
+ */
20450
+ proto.cms.GetFooterMainTextRequest.prototype.serializeBinary = function() {
20451
+ var writer = new jspb.BinaryWriter();
20452
+ proto.cms.GetFooterMainTextRequest.serializeBinaryToWriter(this, writer);
20453
+ return writer.getResultBuffer();
20454
+ };
20455
+
20456
+
20457
+ /**
20458
+ * Serializes the given message to binary data (in protobuf wire
20459
+ * format), writing to the given BinaryWriter.
20460
+ * @param {!proto.cms.GetFooterMainTextRequest} message
20461
+ * @param {!jspb.BinaryWriter} writer
20462
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20463
+ */
20464
+ proto.cms.GetFooterMainTextRequest.serializeBinaryToWriter = function(message, writer) {
20465
+ var f = undefined;
20466
+ f = message.getId();
20467
+ if (f !== 0) {
20468
+ writer.writeInt32(
20469
+ 1,
20470
+ f
20471
+ );
20472
+ }
20473
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
20474
+ if (f != null) {
20475
+ writer.writeBool(
20476
+ 2,
20477
+ f
20478
+ );
20479
+ }
20480
+ };
20481
+
20482
+
20483
+ /**
20484
+ * optional int32 id = 1;
20485
+ * @return {number}
20486
+ */
20487
+ proto.cms.GetFooterMainTextRequest.prototype.getId = function() {
20488
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20489
+ };
20490
+
20491
+
20492
+ /**
20493
+ * @param {number} value
20494
+ * @return {!proto.cms.GetFooterMainTextRequest} returns this
20495
+ */
20496
+ proto.cms.GetFooterMainTextRequest.prototype.setId = function(value) {
20497
+ return jspb.Message.setProto3IntField(this, 1, value);
20498
+ };
20499
+
20500
+
20501
+ /**
20502
+ * optional bool admin_side = 2;
20503
+ * @return {boolean}
20504
+ */
20505
+ proto.cms.GetFooterMainTextRequest.prototype.getAdminSide = function() {
20506
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
20507
+ };
20508
+
20509
+
20510
+ /**
20511
+ * @param {boolean} value
20512
+ * @return {!proto.cms.GetFooterMainTextRequest} returns this
20513
+ */
20514
+ proto.cms.GetFooterMainTextRequest.prototype.setAdminSide = function(value) {
20515
+ return jspb.Message.setField(this, 2, value);
20516
+ };
20517
+
20518
+
20519
+ /**
20520
+ * Clears the field making it undefined.
20521
+ * @return {!proto.cms.GetFooterMainTextRequest} returns this
20522
+ */
20523
+ proto.cms.GetFooterMainTextRequest.prototype.clearAdminSide = function() {
20524
+ return jspb.Message.setField(this, 2, undefined);
20525
+ };
20526
+
20527
+
20528
+ /**
20529
+ * Returns whether this field is set.
20530
+ * @return {boolean}
20531
+ */
20532
+ proto.cms.GetFooterMainTextRequest.prototype.hasAdminSide = function() {
20533
+ return jspb.Message.getField(this, 2) != null;
20534
+ };
20535
+
20536
+
20537
+
20538
+
20539
+
20540
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20541
+ /**
20542
+ * Creates an object representation of this proto.
20543
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20544
+ * Optional fields that are not set will be set to undefined.
20545
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20546
+ * For the list of reserved names please see:
20547
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20548
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20549
+ * JSPB instance for transitional soy proto support:
20550
+ * http://goto/soy-param-migration
20551
+ * @return {!Object}
20552
+ */
20553
+ proto.cms.FooterMainTextTranslationRequest.prototype.toObject = function(opt_includeInstance) {
20554
+ return proto.cms.FooterMainTextTranslationRequest.toObject(opt_includeInstance, this);
20555
+ };
20556
+
20557
+
20558
+ /**
20559
+ * Static version of the {@see toObject} method.
20560
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20561
+ * the JSPB instance for transitional soy proto support:
20562
+ * http://goto/soy-param-migration
20563
+ * @param {!proto.cms.FooterMainTextTranslationRequest} msg The msg instance to transform.
20564
+ * @return {!Object}
20565
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20566
+ */
20567
+ proto.cms.FooterMainTextTranslationRequest.toObject = function(includeInstance, msg) {
20568
+ var f, obj = {
20569
+ mainTextId: jspb.Message.getFieldWithDefault(msg, 1, 0),
20570
+ locale: jspb.Message.getFieldWithDefault(msg, 2, ""),
20571
+ content: jspb.Message.getFieldWithDefault(msg, 3, "")
20572
+ };
20573
+
20574
+ if (includeInstance) {
20575
+ obj.$jspbMessageInstance = msg;
20576
+ }
20577
+ return obj;
20578
+ };
20579
+ }
20580
+
20581
+
20582
+ /**
20583
+ * Deserializes binary data (in protobuf wire format).
20584
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20585
+ * @return {!proto.cms.FooterMainTextTranslationRequest}
20586
+ */
20587
+ proto.cms.FooterMainTextTranslationRequest.deserializeBinary = function(bytes) {
20588
+ var reader = new jspb.BinaryReader(bytes);
20589
+ var msg = new proto.cms.FooterMainTextTranslationRequest;
20590
+ return proto.cms.FooterMainTextTranslationRequest.deserializeBinaryFromReader(msg, reader);
20591
+ };
20592
+
20593
+
20594
+ /**
20595
+ * Deserializes binary data (in protobuf wire format) from the
20596
+ * given reader into the given message object.
20597
+ * @param {!proto.cms.FooterMainTextTranslationRequest} msg The message object to deserialize into.
20598
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20599
+ * @return {!proto.cms.FooterMainTextTranslationRequest}
20600
+ */
20601
+ proto.cms.FooterMainTextTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
20602
+ while (reader.nextField()) {
20603
+ if (reader.isEndGroup()) {
20604
+ break;
20605
+ }
20606
+ var field = reader.getFieldNumber();
20607
+ switch (field) {
20608
+ case 1:
20609
+ var value = /** @type {number} */ (reader.readInt32());
20610
+ msg.setMainTextId(value);
20611
+ break;
20612
+ case 2:
20613
+ var value = /** @type {string} */ (reader.readString());
20614
+ msg.setLocale(value);
20615
+ break;
20616
+ case 3:
20617
+ var value = /** @type {string} */ (reader.readString());
20618
+ msg.setContent(value);
20619
+ break;
20620
+ default:
20621
+ reader.skipField();
20622
+ break;
20623
+ }
20624
+ }
20625
+ return msg;
20626
+ };
20627
+
20628
+
20629
+ /**
20630
+ * Serializes the message to binary data (in protobuf wire format).
20631
+ * @return {!Uint8Array}
20632
+ */
20633
+ proto.cms.FooterMainTextTranslationRequest.prototype.serializeBinary = function() {
20634
+ var writer = new jspb.BinaryWriter();
20635
+ proto.cms.FooterMainTextTranslationRequest.serializeBinaryToWriter(this, writer);
20636
+ return writer.getResultBuffer();
20637
+ };
20638
+
20639
+
20640
+ /**
20641
+ * Serializes the given message to binary data (in protobuf wire
20642
+ * format), writing to the given BinaryWriter.
20643
+ * @param {!proto.cms.FooterMainTextTranslationRequest} message
20644
+ * @param {!jspb.BinaryWriter} writer
20645
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20646
+ */
20647
+ proto.cms.FooterMainTextTranslationRequest.serializeBinaryToWriter = function(message, writer) {
20648
+ var f = undefined;
20649
+ f = message.getMainTextId();
20650
+ if (f !== 0) {
20651
+ writer.writeInt32(
20652
+ 1,
20653
+ f
20654
+ );
20655
+ }
20656
+ f = message.getLocale();
20657
+ if (f.length > 0) {
20658
+ writer.writeString(
20659
+ 2,
20660
+ f
20661
+ );
20662
+ }
20663
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
20664
+ if (f != null) {
20665
+ writer.writeString(
20666
+ 3,
20667
+ f
20668
+ );
20669
+ }
20670
+ };
20671
+
20672
+
20673
+ /**
20674
+ * optional int32 main_text_id = 1;
20675
+ * @return {number}
20676
+ */
20677
+ proto.cms.FooterMainTextTranslationRequest.prototype.getMainTextId = function() {
20678
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20679
+ };
20680
+
20681
+
20682
+ /**
20683
+ * @param {number} value
20684
+ * @return {!proto.cms.FooterMainTextTranslationRequest} returns this
20685
+ */
20686
+ proto.cms.FooterMainTextTranslationRequest.prototype.setMainTextId = function(value) {
20687
+ return jspb.Message.setProto3IntField(this, 1, value);
20688
+ };
20689
+
20690
+
20691
+ /**
20692
+ * optional string locale = 2;
20693
+ * @return {string}
20694
+ */
20695
+ proto.cms.FooterMainTextTranslationRequest.prototype.getLocale = function() {
20696
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20697
+ };
20698
+
20699
+
20700
+ /**
20701
+ * @param {string} value
20702
+ * @return {!proto.cms.FooterMainTextTranslationRequest} returns this
20703
+ */
20704
+ proto.cms.FooterMainTextTranslationRequest.prototype.setLocale = function(value) {
20705
+ return jspb.Message.setProto3StringField(this, 2, value);
20706
+ };
20707
+
20708
+
20709
+ /**
20710
+ * optional string content = 3;
20711
+ * @return {string}
20712
+ */
20713
+ proto.cms.FooterMainTextTranslationRequest.prototype.getContent = function() {
20714
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
20715
+ };
20716
+
20717
+
20718
+ /**
20719
+ * @param {string} value
20720
+ * @return {!proto.cms.FooterMainTextTranslationRequest} returns this
20721
+ */
20722
+ proto.cms.FooterMainTextTranslationRequest.prototype.setContent = function(value) {
20723
+ return jspb.Message.setField(this, 3, value);
20724
+ };
20725
+
20726
+
20727
+ /**
20728
+ * Clears the field making it undefined.
20729
+ * @return {!proto.cms.FooterMainTextTranslationRequest} returns this
20730
+ */
20731
+ proto.cms.FooterMainTextTranslationRequest.prototype.clearContent = function() {
20732
+ return jspb.Message.setField(this, 3, undefined);
20733
+ };
20734
+
20735
+
20736
+ /**
20737
+ * Returns whether this field is set.
20738
+ * @return {boolean}
20739
+ */
20740
+ proto.cms.FooterMainTextTranslationRequest.prototype.hasContent = function() {
20741
+ return jspb.Message.getField(this, 3) != null;
20742
+ };
20743
+
20744
+
20745
+
20746
+
20747
+
20748
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20749
+ /**
20750
+ * Creates an object representation of this proto.
20751
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20752
+ * Optional fields that are not set will be set to undefined.
20753
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20754
+ * For the list of reserved names please see:
20755
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20756
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20757
+ * JSPB instance for transitional soy proto support:
20758
+ * http://goto/soy-param-migration
20759
+ * @return {!Object}
20760
+ */
20761
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.toObject = function(opt_includeInstance) {
20762
+ return proto.cms.GetFooterMainTextTranslationRequest.toObject(opt_includeInstance, this);
20763
+ };
20764
+
20765
+
20766
+ /**
20767
+ * Static version of the {@see toObject} method.
20768
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20769
+ * the JSPB instance for transitional soy proto support:
20770
+ * http://goto/soy-param-migration
20771
+ * @param {!proto.cms.GetFooterMainTextTranslationRequest} msg The msg instance to transform.
20772
+ * @return {!Object}
20773
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20774
+ */
20775
+ proto.cms.GetFooterMainTextTranslationRequest.toObject = function(includeInstance, msg) {
20776
+ var f, obj = {
20777
+ mainTextId: jspb.Message.getFieldWithDefault(msg, 1, 0),
20778
+ locale: jspb.Message.getFieldWithDefault(msg, 2, "")
20779
+ };
20780
+
20781
+ if (includeInstance) {
20782
+ obj.$jspbMessageInstance = msg;
20783
+ }
20784
+ return obj;
20785
+ };
20786
+ }
20787
+
20788
+
20789
+ /**
20790
+ * Deserializes binary data (in protobuf wire format).
20791
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20792
+ * @return {!proto.cms.GetFooterMainTextTranslationRequest}
20793
+ */
20794
+ proto.cms.GetFooterMainTextTranslationRequest.deserializeBinary = function(bytes) {
20795
+ var reader = new jspb.BinaryReader(bytes);
20796
+ var msg = new proto.cms.GetFooterMainTextTranslationRequest;
20797
+ return proto.cms.GetFooterMainTextTranslationRequest.deserializeBinaryFromReader(msg, reader);
20798
+ };
20799
+
20800
+
20801
+ /**
20802
+ * Deserializes binary data (in protobuf wire format) from the
20803
+ * given reader into the given message object.
20804
+ * @param {!proto.cms.GetFooterMainTextTranslationRequest} msg The message object to deserialize into.
20805
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20806
+ * @return {!proto.cms.GetFooterMainTextTranslationRequest}
20807
+ */
20808
+ proto.cms.GetFooterMainTextTranslationRequest.deserializeBinaryFromReader = function(msg, reader) {
20809
+ while (reader.nextField()) {
20810
+ if (reader.isEndGroup()) {
20811
+ break;
20812
+ }
20813
+ var field = reader.getFieldNumber();
20814
+ switch (field) {
20815
+ case 1:
20816
+ var value = /** @type {number} */ (reader.readInt32());
20817
+ msg.setMainTextId(value);
20818
+ break;
20819
+ case 2:
20820
+ var value = /** @type {string} */ (reader.readString());
20821
+ msg.setLocale(value);
20822
+ break;
20823
+ default:
20824
+ reader.skipField();
20825
+ break;
20826
+ }
20827
+ }
20828
+ return msg;
20829
+ };
20830
+
20831
+
20832
+ /**
20833
+ * Serializes the message to binary data (in protobuf wire format).
20834
+ * @return {!Uint8Array}
20835
+ */
20836
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.serializeBinary = function() {
20837
+ var writer = new jspb.BinaryWriter();
20838
+ proto.cms.GetFooterMainTextTranslationRequest.serializeBinaryToWriter(this, writer);
20839
+ return writer.getResultBuffer();
20840
+ };
20841
+
20842
+
20843
+ /**
20844
+ * Serializes the given message to binary data (in protobuf wire
20845
+ * format), writing to the given BinaryWriter.
20846
+ * @param {!proto.cms.GetFooterMainTextTranslationRequest} message
20847
+ * @param {!jspb.BinaryWriter} writer
20848
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20849
+ */
20850
+ proto.cms.GetFooterMainTextTranslationRequest.serializeBinaryToWriter = function(message, writer) {
20851
+ var f = undefined;
20852
+ f = message.getMainTextId();
20853
+ if (f !== 0) {
20854
+ writer.writeInt32(
20855
+ 1,
20856
+ f
20857
+ );
20858
+ }
20859
+ f = message.getLocale();
20860
+ if (f.length > 0) {
20861
+ writer.writeString(
20862
+ 2,
20863
+ f
20864
+ );
20865
+ }
20866
+ };
20867
+
20868
+
20869
+ /**
20870
+ * optional int32 main_text_id = 1;
20871
+ * @return {number}
20872
+ */
20873
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.getMainTextId = function() {
20874
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
20875
+ };
20876
+
20877
+
20878
+ /**
20879
+ * @param {number} value
20880
+ * @return {!proto.cms.GetFooterMainTextTranslationRequest} returns this
20881
+ */
20882
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.setMainTextId = function(value) {
20883
+ return jspb.Message.setProto3IntField(this, 1, value);
20884
+ };
20885
+
20886
+
20887
+ /**
20888
+ * optional string locale = 2;
20889
+ * @return {string}
20890
+ */
20891
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.getLocale = function() {
20892
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
20893
+ };
20894
+
20895
+
20896
+ /**
20897
+ * @param {string} value
20898
+ * @return {!proto.cms.GetFooterMainTextTranslationRequest} returns this
20899
+ */
20900
+ proto.cms.GetFooterMainTextTranslationRequest.prototype.setLocale = function(value) {
20901
+ return jspb.Message.setProto3StringField(this, 2, value);
20902
+ };
20903
+
20904
+
20905
+
20906
+
20907
+
20908
+ if (jspb.Message.GENERATE_TO_OBJECT) {
20909
+ /**
20910
+ * Creates an object representation of this proto.
20911
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
20912
+ * Optional fields that are not set will be set to undefined.
20913
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
20914
+ * For the list of reserved names please see:
20915
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
20916
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
20917
+ * JSPB instance for transitional soy proto support:
20918
+ * http://goto/soy-param-migration
20919
+ * @return {!Object}
20920
+ */
20921
+ proto.cms.FooterMainTextTranslationResponse.prototype.toObject = function(opt_includeInstance) {
20922
+ return proto.cms.FooterMainTextTranslationResponse.toObject(opt_includeInstance, this);
20923
+ };
20924
+
20925
+
20926
+ /**
20927
+ * Static version of the {@see toObject} method.
20928
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
20929
+ * the JSPB instance for transitional soy proto support:
20930
+ * http://goto/soy-param-migration
20931
+ * @param {!proto.cms.FooterMainTextTranslationResponse} msg The msg instance to transform.
20932
+ * @return {!Object}
20933
+ * @suppress {unusedLocalVariables} f is only used for nested messages
20934
+ */
20935
+ proto.cms.FooterMainTextTranslationResponse.toObject = function(includeInstance, msg) {
20936
+ var f, obj = {
20937
+ content: jspb.Message.getFieldWithDefault(msg, 1, "")
20938
+ };
20939
+
20940
+ if (includeInstance) {
20941
+ obj.$jspbMessageInstance = msg;
20942
+ }
20943
+ return obj;
20944
+ };
20945
+ }
20946
+
20947
+
20948
+ /**
20949
+ * Deserializes binary data (in protobuf wire format).
20950
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
20951
+ * @return {!proto.cms.FooterMainTextTranslationResponse}
20952
+ */
20953
+ proto.cms.FooterMainTextTranslationResponse.deserializeBinary = function(bytes) {
20954
+ var reader = new jspb.BinaryReader(bytes);
20955
+ var msg = new proto.cms.FooterMainTextTranslationResponse;
20956
+ return proto.cms.FooterMainTextTranslationResponse.deserializeBinaryFromReader(msg, reader);
20957
+ };
20958
+
20959
+
20960
+ /**
20961
+ * Deserializes binary data (in protobuf wire format) from the
20962
+ * given reader into the given message object.
20963
+ * @param {!proto.cms.FooterMainTextTranslationResponse} msg The message object to deserialize into.
20964
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
20965
+ * @return {!proto.cms.FooterMainTextTranslationResponse}
20966
+ */
20967
+ proto.cms.FooterMainTextTranslationResponse.deserializeBinaryFromReader = function(msg, reader) {
20968
+ while (reader.nextField()) {
20969
+ if (reader.isEndGroup()) {
20970
+ break;
20971
+ }
20972
+ var field = reader.getFieldNumber();
20973
+ switch (field) {
20974
+ case 1:
20975
+ var value = /** @type {string} */ (reader.readString());
20976
+ msg.setContent(value);
20977
+ break;
20978
+ default:
20979
+ reader.skipField();
20980
+ break;
20981
+ }
20982
+ }
20983
+ return msg;
20984
+ };
20985
+
20986
+
20987
+ /**
20988
+ * Serializes the message to binary data (in protobuf wire format).
20989
+ * @return {!Uint8Array}
20990
+ */
20991
+ proto.cms.FooterMainTextTranslationResponse.prototype.serializeBinary = function() {
20992
+ var writer = new jspb.BinaryWriter();
20993
+ proto.cms.FooterMainTextTranslationResponse.serializeBinaryToWriter(this, writer);
20994
+ return writer.getResultBuffer();
20995
+ };
20996
+
20997
+
20998
+ /**
20999
+ * Serializes the given message to binary data (in protobuf wire
21000
+ * format), writing to the given BinaryWriter.
21001
+ * @param {!proto.cms.FooterMainTextTranslationResponse} message
21002
+ * @param {!jspb.BinaryWriter} writer
21003
+ * @suppress {unusedLocalVariables} f is only used for nested messages
21004
+ */
21005
+ proto.cms.FooterMainTextTranslationResponse.serializeBinaryToWriter = function(message, writer) {
21006
+ var f = undefined;
21007
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
21008
+ if (f != null) {
21009
+ writer.writeString(
21010
+ 1,
21011
+ f
21012
+ );
21013
+ }
21014
+ };
21015
+
21016
+
21017
+ /**
21018
+ * optional string content = 1;
21019
+ * @return {string}
21020
+ */
21021
+ proto.cms.FooterMainTextTranslationResponse.prototype.getContent = function() {
21022
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
21023
+ };
21024
+
21025
+
21026
+ /**
21027
+ * @param {string} value
21028
+ * @return {!proto.cms.FooterMainTextTranslationResponse} returns this
21029
+ */
21030
+ proto.cms.FooterMainTextTranslationResponse.prototype.setContent = function(value) {
21031
+ return jspb.Message.setField(this, 1, value);
21032
+ };
21033
+
21034
+
21035
+ /**
21036
+ * Clears the field making it undefined.
21037
+ * @return {!proto.cms.FooterMainTextTranslationResponse} returns this
21038
+ */
21039
+ proto.cms.FooterMainTextTranslationResponse.prototype.clearContent = function() {
21040
+ return jspb.Message.setField(this, 1, undefined);
21041
+ };
21042
+
21043
+
21044
+ /**
21045
+ * Returns whether this field is set.
21046
+ * @return {boolean}
21047
+ */
21048
+ proto.cms.FooterMainTextTranslationResponse.prototype.hasContent = function() {
21049
+ return jspb.Message.getField(this, 1) != null;
21050
+ };
21051
+
21052
+
18702
21053
  goog.object.extend(exports, proto.cms);