protobuf-platform 1.2.108 → 1.2.109

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