protobuf-platform 1.2.108 → 1.2.110

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,16 @@ 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.FooterApplicationMediaItem', null, global);
40
+ goog.exportSymbol('proto.cms.FooterApplicationsFile', null, global);
41
+ goog.exportSymbol('proto.cms.FooterApplicationsItem', null, global);
42
+ goog.exportSymbol('proto.cms.FooterApplicationsItemRequest', null, global);
43
+ goog.exportSymbol('proto.cms.FooterApplicationsItemsResponse', null, global);
44
+ goog.exportSymbol('proto.cms.FooterApplicationsMeta', null, global);
45
+ goog.exportSymbol('proto.cms.FooterApplicationsRequest', null, global);
46
+ goog.exportSymbol('proto.cms.FooterApplicationsRequest.PayloadCase', null, global);
47
+ goog.exportSymbol('proto.cms.FooterApplicationsResponse', null, global);
48
+ goog.exportSymbol('proto.cms.FooterApplicationsStatusResponse', null, global);
39
49
  goog.exportSymbol('proto.cms.FooterMainTextItem', null, global);
40
50
  goog.exportSymbol('proto.cms.FooterMainTextItemRequest', null, global);
41
51
  goog.exportSymbol('proto.cms.FooterMainTextItemsResponse', null, global);
@@ -70,6 +80,7 @@ goog.exportSymbol('proto.cms.GetBannerGroupRequest', null, global);
70
80
  goog.exportSymbol('proto.cms.GetBannerRequest', null, global);
71
81
  goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
72
82
  goog.exportSymbol('proto.cms.GetFileRequest', null, global);
83
+ goog.exportSymbol('proto.cms.GetFooterApplicationsRequest', null, global);
73
84
  goog.exportSymbol('proto.cms.GetFooterMainTextRequest', null, global);
74
85
  goog.exportSymbol('proto.cms.GetFooterMainTextTranslationRequest', null, global);
75
86
  goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
@@ -1895,6 +1906,216 @@ if (goog.DEBUG && !COMPILED) {
1895
1906
  */
1896
1907
  proto.cms.FooterPaymentsItemsResponse.displayName = 'proto.cms.FooterPaymentsItemsResponse';
1897
1908
  }
1909
+ /**
1910
+ * Generated by JsPbCodeGenerator.
1911
+ * @param {Array=} opt_data Optional initial data array, typically from a
1912
+ * server response, or constructed directly in Javascript. The array is used
1913
+ * in place and becomes part of the constructed object. It is not cloned.
1914
+ * If no data is provided, the constructed object will be empty, but still
1915
+ * valid.
1916
+ * @extends {jspb.Message}
1917
+ * @constructor
1918
+ */
1919
+ proto.cms.FooterApplicationMediaItem = function(opt_data) {
1920
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1921
+ };
1922
+ goog.inherits(proto.cms.FooterApplicationMediaItem, jspb.Message);
1923
+ if (goog.DEBUG && !COMPILED) {
1924
+ /**
1925
+ * @public
1926
+ * @override
1927
+ */
1928
+ proto.cms.FooterApplicationMediaItem.displayName = 'proto.cms.FooterApplicationMediaItem';
1929
+ }
1930
+ /**
1931
+ * Generated by JsPbCodeGenerator.
1932
+ * @param {Array=} opt_data Optional initial data array, typically from a
1933
+ * server response, or constructed directly in Javascript. The array is used
1934
+ * in place and becomes part of the constructed object. It is not cloned.
1935
+ * If no data is provided, the constructed object will be empty, but still
1936
+ * valid.
1937
+ * @extends {jspb.Message}
1938
+ * @constructor
1939
+ */
1940
+ proto.cms.FooterApplicationsItem = function(opt_data) {
1941
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1942
+ };
1943
+ goog.inherits(proto.cms.FooterApplicationsItem, jspb.Message);
1944
+ if (goog.DEBUG && !COMPILED) {
1945
+ /**
1946
+ * @public
1947
+ * @override
1948
+ */
1949
+ proto.cms.FooterApplicationsItem.displayName = 'proto.cms.FooterApplicationsItem';
1950
+ }
1951
+ /**
1952
+ * Generated by JsPbCodeGenerator.
1953
+ * @param {Array=} opt_data Optional initial data array, typically from a
1954
+ * server response, or constructed directly in Javascript. The array is used
1955
+ * in place and becomes part of the constructed object. It is not cloned.
1956
+ * If no data is provided, the constructed object will be empty, but still
1957
+ * valid.
1958
+ * @extends {jspb.Message}
1959
+ * @constructor
1960
+ */
1961
+ proto.cms.FooterApplicationsMeta = function(opt_data) {
1962
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1963
+ };
1964
+ goog.inherits(proto.cms.FooterApplicationsMeta, jspb.Message);
1965
+ if (goog.DEBUG && !COMPILED) {
1966
+ /**
1967
+ * @public
1968
+ * @override
1969
+ */
1970
+ proto.cms.FooterApplicationsMeta.displayName = 'proto.cms.FooterApplicationsMeta';
1971
+ }
1972
+ /**
1973
+ * Generated by JsPbCodeGenerator.
1974
+ * @param {Array=} opt_data Optional initial data array, typically from a
1975
+ * server response, or constructed directly in Javascript. The array is used
1976
+ * in place and becomes part of the constructed object. It is not cloned.
1977
+ * If no data is provided, the constructed object will be empty, but still
1978
+ * valid.
1979
+ * @extends {jspb.Message}
1980
+ * @constructor
1981
+ */
1982
+ proto.cms.FooterApplicationsItemRequest = function(opt_data) {
1983
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1984
+ };
1985
+ goog.inherits(proto.cms.FooterApplicationsItemRequest, jspb.Message);
1986
+ if (goog.DEBUG && !COMPILED) {
1987
+ /**
1988
+ * @public
1989
+ * @override
1990
+ */
1991
+ proto.cms.FooterApplicationsItemRequest.displayName = 'proto.cms.FooterApplicationsItemRequest';
1992
+ }
1993
+ /**
1994
+ * Generated by JsPbCodeGenerator.
1995
+ * @param {Array=} opt_data Optional initial data array, typically from a
1996
+ * server response, or constructed directly in Javascript. The array is used
1997
+ * in place and becomes part of the constructed object. It is not cloned.
1998
+ * If no data is provided, the constructed object will be empty, but still
1999
+ * valid.
2000
+ * @extends {jspb.Message}
2001
+ * @constructor
2002
+ */
2003
+ proto.cms.FooterApplicationsRequest = function(opt_data) {
2004
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cms.FooterApplicationsRequest.oneofGroups_);
2005
+ };
2006
+ goog.inherits(proto.cms.FooterApplicationsRequest, jspb.Message);
2007
+ if (goog.DEBUG && !COMPILED) {
2008
+ /**
2009
+ * @public
2010
+ * @override
2011
+ */
2012
+ proto.cms.FooterApplicationsRequest.displayName = 'proto.cms.FooterApplicationsRequest';
2013
+ }
2014
+ /**
2015
+ * Generated by JsPbCodeGenerator.
2016
+ * @param {Array=} opt_data Optional initial data array, typically from a
2017
+ * server response, or constructed directly in Javascript. The array is used
2018
+ * in place and becomes part of the constructed object. It is not cloned.
2019
+ * If no data is provided, the constructed object will be empty, but still
2020
+ * valid.
2021
+ * @extends {jspb.Message}
2022
+ * @constructor
2023
+ */
2024
+ proto.cms.FooterApplicationsFile = function(opt_data) {
2025
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2026
+ };
2027
+ goog.inherits(proto.cms.FooterApplicationsFile, jspb.Message);
2028
+ if (goog.DEBUG && !COMPILED) {
2029
+ /**
2030
+ * @public
2031
+ * @override
2032
+ */
2033
+ proto.cms.FooterApplicationsFile.displayName = 'proto.cms.FooterApplicationsFile';
2034
+ }
2035
+ /**
2036
+ * Generated by JsPbCodeGenerator.
2037
+ * @param {Array=} opt_data Optional initial data array, typically from a
2038
+ * server response, or constructed directly in Javascript. The array is used
2039
+ * in place and becomes part of the constructed object. It is not cloned.
2040
+ * If no data is provided, the constructed object will be empty, but still
2041
+ * valid.
2042
+ * @extends {jspb.Message}
2043
+ * @constructor
2044
+ */
2045
+ proto.cms.FooterApplicationsResponse = function(opt_data) {
2046
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2047
+ };
2048
+ goog.inherits(proto.cms.FooterApplicationsResponse, jspb.Message);
2049
+ if (goog.DEBUG && !COMPILED) {
2050
+ /**
2051
+ * @public
2052
+ * @override
2053
+ */
2054
+ proto.cms.FooterApplicationsResponse.displayName = 'proto.cms.FooterApplicationsResponse';
2055
+ }
2056
+ /**
2057
+ * Generated by JsPbCodeGenerator.
2058
+ * @param {Array=} opt_data Optional initial data array, typically from a
2059
+ * server response, or constructed directly in Javascript. The array is used
2060
+ * in place and becomes part of the constructed object. It is not cloned.
2061
+ * If no data is provided, the constructed object will be empty, but still
2062
+ * valid.
2063
+ * @extends {jspb.Message}
2064
+ * @constructor
2065
+ */
2066
+ proto.cms.FooterApplicationsItemsResponse = function(opt_data) {
2067
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterApplicationsItemsResponse.repeatedFields_, null);
2068
+ };
2069
+ goog.inherits(proto.cms.FooterApplicationsItemsResponse, jspb.Message);
2070
+ if (goog.DEBUG && !COMPILED) {
2071
+ /**
2072
+ * @public
2073
+ * @override
2074
+ */
2075
+ proto.cms.FooterApplicationsItemsResponse.displayName = 'proto.cms.FooterApplicationsItemsResponse';
2076
+ }
2077
+ /**
2078
+ * Generated by JsPbCodeGenerator.
2079
+ * @param {Array=} opt_data Optional initial data array, typically from a
2080
+ * server response, or constructed directly in Javascript. The array is used
2081
+ * in place and becomes part of the constructed object. It is not cloned.
2082
+ * If no data is provided, the constructed object will be empty, but still
2083
+ * valid.
2084
+ * @extends {jspb.Message}
2085
+ * @constructor
2086
+ */
2087
+ proto.cms.FooterApplicationsStatusResponse = function(opt_data) {
2088
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2089
+ };
2090
+ goog.inherits(proto.cms.FooterApplicationsStatusResponse, jspb.Message);
2091
+ if (goog.DEBUG && !COMPILED) {
2092
+ /**
2093
+ * @public
2094
+ * @override
2095
+ */
2096
+ proto.cms.FooterApplicationsStatusResponse.displayName = 'proto.cms.FooterApplicationsStatusResponse';
2097
+ }
2098
+ /**
2099
+ * Generated by JsPbCodeGenerator.
2100
+ * @param {Array=} opt_data Optional initial data array, typically from a
2101
+ * server response, or constructed directly in Javascript. The array is used
2102
+ * in place and becomes part of the constructed object. It is not cloned.
2103
+ * If no data is provided, the constructed object will be empty, but still
2104
+ * valid.
2105
+ * @extends {jspb.Message}
2106
+ * @constructor
2107
+ */
2108
+ proto.cms.GetFooterApplicationsRequest = function(opt_data) {
2109
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
2110
+ };
2111
+ goog.inherits(proto.cms.GetFooterApplicationsRequest, jspb.Message);
2112
+ if (goog.DEBUG && !COMPILED) {
2113
+ /**
2114
+ * @public
2115
+ * @override
2116
+ */
2117
+ proto.cms.GetFooterApplicationsRequest.displayName = 'proto.cms.GetFooterApplicationsRequest';
2118
+ }
1898
2119
 
1899
2120
 
1900
2121
 
@@ -17702,7 +17923,8 @@ proto.cms.FooterPartnersMediaItem.toObject = function(includeInstance, msg) {
17702
17923
  priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
17703
17924
  alt: jspb.Message.getFieldWithDefault(msg, 3, ""),
17704
17925
  imageCdn: jspb.Message.getFieldWithDefault(msg, 4, ""),
17705
- image: jspb.Message.getFieldWithDefault(msg, 5, "")
17926
+ image: jspb.Message.getFieldWithDefault(msg, 5, ""),
17927
+ id: jspb.Message.getFieldWithDefault(msg, 6, 0)
17706
17928
  };
17707
17929
 
17708
17930
  if (includeInstance) {
@@ -17759,6 +17981,10 @@ proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader = function(msg, re
17759
17981
  var value = /** @type {string} */ (reader.readString());
17760
17982
  msg.setImage(value);
17761
17983
  break;
17984
+ case 6:
17985
+ var value = /** @type {number} */ (reader.readInt32());
17986
+ msg.setId(value);
17987
+ break;
17762
17988
  default:
17763
17989
  reader.skipField();
17764
17990
  break;
@@ -17823,6 +18049,13 @@ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter = function(message, wr
17823
18049
  f
17824
18050
  );
17825
18051
  }
18052
+ f = /** @type {number} */ (jspb.Message.getField(message, 6));
18053
+ if (f != null) {
18054
+ writer.writeInt32(
18055
+ 6,
18056
+ f
18057
+ );
18058
+ }
17826
18059
  };
17827
18060
 
17828
18061
 
@@ -18006,6 +18239,42 @@ proto.cms.FooterPartnersMediaItem.prototype.hasImage = function() {
18006
18239
  };
18007
18240
 
18008
18241
 
18242
+ /**
18243
+ * optional int32 id = 6;
18244
+ * @return {number}
18245
+ */
18246
+ proto.cms.FooterPartnersMediaItem.prototype.getId = function() {
18247
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
18248
+ };
18249
+
18250
+
18251
+ /**
18252
+ * @param {number} value
18253
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
18254
+ */
18255
+ proto.cms.FooterPartnersMediaItem.prototype.setId = function(value) {
18256
+ return jspb.Message.setField(this, 6, value);
18257
+ };
18258
+
18259
+
18260
+ /**
18261
+ * Clears the field making it undefined.
18262
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
18263
+ */
18264
+ proto.cms.FooterPartnersMediaItem.prototype.clearId = function() {
18265
+ return jspb.Message.setField(this, 6, undefined);
18266
+ };
18267
+
18268
+
18269
+ /**
18270
+ * Returns whether this field is set.
18271
+ * @return {boolean}
18272
+ */
18273
+ proto.cms.FooterPartnersMediaItem.prototype.hasId = function() {
18274
+ return jspb.Message.getField(this, 6) != null;
18275
+ };
18276
+
18277
+
18009
18278
 
18010
18279
  /**
18011
18280
  * List of repeated fields within this message type.
@@ -22862,4 +23131,2458 @@ proto.cms.FooterPaymentsItemsResponse.prototype.hasTotalItems = function() {
22862
23131
  };
22863
23132
 
22864
23133
 
23134
+
23135
+
23136
+
23137
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23138
+ /**
23139
+ * Creates an object representation of this proto.
23140
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23141
+ * Optional fields that are not set will be set to undefined.
23142
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23143
+ * For the list of reserved names please see:
23144
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23145
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23146
+ * JSPB instance for transitional soy proto support:
23147
+ * http://goto/soy-param-migration
23148
+ * @return {!Object}
23149
+ */
23150
+ proto.cms.FooterApplicationMediaItem.prototype.toObject = function(opt_includeInstance) {
23151
+ return proto.cms.FooterApplicationMediaItem.toObject(opt_includeInstance, this);
23152
+ };
23153
+
23154
+
23155
+ /**
23156
+ * Static version of the {@see toObject} method.
23157
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23158
+ * the JSPB instance for transitional soy proto support:
23159
+ * http://goto/soy-param-migration
23160
+ * @param {!proto.cms.FooterApplicationMediaItem} msg The msg instance to transform.
23161
+ * @return {!Object}
23162
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23163
+ */
23164
+ proto.cms.FooterApplicationMediaItem.toObject = function(includeInstance, msg) {
23165
+ var f, obj = {
23166
+ href: jspb.Message.getFieldWithDefault(msg, 1, ""),
23167
+ image: jspb.Message.getFieldWithDefault(msg, 2, ""),
23168
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 3, ""),
23169
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0)
23170
+ };
23171
+
23172
+ if (includeInstance) {
23173
+ obj.$jspbMessageInstance = msg;
23174
+ }
23175
+ return obj;
23176
+ };
23177
+ }
23178
+
23179
+
23180
+ /**
23181
+ * Deserializes binary data (in protobuf wire format).
23182
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23183
+ * @return {!proto.cms.FooterApplicationMediaItem}
23184
+ */
23185
+ proto.cms.FooterApplicationMediaItem.deserializeBinary = function(bytes) {
23186
+ var reader = new jspb.BinaryReader(bytes);
23187
+ var msg = new proto.cms.FooterApplicationMediaItem;
23188
+ return proto.cms.FooterApplicationMediaItem.deserializeBinaryFromReader(msg, reader);
23189
+ };
23190
+
23191
+
23192
+ /**
23193
+ * Deserializes binary data (in protobuf wire format) from the
23194
+ * given reader into the given message object.
23195
+ * @param {!proto.cms.FooterApplicationMediaItem} msg The message object to deserialize into.
23196
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23197
+ * @return {!proto.cms.FooterApplicationMediaItem}
23198
+ */
23199
+ proto.cms.FooterApplicationMediaItem.deserializeBinaryFromReader = function(msg, reader) {
23200
+ while (reader.nextField()) {
23201
+ if (reader.isEndGroup()) {
23202
+ break;
23203
+ }
23204
+ var field = reader.getFieldNumber();
23205
+ switch (field) {
23206
+ case 1:
23207
+ var value = /** @type {string} */ (reader.readString());
23208
+ msg.setHref(value);
23209
+ break;
23210
+ case 2:
23211
+ var value = /** @type {string} */ (reader.readString());
23212
+ msg.setImage(value);
23213
+ break;
23214
+ case 3:
23215
+ var value = /** @type {string} */ (reader.readString());
23216
+ msg.setImageCdn(value);
23217
+ break;
23218
+ case 4:
23219
+ var value = /** @type {number} */ (reader.readInt32());
23220
+ msg.setIsActive(value);
23221
+ break;
23222
+ default:
23223
+ reader.skipField();
23224
+ break;
23225
+ }
23226
+ }
23227
+ return msg;
23228
+ };
23229
+
23230
+
23231
+ /**
23232
+ * Serializes the message to binary data (in protobuf wire format).
23233
+ * @return {!Uint8Array}
23234
+ */
23235
+ proto.cms.FooterApplicationMediaItem.prototype.serializeBinary = function() {
23236
+ var writer = new jspb.BinaryWriter();
23237
+ proto.cms.FooterApplicationMediaItem.serializeBinaryToWriter(this, writer);
23238
+ return writer.getResultBuffer();
23239
+ };
23240
+
23241
+
23242
+ /**
23243
+ * Serializes the given message to binary data (in protobuf wire
23244
+ * format), writing to the given BinaryWriter.
23245
+ * @param {!proto.cms.FooterApplicationMediaItem} message
23246
+ * @param {!jspb.BinaryWriter} writer
23247
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23248
+ */
23249
+ proto.cms.FooterApplicationMediaItem.serializeBinaryToWriter = function(message, writer) {
23250
+ var f = undefined;
23251
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
23252
+ if (f != null) {
23253
+ writer.writeString(
23254
+ 1,
23255
+ f
23256
+ );
23257
+ }
23258
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
23259
+ if (f != null) {
23260
+ writer.writeString(
23261
+ 2,
23262
+ f
23263
+ );
23264
+ }
23265
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
23266
+ if (f != null) {
23267
+ writer.writeString(
23268
+ 3,
23269
+ f
23270
+ );
23271
+ }
23272
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
23273
+ if (f != null) {
23274
+ writer.writeInt32(
23275
+ 4,
23276
+ f
23277
+ );
23278
+ }
23279
+ };
23280
+
23281
+
23282
+ /**
23283
+ * optional string href = 1;
23284
+ * @return {string}
23285
+ */
23286
+ proto.cms.FooterApplicationMediaItem.prototype.getHref = function() {
23287
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
23288
+ };
23289
+
23290
+
23291
+ /**
23292
+ * @param {string} value
23293
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23294
+ */
23295
+ proto.cms.FooterApplicationMediaItem.prototype.setHref = function(value) {
23296
+ return jspb.Message.setField(this, 1, value);
23297
+ };
23298
+
23299
+
23300
+ /**
23301
+ * Clears the field making it undefined.
23302
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23303
+ */
23304
+ proto.cms.FooterApplicationMediaItem.prototype.clearHref = function() {
23305
+ return jspb.Message.setField(this, 1, undefined);
23306
+ };
23307
+
23308
+
23309
+ /**
23310
+ * Returns whether this field is set.
23311
+ * @return {boolean}
23312
+ */
23313
+ proto.cms.FooterApplicationMediaItem.prototype.hasHref = function() {
23314
+ return jspb.Message.getField(this, 1) != null;
23315
+ };
23316
+
23317
+
23318
+ /**
23319
+ * optional string image = 2;
23320
+ * @return {string}
23321
+ */
23322
+ proto.cms.FooterApplicationMediaItem.prototype.getImage = function() {
23323
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23324
+ };
23325
+
23326
+
23327
+ /**
23328
+ * @param {string} value
23329
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23330
+ */
23331
+ proto.cms.FooterApplicationMediaItem.prototype.setImage = function(value) {
23332
+ return jspb.Message.setField(this, 2, value);
23333
+ };
23334
+
23335
+
23336
+ /**
23337
+ * Clears the field making it undefined.
23338
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23339
+ */
23340
+ proto.cms.FooterApplicationMediaItem.prototype.clearImage = function() {
23341
+ return jspb.Message.setField(this, 2, undefined);
23342
+ };
23343
+
23344
+
23345
+ /**
23346
+ * Returns whether this field is set.
23347
+ * @return {boolean}
23348
+ */
23349
+ proto.cms.FooterApplicationMediaItem.prototype.hasImage = function() {
23350
+ return jspb.Message.getField(this, 2) != null;
23351
+ };
23352
+
23353
+
23354
+ /**
23355
+ * optional string image_cdn = 3;
23356
+ * @return {string}
23357
+ */
23358
+ proto.cms.FooterApplicationMediaItem.prototype.getImageCdn = function() {
23359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23360
+ };
23361
+
23362
+
23363
+ /**
23364
+ * @param {string} value
23365
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23366
+ */
23367
+ proto.cms.FooterApplicationMediaItem.prototype.setImageCdn = function(value) {
23368
+ return jspb.Message.setField(this, 3, value);
23369
+ };
23370
+
23371
+
23372
+ /**
23373
+ * Clears the field making it undefined.
23374
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23375
+ */
23376
+ proto.cms.FooterApplicationMediaItem.prototype.clearImageCdn = function() {
23377
+ return jspb.Message.setField(this, 3, undefined);
23378
+ };
23379
+
23380
+
23381
+ /**
23382
+ * Returns whether this field is set.
23383
+ * @return {boolean}
23384
+ */
23385
+ proto.cms.FooterApplicationMediaItem.prototype.hasImageCdn = function() {
23386
+ return jspb.Message.getField(this, 3) != null;
23387
+ };
23388
+
23389
+
23390
+ /**
23391
+ * optional int32 is_active = 4;
23392
+ * @return {number}
23393
+ */
23394
+ proto.cms.FooterApplicationMediaItem.prototype.getIsActive = function() {
23395
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
23396
+ };
23397
+
23398
+
23399
+ /**
23400
+ * @param {number} value
23401
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23402
+ */
23403
+ proto.cms.FooterApplicationMediaItem.prototype.setIsActive = function(value) {
23404
+ return jspb.Message.setField(this, 4, value);
23405
+ };
23406
+
23407
+
23408
+ /**
23409
+ * Clears the field making it undefined.
23410
+ * @return {!proto.cms.FooterApplicationMediaItem} returns this
23411
+ */
23412
+ proto.cms.FooterApplicationMediaItem.prototype.clearIsActive = function() {
23413
+ return jspb.Message.setField(this, 4, undefined);
23414
+ };
23415
+
23416
+
23417
+ /**
23418
+ * Returns whether this field is set.
23419
+ * @return {boolean}
23420
+ */
23421
+ proto.cms.FooterApplicationMediaItem.prototype.hasIsActive = function() {
23422
+ return jspb.Message.getField(this, 4) != null;
23423
+ };
23424
+
23425
+
23426
+
23427
+
23428
+
23429
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23430
+ /**
23431
+ * Creates an object representation of this proto.
23432
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23433
+ * Optional fields that are not set will be set to undefined.
23434
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23435
+ * For the list of reserved names please see:
23436
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23437
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23438
+ * JSPB instance for transitional soy proto support:
23439
+ * http://goto/soy-param-migration
23440
+ * @return {!Object}
23441
+ */
23442
+ proto.cms.FooterApplicationsItem.prototype.toObject = function(opt_includeInstance) {
23443
+ return proto.cms.FooterApplicationsItem.toObject(opt_includeInstance, this);
23444
+ };
23445
+
23446
+
23447
+ /**
23448
+ * Static version of the {@see toObject} method.
23449
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23450
+ * the JSPB instance for transitional soy proto support:
23451
+ * http://goto/soy-param-migration
23452
+ * @param {!proto.cms.FooterApplicationsItem} msg The msg instance to transform.
23453
+ * @return {!Object}
23454
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23455
+ */
23456
+ proto.cms.FooterApplicationsItem.toObject = function(includeInstance, msg) {
23457
+ var f, obj = {
23458
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
23459
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
23460
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
23461
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
23462
+ apk: (f = msg.getApk()) && proto.cms.FooterApplicationMediaItem.toObject(includeInstance, f),
23463
+ ipa: (f = msg.getIpa()) && proto.cms.FooterApplicationMediaItem.toObject(includeInstance, f),
23464
+ pwa: (f = msg.getPwa()) && proto.cms.FooterApplicationMediaItem.toObject(includeInstance, f)
23465
+ };
23466
+
23467
+ if (includeInstance) {
23468
+ obj.$jspbMessageInstance = msg;
23469
+ }
23470
+ return obj;
23471
+ };
23472
+ }
23473
+
23474
+
23475
+ /**
23476
+ * Deserializes binary data (in protobuf wire format).
23477
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23478
+ * @return {!proto.cms.FooterApplicationsItem}
23479
+ */
23480
+ proto.cms.FooterApplicationsItem.deserializeBinary = function(bytes) {
23481
+ var reader = new jspb.BinaryReader(bytes);
23482
+ var msg = new proto.cms.FooterApplicationsItem;
23483
+ return proto.cms.FooterApplicationsItem.deserializeBinaryFromReader(msg, reader);
23484
+ };
23485
+
23486
+
23487
+ /**
23488
+ * Deserializes binary data (in protobuf wire format) from the
23489
+ * given reader into the given message object.
23490
+ * @param {!proto.cms.FooterApplicationsItem} msg The message object to deserialize into.
23491
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23492
+ * @return {!proto.cms.FooterApplicationsItem}
23493
+ */
23494
+ proto.cms.FooterApplicationsItem.deserializeBinaryFromReader = function(msg, reader) {
23495
+ while (reader.nextField()) {
23496
+ if (reader.isEndGroup()) {
23497
+ break;
23498
+ }
23499
+ var field = reader.getFieldNumber();
23500
+ switch (field) {
23501
+ case 1:
23502
+ var value = /** @type {number} */ (reader.readInt32());
23503
+ msg.setId(value);
23504
+ break;
23505
+ case 2:
23506
+ var value = /** @type {string} */ (reader.readString());
23507
+ msg.setGeo(value);
23508
+ break;
23509
+ case 3:
23510
+ var value = /** @type {string} */ (reader.readString());
23511
+ msg.setTitle(value);
23512
+ break;
23513
+ case 4:
23514
+ var value = /** @type {number} */ (reader.readInt32());
23515
+ msg.setIsActive(value);
23516
+ break;
23517
+ case 5:
23518
+ var value = new proto.cms.FooterApplicationMediaItem;
23519
+ reader.readMessage(value,proto.cms.FooterApplicationMediaItem.deserializeBinaryFromReader);
23520
+ msg.setApk(value);
23521
+ break;
23522
+ case 6:
23523
+ var value = new proto.cms.FooterApplicationMediaItem;
23524
+ reader.readMessage(value,proto.cms.FooterApplicationMediaItem.deserializeBinaryFromReader);
23525
+ msg.setIpa(value);
23526
+ break;
23527
+ case 7:
23528
+ var value = new proto.cms.FooterApplicationMediaItem;
23529
+ reader.readMessage(value,proto.cms.FooterApplicationMediaItem.deserializeBinaryFromReader);
23530
+ msg.setPwa(value);
23531
+ break;
23532
+ default:
23533
+ reader.skipField();
23534
+ break;
23535
+ }
23536
+ }
23537
+ return msg;
23538
+ };
23539
+
23540
+
23541
+ /**
23542
+ * Serializes the message to binary data (in protobuf wire format).
23543
+ * @return {!Uint8Array}
23544
+ */
23545
+ proto.cms.FooterApplicationsItem.prototype.serializeBinary = function() {
23546
+ var writer = new jspb.BinaryWriter();
23547
+ proto.cms.FooterApplicationsItem.serializeBinaryToWriter(this, writer);
23548
+ return writer.getResultBuffer();
23549
+ };
23550
+
23551
+
23552
+ /**
23553
+ * Serializes the given message to binary data (in protobuf wire
23554
+ * format), writing to the given BinaryWriter.
23555
+ * @param {!proto.cms.FooterApplicationsItem} message
23556
+ * @param {!jspb.BinaryWriter} writer
23557
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23558
+ */
23559
+ proto.cms.FooterApplicationsItem.serializeBinaryToWriter = function(message, writer) {
23560
+ var f = undefined;
23561
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
23562
+ if (f != null) {
23563
+ writer.writeInt32(
23564
+ 1,
23565
+ f
23566
+ );
23567
+ }
23568
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
23569
+ if (f != null) {
23570
+ writer.writeString(
23571
+ 2,
23572
+ f
23573
+ );
23574
+ }
23575
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
23576
+ if (f != null) {
23577
+ writer.writeString(
23578
+ 3,
23579
+ f
23580
+ );
23581
+ }
23582
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
23583
+ if (f != null) {
23584
+ writer.writeInt32(
23585
+ 4,
23586
+ f
23587
+ );
23588
+ }
23589
+ f = message.getApk();
23590
+ if (f != null) {
23591
+ writer.writeMessage(
23592
+ 5,
23593
+ f,
23594
+ proto.cms.FooterApplicationMediaItem.serializeBinaryToWriter
23595
+ );
23596
+ }
23597
+ f = message.getIpa();
23598
+ if (f != null) {
23599
+ writer.writeMessage(
23600
+ 6,
23601
+ f,
23602
+ proto.cms.FooterApplicationMediaItem.serializeBinaryToWriter
23603
+ );
23604
+ }
23605
+ f = message.getPwa();
23606
+ if (f != null) {
23607
+ writer.writeMessage(
23608
+ 7,
23609
+ f,
23610
+ proto.cms.FooterApplicationMediaItem.serializeBinaryToWriter
23611
+ );
23612
+ }
23613
+ };
23614
+
23615
+
23616
+ /**
23617
+ * optional int32 id = 1;
23618
+ * @return {number}
23619
+ */
23620
+ proto.cms.FooterApplicationsItem.prototype.getId = function() {
23621
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
23622
+ };
23623
+
23624
+
23625
+ /**
23626
+ * @param {number} value
23627
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23628
+ */
23629
+ proto.cms.FooterApplicationsItem.prototype.setId = function(value) {
23630
+ return jspb.Message.setField(this, 1, value);
23631
+ };
23632
+
23633
+
23634
+ /**
23635
+ * Clears the field making it undefined.
23636
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23637
+ */
23638
+ proto.cms.FooterApplicationsItem.prototype.clearId = function() {
23639
+ return jspb.Message.setField(this, 1, undefined);
23640
+ };
23641
+
23642
+
23643
+ /**
23644
+ * Returns whether this field is set.
23645
+ * @return {boolean}
23646
+ */
23647
+ proto.cms.FooterApplicationsItem.prototype.hasId = function() {
23648
+ return jspb.Message.getField(this, 1) != null;
23649
+ };
23650
+
23651
+
23652
+ /**
23653
+ * optional string geo = 2;
23654
+ * @return {string}
23655
+ */
23656
+ proto.cms.FooterApplicationsItem.prototype.getGeo = function() {
23657
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
23658
+ };
23659
+
23660
+
23661
+ /**
23662
+ * @param {string} value
23663
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23664
+ */
23665
+ proto.cms.FooterApplicationsItem.prototype.setGeo = function(value) {
23666
+ return jspb.Message.setField(this, 2, value);
23667
+ };
23668
+
23669
+
23670
+ /**
23671
+ * Clears the field making it undefined.
23672
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23673
+ */
23674
+ proto.cms.FooterApplicationsItem.prototype.clearGeo = function() {
23675
+ return jspb.Message.setField(this, 2, undefined);
23676
+ };
23677
+
23678
+
23679
+ /**
23680
+ * Returns whether this field is set.
23681
+ * @return {boolean}
23682
+ */
23683
+ proto.cms.FooterApplicationsItem.prototype.hasGeo = function() {
23684
+ return jspb.Message.getField(this, 2) != null;
23685
+ };
23686
+
23687
+
23688
+ /**
23689
+ * optional string title = 3;
23690
+ * @return {string}
23691
+ */
23692
+ proto.cms.FooterApplicationsItem.prototype.getTitle = function() {
23693
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
23694
+ };
23695
+
23696
+
23697
+ /**
23698
+ * @param {string} value
23699
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23700
+ */
23701
+ proto.cms.FooterApplicationsItem.prototype.setTitle = function(value) {
23702
+ return jspb.Message.setField(this, 3, value);
23703
+ };
23704
+
23705
+
23706
+ /**
23707
+ * Clears the field making it undefined.
23708
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23709
+ */
23710
+ proto.cms.FooterApplicationsItem.prototype.clearTitle = function() {
23711
+ return jspb.Message.setField(this, 3, undefined);
23712
+ };
23713
+
23714
+
23715
+ /**
23716
+ * Returns whether this field is set.
23717
+ * @return {boolean}
23718
+ */
23719
+ proto.cms.FooterApplicationsItem.prototype.hasTitle = function() {
23720
+ return jspb.Message.getField(this, 3) != null;
23721
+ };
23722
+
23723
+
23724
+ /**
23725
+ * optional int32 is_active = 4;
23726
+ * @return {number}
23727
+ */
23728
+ proto.cms.FooterApplicationsItem.prototype.getIsActive = function() {
23729
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
23730
+ };
23731
+
23732
+
23733
+ /**
23734
+ * @param {number} value
23735
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23736
+ */
23737
+ proto.cms.FooterApplicationsItem.prototype.setIsActive = function(value) {
23738
+ return jspb.Message.setField(this, 4, value);
23739
+ };
23740
+
23741
+
23742
+ /**
23743
+ * Clears the field making it undefined.
23744
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23745
+ */
23746
+ proto.cms.FooterApplicationsItem.prototype.clearIsActive = function() {
23747
+ return jspb.Message.setField(this, 4, undefined);
23748
+ };
23749
+
23750
+
23751
+ /**
23752
+ * Returns whether this field is set.
23753
+ * @return {boolean}
23754
+ */
23755
+ proto.cms.FooterApplicationsItem.prototype.hasIsActive = function() {
23756
+ return jspb.Message.getField(this, 4) != null;
23757
+ };
23758
+
23759
+
23760
+ /**
23761
+ * optional FooterApplicationMediaItem apk = 5;
23762
+ * @return {?proto.cms.FooterApplicationMediaItem}
23763
+ */
23764
+ proto.cms.FooterApplicationsItem.prototype.getApk = function() {
23765
+ return /** @type{?proto.cms.FooterApplicationMediaItem} */ (
23766
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationMediaItem, 5));
23767
+ };
23768
+
23769
+
23770
+ /**
23771
+ * @param {?proto.cms.FooterApplicationMediaItem|undefined} value
23772
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23773
+ */
23774
+ proto.cms.FooterApplicationsItem.prototype.setApk = function(value) {
23775
+ return jspb.Message.setWrapperField(this, 5, value);
23776
+ };
23777
+
23778
+
23779
+ /**
23780
+ * Clears the message field making it undefined.
23781
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23782
+ */
23783
+ proto.cms.FooterApplicationsItem.prototype.clearApk = function() {
23784
+ return this.setApk(undefined);
23785
+ };
23786
+
23787
+
23788
+ /**
23789
+ * Returns whether this field is set.
23790
+ * @return {boolean}
23791
+ */
23792
+ proto.cms.FooterApplicationsItem.prototype.hasApk = function() {
23793
+ return jspb.Message.getField(this, 5) != null;
23794
+ };
23795
+
23796
+
23797
+ /**
23798
+ * optional FooterApplicationMediaItem ipa = 6;
23799
+ * @return {?proto.cms.FooterApplicationMediaItem}
23800
+ */
23801
+ proto.cms.FooterApplicationsItem.prototype.getIpa = function() {
23802
+ return /** @type{?proto.cms.FooterApplicationMediaItem} */ (
23803
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationMediaItem, 6));
23804
+ };
23805
+
23806
+
23807
+ /**
23808
+ * @param {?proto.cms.FooterApplicationMediaItem|undefined} value
23809
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23810
+ */
23811
+ proto.cms.FooterApplicationsItem.prototype.setIpa = function(value) {
23812
+ return jspb.Message.setWrapperField(this, 6, value);
23813
+ };
23814
+
23815
+
23816
+ /**
23817
+ * Clears the message field making it undefined.
23818
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23819
+ */
23820
+ proto.cms.FooterApplicationsItem.prototype.clearIpa = function() {
23821
+ return this.setIpa(undefined);
23822
+ };
23823
+
23824
+
23825
+ /**
23826
+ * Returns whether this field is set.
23827
+ * @return {boolean}
23828
+ */
23829
+ proto.cms.FooterApplicationsItem.prototype.hasIpa = function() {
23830
+ return jspb.Message.getField(this, 6) != null;
23831
+ };
23832
+
23833
+
23834
+ /**
23835
+ * optional FooterApplicationMediaItem pwa = 7;
23836
+ * @return {?proto.cms.FooterApplicationMediaItem}
23837
+ */
23838
+ proto.cms.FooterApplicationsItem.prototype.getPwa = function() {
23839
+ return /** @type{?proto.cms.FooterApplicationMediaItem} */ (
23840
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationMediaItem, 7));
23841
+ };
23842
+
23843
+
23844
+ /**
23845
+ * @param {?proto.cms.FooterApplicationMediaItem|undefined} value
23846
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23847
+ */
23848
+ proto.cms.FooterApplicationsItem.prototype.setPwa = function(value) {
23849
+ return jspb.Message.setWrapperField(this, 7, value);
23850
+ };
23851
+
23852
+
23853
+ /**
23854
+ * Clears the message field making it undefined.
23855
+ * @return {!proto.cms.FooterApplicationsItem} returns this
23856
+ */
23857
+ proto.cms.FooterApplicationsItem.prototype.clearPwa = function() {
23858
+ return this.setPwa(undefined);
23859
+ };
23860
+
23861
+
23862
+ /**
23863
+ * Returns whether this field is set.
23864
+ * @return {boolean}
23865
+ */
23866
+ proto.cms.FooterApplicationsItem.prototype.hasPwa = function() {
23867
+ return jspb.Message.getField(this, 7) != null;
23868
+ };
23869
+
23870
+
23871
+
23872
+
23873
+
23874
+ if (jspb.Message.GENERATE_TO_OBJECT) {
23875
+ /**
23876
+ * Creates an object representation of this proto.
23877
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
23878
+ * Optional fields that are not set will be set to undefined.
23879
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
23880
+ * For the list of reserved names please see:
23881
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
23882
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
23883
+ * JSPB instance for transitional soy proto support:
23884
+ * http://goto/soy-param-migration
23885
+ * @return {!Object}
23886
+ */
23887
+ proto.cms.FooterApplicationsMeta.prototype.toObject = function(opt_includeInstance) {
23888
+ return proto.cms.FooterApplicationsMeta.toObject(opt_includeInstance, this);
23889
+ };
23890
+
23891
+
23892
+ /**
23893
+ * Static version of the {@see toObject} method.
23894
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
23895
+ * the JSPB instance for transitional soy proto support:
23896
+ * http://goto/soy-param-migration
23897
+ * @param {!proto.cms.FooterApplicationsMeta} msg The msg instance to transform.
23898
+ * @return {!Object}
23899
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23900
+ */
23901
+ proto.cms.FooterApplicationsMeta.toObject = function(includeInstance, msg) {
23902
+ var f, obj = {
23903
+ apkHref: jspb.Message.getFieldWithDefault(msg, 1, ""),
23904
+ ipaHref: jspb.Message.getFieldWithDefault(msg, 2, ""),
23905
+ pwaHref: jspb.Message.getFieldWithDefault(msg, 3, "")
23906
+ };
23907
+
23908
+ if (includeInstance) {
23909
+ obj.$jspbMessageInstance = msg;
23910
+ }
23911
+ return obj;
23912
+ };
23913
+ }
23914
+
23915
+
23916
+ /**
23917
+ * Deserializes binary data (in protobuf wire format).
23918
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
23919
+ * @return {!proto.cms.FooterApplicationsMeta}
23920
+ */
23921
+ proto.cms.FooterApplicationsMeta.deserializeBinary = function(bytes) {
23922
+ var reader = new jspb.BinaryReader(bytes);
23923
+ var msg = new proto.cms.FooterApplicationsMeta;
23924
+ return proto.cms.FooterApplicationsMeta.deserializeBinaryFromReader(msg, reader);
23925
+ };
23926
+
23927
+
23928
+ /**
23929
+ * Deserializes binary data (in protobuf wire format) from the
23930
+ * given reader into the given message object.
23931
+ * @param {!proto.cms.FooterApplicationsMeta} msg The message object to deserialize into.
23932
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
23933
+ * @return {!proto.cms.FooterApplicationsMeta}
23934
+ */
23935
+ proto.cms.FooterApplicationsMeta.deserializeBinaryFromReader = function(msg, reader) {
23936
+ while (reader.nextField()) {
23937
+ if (reader.isEndGroup()) {
23938
+ break;
23939
+ }
23940
+ var field = reader.getFieldNumber();
23941
+ switch (field) {
23942
+ case 1:
23943
+ var value = /** @type {string} */ (reader.readString());
23944
+ msg.setApkHref(value);
23945
+ break;
23946
+ case 2:
23947
+ var value = /** @type {string} */ (reader.readString());
23948
+ msg.setIpaHref(value);
23949
+ break;
23950
+ case 3:
23951
+ var value = /** @type {string} */ (reader.readString());
23952
+ msg.setPwaHref(value);
23953
+ break;
23954
+ default:
23955
+ reader.skipField();
23956
+ break;
23957
+ }
23958
+ }
23959
+ return msg;
23960
+ };
23961
+
23962
+
23963
+ /**
23964
+ * Serializes the message to binary data (in protobuf wire format).
23965
+ * @return {!Uint8Array}
23966
+ */
23967
+ proto.cms.FooterApplicationsMeta.prototype.serializeBinary = function() {
23968
+ var writer = new jspb.BinaryWriter();
23969
+ proto.cms.FooterApplicationsMeta.serializeBinaryToWriter(this, writer);
23970
+ return writer.getResultBuffer();
23971
+ };
23972
+
23973
+
23974
+ /**
23975
+ * Serializes the given message to binary data (in protobuf wire
23976
+ * format), writing to the given BinaryWriter.
23977
+ * @param {!proto.cms.FooterApplicationsMeta} message
23978
+ * @param {!jspb.BinaryWriter} writer
23979
+ * @suppress {unusedLocalVariables} f is only used for nested messages
23980
+ */
23981
+ proto.cms.FooterApplicationsMeta.serializeBinaryToWriter = function(message, writer) {
23982
+ var f = undefined;
23983
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
23984
+ if (f != null) {
23985
+ writer.writeString(
23986
+ 1,
23987
+ f
23988
+ );
23989
+ }
23990
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
23991
+ if (f != null) {
23992
+ writer.writeString(
23993
+ 2,
23994
+ f
23995
+ );
23996
+ }
23997
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
23998
+ if (f != null) {
23999
+ writer.writeString(
24000
+ 3,
24001
+ f
24002
+ );
24003
+ }
24004
+ };
24005
+
24006
+
24007
+ /**
24008
+ * optional string apk_href = 1;
24009
+ * @return {string}
24010
+ */
24011
+ proto.cms.FooterApplicationsMeta.prototype.getApkHref = function() {
24012
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24013
+ };
24014
+
24015
+
24016
+ /**
24017
+ * @param {string} value
24018
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24019
+ */
24020
+ proto.cms.FooterApplicationsMeta.prototype.setApkHref = function(value) {
24021
+ return jspb.Message.setField(this, 1, value);
24022
+ };
24023
+
24024
+
24025
+ /**
24026
+ * Clears the field making it undefined.
24027
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24028
+ */
24029
+ proto.cms.FooterApplicationsMeta.prototype.clearApkHref = function() {
24030
+ return jspb.Message.setField(this, 1, undefined);
24031
+ };
24032
+
24033
+
24034
+ /**
24035
+ * Returns whether this field is set.
24036
+ * @return {boolean}
24037
+ */
24038
+ proto.cms.FooterApplicationsMeta.prototype.hasApkHref = function() {
24039
+ return jspb.Message.getField(this, 1) != null;
24040
+ };
24041
+
24042
+
24043
+ /**
24044
+ * optional string ipa_href = 2;
24045
+ * @return {string}
24046
+ */
24047
+ proto.cms.FooterApplicationsMeta.prototype.getIpaHref = function() {
24048
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24049
+ };
24050
+
24051
+
24052
+ /**
24053
+ * @param {string} value
24054
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24055
+ */
24056
+ proto.cms.FooterApplicationsMeta.prototype.setIpaHref = function(value) {
24057
+ return jspb.Message.setField(this, 2, value);
24058
+ };
24059
+
24060
+
24061
+ /**
24062
+ * Clears the field making it undefined.
24063
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24064
+ */
24065
+ proto.cms.FooterApplicationsMeta.prototype.clearIpaHref = function() {
24066
+ return jspb.Message.setField(this, 2, undefined);
24067
+ };
24068
+
24069
+
24070
+ /**
24071
+ * Returns whether this field is set.
24072
+ * @return {boolean}
24073
+ */
24074
+ proto.cms.FooterApplicationsMeta.prototype.hasIpaHref = function() {
24075
+ return jspb.Message.getField(this, 2) != null;
24076
+ };
24077
+
24078
+
24079
+ /**
24080
+ * optional string pwa_href = 3;
24081
+ * @return {string}
24082
+ */
24083
+ proto.cms.FooterApplicationsMeta.prototype.getPwaHref = function() {
24084
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24085
+ };
24086
+
24087
+
24088
+ /**
24089
+ * @param {string} value
24090
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24091
+ */
24092
+ proto.cms.FooterApplicationsMeta.prototype.setPwaHref = function(value) {
24093
+ return jspb.Message.setField(this, 3, value);
24094
+ };
24095
+
24096
+
24097
+ /**
24098
+ * Clears the field making it undefined.
24099
+ * @return {!proto.cms.FooterApplicationsMeta} returns this
24100
+ */
24101
+ proto.cms.FooterApplicationsMeta.prototype.clearPwaHref = function() {
24102
+ return jspb.Message.setField(this, 3, undefined);
24103
+ };
24104
+
24105
+
24106
+ /**
24107
+ * Returns whether this field is set.
24108
+ * @return {boolean}
24109
+ */
24110
+ proto.cms.FooterApplicationsMeta.prototype.hasPwaHref = function() {
24111
+ return jspb.Message.getField(this, 3) != null;
24112
+ };
24113
+
24114
+
24115
+
24116
+
24117
+
24118
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24119
+ /**
24120
+ * Creates an object representation of this proto.
24121
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24122
+ * Optional fields that are not set will be set to undefined.
24123
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24124
+ * For the list of reserved names please see:
24125
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24126
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24127
+ * JSPB instance for transitional soy proto support:
24128
+ * http://goto/soy-param-migration
24129
+ * @return {!Object}
24130
+ */
24131
+ proto.cms.FooterApplicationsItemRequest.prototype.toObject = function(opt_includeInstance) {
24132
+ return proto.cms.FooterApplicationsItemRequest.toObject(opt_includeInstance, this);
24133
+ };
24134
+
24135
+
24136
+ /**
24137
+ * Static version of the {@see toObject} method.
24138
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24139
+ * the JSPB instance for transitional soy proto support:
24140
+ * http://goto/soy-param-migration
24141
+ * @param {!proto.cms.FooterApplicationsItemRequest} msg The msg instance to transform.
24142
+ * @return {!Object}
24143
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24144
+ */
24145
+ proto.cms.FooterApplicationsItemRequest.toObject = function(includeInstance, msg) {
24146
+ var f, obj = {
24147
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
24148
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
24149
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
24150
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
24151
+ meta: (f = msg.getMeta()) && proto.cms.FooterApplicationsMeta.toObject(includeInstance, f)
24152
+ };
24153
+
24154
+ if (includeInstance) {
24155
+ obj.$jspbMessageInstance = msg;
24156
+ }
24157
+ return obj;
24158
+ };
24159
+ }
24160
+
24161
+
24162
+ /**
24163
+ * Deserializes binary data (in protobuf wire format).
24164
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24165
+ * @return {!proto.cms.FooterApplicationsItemRequest}
24166
+ */
24167
+ proto.cms.FooterApplicationsItemRequest.deserializeBinary = function(bytes) {
24168
+ var reader = new jspb.BinaryReader(bytes);
24169
+ var msg = new proto.cms.FooterApplicationsItemRequest;
24170
+ return proto.cms.FooterApplicationsItemRequest.deserializeBinaryFromReader(msg, reader);
24171
+ };
24172
+
24173
+
24174
+ /**
24175
+ * Deserializes binary data (in protobuf wire format) from the
24176
+ * given reader into the given message object.
24177
+ * @param {!proto.cms.FooterApplicationsItemRequest} msg The message object to deserialize into.
24178
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24179
+ * @return {!proto.cms.FooterApplicationsItemRequest}
24180
+ */
24181
+ proto.cms.FooterApplicationsItemRequest.deserializeBinaryFromReader = function(msg, reader) {
24182
+ while (reader.nextField()) {
24183
+ if (reader.isEndGroup()) {
24184
+ break;
24185
+ }
24186
+ var field = reader.getFieldNumber();
24187
+ switch (field) {
24188
+ case 1:
24189
+ var value = /** @type {number} */ (reader.readInt32());
24190
+ msg.setId(value);
24191
+ break;
24192
+ case 2:
24193
+ var value = /** @type {string} */ (reader.readString());
24194
+ msg.setGeo(value);
24195
+ break;
24196
+ case 3:
24197
+ var value = /** @type {string} */ (reader.readString());
24198
+ msg.setTitle(value);
24199
+ break;
24200
+ case 4:
24201
+ var value = /** @type {number} */ (reader.readInt32());
24202
+ msg.setIsActive(value);
24203
+ break;
24204
+ case 5:
24205
+ var value = new proto.cms.FooterApplicationsMeta;
24206
+ reader.readMessage(value,proto.cms.FooterApplicationsMeta.deserializeBinaryFromReader);
24207
+ msg.setMeta(value);
24208
+ break;
24209
+ default:
24210
+ reader.skipField();
24211
+ break;
24212
+ }
24213
+ }
24214
+ return msg;
24215
+ };
24216
+
24217
+
24218
+ /**
24219
+ * Serializes the message to binary data (in protobuf wire format).
24220
+ * @return {!Uint8Array}
24221
+ */
24222
+ proto.cms.FooterApplicationsItemRequest.prototype.serializeBinary = function() {
24223
+ var writer = new jspb.BinaryWriter();
24224
+ proto.cms.FooterApplicationsItemRequest.serializeBinaryToWriter(this, writer);
24225
+ return writer.getResultBuffer();
24226
+ };
24227
+
24228
+
24229
+ /**
24230
+ * Serializes the given message to binary data (in protobuf wire
24231
+ * format), writing to the given BinaryWriter.
24232
+ * @param {!proto.cms.FooterApplicationsItemRequest} message
24233
+ * @param {!jspb.BinaryWriter} writer
24234
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24235
+ */
24236
+ proto.cms.FooterApplicationsItemRequest.serializeBinaryToWriter = function(message, writer) {
24237
+ var f = undefined;
24238
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
24239
+ if (f != null) {
24240
+ writer.writeInt32(
24241
+ 1,
24242
+ f
24243
+ );
24244
+ }
24245
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
24246
+ if (f != null) {
24247
+ writer.writeString(
24248
+ 2,
24249
+ f
24250
+ );
24251
+ }
24252
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
24253
+ if (f != null) {
24254
+ writer.writeString(
24255
+ 3,
24256
+ f
24257
+ );
24258
+ }
24259
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
24260
+ if (f != null) {
24261
+ writer.writeInt32(
24262
+ 4,
24263
+ f
24264
+ );
24265
+ }
24266
+ f = message.getMeta();
24267
+ if (f != null) {
24268
+ writer.writeMessage(
24269
+ 5,
24270
+ f,
24271
+ proto.cms.FooterApplicationsMeta.serializeBinaryToWriter
24272
+ );
24273
+ }
24274
+ };
24275
+
24276
+
24277
+ /**
24278
+ * optional int32 id = 1;
24279
+ * @return {number}
24280
+ */
24281
+ proto.cms.FooterApplicationsItemRequest.prototype.getId = function() {
24282
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
24283
+ };
24284
+
24285
+
24286
+ /**
24287
+ * @param {number} value
24288
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24289
+ */
24290
+ proto.cms.FooterApplicationsItemRequest.prototype.setId = function(value) {
24291
+ return jspb.Message.setField(this, 1, value);
24292
+ };
24293
+
24294
+
24295
+ /**
24296
+ * Clears the field making it undefined.
24297
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24298
+ */
24299
+ proto.cms.FooterApplicationsItemRequest.prototype.clearId = function() {
24300
+ return jspb.Message.setField(this, 1, undefined);
24301
+ };
24302
+
24303
+
24304
+ /**
24305
+ * Returns whether this field is set.
24306
+ * @return {boolean}
24307
+ */
24308
+ proto.cms.FooterApplicationsItemRequest.prototype.hasId = function() {
24309
+ return jspb.Message.getField(this, 1) != null;
24310
+ };
24311
+
24312
+
24313
+ /**
24314
+ * optional string geo = 2;
24315
+ * @return {string}
24316
+ */
24317
+ proto.cms.FooterApplicationsItemRequest.prototype.getGeo = function() {
24318
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
24319
+ };
24320
+
24321
+
24322
+ /**
24323
+ * @param {string} value
24324
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24325
+ */
24326
+ proto.cms.FooterApplicationsItemRequest.prototype.setGeo = function(value) {
24327
+ return jspb.Message.setField(this, 2, value);
24328
+ };
24329
+
24330
+
24331
+ /**
24332
+ * Clears the field making it undefined.
24333
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24334
+ */
24335
+ proto.cms.FooterApplicationsItemRequest.prototype.clearGeo = function() {
24336
+ return jspb.Message.setField(this, 2, undefined);
24337
+ };
24338
+
24339
+
24340
+ /**
24341
+ * Returns whether this field is set.
24342
+ * @return {boolean}
24343
+ */
24344
+ proto.cms.FooterApplicationsItemRequest.prototype.hasGeo = function() {
24345
+ return jspb.Message.getField(this, 2) != null;
24346
+ };
24347
+
24348
+
24349
+ /**
24350
+ * optional string title = 3;
24351
+ * @return {string}
24352
+ */
24353
+ proto.cms.FooterApplicationsItemRequest.prototype.getTitle = function() {
24354
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
24355
+ };
24356
+
24357
+
24358
+ /**
24359
+ * @param {string} value
24360
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24361
+ */
24362
+ proto.cms.FooterApplicationsItemRequest.prototype.setTitle = function(value) {
24363
+ return jspb.Message.setField(this, 3, value);
24364
+ };
24365
+
24366
+
24367
+ /**
24368
+ * Clears the field making it undefined.
24369
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24370
+ */
24371
+ proto.cms.FooterApplicationsItemRequest.prototype.clearTitle = function() {
24372
+ return jspb.Message.setField(this, 3, undefined);
24373
+ };
24374
+
24375
+
24376
+ /**
24377
+ * Returns whether this field is set.
24378
+ * @return {boolean}
24379
+ */
24380
+ proto.cms.FooterApplicationsItemRequest.prototype.hasTitle = function() {
24381
+ return jspb.Message.getField(this, 3) != null;
24382
+ };
24383
+
24384
+
24385
+ /**
24386
+ * optional int32 is_active = 4;
24387
+ * @return {number}
24388
+ */
24389
+ proto.cms.FooterApplicationsItemRequest.prototype.getIsActive = function() {
24390
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
24391
+ };
24392
+
24393
+
24394
+ /**
24395
+ * @param {number} value
24396
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24397
+ */
24398
+ proto.cms.FooterApplicationsItemRequest.prototype.setIsActive = function(value) {
24399
+ return jspb.Message.setField(this, 4, value);
24400
+ };
24401
+
24402
+
24403
+ /**
24404
+ * Clears the field making it undefined.
24405
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24406
+ */
24407
+ proto.cms.FooterApplicationsItemRequest.prototype.clearIsActive = function() {
24408
+ return jspb.Message.setField(this, 4, undefined);
24409
+ };
24410
+
24411
+
24412
+ /**
24413
+ * Returns whether this field is set.
24414
+ * @return {boolean}
24415
+ */
24416
+ proto.cms.FooterApplicationsItemRequest.prototype.hasIsActive = function() {
24417
+ return jspb.Message.getField(this, 4) != null;
24418
+ };
24419
+
24420
+
24421
+ /**
24422
+ * optional FooterApplicationsMeta meta = 5;
24423
+ * @return {?proto.cms.FooterApplicationsMeta}
24424
+ */
24425
+ proto.cms.FooterApplicationsItemRequest.prototype.getMeta = function() {
24426
+ return /** @type{?proto.cms.FooterApplicationsMeta} */ (
24427
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationsMeta, 5));
24428
+ };
24429
+
24430
+
24431
+ /**
24432
+ * @param {?proto.cms.FooterApplicationsMeta|undefined} value
24433
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24434
+ */
24435
+ proto.cms.FooterApplicationsItemRequest.prototype.setMeta = function(value) {
24436
+ return jspb.Message.setWrapperField(this, 5, value);
24437
+ };
24438
+
24439
+
24440
+ /**
24441
+ * Clears the message field making it undefined.
24442
+ * @return {!proto.cms.FooterApplicationsItemRequest} returns this
24443
+ */
24444
+ proto.cms.FooterApplicationsItemRequest.prototype.clearMeta = function() {
24445
+ return this.setMeta(undefined);
24446
+ };
24447
+
24448
+
24449
+ /**
24450
+ * Returns whether this field is set.
24451
+ * @return {boolean}
24452
+ */
24453
+ proto.cms.FooterApplicationsItemRequest.prototype.hasMeta = function() {
24454
+ return jspb.Message.getField(this, 5) != null;
24455
+ };
24456
+
24457
+
24458
+
24459
+ /**
24460
+ * Oneof group definitions for this message. Each group defines the field
24461
+ * numbers belonging to that group. When of these fields' value is set, all
24462
+ * other fields in the group are cleared. During deserialization, if multiple
24463
+ * fields are encountered for a group, only the last value seen will be kept.
24464
+ * @private {!Array<!Array<number>>}
24465
+ * @const
24466
+ */
24467
+ proto.cms.FooterApplicationsRequest.oneofGroups_ = [[1,2]];
24468
+
24469
+ /**
24470
+ * @enum {number}
24471
+ */
24472
+ proto.cms.FooterApplicationsRequest.PayloadCase = {
24473
+ PAYLOAD_NOT_SET: 0,
24474
+ APPLICATIONS_DATA: 1,
24475
+ APPLICATIONS_FILE: 2
24476
+ };
24477
+
24478
+ /**
24479
+ * @return {proto.cms.FooterApplicationsRequest.PayloadCase}
24480
+ */
24481
+ proto.cms.FooterApplicationsRequest.prototype.getPayloadCase = function() {
24482
+ return /** @type {proto.cms.FooterApplicationsRequest.PayloadCase} */(jspb.Message.computeOneofCase(this, proto.cms.FooterApplicationsRequest.oneofGroups_[0]));
24483
+ };
24484
+
24485
+
24486
+
24487
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24488
+ /**
24489
+ * Creates an object representation of this proto.
24490
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24491
+ * Optional fields that are not set will be set to undefined.
24492
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24493
+ * For the list of reserved names please see:
24494
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24495
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24496
+ * JSPB instance for transitional soy proto support:
24497
+ * http://goto/soy-param-migration
24498
+ * @return {!Object}
24499
+ */
24500
+ proto.cms.FooterApplicationsRequest.prototype.toObject = function(opt_includeInstance) {
24501
+ return proto.cms.FooterApplicationsRequest.toObject(opt_includeInstance, this);
24502
+ };
24503
+
24504
+
24505
+ /**
24506
+ * Static version of the {@see toObject} method.
24507
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24508
+ * the JSPB instance for transitional soy proto support:
24509
+ * http://goto/soy-param-migration
24510
+ * @param {!proto.cms.FooterApplicationsRequest} msg The msg instance to transform.
24511
+ * @return {!Object}
24512
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24513
+ */
24514
+ proto.cms.FooterApplicationsRequest.toObject = function(includeInstance, msg) {
24515
+ var f, obj = {
24516
+ applicationsData: (f = msg.getApplicationsData()) && proto.cms.FooterApplicationsItemRequest.toObject(includeInstance, f),
24517
+ applicationsFile: (f = msg.getApplicationsFile()) && proto.cms.FooterApplicationsFile.toObject(includeInstance, f)
24518
+ };
24519
+
24520
+ if (includeInstance) {
24521
+ obj.$jspbMessageInstance = msg;
24522
+ }
24523
+ return obj;
24524
+ };
24525
+ }
24526
+
24527
+
24528
+ /**
24529
+ * Deserializes binary data (in protobuf wire format).
24530
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24531
+ * @return {!proto.cms.FooterApplicationsRequest}
24532
+ */
24533
+ proto.cms.FooterApplicationsRequest.deserializeBinary = function(bytes) {
24534
+ var reader = new jspb.BinaryReader(bytes);
24535
+ var msg = new proto.cms.FooterApplicationsRequest;
24536
+ return proto.cms.FooterApplicationsRequest.deserializeBinaryFromReader(msg, reader);
24537
+ };
24538
+
24539
+
24540
+ /**
24541
+ * Deserializes binary data (in protobuf wire format) from the
24542
+ * given reader into the given message object.
24543
+ * @param {!proto.cms.FooterApplicationsRequest} msg The message object to deserialize into.
24544
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24545
+ * @return {!proto.cms.FooterApplicationsRequest}
24546
+ */
24547
+ proto.cms.FooterApplicationsRequest.deserializeBinaryFromReader = function(msg, reader) {
24548
+ while (reader.nextField()) {
24549
+ if (reader.isEndGroup()) {
24550
+ break;
24551
+ }
24552
+ var field = reader.getFieldNumber();
24553
+ switch (field) {
24554
+ case 1:
24555
+ var value = new proto.cms.FooterApplicationsItemRequest;
24556
+ reader.readMessage(value,proto.cms.FooterApplicationsItemRequest.deserializeBinaryFromReader);
24557
+ msg.setApplicationsData(value);
24558
+ break;
24559
+ case 2:
24560
+ var value = new proto.cms.FooterApplicationsFile;
24561
+ reader.readMessage(value,proto.cms.FooterApplicationsFile.deserializeBinaryFromReader);
24562
+ msg.setApplicationsFile(value);
24563
+ break;
24564
+ default:
24565
+ reader.skipField();
24566
+ break;
24567
+ }
24568
+ }
24569
+ return msg;
24570
+ };
24571
+
24572
+
24573
+ /**
24574
+ * Serializes the message to binary data (in protobuf wire format).
24575
+ * @return {!Uint8Array}
24576
+ */
24577
+ proto.cms.FooterApplicationsRequest.prototype.serializeBinary = function() {
24578
+ var writer = new jspb.BinaryWriter();
24579
+ proto.cms.FooterApplicationsRequest.serializeBinaryToWriter(this, writer);
24580
+ return writer.getResultBuffer();
24581
+ };
24582
+
24583
+
24584
+ /**
24585
+ * Serializes the given message to binary data (in protobuf wire
24586
+ * format), writing to the given BinaryWriter.
24587
+ * @param {!proto.cms.FooterApplicationsRequest} message
24588
+ * @param {!jspb.BinaryWriter} writer
24589
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24590
+ */
24591
+ proto.cms.FooterApplicationsRequest.serializeBinaryToWriter = function(message, writer) {
24592
+ var f = undefined;
24593
+ f = message.getApplicationsData();
24594
+ if (f != null) {
24595
+ writer.writeMessage(
24596
+ 1,
24597
+ f,
24598
+ proto.cms.FooterApplicationsItemRequest.serializeBinaryToWriter
24599
+ );
24600
+ }
24601
+ f = message.getApplicationsFile();
24602
+ if (f != null) {
24603
+ writer.writeMessage(
24604
+ 2,
24605
+ f,
24606
+ proto.cms.FooterApplicationsFile.serializeBinaryToWriter
24607
+ );
24608
+ }
24609
+ };
24610
+
24611
+
24612
+ /**
24613
+ * optional FooterApplicationsItemRequest applications_data = 1;
24614
+ * @return {?proto.cms.FooterApplicationsItemRequest}
24615
+ */
24616
+ proto.cms.FooterApplicationsRequest.prototype.getApplicationsData = function() {
24617
+ return /** @type{?proto.cms.FooterApplicationsItemRequest} */ (
24618
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationsItemRequest, 1));
24619
+ };
24620
+
24621
+
24622
+ /**
24623
+ * @param {?proto.cms.FooterApplicationsItemRequest|undefined} value
24624
+ * @return {!proto.cms.FooterApplicationsRequest} returns this
24625
+ */
24626
+ proto.cms.FooterApplicationsRequest.prototype.setApplicationsData = function(value) {
24627
+ return jspb.Message.setOneofWrapperField(this, 1, proto.cms.FooterApplicationsRequest.oneofGroups_[0], value);
24628
+ };
24629
+
24630
+
24631
+ /**
24632
+ * Clears the message field making it undefined.
24633
+ * @return {!proto.cms.FooterApplicationsRequest} returns this
24634
+ */
24635
+ proto.cms.FooterApplicationsRequest.prototype.clearApplicationsData = function() {
24636
+ return this.setApplicationsData(undefined);
24637
+ };
24638
+
24639
+
24640
+ /**
24641
+ * Returns whether this field is set.
24642
+ * @return {boolean}
24643
+ */
24644
+ proto.cms.FooterApplicationsRequest.prototype.hasApplicationsData = function() {
24645
+ return jspb.Message.getField(this, 1) != null;
24646
+ };
24647
+
24648
+
24649
+ /**
24650
+ * optional FooterApplicationsFile applications_file = 2;
24651
+ * @return {?proto.cms.FooterApplicationsFile}
24652
+ */
24653
+ proto.cms.FooterApplicationsRequest.prototype.getApplicationsFile = function() {
24654
+ return /** @type{?proto.cms.FooterApplicationsFile} */ (
24655
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationsFile, 2));
24656
+ };
24657
+
24658
+
24659
+ /**
24660
+ * @param {?proto.cms.FooterApplicationsFile|undefined} value
24661
+ * @return {!proto.cms.FooterApplicationsRequest} returns this
24662
+ */
24663
+ proto.cms.FooterApplicationsRequest.prototype.setApplicationsFile = function(value) {
24664
+ return jspb.Message.setOneofWrapperField(this, 2, proto.cms.FooterApplicationsRequest.oneofGroups_[0], value);
24665
+ };
24666
+
24667
+
24668
+ /**
24669
+ * Clears the message field making it undefined.
24670
+ * @return {!proto.cms.FooterApplicationsRequest} returns this
24671
+ */
24672
+ proto.cms.FooterApplicationsRequest.prototype.clearApplicationsFile = function() {
24673
+ return this.setApplicationsFile(undefined);
24674
+ };
24675
+
24676
+
24677
+ /**
24678
+ * Returns whether this field is set.
24679
+ * @return {boolean}
24680
+ */
24681
+ proto.cms.FooterApplicationsRequest.prototype.hasApplicationsFile = function() {
24682
+ return jspb.Message.getField(this, 2) != null;
24683
+ };
24684
+
24685
+
24686
+
24687
+
24688
+
24689
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24690
+ /**
24691
+ * Creates an object representation of this proto.
24692
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24693
+ * Optional fields that are not set will be set to undefined.
24694
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24695
+ * For the list of reserved names please see:
24696
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24697
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24698
+ * JSPB instance for transitional soy proto support:
24699
+ * http://goto/soy-param-migration
24700
+ * @return {!Object}
24701
+ */
24702
+ proto.cms.FooterApplicationsFile.prototype.toObject = function(opt_includeInstance) {
24703
+ return proto.cms.FooterApplicationsFile.toObject(opt_includeInstance, this);
24704
+ };
24705
+
24706
+
24707
+ /**
24708
+ * Static version of the {@see toObject} method.
24709
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24710
+ * the JSPB instance for transitional soy proto support:
24711
+ * http://goto/soy-param-migration
24712
+ * @param {!proto.cms.FooterApplicationsFile} msg The msg instance to transform.
24713
+ * @return {!Object}
24714
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24715
+ */
24716
+ proto.cms.FooterApplicationsFile.toObject = function(includeInstance, msg) {
24717
+ var f, obj = {
24718
+ kind: jspb.Message.getFieldWithDefault(msg, 1, ""),
24719
+ file: (f = msg.getFile()) && proto.cms.File.toObject(includeInstance, f)
24720
+ };
24721
+
24722
+ if (includeInstance) {
24723
+ obj.$jspbMessageInstance = msg;
24724
+ }
24725
+ return obj;
24726
+ };
24727
+ }
24728
+
24729
+
24730
+ /**
24731
+ * Deserializes binary data (in protobuf wire format).
24732
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24733
+ * @return {!proto.cms.FooterApplicationsFile}
24734
+ */
24735
+ proto.cms.FooterApplicationsFile.deserializeBinary = function(bytes) {
24736
+ var reader = new jspb.BinaryReader(bytes);
24737
+ var msg = new proto.cms.FooterApplicationsFile;
24738
+ return proto.cms.FooterApplicationsFile.deserializeBinaryFromReader(msg, reader);
24739
+ };
24740
+
24741
+
24742
+ /**
24743
+ * Deserializes binary data (in protobuf wire format) from the
24744
+ * given reader into the given message object.
24745
+ * @param {!proto.cms.FooterApplicationsFile} msg The message object to deserialize into.
24746
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24747
+ * @return {!proto.cms.FooterApplicationsFile}
24748
+ */
24749
+ proto.cms.FooterApplicationsFile.deserializeBinaryFromReader = function(msg, reader) {
24750
+ while (reader.nextField()) {
24751
+ if (reader.isEndGroup()) {
24752
+ break;
24753
+ }
24754
+ var field = reader.getFieldNumber();
24755
+ switch (field) {
24756
+ case 1:
24757
+ var value = /** @type {string} */ (reader.readString());
24758
+ msg.setKind(value);
24759
+ break;
24760
+ case 2:
24761
+ var value = new proto.cms.File;
24762
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
24763
+ msg.setFile(value);
24764
+ break;
24765
+ default:
24766
+ reader.skipField();
24767
+ break;
24768
+ }
24769
+ }
24770
+ return msg;
24771
+ };
24772
+
24773
+
24774
+ /**
24775
+ * Serializes the message to binary data (in protobuf wire format).
24776
+ * @return {!Uint8Array}
24777
+ */
24778
+ proto.cms.FooterApplicationsFile.prototype.serializeBinary = function() {
24779
+ var writer = new jspb.BinaryWriter();
24780
+ proto.cms.FooterApplicationsFile.serializeBinaryToWriter(this, writer);
24781
+ return writer.getResultBuffer();
24782
+ };
24783
+
24784
+
24785
+ /**
24786
+ * Serializes the given message to binary data (in protobuf wire
24787
+ * format), writing to the given BinaryWriter.
24788
+ * @param {!proto.cms.FooterApplicationsFile} message
24789
+ * @param {!jspb.BinaryWriter} writer
24790
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24791
+ */
24792
+ proto.cms.FooterApplicationsFile.serializeBinaryToWriter = function(message, writer) {
24793
+ var f = undefined;
24794
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
24795
+ if (f != null) {
24796
+ writer.writeString(
24797
+ 1,
24798
+ f
24799
+ );
24800
+ }
24801
+ f = message.getFile();
24802
+ if (f != null) {
24803
+ writer.writeMessage(
24804
+ 2,
24805
+ f,
24806
+ proto.cms.File.serializeBinaryToWriter
24807
+ );
24808
+ }
24809
+ };
24810
+
24811
+
24812
+ /**
24813
+ * optional string kind = 1;
24814
+ * @return {string}
24815
+ */
24816
+ proto.cms.FooterApplicationsFile.prototype.getKind = function() {
24817
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
24818
+ };
24819
+
24820
+
24821
+ /**
24822
+ * @param {string} value
24823
+ * @return {!proto.cms.FooterApplicationsFile} returns this
24824
+ */
24825
+ proto.cms.FooterApplicationsFile.prototype.setKind = function(value) {
24826
+ return jspb.Message.setField(this, 1, value);
24827
+ };
24828
+
24829
+
24830
+ /**
24831
+ * Clears the field making it undefined.
24832
+ * @return {!proto.cms.FooterApplicationsFile} returns this
24833
+ */
24834
+ proto.cms.FooterApplicationsFile.prototype.clearKind = function() {
24835
+ return jspb.Message.setField(this, 1, undefined);
24836
+ };
24837
+
24838
+
24839
+ /**
24840
+ * Returns whether this field is set.
24841
+ * @return {boolean}
24842
+ */
24843
+ proto.cms.FooterApplicationsFile.prototype.hasKind = function() {
24844
+ return jspb.Message.getField(this, 1) != null;
24845
+ };
24846
+
24847
+
24848
+ /**
24849
+ * optional File file = 2;
24850
+ * @return {?proto.cms.File}
24851
+ */
24852
+ proto.cms.FooterApplicationsFile.prototype.getFile = function() {
24853
+ return /** @type{?proto.cms.File} */ (
24854
+ jspb.Message.getWrapperField(this, proto.cms.File, 2));
24855
+ };
24856
+
24857
+
24858
+ /**
24859
+ * @param {?proto.cms.File|undefined} value
24860
+ * @return {!proto.cms.FooterApplicationsFile} returns this
24861
+ */
24862
+ proto.cms.FooterApplicationsFile.prototype.setFile = function(value) {
24863
+ return jspb.Message.setWrapperField(this, 2, value);
24864
+ };
24865
+
24866
+
24867
+ /**
24868
+ * Clears the message field making it undefined.
24869
+ * @return {!proto.cms.FooterApplicationsFile} returns this
24870
+ */
24871
+ proto.cms.FooterApplicationsFile.prototype.clearFile = function() {
24872
+ return this.setFile(undefined);
24873
+ };
24874
+
24875
+
24876
+ /**
24877
+ * Returns whether this field is set.
24878
+ * @return {boolean}
24879
+ */
24880
+ proto.cms.FooterApplicationsFile.prototype.hasFile = function() {
24881
+ return jspb.Message.getField(this, 2) != null;
24882
+ };
24883
+
24884
+
24885
+
24886
+
24887
+
24888
+ if (jspb.Message.GENERATE_TO_OBJECT) {
24889
+ /**
24890
+ * Creates an object representation of this proto.
24891
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
24892
+ * Optional fields that are not set will be set to undefined.
24893
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
24894
+ * For the list of reserved names please see:
24895
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
24896
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
24897
+ * JSPB instance for transitional soy proto support:
24898
+ * http://goto/soy-param-migration
24899
+ * @return {!Object}
24900
+ */
24901
+ proto.cms.FooterApplicationsResponse.prototype.toObject = function(opt_includeInstance) {
24902
+ return proto.cms.FooterApplicationsResponse.toObject(opt_includeInstance, this);
24903
+ };
24904
+
24905
+
24906
+ /**
24907
+ * Static version of the {@see toObject} method.
24908
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
24909
+ * the JSPB instance for transitional soy proto support:
24910
+ * http://goto/soy-param-migration
24911
+ * @param {!proto.cms.FooterApplicationsResponse} msg The msg instance to transform.
24912
+ * @return {!Object}
24913
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24914
+ */
24915
+ proto.cms.FooterApplicationsResponse.toObject = function(includeInstance, msg) {
24916
+ var f, obj = {
24917
+ data: (f = msg.getData()) && proto.cms.FooterApplicationsItem.toObject(includeInstance, f)
24918
+ };
24919
+
24920
+ if (includeInstance) {
24921
+ obj.$jspbMessageInstance = msg;
24922
+ }
24923
+ return obj;
24924
+ };
24925
+ }
24926
+
24927
+
24928
+ /**
24929
+ * Deserializes binary data (in protobuf wire format).
24930
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
24931
+ * @return {!proto.cms.FooterApplicationsResponse}
24932
+ */
24933
+ proto.cms.FooterApplicationsResponse.deserializeBinary = function(bytes) {
24934
+ var reader = new jspb.BinaryReader(bytes);
24935
+ var msg = new proto.cms.FooterApplicationsResponse;
24936
+ return proto.cms.FooterApplicationsResponse.deserializeBinaryFromReader(msg, reader);
24937
+ };
24938
+
24939
+
24940
+ /**
24941
+ * Deserializes binary data (in protobuf wire format) from the
24942
+ * given reader into the given message object.
24943
+ * @param {!proto.cms.FooterApplicationsResponse} msg The message object to deserialize into.
24944
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
24945
+ * @return {!proto.cms.FooterApplicationsResponse}
24946
+ */
24947
+ proto.cms.FooterApplicationsResponse.deserializeBinaryFromReader = function(msg, reader) {
24948
+ while (reader.nextField()) {
24949
+ if (reader.isEndGroup()) {
24950
+ break;
24951
+ }
24952
+ var field = reader.getFieldNumber();
24953
+ switch (field) {
24954
+ case 1:
24955
+ var value = new proto.cms.FooterApplicationsItem;
24956
+ reader.readMessage(value,proto.cms.FooterApplicationsItem.deserializeBinaryFromReader);
24957
+ msg.setData(value);
24958
+ break;
24959
+ default:
24960
+ reader.skipField();
24961
+ break;
24962
+ }
24963
+ }
24964
+ return msg;
24965
+ };
24966
+
24967
+
24968
+ /**
24969
+ * Serializes the message to binary data (in protobuf wire format).
24970
+ * @return {!Uint8Array}
24971
+ */
24972
+ proto.cms.FooterApplicationsResponse.prototype.serializeBinary = function() {
24973
+ var writer = new jspb.BinaryWriter();
24974
+ proto.cms.FooterApplicationsResponse.serializeBinaryToWriter(this, writer);
24975
+ return writer.getResultBuffer();
24976
+ };
24977
+
24978
+
24979
+ /**
24980
+ * Serializes the given message to binary data (in protobuf wire
24981
+ * format), writing to the given BinaryWriter.
24982
+ * @param {!proto.cms.FooterApplicationsResponse} message
24983
+ * @param {!jspb.BinaryWriter} writer
24984
+ * @suppress {unusedLocalVariables} f is only used for nested messages
24985
+ */
24986
+ proto.cms.FooterApplicationsResponse.serializeBinaryToWriter = function(message, writer) {
24987
+ var f = undefined;
24988
+ f = message.getData();
24989
+ if (f != null) {
24990
+ writer.writeMessage(
24991
+ 1,
24992
+ f,
24993
+ proto.cms.FooterApplicationsItem.serializeBinaryToWriter
24994
+ );
24995
+ }
24996
+ };
24997
+
24998
+
24999
+ /**
25000
+ * optional FooterApplicationsItem data = 1;
25001
+ * @return {?proto.cms.FooterApplicationsItem}
25002
+ */
25003
+ proto.cms.FooterApplicationsResponse.prototype.getData = function() {
25004
+ return /** @type{?proto.cms.FooterApplicationsItem} */ (
25005
+ jspb.Message.getWrapperField(this, proto.cms.FooterApplicationsItem, 1));
25006
+ };
25007
+
25008
+
25009
+ /**
25010
+ * @param {?proto.cms.FooterApplicationsItem|undefined} value
25011
+ * @return {!proto.cms.FooterApplicationsResponse} returns this
25012
+ */
25013
+ proto.cms.FooterApplicationsResponse.prototype.setData = function(value) {
25014
+ return jspb.Message.setWrapperField(this, 1, value);
25015
+ };
25016
+
25017
+
25018
+ /**
25019
+ * Clears the message field making it undefined.
25020
+ * @return {!proto.cms.FooterApplicationsResponse} returns this
25021
+ */
25022
+ proto.cms.FooterApplicationsResponse.prototype.clearData = function() {
25023
+ return this.setData(undefined);
25024
+ };
25025
+
25026
+
25027
+ /**
25028
+ * Returns whether this field is set.
25029
+ * @return {boolean}
25030
+ */
25031
+ proto.cms.FooterApplicationsResponse.prototype.hasData = function() {
25032
+ return jspb.Message.getField(this, 1) != null;
25033
+ };
25034
+
25035
+
25036
+
25037
+ /**
25038
+ * List of repeated fields within this message type.
25039
+ * @private {!Array<number>}
25040
+ * @const
25041
+ */
25042
+ proto.cms.FooterApplicationsItemsResponse.repeatedFields_ = [1];
25043
+
25044
+
25045
+
25046
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25047
+ /**
25048
+ * Creates an object representation of this proto.
25049
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25050
+ * Optional fields that are not set will be set to undefined.
25051
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25052
+ * For the list of reserved names please see:
25053
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25054
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25055
+ * JSPB instance for transitional soy proto support:
25056
+ * http://goto/soy-param-migration
25057
+ * @return {!Object}
25058
+ */
25059
+ proto.cms.FooterApplicationsItemsResponse.prototype.toObject = function(opt_includeInstance) {
25060
+ return proto.cms.FooterApplicationsItemsResponse.toObject(opt_includeInstance, this);
25061
+ };
25062
+
25063
+
25064
+ /**
25065
+ * Static version of the {@see toObject} method.
25066
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25067
+ * the JSPB instance for transitional soy proto support:
25068
+ * http://goto/soy-param-migration
25069
+ * @param {!proto.cms.FooterApplicationsItemsResponse} msg The msg instance to transform.
25070
+ * @return {!Object}
25071
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25072
+ */
25073
+ proto.cms.FooterApplicationsItemsResponse.toObject = function(includeInstance, msg) {
25074
+ var f, obj = {
25075
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
25076
+ proto.cms.FooterApplicationsItem.toObject, includeInstance),
25077
+ totalItems: jspb.Message.getFieldWithDefault(msg, 2, 0),
25078
+ totalPages: jspb.Message.getFieldWithDefault(msg, 3, 0)
25079
+ };
25080
+
25081
+ if (includeInstance) {
25082
+ obj.$jspbMessageInstance = msg;
25083
+ }
25084
+ return obj;
25085
+ };
25086
+ }
25087
+
25088
+
25089
+ /**
25090
+ * Deserializes binary data (in protobuf wire format).
25091
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25092
+ * @return {!proto.cms.FooterApplicationsItemsResponse}
25093
+ */
25094
+ proto.cms.FooterApplicationsItemsResponse.deserializeBinary = function(bytes) {
25095
+ var reader = new jspb.BinaryReader(bytes);
25096
+ var msg = new proto.cms.FooterApplicationsItemsResponse;
25097
+ return proto.cms.FooterApplicationsItemsResponse.deserializeBinaryFromReader(msg, reader);
25098
+ };
25099
+
25100
+
25101
+ /**
25102
+ * Deserializes binary data (in protobuf wire format) from the
25103
+ * given reader into the given message object.
25104
+ * @param {!proto.cms.FooterApplicationsItemsResponse} msg The message object to deserialize into.
25105
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25106
+ * @return {!proto.cms.FooterApplicationsItemsResponse}
25107
+ */
25108
+ proto.cms.FooterApplicationsItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
25109
+ while (reader.nextField()) {
25110
+ if (reader.isEndGroup()) {
25111
+ break;
25112
+ }
25113
+ var field = reader.getFieldNumber();
25114
+ switch (field) {
25115
+ case 1:
25116
+ var value = new proto.cms.FooterApplicationsItem;
25117
+ reader.readMessage(value,proto.cms.FooterApplicationsItem.deserializeBinaryFromReader);
25118
+ msg.addItems(value);
25119
+ break;
25120
+ case 2:
25121
+ var value = /** @type {number} */ (reader.readInt32());
25122
+ msg.setTotalItems(value);
25123
+ break;
25124
+ case 3:
25125
+ var value = /** @type {number} */ (reader.readInt32());
25126
+ msg.setTotalPages(value);
25127
+ break;
25128
+ default:
25129
+ reader.skipField();
25130
+ break;
25131
+ }
25132
+ }
25133
+ return msg;
25134
+ };
25135
+
25136
+
25137
+ /**
25138
+ * Serializes the message to binary data (in protobuf wire format).
25139
+ * @return {!Uint8Array}
25140
+ */
25141
+ proto.cms.FooterApplicationsItemsResponse.prototype.serializeBinary = function() {
25142
+ var writer = new jspb.BinaryWriter();
25143
+ proto.cms.FooterApplicationsItemsResponse.serializeBinaryToWriter(this, writer);
25144
+ return writer.getResultBuffer();
25145
+ };
25146
+
25147
+
25148
+ /**
25149
+ * Serializes the given message to binary data (in protobuf wire
25150
+ * format), writing to the given BinaryWriter.
25151
+ * @param {!proto.cms.FooterApplicationsItemsResponse} message
25152
+ * @param {!jspb.BinaryWriter} writer
25153
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25154
+ */
25155
+ proto.cms.FooterApplicationsItemsResponse.serializeBinaryToWriter = function(message, writer) {
25156
+ var f = undefined;
25157
+ f = message.getItemsList();
25158
+ if (f.length > 0) {
25159
+ writer.writeRepeatedMessage(
25160
+ 1,
25161
+ f,
25162
+ proto.cms.FooterApplicationsItem.serializeBinaryToWriter
25163
+ );
25164
+ }
25165
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
25166
+ if (f != null) {
25167
+ writer.writeInt32(
25168
+ 2,
25169
+ f
25170
+ );
25171
+ }
25172
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
25173
+ if (f != null) {
25174
+ writer.writeInt32(
25175
+ 3,
25176
+ f
25177
+ );
25178
+ }
25179
+ };
25180
+
25181
+
25182
+ /**
25183
+ * repeated FooterApplicationsItem items = 1;
25184
+ * @return {!Array<!proto.cms.FooterApplicationsItem>}
25185
+ */
25186
+ proto.cms.FooterApplicationsItemsResponse.prototype.getItemsList = function() {
25187
+ return /** @type{!Array<!proto.cms.FooterApplicationsItem>} */ (
25188
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterApplicationsItem, 1));
25189
+ };
25190
+
25191
+
25192
+ /**
25193
+ * @param {!Array<!proto.cms.FooterApplicationsItem>} value
25194
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25195
+ */
25196
+ proto.cms.FooterApplicationsItemsResponse.prototype.setItemsList = function(value) {
25197
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
25198
+ };
25199
+
25200
+
25201
+ /**
25202
+ * @param {!proto.cms.FooterApplicationsItem=} opt_value
25203
+ * @param {number=} opt_index
25204
+ * @return {!proto.cms.FooterApplicationsItem}
25205
+ */
25206
+ proto.cms.FooterApplicationsItemsResponse.prototype.addItems = function(opt_value, opt_index) {
25207
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterApplicationsItem, opt_index);
25208
+ };
25209
+
25210
+
25211
+ /**
25212
+ * Clears the list making it empty but non-null.
25213
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25214
+ */
25215
+ proto.cms.FooterApplicationsItemsResponse.prototype.clearItemsList = function() {
25216
+ return this.setItemsList([]);
25217
+ };
25218
+
25219
+
25220
+ /**
25221
+ * optional int32 total_items = 2;
25222
+ * @return {number}
25223
+ */
25224
+ proto.cms.FooterApplicationsItemsResponse.prototype.getTotalItems = function() {
25225
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
25226
+ };
25227
+
25228
+
25229
+ /**
25230
+ * @param {number} value
25231
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25232
+ */
25233
+ proto.cms.FooterApplicationsItemsResponse.prototype.setTotalItems = function(value) {
25234
+ return jspb.Message.setField(this, 2, value);
25235
+ };
25236
+
25237
+
25238
+ /**
25239
+ * Clears the field making it undefined.
25240
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25241
+ */
25242
+ proto.cms.FooterApplicationsItemsResponse.prototype.clearTotalItems = function() {
25243
+ return jspb.Message.setField(this, 2, undefined);
25244
+ };
25245
+
25246
+
25247
+ /**
25248
+ * Returns whether this field is set.
25249
+ * @return {boolean}
25250
+ */
25251
+ proto.cms.FooterApplicationsItemsResponse.prototype.hasTotalItems = function() {
25252
+ return jspb.Message.getField(this, 2) != null;
25253
+ };
25254
+
25255
+
25256
+ /**
25257
+ * optional int32 total_pages = 3;
25258
+ * @return {number}
25259
+ */
25260
+ proto.cms.FooterApplicationsItemsResponse.prototype.getTotalPages = function() {
25261
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
25262
+ };
25263
+
25264
+
25265
+ /**
25266
+ * @param {number} value
25267
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25268
+ */
25269
+ proto.cms.FooterApplicationsItemsResponse.prototype.setTotalPages = function(value) {
25270
+ return jspb.Message.setField(this, 3, value);
25271
+ };
25272
+
25273
+
25274
+ /**
25275
+ * Clears the field making it undefined.
25276
+ * @return {!proto.cms.FooterApplicationsItemsResponse} returns this
25277
+ */
25278
+ proto.cms.FooterApplicationsItemsResponse.prototype.clearTotalPages = function() {
25279
+ return jspb.Message.setField(this, 3, undefined);
25280
+ };
25281
+
25282
+
25283
+ /**
25284
+ * Returns whether this field is set.
25285
+ * @return {boolean}
25286
+ */
25287
+ proto.cms.FooterApplicationsItemsResponse.prototype.hasTotalPages = function() {
25288
+ return jspb.Message.getField(this, 3) != null;
25289
+ };
25290
+
25291
+
25292
+
25293
+
25294
+
25295
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25296
+ /**
25297
+ * Creates an object representation of this proto.
25298
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25299
+ * Optional fields that are not set will be set to undefined.
25300
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25301
+ * For the list of reserved names please see:
25302
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25303
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25304
+ * JSPB instance for transitional soy proto support:
25305
+ * http://goto/soy-param-migration
25306
+ * @return {!Object}
25307
+ */
25308
+ proto.cms.FooterApplicationsStatusResponse.prototype.toObject = function(opt_includeInstance) {
25309
+ return proto.cms.FooterApplicationsStatusResponse.toObject(opt_includeInstance, this);
25310
+ };
25311
+
25312
+
25313
+ /**
25314
+ * Static version of the {@see toObject} method.
25315
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25316
+ * the JSPB instance for transitional soy proto support:
25317
+ * http://goto/soy-param-migration
25318
+ * @param {!proto.cms.FooterApplicationsStatusResponse} msg The msg instance to transform.
25319
+ * @return {!Object}
25320
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25321
+ */
25322
+ proto.cms.FooterApplicationsStatusResponse.toObject = function(includeInstance, msg) {
25323
+ var f, obj = {
25324
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
25325
+ };
25326
+
25327
+ if (includeInstance) {
25328
+ obj.$jspbMessageInstance = msg;
25329
+ }
25330
+ return obj;
25331
+ };
25332
+ }
25333
+
25334
+
25335
+ /**
25336
+ * Deserializes binary data (in protobuf wire format).
25337
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25338
+ * @return {!proto.cms.FooterApplicationsStatusResponse}
25339
+ */
25340
+ proto.cms.FooterApplicationsStatusResponse.deserializeBinary = function(bytes) {
25341
+ var reader = new jspb.BinaryReader(bytes);
25342
+ var msg = new proto.cms.FooterApplicationsStatusResponse;
25343
+ return proto.cms.FooterApplicationsStatusResponse.deserializeBinaryFromReader(msg, reader);
25344
+ };
25345
+
25346
+
25347
+ /**
25348
+ * Deserializes binary data (in protobuf wire format) from the
25349
+ * given reader into the given message object.
25350
+ * @param {!proto.cms.FooterApplicationsStatusResponse} msg The message object to deserialize into.
25351
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25352
+ * @return {!proto.cms.FooterApplicationsStatusResponse}
25353
+ */
25354
+ proto.cms.FooterApplicationsStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
25355
+ while (reader.nextField()) {
25356
+ if (reader.isEndGroup()) {
25357
+ break;
25358
+ }
25359
+ var field = reader.getFieldNumber();
25360
+ switch (field) {
25361
+ case 1:
25362
+ var value = /** @type {string} */ (reader.readString());
25363
+ msg.setStatus(value);
25364
+ break;
25365
+ default:
25366
+ reader.skipField();
25367
+ break;
25368
+ }
25369
+ }
25370
+ return msg;
25371
+ };
25372
+
25373
+
25374
+ /**
25375
+ * Serializes the message to binary data (in protobuf wire format).
25376
+ * @return {!Uint8Array}
25377
+ */
25378
+ proto.cms.FooterApplicationsStatusResponse.prototype.serializeBinary = function() {
25379
+ var writer = new jspb.BinaryWriter();
25380
+ proto.cms.FooterApplicationsStatusResponse.serializeBinaryToWriter(this, writer);
25381
+ return writer.getResultBuffer();
25382
+ };
25383
+
25384
+
25385
+ /**
25386
+ * Serializes the given message to binary data (in protobuf wire
25387
+ * format), writing to the given BinaryWriter.
25388
+ * @param {!proto.cms.FooterApplicationsStatusResponse} message
25389
+ * @param {!jspb.BinaryWriter} writer
25390
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25391
+ */
25392
+ proto.cms.FooterApplicationsStatusResponse.serializeBinaryToWriter = function(message, writer) {
25393
+ var f = undefined;
25394
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
25395
+ if (f != null) {
25396
+ writer.writeString(
25397
+ 1,
25398
+ f
25399
+ );
25400
+ }
25401
+ };
25402
+
25403
+
25404
+ /**
25405
+ * optional string status = 1;
25406
+ * @return {string}
25407
+ */
25408
+ proto.cms.FooterApplicationsStatusResponse.prototype.getStatus = function() {
25409
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
25410
+ };
25411
+
25412
+
25413
+ /**
25414
+ * @param {string} value
25415
+ * @return {!proto.cms.FooterApplicationsStatusResponse} returns this
25416
+ */
25417
+ proto.cms.FooterApplicationsStatusResponse.prototype.setStatus = function(value) {
25418
+ return jspb.Message.setField(this, 1, value);
25419
+ };
25420
+
25421
+
25422
+ /**
25423
+ * Clears the field making it undefined.
25424
+ * @return {!proto.cms.FooterApplicationsStatusResponse} returns this
25425
+ */
25426
+ proto.cms.FooterApplicationsStatusResponse.prototype.clearStatus = function() {
25427
+ return jspb.Message.setField(this, 1, undefined);
25428
+ };
25429
+
25430
+
25431
+ /**
25432
+ * Returns whether this field is set.
25433
+ * @return {boolean}
25434
+ */
25435
+ proto.cms.FooterApplicationsStatusResponse.prototype.hasStatus = function() {
25436
+ return jspb.Message.getField(this, 1) != null;
25437
+ };
25438
+
25439
+
25440
+
25441
+
25442
+
25443
+ if (jspb.Message.GENERATE_TO_OBJECT) {
25444
+ /**
25445
+ * Creates an object representation of this proto.
25446
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
25447
+ * Optional fields that are not set will be set to undefined.
25448
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
25449
+ * For the list of reserved names please see:
25450
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
25451
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
25452
+ * JSPB instance for transitional soy proto support:
25453
+ * http://goto/soy-param-migration
25454
+ * @return {!Object}
25455
+ */
25456
+ proto.cms.GetFooterApplicationsRequest.prototype.toObject = function(opt_includeInstance) {
25457
+ return proto.cms.GetFooterApplicationsRequest.toObject(opt_includeInstance, this);
25458
+ };
25459
+
25460
+
25461
+ /**
25462
+ * Static version of the {@see toObject} method.
25463
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
25464
+ * the JSPB instance for transitional soy proto support:
25465
+ * http://goto/soy-param-migration
25466
+ * @param {!proto.cms.GetFooterApplicationsRequest} msg The msg instance to transform.
25467
+ * @return {!Object}
25468
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25469
+ */
25470
+ proto.cms.GetFooterApplicationsRequest.toObject = function(includeInstance, msg) {
25471
+ var f, obj = {
25472
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0)
25473
+ };
25474
+
25475
+ if (includeInstance) {
25476
+ obj.$jspbMessageInstance = msg;
25477
+ }
25478
+ return obj;
25479
+ };
25480
+ }
25481
+
25482
+
25483
+ /**
25484
+ * Deserializes binary data (in protobuf wire format).
25485
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
25486
+ * @return {!proto.cms.GetFooterApplicationsRequest}
25487
+ */
25488
+ proto.cms.GetFooterApplicationsRequest.deserializeBinary = function(bytes) {
25489
+ var reader = new jspb.BinaryReader(bytes);
25490
+ var msg = new proto.cms.GetFooterApplicationsRequest;
25491
+ return proto.cms.GetFooterApplicationsRequest.deserializeBinaryFromReader(msg, reader);
25492
+ };
25493
+
25494
+
25495
+ /**
25496
+ * Deserializes binary data (in protobuf wire format) from the
25497
+ * given reader into the given message object.
25498
+ * @param {!proto.cms.GetFooterApplicationsRequest} msg The message object to deserialize into.
25499
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
25500
+ * @return {!proto.cms.GetFooterApplicationsRequest}
25501
+ */
25502
+ proto.cms.GetFooterApplicationsRequest.deserializeBinaryFromReader = function(msg, reader) {
25503
+ while (reader.nextField()) {
25504
+ if (reader.isEndGroup()) {
25505
+ break;
25506
+ }
25507
+ var field = reader.getFieldNumber();
25508
+ switch (field) {
25509
+ case 1:
25510
+ var value = /** @type {number} */ (reader.readInt32());
25511
+ msg.setId(value);
25512
+ break;
25513
+ default:
25514
+ reader.skipField();
25515
+ break;
25516
+ }
25517
+ }
25518
+ return msg;
25519
+ };
25520
+
25521
+
25522
+ /**
25523
+ * Serializes the message to binary data (in protobuf wire format).
25524
+ * @return {!Uint8Array}
25525
+ */
25526
+ proto.cms.GetFooterApplicationsRequest.prototype.serializeBinary = function() {
25527
+ var writer = new jspb.BinaryWriter();
25528
+ proto.cms.GetFooterApplicationsRequest.serializeBinaryToWriter(this, writer);
25529
+ return writer.getResultBuffer();
25530
+ };
25531
+
25532
+
25533
+ /**
25534
+ * Serializes the given message to binary data (in protobuf wire
25535
+ * format), writing to the given BinaryWriter.
25536
+ * @param {!proto.cms.GetFooterApplicationsRequest} message
25537
+ * @param {!jspb.BinaryWriter} writer
25538
+ * @suppress {unusedLocalVariables} f is only used for nested messages
25539
+ */
25540
+ proto.cms.GetFooterApplicationsRequest.serializeBinaryToWriter = function(message, writer) {
25541
+ var f = undefined;
25542
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
25543
+ if (f != null) {
25544
+ writer.writeInt32(
25545
+ 1,
25546
+ f
25547
+ );
25548
+ }
25549
+ };
25550
+
25551
+
25552
+ /**
25553
+ * optional int32 id = 1;
25554
+ * @return {number}
25555
+ */
25556
+ proto.cms.GetFooterApplicationsRequest.prototype.getId = function() {
25557
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
25558
+ };
25559
+
25560
+
25561
+ /**
25562
+ * @param {number} value
25563
+ * @return {!proto.cms.GetFooterApplicationsRequest} returns this
25564
+ */
25565
+ proto.cms.GetFooterApplicationsRequest.prototype.setId = function(value) {
25566
+ return jspb.Message.setField(this, 1, value);
25567
+ };
25568
+
25569
+
25570
+ /**
25571
+ * Clears the field making it undefined.
25572
+ * @return {!proto.cms.GetFooterApplicationsRequest} returns this
25573
+ */
25574
+ proto.cms.GetFooterApplicationsRequest.prototype.clearId = function() {
25575
+ return jspb.Message.setField(this, 1, undefined);
25576
+ };
25577
+
25578
+
25579
+ /**
25580
+ * Returns whether this field is set.
25581
+ * @return {boolean}
25582
+ */
25583
+ proto.cms.GetFooterApplicationsRequest.prototype.hasId = function() {
25584
+ return jspb.Message.getField(this, 1) != null;
25585
+ };
25586
+
25587
+
22865
25588
  goog.object.extend(exports, proto.cms);