protobuf-platform 1.2.103 → 1.2.106

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.FooterPartnersFile', null, global);
40
+ goog.exportSymbol('proto.cms.FooterPartnersItem', null, global);
41
+ goog.exportSymbol('proto.cms.FooterPartnersItemMeta', null, global);
42
+ goog.exportSymbol('proto.cms.FooterPartnersItemRequest', null, global);
43
+ goog.exportSymbol('proto.cms.FooterPartnersItemsResponse', null, global);
44
+ goog.exportSymbol('proto.cms.FooterPartnersMediaItem', null, global);
45
+ goog.exportSymbol('proto.cms.FooterPartnersRequest', null, global);
46
+ goog.exportSymbol('proto.cms.FooterPartnersRequest.RequestCase', null, global);
47
+ goog.exportSymbol('proto.cms.FooterPartnersResponse', null, global);
48
+ goog.exportSymbol('proto.cms.FooterPartnersStatusResponse', null, global);
39
49
  goog.exportSymbol('proto.cms.GameWidgetItem', null, global);
40
50
  goog.exportSymbol('proto.cms.GameWidgetItemRequest', null, global);
41
51
  goog.exportSymbol('proto.cms.GameWidgetRequest', null, global);
@@ -47,6 +57,7 @@ goog.exportSymbol('proto.cms.GetBannerGroupRequest', null, global);
47
57
  goog.exportSymbol('proto.cms.GetBannerRequest', null, global);
48
58
  goog.exportSymbol('proto.cms.GetBurgerMenuWidgetRequest', null, global);
49
59
  goog.exportSymbol('proto.cms.GetFileRequest', null, global);
60
+ goog.exportSymbol('proto.cms.GetFooterPartnersRequest', null, global);
50
61
  goog.exportSymbol('proto.cms.GetGameWidgetRequest', null, global);
51
62
  goog.exportSymbol('proto.cms.GetHeaderWidgetRequest', null, global);
52
63
  goog.exportSymbol('proto.cms.GetMainPageWidgetRequest', null, global);
@@ -1300,6 +1311,216 @@ if (goog.DEBUG && !COMPILED) {
1300
1311
  */
1301
1312
  proto.cms.TranslationItem.displayName = 'proto.cms.TranslationItem';
1302
1313
  }
1314
+ /**
1315
+ * Generated by JsPbCodeGenerator.
1316
+ * @param {Array=} opt_data Optional initial data array, typically from a
1317
+ * server response, or constructed directly in Javascript. The array is used
1318
+ * in place and becomes part of the constructed object. It is not cloned.
1319
+ * If no data is provided, the constructed object will be empty, but still
1320
+ * valid.
1321
+ * @extends {jspb.Message}
1322
+ * @constructor
1323
+ */
1324
+ proto.cms.FooterPartnersRequest = function(opt_data) {
1325
+ jspb.Message.initialize(this, opt_data, 0, -1, null, proto.cms.FooterPartnersRequest.oneofGroups_);
1326
+ };
1327
+ goog.inherits(proto.cms.FooterPartnersRequest, jspb.Message);
1328
+ if (goog.DEBUG && !COMPILED) {
1329
+ /**
1330
+ * @public
1331
+ * @override
1332
+ */
1333
+ proto.cms.FooterPartnersRequest.displayName = 'proto.cms.FooterPartnersRequest';
1334
+ }
1335
+ /**
1336
+ * Generated by JsPbCodeGenerator.
1337
+ * @param {Array=} opt_data Optional initial data array, typically from a
1338
+ * server response, or constructed directly in Javascript. The array is used
1339
+ * in place and becomes part of the constructed object. It is not cloned.
1340
+ * If no data is provided, the constructed object will be empty, but still
1341
+ * valid.
1342
+ * @extends {jspb.Message}
1343
+ * @constructor
1344
+ */
1345
+ proto.cms.FooterPartnersItemRequest = function(opt_data) {
1346
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterPartnersItemRequest.repeatedFields_, null);
1347
+ };
1348
+ goog.inherits(proto.cms.FooterPartnersItemRequest, jspb.Message);
1349
+ if (goog.DEBUG && !COMPILED) {
1350
+ /**
1351
+ * @public
1352
+ * @override
1353
+ */
1354
+ proto.cms.FooterPartnersItemRequest.displayName = 'proto.cms.FooterPartnersItemRequest';
1355
+ }
1356
+ /**
1357
+ * Generated by JsPbCodeGenerator.
1358
+ * @param {Array=} opt_data Optional initial data array, typically from a
1359
+ * server response, or constructed directly in Javascript. The array is used
1360
+ * in place and becomes part of the constructed object. It is not cloned.
1361
+ * If no data is provided, the constructed object will be empty, but still
1362
+ * valid.
1363
+ * @extends {jspb.Message}
1364
+ * @constructor
1365
+ */
1366
+ proto.cms.FooterPartnersItemMeta = function(opt_data) {
1367
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1368
+ };
1369
+ goog.inherits(proto.cms.FooterPartnersItemMeta, jspb.Message);
1370
+ if (goog.DEBUG && !COMPILED) {
1371
+ /**
1372
+ * @public
1373
+ * @override
1374
+ */
1375
+ proto.cms.FooterPartnersItemMeta.displayName = 'proto.cms.FooterPartnersItemMeta';
1376
+ }
1377
+ /**
1378
+ * Generated by JsPbCodeGenerator.
1379
+ * @param {Array=} opt_data Optional initial data array, typically from a
1380
+ * server response, or constructed directly in Javascript. The array is used
1381
+ * in place and becomes part of the constructed object. It is not cloned.
1382
+ * If no data is provided, the constructed object will be empty, but still
1383
+ * valid.
1384
+ * @extends {jspb.Message}
1385
+ * @constructor
1386
+ */
1387
+ proto.cms.FooterPartnersFile = function(opt_data) {
1388
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1389
+ };
1390
+ goog.inherits(proto.cms.FooterPartnersFile, jspb.Message);
1391
+ if (goog.DEBUG && !COMPILED) {
1392
+ /**
1393
+ * @public
1394
+ * @override
1395
+ */
1396
+ proto.cms.FooterPartnersFile.displayName = 'proto.cms.FooterPartnersFile';
1397
+ }
1398
+ /**
1399
+ * Generated by JsPbCodeGenerator.
1400
+ * @param {Array=} opt_data Optional initial data array, typically from a
1401
+ * server response, or constructed directly in Javascript. The array is used
1402
+ * in place and becomes part of the constructed object. It is not cloned.
1403
+ * If no data is provided, the constructed object will be empty, but still
1404
+ * valid.
1405
+ * @extends {jspb.Message}
1406
+ * @constructor
1407
+ */
1408
+ proto.cms.FooterPartnersMediaItem = function(opt_data) {
1409
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1410
+ };
1411
+ goog.inherits(proto.cms.FooterPartnersMediaItem, jspb.Message);
1412
+ if (goog.DEBUG && !COMPILED) {
1413
+ /**
1414
+ * @public
1415
+ * @override
1416
+ */
1417
+ proto.cms.FooterPartnersMediaItem.displayName = 'proto.cms.FooterPartnersMediaItem';
1418
+ }
1419
+ /**
1420
+ * Generated by JsPbCodeGenerator.
1421
+ * @param {Array=} opt_data Optional initial data array, typically from a
1422
+ * server response, or constructed directly in Javascript. The array is used
1423
+ * in place and becomes part of the constructed object. It is not cloned.
1424
+ * If no data is provided, the constructed object will be empty, but still
1425
+ * valid.
1426
+ * @extends {jspb.Message}
1427
+ * @constructor
1428
+ */
1429
+ proto.cms.FooterPartnersItem = function(opt_data) {
1430
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterPartnersItem.repeatedFields_, null);
1431
+ };
1432
+ goog.inherits(proto.cms.FooterPartnersItem, jspb.Message);
1433
+ if (goog.DEBUG && !COMPILED) {
1434
+ /**
1435
+ * @public
1436
+ * @override
1437
+ */
1438
+ proto.cms.FooterPartnersItem.displayName = 'proto.cms.FooterPartnersItem';
1439
+ }
1440
+ /**
1441
+ * Generated by JsPbCodeGenerator.
1442
+ * @param {Array=} opt_data Optional initial data array, typically from a
1443
+ * server response, or constructed directly in Javascript. The array is used
1444
+ * in place and becomes part of the constructed object. It is not cloned.
1445
+ * If no data is provided, the constructed object will be empty, but still
1446
+ * valid.
1447
+ * @extends {jspb.Message}
1448
+ * @constructor
1449
+ */
1450
+ proto.cms.FooterPartnersResponse = function(opt_data) {
1451
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1452
+ };
1453
+ goog.inherits(proto.cms.FooterPartnersResponse, jspb.Message);
1454
+ if (goog.DEBUG && !COMPILED) {
1455
+ /**
1456
+ * @public
1457
+ * @override
1458
+ */
1459
+ proto.cms.FooterPartnersResponse.displayName = 'proto.cms.FooterPartnersResponse';
1460
+ }
1461
+ /**
1462
+ * Generated by JsPbCodeGenerator.
1463
+ * @param {Array=} opt_data Optional initial data array, typically from a
1464
+ * server response, or constructed directly in Javascript. The array is used
1465
+ * in place and becomes part of the constructed object. It is not cloned.
1466
+ * If no data is provided, the constructed object will be empty, but still
1467
+ * valid.
1468
+ * @extends {jspb.Message}
1469
+ * @constructor
1470
+ */
1471
+ proto.cms.GetFooterPartnersRequest = function(opt_data) {
1472
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1473
+ };
1474
+ goog.inherits(proto.cms.GetFooterPartnersRequest, jspb.Message);
1475
+ if (goog.DEBUG && !COMPILED) {
1476
+ /**
1477
+ * @public
1478
+ * @override
1479
+ */
1480
+ proto.cms.GetFooterPartnersRequest.displayName = 'proto.cms.GetFooterPartnersRequest';
1481
+ }
1482
+ /**
1483
+ * Generated by JsPbCodeGenerator.
1484
+ * @param {Array=} opt_data Optional initial data array, typically from a
1485
+ * server response, or constructed directly in Javascript. The array is used
1486
+ * in place and becomes part of the constructed object. It is not cloned.
1487
+ * If no data is provided, the constructed object will be empty, but still
1488
+ * valid.
1489
+ * @extends {jspb.Message}
1490
+ * @constructor
1491
+ */
1492
+ proto.cms.FooterPartnersStatusResponse = function(opt_data) {
1493
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1494
+ };
1495
+ goog.inherits(proto.cms.FooterPartnersStatusResponse, jspb.Message);
1496
+ if (goog.DEBUG && !COMPILED) {
1497
+ /**
1498
+ * @public
1499
+ * @override
1500
+ */
1501
+ proto.cms.FooterPartnersStatusResponse.displayName = 'proto.cms.FooterPartnersStatusResponse';
1502
+ }
1503
+ /**
1504
+ * Generated by JsPbCodeGenerator.
1505
+ * @param {Array=} opt_data Optional initial data array, typically from a
1506
+ * server response, or constructed directly in Javascript. The array is used
1507
+ * in place and becomes part of the constructed object. It is not cloned.
1508
+ * If no data is provided, the constructed object will be empty, but still
1509
+ * valid.
1510
+ * @extends {jspb.Message}
1511
+ * @constructor
1512
+ */
1513
+ proto.cms.FooterPartnersItemsResponse = function(opt_data) {
1514
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.cms.FooterPartnersItemsResponse.repeatedFields_, null);
1515
+ };
1516
+ goog.inherits(proto.cms.FooterPartnersItemsResponse, jspb.Message);
1517
+ if (goog.DEBUG && !COMPILED) {
1518
+ /**
1519
+ * @public
1520
+ * @override
1521
+ */
1522
+ proto.cms.FooterPartnersItemsResponse.displayName = 'proto.cms.FooterPartnersItemsResponse';
1523
+ }
1303
1524
 
1304
1525
 
1305
1526
 
@@ -16066,4 +16287,2416 @@ proto.cms.TranslationItem.prototype.hasIsActive = function() {
16066
16287
  };
16067
16288
 
16068
16289
 
16290
+
16291
+ /**
16292
+ * Oneof group definitions for this message. Each group defines the field
16293
+ * numbers belonging to that group. When of these fields' value is set, all
16294
+ * other fields in the group are cleared. During deserialization, if multiple
16295
+ * fields are encountered for a group, only the last value seen will be kept.
16296
+ * @private {!Array<!Array<number>>}
16297
+ * @const
16298
+ */
16299
+ proto.cms.FooterPartnersRequest.oneofGroups_ = [[1,2]];
16300
+
16301
+ /**
16302
+ * @enum {number}
16303
+ */
16304
+ proto.cms.FooterPartnersRequest.RequestCase = {
16305
+ REQUEST_NOT_SET: 0,
16306
+ PARTNERS_DATA: 1,
16307
+ PARTNERS_FILE: 2
16308
+ };
16309
+
16310
+ /**
16311
+ * @return {proto.cms.FooterPartnersRequest.RequestCase}
16312
+ */
16313
+ proto.cms.FooterPartnersRequest.prototype.getRequestCase = function() {
16314
+ return /** @type {proto.cms.FooterPartnersRequest.RequestCase} */(jspb.Message.computeOneofCase(this, proto.cms.FooterPartnersRequest.oneofGroups_[0]));
16315
+ };
16316
+
16317
+
16318
+
16319
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16320
+ /**
16321
+ * Creates an object representation of this proto.
16322
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16323
+ * Optional fields that are not set will be set to undefined.
16324
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16325
+ * For the list of reserved names please see:
16326
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16327
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16328
+ * JSPB instance for transitional soy proto support:
16329
+ * http://goto/soy-param-migration
16330
+ * @return {!Object}
16331
+ */
16332
+ proto.cms.FooterPartnersRequest.prototype.toObject = function(opt_includeInstance) {
16333
+ return proto.cms.FooterPartnersRequest.toObject(opt_includeInstance, this);
16334
+ };
16335
+
16336
+
16337
+ /**
16338
+ * Static version of the {@see toObject} method.
16339
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16340
+ * the JSPB instance for transitional soy proto support:
16341
+ * http://goto/soy-param-migration
16342
+ * @param {!proto.cms.FooterPartnersRequest} msg The msg instance to transform.
16343
+ * @return {!Object}
16344
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16345
+ */
16346
+ proto.cms.FooterPartnersRequest.toObject = function(includeInstance, msg) {
16347
+ var f, obj = {
16348
+ partnersData: (f = msg.getPartnersData()) && proto.cms.FooterPartnersItemRequest.toObject(includeInstance, f),
16349
+ partnersFile: (f = msg.getPartnersFile()) && proto.cms.FooterPartnersFile.toObject(includeInstance, f)
16350
+ };
16351
+
16352
+ if (includeInstance) {
16353
+ obj.$jspbMessageInstance = msg;
16354
+ }
16355
+ return obj;
16356
+ };
16357
+ }
16358
+
16359
+
16360
+ /**
16361
+ * Deserializes binary data (in protobuf wire format).
16362
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16363
+ * @return {!proto.cms.FooterPartnersRequest}
16364
+ */
16365
+ proto.cms.FooterPartnersRequest.deserializeBinary = function(bytes) {
16366
+ var reader = new jspb.BinaryReader(bytes);
16367
+ var msg = new proto.cms.FooterPartnersRequest;
16368
+ return proto.cms.FooterPartnersRequest.deserializeBinaryFromReader(msg, reader);
16369
+ };
16370
+
16371
+
16372
+ /**
16373
+ * Deserializes binary data (in protobuf wire format) from the
16374
+ * given reader into the given message object.
16375
+ * @param {!proto.cms.FooterPartnersRequest} msg The message object to deserialize into.
16376
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16377
+ * @return {!proto.cms.FooterPartnersRequest}
16378
+ */
16379
+ proto.cms.FooterPartnersRequest.deserializeBinaryFromReader = function(msg, reader) {
16380
+ while (reader.nextField()) {
16381
+ if (reader.isEndGroup()) {
16382
+ break;
16383
+ }
16384
+ var field = reader.getFieldNumber();
16385
+ switch (field) {
16386
+ case 1:
16387
+ var value = new proto.cms.FooterPartnersItemRequest;
16388
+ reader.readMessage(value,proto.cms.FooterPartnersItemRequest.deserializeBinaryFromReader);
16389
+ msg.setPartnersData(value);
16390
+ break;
16391
+ case 2:
16392
+ var value = new proto.cms.FooterPartnersFile;
16393
+ reader.readMessage(value,proto.cms.FooterPartnersFile.deserializeBinaryFromReader);
16394
+ msg.setPartnersFile(value);
16395
+ break;
16396
+ default:
16397
+ reader.skipField();
16398
+ break;
16399
+ }
16400
+ }
16401
+ return msg;
16402
+ };
16403
+
16404
+
16405
+ /**
16406
+ * Serializes the message to binary data (in protobuf wire format).
16407
+ * @return {!Uint8Array}
16408
+ */
16409
+ proto.cms.FooterPartnersRequest.prototype.serializeBinary = function() {
16410
+ var writer = new jspb.BinaryWriter();
16411
+ proto.cms.FooterPartnersRequest.serializeBinaryToWriter(this, writer);
16412
+ return writer.getResultBuffer();
16413
+ };
16414
+
16415
+
16416
+ /**
16417
+ * Serializes the given message to binary data (in protobuf wire
16418
+ * format), writing to the given BinaryWriter.
16419
+ * @param {!proto.cms.FooterPartnersRequest} message
16420
+ * @param {!jspb.BinaryWriter} writer
16421
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16422
+ */
16423
+ proto.cms.FooterPartnersRequest.serializeBinaryToWriter = function(message, writer) {
16424
+ var f = undefined;
16425
+ f = message.getPartnersData();
16426
+ if (f != null) {
16427
+ writer.writeMessage(
16428
+ 1,
16429
+ f,
16430
+ proto.cms.FooterPartnersItemRequest.serializeBinaryToWriter
16431
+ );
16432
+ }
16433
+ f = message.getPartnersFile();
16434
+ if (f != null) {
16435
+ writer.writeMessage(
16436
+ 2,
16437
+ f,
16438
+ proto.cms.FooterPartnersFile.serializeBinaryToWriter
16439
+ );
16440
+ }
16441
+ };
16442
+
16443
+
16444
+ /**
16445
+ * optional FooterPartnersItemRequest partners_data = 1;
16446
+ * @return {?proto.cms.FooterPartnersItemRequest}
16447
+ */
16448
+ proto.cms.FooterPartnersRequest.prototype.getPartnersData = function() {
16449
+ return /** @type{?proto.cms.FooterPartnersItemRequest} */ (
16450
+ jspb.Message.getWrapperField(this, proto.cms.FooterPartnersItemRequest, 1));
16451
+ };
16452
+
16453
+
16454
+ /**
16455
+ * @param {?proto.cms.FooterPartnersItemRequest|undefined} value
16456
+ * @return {!proto.cms.FooterPartnersRequest} returns this
16457
+ */
16458
+ proto.cms.FooterPartnersRequest.prototype.setPartnersData = function(value) {
16459
+ return jspb.Message.setOneofWrapperField(this, 1, proto.cms.FooterPartnersRequest.oneofGroups_[0], value);
16460
+ };
16461
+
16462
+
16463
+ /**
16464
+ * Clears the message field making it undefined.
16465
+ * @return {!proto.cms.FooterPartnersRequest} returns this
16466
+ */
16467
+ proto.cms.FooterPartnersRequest.prototype.clearPartnersData = function() {
16468
+ return this.setPartnersData(undefined);
16469
+ };
16470
+
16471
+
16472
+ /**
16473
+ * Returns whether this field is set.
16474
+ * @return {boolean}
16475
+ */
16476
+ proto.cms.FooterPartnersRequest.prototype.hasPartnersData = function() {
16477
+ return jspb.Message.getField(this, 1) != null;
16478
+ };
16479
+
16480
+
16481
+ /**
16482
+ * optional FooterPartnersFile partners_file = 2;
16483
+ * @return {?proto.cms.FooterPartnersFile}
16484
+ */
16485
+ proto.cms.FooterPartnersRequest.prototype.getPartnersFile = function() {
16486
+ return /** @type{?proto.cms.FooterPartnersFile} */ (
16487
+ jspb.Message.getWrapperField(this, proto.cms.FooterPartnersFile, 2));
16488
+ };
16489
+
16490
+
16491
+ /**
16492
+ * @param {?proto.cms.FooterPartnersFile|undefined} value
16493
+ * @return {!proto.cms.FooterPartnersRequest} returns this
16494
+ */
16495
+ proto.cms.FooterPartnersRequest.prototype.setPartnersFile = function(value) {
16496
+ return jspb.Message.setOneofWrapperField(this, 2, proto.cms.FooterPartnersRequest.oneofGroups_[0], value);
16497
+ };
16498
+
16499
+
16500
+ /**
16501
+ * Clears the message field making it undefined.
16502
+ * @return {!proto.cms.FooterPartnersRequest} returns this
16503
+ */
16504
+ proto.cms.FooterPartnersRequest.prototype.clearPartnersFile = function() {
16505
+ return this.setPartnersFile(undefined);
16506
+ };
16507
+
16508
+
16509
+ /**
16510
+ * Returns whether this field is set.
16511
+ * @return {boolean}
16512
+ */
16513
+ proto.cms.FooterPartnersRequest.prototype.hasPartnersFile = function() {
16514
+ return jspb.Message.getField(this, 2) != null;
16515
+ };
16516
+
16517
+
16518
+
16519
+ /**
16520
+ * List of repeated fields within this message type.
16521
+ * @private {!Array<number>}
16522
+ * @const
16523
+ */
16524
+ proto.cms.FooterPartnersItemRequest.repeatedFields_ = [5];
16525
+
16526
+
16527
+
16528
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16529
+ /**
16530
+ * Creates an object representation of this proto.
16531
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16532
+ * Optional fields that are not set will be set to undefined.
16533
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16534
+ * For the list of reserved names please see:
16535
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16536
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16537
+ * JSPB instance for transitional soy proto support:
16538
+ * http://goto/soy-param-migration
16539
+ * @return {!Object}
16540
+ */
16541
+ proto.cms.FooterPartnersItemRequest.prototype.toObject = function(opt_includeInstance) {
16542
+ return proto.cms.FooterPartnersItemRequest.toObject(opt_includeInstance, this);
16543
+ };
16544
+
16545
+
16546
+ /**
16547
+ * Static version of the {@see toObject} method.
16548
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16549
+ * the JSPB instance for transitional soy proto support:
16550
+ * http://goto/soy-param-migration
16551
+ * @param {!proto.cms.FooterPartnersItemRequest} msg The msg instance to transform.
16552
+ * @return {!Object}
16553
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16554
+ */
16555
+ proto.cms.FooterPartnersItemRequest.toObject = function(includeInstance, msg) {
16556
+ var f, obj = {
16557
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
16558
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
16559
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
16560
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
16561
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
16562
+ proto.cms.FooterPartnersItemMeta.toObject, includeInstance)
16563
+ };
16564
+
16565
+ if (includeInstance) {
16566
+ obj.$jspbMessageInstance = msg;
16567
+ }
16568
+ return obj;
16569
+ };
16570
+ }
16571
+
16572
+
16573
+ /**
16574
+ * Deserializes binary data (in protobuf wire format).
16575
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16576
+ * @return {!proto.cms.FooterPartnersItemRequest}
16577
+ */
16578
+ proto.cms.FooterPartnersItemRequest.deserializeBinary = function(bytes) {
16579
+ var reader = new jspb.BinaryReader(bytes);
16580
+ var msg = new proto.cms.FooterPartnersItemRequest;
16581
+ return proto.cms.FooterPartnersItemRequest.deserializeBinaryFromReader(msg, reader);
16582
+ };
16583
+
16584
+
16585
+ /**
16586
+ * Deserializes binary data (in protobuf wire format) from the
16587
+ * given reader into the given message object.
16588
+ * @param {!proto.cms.FooterPartnersItemRequest} msg The message object to deserialize into.
16589
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16590
+ * @return {!proto.cms.FooterPartnersItemRequest}
16591
+ */
16592
+ proto.cms.FooterPartnersItemRequest.deserializeBinaryFromReader = function(msg, reader) {
16593
+ while (reader.nextField()) {
16594
+ if (reader.isEndGroup()) {
16595
+ break;
16596
+ }
16597
+ var field = reader.getFieldNumber();
16598
+ switch (field) {
16599
+ case 1:
16600
+ var value = /** @type {number} */ (reader.readInt32());
16601
+ msg.setId(value);
16602
+ break;
16603
+ case 2:
16604
+ var value = /** @type {string} */ (reader.readString());
16605
+ msg.setGeo(value);
16606
+ break;
16607
+ case 3:
16608
+ var value = /** @type {string} */ (reader.readString());
16609
+ msg.setTitle(value);
16610
+ break;
16611
+ case 4:
16612
+ var value = /** @type {number} */ (reader.readInt32());
16613
+ msg.setIsActive(value);
16614
+ break;
16615
+ case 5:
16616
+ var value = new proto.cms.FooterPartnersItemMeta;
16617
+ reader.readMessage(value,proto.cms.FooterPartnersItemMeta.deserializeBinaryFromReader);
16618
+ msg.addItems(value);
16619
+ break;
16620
+ default:
16621
+ reader.skipField();
16622
+ break;
16623
+ }
16624
+ }
16625
+ return msg;
16626
+ };
16627
+
16628
+
16629
+ /**
16630
+ * Serializes the message to binary data (in protobuf wire format).
16631
+ * @return {!Uint8Array}
16632
+ */
16633
+ proto.cms.FooterPartnersItemRequest.prototype.serializeBinary = function() {
16634
+ var writer = new jspb.BinaryWriter();
16635
+ proto.cms.FooterPartnersItemRequest.serializeBinaryToWriter(this, writer);
16636
+ return writer.getResultBuffer();
16637
+ };
16638
+
16639
+
16640
+ /**
16641
+ * Serializes the given message to binary data (in protobuf wire
16642
+ * format), writing to the given BinaryWriter.
16643
+ * @param {!proto.cms.FooterPartnersItemRequest} message
16644
+ * @param {!jspb.BinaryWriter} writer
16645
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16646
+ */
16647
+ proto.cms.FooterPartnersItemRequest.serializeBinaryToWriter = function(message, writer) {
16648
+ var f = undefined;
16649
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
16650
+ if (f != null) {
16651
+ writer.writeInt32(
16652
+ 1,
16653
+ f
16654
+ );
16655
+ }
16656
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
16657
+ if (f != null) {
16658
+ writer.writeString(
16659
+ 2,
16660
+ f
16661
+ );
16662
+ }
16663
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
16664
+ if (f != null) {
16665
+ writer.writeString(
16666
+ 3,
16667
+ f
16668
+ );
16669
+ }
16670
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
16671
+ if (f != null) {
16672
+ writer.writeInt32(
16673
+ 4,
16674
+ f
16675
+ );
16676
+ }
16677
+ f = message.getItemsList();
16678
+ if (f.length > 0) {
16679
+ writer.writeRepeatedMessage(
16680
+ 5,
16681
+ f,
16682
+ proto.cms.FooterPartnersItemMeta.serializeBinaryToWriter
16683
+ );
16684
+ }
16685
+ };
16686
+
16687
+
16688
+ /**
16689
+ * optional int32 id = 1;
16690
+ * @return {number}
16691
+ */
16692
+ proto.cms.FooterPartnersItemRequest.prototype.getId = function() {
16693
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
16694
+ };
16695
+
16696
+
16697
+ /**
16698
+ * @param {number} value
16699
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16700
+ */
16701
+ proto.cms.FooterPartnersItemRequest.prototype.setId = function(value) {
16702
+ return jspb.Message.setField(this, 1, value);
16703
+ };
16704
+
16705
+
16706
+ /**
16707
+ * Clears the field making it undefined.
16708
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16709
+ */
16710
+ proto.cms.FooterPartnersItemRequest.prototype.clearId = function() {
16711
+ return jspb.Message.setField(this, 1, undefined);
16712
+ };
16713
+
16714
+
16715
+ /**
16716
+ * Returns whether this field is set.
16717
+ * @return {boolean}
16718
+ */
16719
+ proto.cms.FooterPartnersItemRequest.prototype.hasId = function() {
16720
+ return jspb.Message.getField(this, 1) != null;
16721
+ };
16722
+
16723
+
16724
+ /**
16725
+ * optional string geo = 2;
16726
+ * @return {string}
16727
+ */
16728
+ proto.cms.FooterPartnersItemRequest.prototype.getGeo = function() {
16729
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
16730
+ };
16731
+
16732
+
16733
+ /**
16734
+ * @param {string} value
16735
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16736
+ */
16737
+ proto.cms.FooterPartnersItemRequest.prototype.setGeo = function(value) {
16738
+ return jspb.Message.setField(this, 2, value);
16739
+ };
16740
+
16741
+
16742
+ /**
16743
+ * Clears the field making it undefined.
16744
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16745
+ */
16746
+ proto.cms.FooterPartnersItemRequest.prototype.clearGeo = function() {
16747
+ return jspb.Message.setField(this, 2, undefined);
16748
+ };
16749
+
16750
+
16751
+ /**
16752
+ * Returns whether this field is set.
16753
+ * @return {boolean}
16754
+ */
16755
+ proto.cms.FooterPartnersItemRequest.prototype.hasGeo = function() {
16756
+ return jspb.Message.getField(this, 2) != null;
16757
+ };
16758
+
16759
+
16760
+ /**
16761
+ * optional string title = 3;
16762
+ * @return {string}
16763
+ */
16764
+ proto.cms.FooterPartnersItemRequest.prototype.getTitle = function() {
16765
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
16766
+ };
16767
+
16768
+
16769
+ /**
16770
+ * @param {string} value
16771
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16772
+ */
16773
+ proto.cms.FooterPartnersItemRequest.prototype.setTitle = function(value) {
16774
+ return jspb.Message.setField(this, 3, value);
16775
+ };
16776
+
16777
+
16778
+ /**
16779
+ * Clears the field making it undefined.
16780
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16781
+ */
16782
+ proto.cms.FooterPartnersItemRequest.prototype.clearTitle = function() {
16783
+ return jspb.Message.setField(this, 3, undefined);
16784
+ };
16785
+
16786
+
16787
+ /**
16788
+ * Returns whether this field is set.
16789
+ * @return {boolean}
16790
+ */
16791
+ proto.cms.FooterPartnersItemRequest.prototype.hasTitle = function() {
16792
+ return jspb.Message.getField(this, 3) != null;
16793
+ };
16794
+
16795
+
16796
+ /**
16797
+ * optional int32 is_active = 4;
16798
+ * @return {number}
16799
+ */
16800
+ proto.cms.FooterPartnersItemRequest.prototype.getIsActive = function() {
16801
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
16802
+ };
16803
+
16804
+
16805
+ /**
16806
+ * @param {number} value
16807
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16808
+ */
16809
+ proto.cms.FooterPartnersItemRequest.prototype.setIsActive = function(value) {
16810
+ return jspb.Message.setField(this, 4, value);
16811
+ };
16812
+
16813
+
16814
+ /**
16815
+ * Clears the field making it undefined.
16816
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16817
+ */
16818
+ proto.cms.FooterPartnersItemRequest.prototype.clearIsActive = function() {
16819
+ return jspb.Message.setField(this, 4, undefined);
16820
+ };
16821
+
16822
+
16823
+ /**
16824
+ * Returns whether this field is set.
16825
+ * @return {boolean}
16826
+ */
16827
+ proto.cms.FooterPartnersItemRequest.prototype.hasIsActive = function() {
16828
+ return jspb.Message.getField(this, 4) != null;
16829
+ };
16830
+
16831
+
16832
+ /**
16833
+ * repeated FooterPartnersItemMeta items = 5;
16834
+ * @return {!Array<!proto.cms.FooterPartnersItemMeta>}
16835
+ */
16836
+ proto.cms.FooterPartnersItemRequest.prototype.getItemsList = function() {
16837
+ return /** @type{!Array<!proto.cms.FooterPartnersItemMeta>} */ (
16838
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterPartnersItemMeta, 5));
16839
+ };
16840
+
16841
+
16842
+ /**
16843
+ * @param {!Array<!proto.cms.FooterPartnersItemMeta>} value
16844
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16845
+ */
16846
+ proto.cms.FooterPartnersItemRequest.prototype.setItemsList = function(value) {
16847
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
16848
+ };
16849
+
16850
+
16851
+ /**
16852
+ * @param {!proto.cms.FooterPartnersItemMeta=} opt_value
16853
+ * @param {number=} opt_index
16854
+ * @return {!proto.cms.FooterPartnersItemMeta}
16855
+ */
16856
+ proto.cms.FooterPartnersItemRequest.prototype.addItems = function(opt_value, opt_index) {
16857
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.cms.FooterPartnersItemMeta, opt_index);
16858
+ };
16859
+
16860
+
16861
+ /**
16862
+ * Clears the list making it empty but non-null.
16863
+ * @return {!proto.cms.FooterPartnersItemRequest} returns this
16864
+ */
16865
+ proto.cms.FooterPartnersItemRequest.prototype.clearItemsList = function() {
16866
+ return this.setItemsList([]);
16867
+ };
16868
+
16869
+
16870
+
16871
+
16872
+
16873
+ if (jspb.Message.GENERATE_TO_OBJECT) {
16874
+ /**
16875
+ * Creates an object representation of this proto.
16876
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
16877
+ * Optional fields that are not set will be set to undefined.
16878
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
16879
+ * For the list of reserved names please see:
16880
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
16881
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
16882
+ * JSPB instance for transitional soy proto support:
16883
+ * http://goto/soy-param-migration
16884
+ * @return {!Object}
16885
+ */
16886
+ proto.cms.FooterPartnersItemMeta.prototype.toObject = function(opt_includeInstance) {
16887
+ return proto.cms.FooterPartnersItemMeta.toObject(opt_includeInstance, this);
16888
+ };
16889
+
16890
+
16891
+ /**
16892
+ * Static version of the {@see toObject} method.
16893
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
16894
+ * the JSPB instance for transitional soy proto support:
16895
+ * http://goto/soy-param-migration
16896
+ * @param {!proto.cms.FooterPartnersItemMeta} msg The msg instance to transform.
16897
+ * @return {!Object}
16898
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16899
+ */
16900
+ proto.cms.FooterPartnersItemMeta.toObject = function(includeInstance, msg) {
16901
+ var f, obj = {
16902
+ href: jspb.Message.getFieldWithDefault(msg, 1, ""),
16903
+ priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
16904
+ alt: jspb.Message.getFieldWithDefault(msg, 3, "")
16905
+ };
16906
+
16907
+ if (includeInstance) {
16908
+ obj.$jspbMessageInstance = msg;
16909
+ }
16910
+ return obj;
16911
+ };
16912
+ }
16913
+
16914
+
16915
+ /**
16916
+ * Deserializes binary data (in protobuf wire format).
16917
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
16918
+ * @return {!proto.cms.FooterPartnersItemMeta}
16919
+ */
16920
+ proto.cms.FooterPartnersItemMeta.deserializeBinary = function(bytes) {
16921
+ var reader = new jspb.BinaryReader(bytes);
16922
+ var msg = new proto.cms.FooterPartnersItemMeta;
16923
+ return proto.cms.FooterPartnersItemMeta.deserializeBinaryFromReader(msg, reader);
16924
+ };
16925
+
16926
+
16927
+ /**
16928
+ * Deserializes binary data (in protobuf wire format) from the
16929
+ * given reader into the given message object.
16930
+ * @param {!proto.cms.FooterPartnersItemMeta} msg The message object to deserialize into.
16931
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
16932
+ * @return {!proto.cms.FooterPartnersItemMeta}
16933
+ */
16934
+ proto.cms.FooterPartnersItemMeta.deserializeBinaryFromReader = function(msg, reader) {
16935
+ while (reader.nextField()) {
16936
+ if (reader.isEndGroup()) {
16937
+ break;
16938
+ }
16939
+ var field = reader.getFieldNumber();
16940
+ switch (field) {
16941
+ case 1:
16942
+ var value = /** @type {string} */ (reader.readString());
16943
+ msg.setHref(value);
16944
+ break;
16945
+ case 2:
16946
+ var value = /** @type {number} */ (reader.readInt32());
16947
+ msg.setPriority(value);
16948
+ break;
16949
+ case 3:
16950
+ var value = /** @type {string} */ (reader.readString());
16951
+ msg.setAlt(value);
16952
+ break;
16953
+ default:
16954
+ reader.skipField();
16955
+ break;
16956
+ }
16957
+ }
16958
+ return msg;
16959
+ };
16960
+
16961
+
16962
+ /**
16963
+ * Serializes the message to binary data (in protobuf wire format).
16964
+ * @return {!Uint8Array}
16965
+ */
16966
+ proto.cms.FooterPartnersItemMeta.prototype.serializeBinary = function() {
16967
+ var writer = new jspb.BinaryWriter();
16968
+ proto.cms.FooterPartnersItemMeta.serializeBinaryToWriter(this, writer);
16969
+ return writer.getResultBuffer();
16970
+ };
16971
+
16972
+
16973
+ /**
16974
+ * Serializes the given message to binary data (in protobuf wire
16975
+ * format), writing to the given BinaryWriter.
16976
+ * @param {!proto.cms.FooterPartnersItemMeta} message
16977
+ * @param {!jspb.BinaryWriter} writer
16978
+ * @suppress {unusedLocalVariables} f is only used for nested messages
16979
+ */
16980
+ proto.cms.FooterPartnersItemMeta.serializeBinaryToWriter = function(message, writer) {
16981
+ var f = undefined;
16982
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
16983
+ if (f != null) {
16984
+ writer.writeString(
16985
+ 1,
16986
+ f
16987
+ );
16988
+ }
16989
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
16990
+ if (f != null) {
16991
+ writer.writeInt32(
16992
+ 2,
16993
+ f
16994
+ );
16995
+ }
16996
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
16997
+ if (f != null) {
16998
+ writer.writeString(
16999
+ 3,
17000
+ f
17001
+ );
17002
+ }
17003
+ };
17004
+
17005
+
17006
+ /**
17007
+ * optional string href = 1;
17008
+ * @return {string}
17009
+ */
17010
+ proto.cms.FooterPartnersItemMeta.prototype.getHref = function() {
17011
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17012
+ };
17013
+
17014
+
17015
+ /**
17016
+ * @param {string} value
17017
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17018
+ */
17019
+ proto.cms.FooterPartnersItemMeta.prototype.setHref = function(value) {
17020
+ return jspb.Message.setField(this, 1, value);
17021
+ };
17022
+
17023
+
17024
+ /**
17025
+ * Clears the field making it undefined.
17026
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17027
+ */
17028
+ proto.cms.FooterPartnersItemMeta.prototype.clearHref = function() {
17029
+ return jspb.Message.setField(this, 1, undefined);
17030
+ };
17031
+
17032
+
17033
+ /**
17034
+ * Returns whether this field is set.
17035
+ * @return {boolean}
17036
+ */
17037
+ proto.cms.FooterPartnersItemMeta.prototype.hasHref = function() {
17038
+ return jspb.Message.getField(this, 1) != null;
17039
+ };
17040
+
17041
+
17042
+ /**
17043
+ * optional int32 priority = 2;
17044
+ * @return {number}
17045
+ */
17046
+ proto.cms.FooterPartnersItemMeta.prototype.getPriority = function() {
17047
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
17048
+ };
17049
+
17050
+
17051
+ /**
17052
+ * @param {number} value
17053
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17054
+ */
17055
+ proto.cms.FooterPartnersItemMeta.prototype.setPriority = function(value) {
17056
+ return jspb.Message.setField(this, 2, value);
17057
+ };
17058
+
17059
+
17060
+ /**
17061
+ * Clears the field making it undefined.
17062
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17063
+ */
17064
+ proto.cms.FooterPartnersItemMeta.prototype.clearPriority = function() {
17065
+ return jspb.Message.setField(this, 2, undefined);
17066
+ };
17067
+
17068
+
17069
+ /**
17070
+ * Returns whether this field is set.
17071
+ * @return {boolean}
17072
+ */
17073
+ proto.cms.FooterPartnersItemMeta.prototype.hasPriority = function() {
17074
+ return jspb.Message.getField(this, 2) != null;
17075
+ };
17076
+
17077
+
17078
+ /**
17079
+ * optional string alt = 3;
17080
+ * @return {string}
17081
+ */
17082
+ proto.cms.FooterPartnersItemMeta.prototype.getAlt = function() {
17083
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17084
+ };
17085
+
17086
+
17087
+ /**
17088
+ * @param {string} value
17089
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17090
+ */
17091
+ proto.cms.FooterPartnersItemMeta.prototype.setAlt = function(value) {
17092
+ return jspb.Message.setField(this, 3, value);
17093
+ };
17094
+
17095
+
17096
+ /**
17097
+ * Clears the field making it undefined.
17098
+ * @return {!proto.cms.FooterPartnersItemMeta} returns this
17099
+ */
17100
+ proto.cms.FooterPartnersItemMeta.prototype.clearAlt = function() {
17101
+ return jspb.Message.setField(this, 3, undefined);
17102
+ };
17103
+
17104
+
17105
+ /**
17106
+ * Returns whether this field is set.
17107
+ * @return {boolean}
17108
+ */
17109
+ proto.cms.FooterPartnersItemMeta.prototype.hasAlt = function() {
17110
+ return jspb.Message.getField(this, 3) != null;
17111
+ };
17112
+
17113
+
17114
+
17115
+
17116
+
17117
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17118
+ /**
17119
+ * Creates an object representation of this proto.
17120
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17121
+ * Optional fields that are not set will be set to undefined.
17122
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17123
+ * For the list of reserved names please see:
17124
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17125
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17126
+ * JSPB instance for transitional soy proto support:
17127
+ * http://goto/soy-param-migration
17128
+ * @return {!Object}
17129
+ */
17130
+ proto.cms.FooterPartnersFile.prototype.toObject = function(opt_includeInstance) {
17131
+ return proto.cms.FooterPartnersFile.toObject(opt_includeInstance, this);
17132
+ };
17133
+
17134
+
17135
+ /**
17136
+ * Static version of the {@see toObject} method.
17137
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17138
+ * the JSPB instance for transitional soy proto support:
17139
+ * http://goto/soy-param-migration
17140
+ * @param {!proto.cms.FooterPartnersFile} msg The msg instance to transform.
17141
+ * @return {!Object}
17142
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17143
+ */
17144
+ proto.cms.FooterPartnersFile.toObject = function(includeInstance, msg) {
17145
+ var f, obj = {
17146
+ itemIndex: jspb.Message.getFieldWithDefault(msg, 1, 0),
17147
+ file: (f = msg.getFile()) && proto.cms.File.toObject(includeInstance, f)
17148
+ };
17149
+
17150
+ if (includeInstance) {
17151
+ obj.$jspbMessageInstance = msg;
17152
+ }
17153
+ return obj;
17154
+ };
17155
+ }
17156
+
17157
+
17158
+ /**
17159
+ * Deserializes binary data (in protobuf wire format).
17160
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17161
+ * @return {!proto.cms.FooterPartnersFile}
17162
+ */
17163
+ proto.cms.FooterPartnersFile.deserializeBinary = function(bytes) {
17164
+ var reader = new jspb.BinaryReader(bytes);
17165
+ var msg = new proto.cms.FooterPartnersFile;
17166
+ return proto.cms.FooterPartnersFile.deserializeBinaryFromReader(msg, reader);
17167
+ };
17168
+
17169
+
17170
+ /**
17171
+ * Deserializes binary data (in protobuf wire format) from the
17172
+ * given reader into the given message object.
17173
+ * @param {!proto.cms.FooterPartnersFile} msg The message object to deserialize into.
17174
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17175
+ * @return {!proto.cms.FooterPartnersFile}
17176
+ */
17177
+ proto.cms.FooterPartnersFile.deserializeBinaryFromReader = function(msg, reader) {
17178
+ while (reader.nextField()) {
17179
+ if (reader.isEndGroup()) {
17180
+ break;
17181
+ }
17182
+ var field = reader.getFieldNumber();
17183
+ switch (field) {
17184
+ case 1:
17185
+ var value = /** @type {number} */ (reader.readInt32());
17186
+ msg.setItemIndex(value);
17187
+ break;
17188
+ case 2:
17189
+ var value = new proto.cms.File;
17190
+ reader.readMessage(value,proto.cms.File.deserializeBinaryFromReader);
17191
+ msg.setFile(value);
17192
+ break;
17193
+ default:
17194
+ reader.skipField();
17195
+ break;
17196
+ }
17197
+ }
17198
+ return msg;
17199
+ };
17200
+
17201
+
17202
+ /**
17203
+ * Serializes the message to binary data (in protobuf wire format).
17204
+ * @return {!Uint8Array}
17205
+ */
17206
+ proto.cms.FooterPartnersFile.prototype.serializeBinary = function() {
17207
+ var writer = new jspb.BinaryWriter();
17208
+ proto.cms.FooterPartnersFile.serializeBinaryToWriter(this, writer);
17209
+ return writer.getResultBuffer();
17210
+ };
17211
+
17212
+
17213
+ /**
17214
+ * Serializes the given message to binary data (in protobuf wire
17215
+ * format), writing to the given BinaryWriter.
17216
+ * @param {!proto.cms.FooterPartnersFile} message
17217
+ * @param {!jspb.BinaryWriter} writer
17218
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17219
+ */
17220
+ proto.cms.FooterPartnersFile.serializeBinaryToWriter = function(message, writer) {
17221
+ var f = undefined;
17222
+ f = message.getItemIndex();
17223
+ if (f !== 0) {
17224
+ writer.writeInt32(
17225
+ 1,
17226
+ f
17227
+ );
17228
+ }
17229
+ f = message.getFile();
17230
+ if (f != null) {
17231
+ writer.writeMessage(
17232
+ 2,
17233
+ f,
17234
+ proto.cms.File.serializeBinaryToWriter
17235
+ );
17236
+ }
17237
+ };
17238
+
17239
+
17240
+ /**
17241
+ * optional int32 item_index = 1;
17242
+ * @return {number}
17243
+ */
17244
+ proto.cms.FooterPartnersFile.prototype.getItemIndex = function() {
17245
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17246
+ };
17247
+
17248
+
17249
+ /**
17250
+ * @param {number} value
17251
+ * @return {!proto.cms.FooterPartnersFile} returns this
17252
+ */
17253
+ proto.cms.FooterPartnersFile.prototype.setItemIndex = function(value) {
17254
+ return jspb.Message.setProto3IntField(this, 1, value);
17255
+ };
17256
+
17257
+
17258
+ /**
17259
+ * optional File file = 2;
17260
+ * @return {?proto.cms.File}
17261
+ */
17262
+ proto.cms.FooterPartnersFile.prototype.getFile = function() {
17263
+ return /** @type{?proto.cms.File} */ (
17264
+ jspb.Message.getWrapperField(this, proto.cms.File, 2));
17265
+ };
17266
+
17267
+
17268
+ /**
17269
+ * @param {?proto.cms.File|undefined} value
17270
+ * @return {!proto.cms.FooterPartnersFile} returns this
17271
+ */
17272
+ proto.cms.FooterPartnersFile.prototype.setFile = function(value) {
17273
+ return jspb.Message.setWrapperField(this, 2, value);
17274
+ };
17275
+
17276
+
17277
+ /**
17278
+ * Clears the message field making it undefined.
17279
+ * @return {!proto.cms.FooterPartnersFile} returns this
17280
+ */
17281
+ proto.cms.FooterPartnersFile.prototype.clearFile = function() {
17282
+ return this.setFile(undefined);
17283
+ };
17284
+
17285
+
17286
+ /**
17287
+ * Returns whether this field is set.
17288
+ * @return {boolean}
17289
+ */
17290
+ proto.cms.FooterPartnersFile.prototype.hasFile = function() {
17291
+ return jspb.Message.getField(this, 2) != null;
17292
+ };
17293
+
17294
+
17295
+
17296
+
17297
+
17298
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17299
+ /**
17300
+ * Creates an object representation of this proto.
17301
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17302
+ * Optional fields that are not set will be set to undefined.
17303
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17304
+ * For the list of reserved names please see:
17305
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17306
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17307
+ * JSPB instance for transitional soy proto support:
17308
+ * http://goto/soy-param-migration
17309
+ * @return {!Object}
17310
+ */
17311
+ proto.cms.FooterPartnersMediaItem.prototype.toObject = function(opt_includeInstance) {
17312
+ return proto.cms.FooterPartnersMediaItem.toObject(opt_includeInstance, this);
17313
+ };
17314
+
17315
+
17316
+ /**
17317
+ * Static version of the {@see toObject} method.
17318
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17319
+ * the JSPB instance for transitional soy proto support:
17320
+ * http://goto/soy-param-migration
17321
+ * @param {!proto.cms.FooterPartnersMediaItem} msg The msg instance to transform.
17322
+ * @return {!Object}
17323
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17324
+ */
17325
+ proto.cms.FooterPartnersMediaItem.toObject = function(includeInstance, msg) {
17326
+ var f, obj = {
17327
+ href: jspb.Message.getFieldWithDefault(msg, 1, ""),
17328
+ priority: jspb.Message.getFieldWithDefault(msg, 2, 0),
17329
+ alt: jspb.Message.getFieldWithDefault(msg, 3, ""),
17330
+ imageCdn: jspb.Message.getFieldWithDefault(msg, 4, ""),
17331
+ image: jspb.Message.getFieldWithDefault(msg, 5, "")
17332
+ };
17333
+
17334
+ if (includeInstance) {
17335
+ obj.$jspbMessageInstance = msg;
17336
+ }
17337
+ return obj;
17338
+ };
17339
+ }
17340
+
17341
+
17342
+ /**
17343
+ * Deserializes binary data (in protobuf wire format).
17344
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17345
+ * @return {!proto.cms.FooterPartnersMediaItem}
17346
+ */
17347
+ proto.cms.FooterPartnersMediaItem.deserializeBinary = function(bytes) {
17348
+ var reader = new jspb.BinaryReader(bytes);
17349
+ var msg = new proto.cms.FooterPartnersMediaItem;
17350
+ return proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader(msg, reader);
17351
+ };
17352
+
17353
+
17354
+ /**
17355
+ * Deserializes binary data (in protobuf wire format) from the
17356
+ * given reader into the given message object.
17357
+ * @param {!proto.cms.FooterPartnersMediaItem} msg The message object to deserialize into.
17358
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17359
+ * @return {!proto.cms.FooterPartnersMediaItem}
17360
+ */
17361
+ proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader = function(msg, reader) {
17362
+ while (reader.nextField()) {
17363
+ if (reader.isEndGroup()) {
17364
+ break;
17365
+ }
17366
+ var field = reader.getFieldNumber();
17367
+ switch (field) {
17368
+ case 1:
17369
+ var value = /** @type {string} */ (reader.readString());
17370
+ msg.setHref(value);
17371
+ break;
17372
+ case 2:
17373
+ var value = /** @type {number} */ (reader.readInt32());
17374
+ msg.setPriority(value);
17375
+ break;
17376
+ case 3:
17377
+ var value = /** @type {string} */ (reader.readString());
17378
+ msg.setAlt(value);
17379
+ break;
17380
+ case 4:
17381
+ var value = /** @type {string} */ (reader.readString());
17382
+ msg.setImageCdn(value);
17383
+ break;
17384
+ case 5:
17385
+ var value = /** @type {string} */ (reader.readString());
17386
+ msg.setImage(value);
17387
+ break;
17388
+ default:
17389
+ reader.skipField();
17390
+ break;
17391
+ }
17392
+ }
17393
+ return msg;
17394
+ };
17395
+
17396
+
17397
+ /**
17398
+ * Serializes the message to binary data (in protobuf wire format).
17399
+ * @return {!Uint8Array}
17400
+ */
17401
+ proto.cms.FooterPartnersMediaItem.prototype.serializeBinary = function() {
17402
+ var writer = new jspb.BinaryWriter();
17403
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter(this, writer);
17404
+ return writer.getResultBuffer();
17405
+ };
17406
+
17407
+
17408
+ /**
17409
+ * Serializes the given message to binary data (in protobuf wire
17410
+ * format), writing to the given BinaryWriter.
17411
+ * @param {!proto.cms.FooterPartnersMediaItem} message
17412
+ * @param {!jspb.BinaryWriter} writer
17413
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17414
+ */
17415
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter = function(message, writer) {
17416
+ var f = undefined;
17417
+ f = /** @type {string} */ (jspb.Message.getField(message, 1));
17418
+ if (f != null) {
17419
+ writer.writeString(
17420
+ 1,
17421
+ f
17422
+ );
17423
+ }
17424
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
17425
+ if (f != null) {
17426
+ writer.writeInt32(
17427
+ 2,
17428
+ f
17429
+ );
17430
+ }
17431
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
17432
+ if (f != null) {
17433
+ writer.writeString(
17434
+ 3,
17435
+ f
17436
+ );
17437
+ }
17438
+ f = /** @type {string} */ (jspb.Message.getField(message, 4));
17439
+ if (f != null) {
17440
+ writer.writeString(
17441
+ 4,
17442
+ f
17443
+ );
17444
+ }
17445
+ f = /** @type {string} */ (jspb.Message.getField(message, 5));
17446
+ if (f != null) {
17447
+ writer.writeString(
17448
+ 5,
17449
+ f
17450
+ );
17451
+ }
17452
+ };
17453
+
17454
+
17455
+ /**
17456
+ * optional string href = 1;
17457
+ * @return {string}
17458
+ */
17459
+ proto.cms.FooterPartnersMediaItem.prototype.getHref = function() {
17460
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
17461
+ };
17462
+
17463
+
17464
+ /**
17465
+ * @param {string} value
17466
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17467
+ */
17468
+ proto.cms.FooterPartnersMediaItem.prototype.setHref = function(value) {
17469
+ return jspb.Message.setField(this, 1, value);
17470
+ };
17471
+
17472
+
17473
+ /**
17474
+ * Clears the field making it undefined.
17475
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17476
+ */
17477
+ proto.cms.FooterPartnersMediaItem.prototype.clearHref = function() {
17478
+ return jspb.Message.setField(this, 1, undefined);
17479
+ };
17480
+
17481
+
17482
+ /**
17483
+ * Returns whether this field is set.
17484
+ * @return {boolean}
17485
+ */
17486
+ proto.cms.FooterPartnersMediaItem.prototype.hasHref = function() {
17487
+ return jspb.Message.getField(this, 1) != null;
17488
+ };
17489
+
17490
+
17491
+ /**
17492
+ * optional int32 priority = 2;
17493
+ * @return {number}
17494
+ */
17495
+ proto.cms.FooterPartnersMediaItem.prototype.getPriority = function() {
17496
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
17497
+ };
17498
+
17499
+
17500
+ /**
17501
+ * @param {number} value
17502
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17503
+ */
17504
+ proto.cms.FooterPartnersMediaItem.prototype.setPriority = function(value) {
17505
+ return jspb.Message.setField(this, 2, value);
17506
+ };
17507
+
17508
+
17509
+ /**
17510
+ * Clears the field making it undefined.
17511
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17512
+ */
17513
+ proto.cms.FooterPartnersMediaItem.prototype.clearPriority = function() {
17514
+ return jspb.Message.setField(this, 2, undefined);
17515
+ };
17516
+
17517
+
17518
+ /**
17519
+ * Returns whether this field is set.
17520
+ * @return {boolean}
17521
+ */
17522
+ proto.cms.FooterPartnersMediaItem.prototype.hasPriority = function() {
17523
+ return jspb.Message.getField(this, 2) != null;
17524
+ };
17525
+
17526
+
17527
+ /**
17528
+ * optional string alt = 3;
17529
+ * @return {string}
17530
+ */
17531
+ proto.cms.FooterPartnersMediaItem.prototype.getAlt = function() {
17532
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17533
+ };
17534
+
17535
+
17536
+ /**
17537
+ * @param {string} value
17538
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17539
+ */
17540
+ proto.cms.FooterPartnersMediaItem.prototype.setAlt = function(value) {
17541
+ return jspb.Message.setField(this, 3, value);
17542
+ };
17543
+
17544
+
17545
+ /**
17546
+ * Clears the field making it undefined.
17547
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17548
+ */
17549
+ proto.cms.FooterPartnersMediaItem.prototype.clearAlt = function() {
17550
+ return jspb.Message.setField(this, 3, undefined);
17551
+ };
17552
+
17553
+
17554
+ /**
17555
+ * Returns whether this field is set.
17556
+ * @return {boolean}
17557
+ */
17558
+ proto.cms.FooterPartnersMediaItem.prototype.hasAlt = function() {
17559
+ return jspb.Message.getField(this, 3) != null;
17560
+ };
17561
+
17562
+
17563
+ /**
17564
+ * optional string image_cdn = 4;
17565
+ * @return {string}
17566
+ */
17567
+ proto.cms.FooterPartnersMediaItem.prototype.getImageCdn = function() {
17568
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
17569
+ };
17570
+
17571
+
17572
+ /**
17573
+ * @param {string} value
17574
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17575
+ */
17576
+ proto.cms.FooterPartnersMediaItem.prototype.setImageCdn = function(value) {
17577
+ return jspb.Message.setField(this, 4, value);
17578
+ };
17579
+
17580
+
17581
+ /**
17582
+ * Clears the field making it undefined.
17583
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17584
+ */
17585
+ proto.cms.FooterPartnersMediaItem.prototype.clearImageCdn = function() {
17586
+ return jspb.Message.setField(this, 4, undefined);
17587
+ };
17588
+
17589
+
17590
+ /**
17591
+ * Returns whether this field is set.
17592
+ * @return {boolean}
17593
+ */
17594
+ proto.cms.FooterPartnersMediaItem.prototype.hasImageCdn = function() {
17595
+ return jspb.Message.getField(this, 4) != null;
17596
+ };
17597
+
17598
+
17599
+ /**
17600
+ * optional string image = 5;
17601
+ * @return {string}
17602
+ */
17603
+ proto.cms.FooterPartnersMediaItem.prototype.getImage = function() {
17604
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
17605
+ };
17606
+
17607
+
17608
+ /**
17609
+ * @param {string} value
17610
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17611
+ */
17612
+ proto.cms.FooterPartnersMediaItem.prototype.setImage = function(value) {
17613
+ return jspb.Message.setField(this, 5, value);
17614
+ };
17615
+
17616
+
17617
+ /**
17618
+ * Clears the field making it undefined.
17619
+ * @return {!proto.cms.FooterPartnersMediaItem} returns this
17620
+ */
17621
+ proto.cms.FooterPartnersMediaItem.prototype.clearImage = function() {
17622
+ return jspb.Message.setField(this, 5, undefined);
17623
+ };
17624
+
17625
+
17626
+ /**
17627
+ * Returns whether this field is set.
17628
+ * @return {boolean}
17629
+ */
17630
+ proto.cms.FooterPartnersMediaItem.prototype.hasImage = function() {
17631
+ return jspb.Message.getField(this, 5) != null;
17632
+ };
17633
+
17634
+
17635
+
17636
+ /**
17637
+ * List of repeated fields within this message type.
17638
+ * @private {!Array<number>}
17639
+ * @const
17640
+ */
17641
+ proto.cms.FooterPartnersItem.repeatedFields_ = [5];
17642
+
17643
+
17644
+
17645
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17646
+ /**
17647
+ * Creates an object representation of this proto.
17648
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17649
+ * Optional fields that are not set will be set to undefined.
17650
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17651
+ * For the list of reserved names please see:
17652
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17653
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17654
+ * JSPB instance for transitional soy proto support:
17655
+ * http://goto/soy-param-migration
17656
+ * @return {!Object}
17657
+ */
17658
+ proto.cms.FooterPartnersItem.prototype.toObject = function(opt_includeInstance) {
17659
+ return proto.cms.FooterPartnersItem.toObject(opt_includeInstance, this);
17660
+ };
17661
+
17662
+
17663
+ /**
17664
+ * Static version of the {@see toObject} method.
17665
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
17666
+ * the JSPB instance for transitional soy proto support:
17667
+ * http://goto/soy-param-migration
17668
+ * @param {!proto.cms.FooterPartnersItem} msg The msg instance to transform.
17669
+ * @return {!Object}
17670
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17671
+ */
17672
+ proto.cms.FooterPartnersItem.toObject = function(includeInstance, msg) {
17673
+ var f, obj = {
17674
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
17675
+ geo: jspb.Message.getFieldWithDefault(msg, 2, ""),
17676
+ title: jspb.Message.getFieldWithDefault(msg, 3, ""),
17677
+ isActive: jspb.Message.getFieldWithDefault(msg, 4, 0),
17678
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
17679
+ proto.cms.FooterPartnersMediaItem.toObject, includeInstance)
17680
+ };
17681
+
17682
+ if (includeInstance) {
17683
+ obj.$jspbMessageInstance = msg;
17684
+ }
17685
+ return obj;
17686
+ };
17687
+ }
17688
+
17689
+
17690
+ /**
17691
+ * Deserializes binary data (in protobuf wire format).
17692
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
17693
+ * @return {!proto.cms.FooterPartnersItem}
17694
+ */
17695
+ proto.cms.FooterPartnersItem.deserializeBinary = function(bytes) {
17696
+ var reader = new jspb.BinaryReader(bytes);
17697
+ var msg = new proto.cms.FooterPartnersItem;
17698
+ return proto.cms.FooterPartnersItem.deserializeBinaryFromReader(msg, reader);
17699
+ };
17700
+
17701
+
17702
+ /**
17703
+ * Deserializes binary data (in protobuf wire format) from the
17704
+ * given reader into the given message object.
17705
+ * @param {!proto.cms.FooterPartnersItem} msg The message object to deserialize into.
17706
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
17707
+ * @return {!proto.cms.FooterPartnersItem}
17708
+ */
17709
+ proto.cms.FooterPartnersItem.deserializeBinaryFromReader = function(msg, reader) {
17710
+ while (reader.nextField()) {
17711
+ if (reader.isEndGroup()) {
17712
+ break;
17713
+ }
17714
+ var field = reader.getFieldNumber();
17715
+ switch (field) {
17716
+ case 1:
17717
+ var value = /** @type {number} */ (reader.readInt32());
17718
+ msg.setId(value);
17719
+ break;
17720
+ case 2:
17721
+ var value = /** @type {string} */ (reader.readString());
17722
+ msg.setGeo(value);
17723
+ break;
17724
+ case 3:
17725
+ var value = /** @type {string} */ (reader.readString());
17726
+ msg.setTitle(value);
17727
+ break;
17728
+ case 4:
17729
+ var value = /** @type {number} */ (reader.readInt32());
17730
+ msg.setIsActive(value);
17731
+ break;
17732
+ case 5:
17733
+ var value = new proto.cms.FooterPartnersMediaItem;
17734
+ reader.readMessage(value,proto.cms.FooterPartnersMediaItem.deserializeBinaryFromReader);
17735
+ msg.addItems(value);
17736
+ break;
17737
+ default:
17738
+ reader.skipField();
17739
+ break;
17740
+ }
17741
+ }
17742
+ return msg;
17743
+ };
17744
+
17745
+
17746
+ /**
17747
+ * Serializes the message to binary data (in protobuf wire format).
17748
+ * @return {!Uint8Array}
17749
+ */
17750
+ proto.cms.FooterPartnersItem.prototype.serializeBinary = function() {
17751
+ var writer = new jspb.BinaryWriter();
17752
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter(this, writer);
17753
+ return writer.getResultBuffer();
17754
+ };
17755
+
17756
+
17757
+ /**
17758
+ * Serializes the given message to binary data (in protobuf wire
17759
+ * format), writing to the given BinaryWriter.
17760
+ * @param {!proto.cms.FooterPartnersItem} message
17761
+ * @param {!jspb.BinaryWriter} writer
17762
+ * @suppress {unusedLocalVariables} f is only used for nested messages
17763
+ */
17764
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter = function(message, writer) {
17765
+ var f = undefined;
17766
+ f = /** @type {number} */ (jspb.Message.getField(message, 1));
17767
+ if (f != null) {
17768
+ writer.writeInt32(
17769
+ 1,
17770
+ f
17771
+ );
17772
+ }
17773
+ f = /** @type {string} */ (jspb.Message.getField(message, 2));
17774
+ if (f != null) {
17775
+ writer.writeString(
17776
+ 2,
17777
+ f
17778
+ );
17779
+ }
17780
+ f = /** @type {string} */ (jspb.Message.getField(message, 3));
17781
+ if (f != null) {
17782
+ writer.writeString(
17783
+ 3,
17784
+ f
17785
+ );
17786
+ }
17787
+ f = /** @type {number} */ (jspb.Message.getField(message, 4));
17788
+ if (f != null) {
17789
+ writer.writeInt32(
17790
+ 4,
17791
+ f
17792
+ );
17793
+ }
17794
+ f = message.getItemsList();
17795
+ if (f.length > 0) {
17796
+ writer.writeRepeatedMessage(
17797
+ 5,
17798
+ f,
17799
+ proto.cms.FooterPartnersMediaItem.serializeBinaryToWriter
17800
+ );
17801
+ }
17802
+ };
17803
+
17804
+
17805
+ /**
17806
+ * optional int32 id = 1;
17807
+ * @return {number}
17808
+ */
17809
+ proto.cms.FooterPartnersItem.prototype.getId = function() {
17810
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
17811
+ };
17812
+
17813
+
17814
+ /**
17815
+ * @param {number} value
17816
+ * @return {!proto.cms.FooterPartnersItem} returns this
17817
+ */
17818
+ proto.cms.FooterPartnersItem.prototype.setId = function(value) {
17819
+ return jspb.Message.setField(this, 1, value);
17820
+ };
17821
+
17822
+
17823
+ /**
17824
+ * Clears the field making it undefined.
17825
+ * @return {!proto.cms.FooterPartnersItem} returns this
17826
+ */
17827
+ proto.cms.FooterPartnersItem.prototype.clearId = function() {
17828
+ return jspb.Message.setField(this, 1, undefined);
17829
+ };
17830
+
17831
+
17832
+ /**
17833
+ * Returns whether this field is set.
17834
+ * @return {boolean}
17835
+ */
17836
+ proto.cms.FooterPartnersItem.prototype.hasId = function() {
17837
+ return jspb.Message.getField(this, 1) != null;
17838
+ };
17839
+
17840
+
17841
+ /**
17842
+ * optional string geo = 2;
17843
+ * @return {string}
17844
+ */
17845
+ proto.cms.FooterPartnersItem.prototype.getGeo = function() {
17846
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
17847
+ };
17848
+
17849
+
17850
+ /**
17851
+ * @param {string} value
17852
+ * @return {!proto.cms.FooterPartnersItem} returns this
17853
+ */
17854
+ proto.cms.FooterPartnersItem.prototype.setGeo = function(value) {
17855
+ return jspb.Message.setField(this, 2, value);
17856
+ };
17857
+
17858
+
17859
+ /**
17860
+ * Clears the field making it undefined.
17861
+ * @return {!proto.cms.FooterPartnersItem} returns this
17862
+ */
17863
+ proto.cms.FooterPartnersItem.prototype.clearGeo = function() {
17864
+ return jspb.Message.setField(this, 2, undefined);
17865
+ };
17866
+
17867
+
17868
+ /**
17869
+ * Returns whether this field is set.
17870
+ * @return {boolean}
17871
+ */
17872
+ proto.cms.FooterPartnersItem.prototype.hasGeo = function() {
17873
+ return jspb.Message.getField(this, 2) != null;
17874
+ };
17875
+
17876
+
17877
+ /**
17878
+ * optional string title = 3;
17879
+ * @return {string}
17880
+ */
17881
+ proto.cms.FooterPartnersItem.prototype.getTitle = function() {
17882
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
17883
+ };
17884
+
17885
+
17886
+ /**
17887
+ * @param {string} value
17888
+ * @return {!proto.cms.FooterPartnersItem} returns this
17889
+ */
17890
+ proto.cms.FooterPartnersItem.prototype.setTitle = function(value) {
17891
+ return jspb.Message.setField(this, 3, value);
17892
+ };
17893
+
17894
+
17895
+ /**
17896
+ * Clears the field making it undefined.
17897
+ * @return {!proto.cms.FooterPartnersItem} returns this
17898
+ */
17899
+ proto.cms.FooterPartnersItem.prototype.clearTitle = function() {
17900
+ return jspb.Message.setField(this, 3, undefined);
17901
+ };
17902
+
17903
+
17904
+ /**
17905
+ * Returns whether this field is set.
17906
+ * @return {boolean}
17907
+ */
17908
+ proto.cms.FooterPartnersItem.prototype.hasTitle = function() {
17909
+ return jspb.Message.getField(this, 3) != null;
17910
+ };
17911
+
17912
+
17913
+ /**
17914
+ * optional int32 is_active = 4;
17915
+ * @return {number}
17916
+ */
17917
+ proto.cms.FooterPartnersItem.prototype.getIsActive = function() {
17918
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
17919
+ };
17920
+
17921
+
17922
+ /**
17923
+ * @param {number} value
17924
+ * @return {!proto.cms.FooterPartnersItem} returns this
17925
+ */
17926
+ proto.cms.FooterPartnersItem.prototype.setIsActive = function(value) {
17927
+ return jspb.Message.setField(this, 4, value);
17928
+ };
17929
+
17930
+
17931
+ /**
17932
+ * Clears the field making it undefined.
17933
+ * @return {!proto.cms.FooterPartnersItem} returns this
17934
+ */
17935
+ proto.cms.FooterPartnersItem.prototype.clearIsActive = function() {
17936
+ return jspb.Message.setField(this, 4, undefined);
17937
+ };
17938
+
17939
+
17940
+ /**
17941
+ * Returns whether this field is set.
17942
+ * @return {boolean}
17943
+ */
17944
+ proto.cms.FooterPartnersItem.prototype.hasIsActive = function() {
17945
+ return jspb.Message.getField(this, 4) != null;
17946
+ };
17947
+
17948
+
17949
+ /**
17950
+ * repeated FooterPartnersMediaItem items = 5;
17951
+ * @return {!Array<!proto.cms.FooterPartnersMediaItem>}
17952
+ */
17953
+ proto.cms.FooterPartnersItem.prototype.getItemsList = function() {
17954
+ return /** @type{!Array<!proto.cms.FooterPartnersMediaItem>} */ (
17955
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterPartnersMediaItem, 5));
17956
+ };
17957
+
17958
+
17959
+ /**
17960
+ * @param {!Array<!proto.cms.FooterPartnersMediaItem>} value
17961
+ * @return {!proto.cms.FooterPartnersItem} returns this
17962
+ */
17963
+ proto.cms.FooterPartnersItem.prototype.setItemsList = function(value) {
17964
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
17965
+ };
17966
+
17967
+
17968
+ /**
17969
+ * @param {!proto.cms.FooterPartnersMediaItem=} opt_value
17970
+ * @param {number=} opt_index
17971
+ * @return {!proto.cms.FooterPartnersMediaItem}
17972
+ */
17973
+ proto.cms.FooterPartnersItem.prototype.addItems = function(opt_value, opt_index) {
17974
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.cms.FooterPartnersMediaItem, opt_index);
17975
+ };
17976
+
17977
+
17978
+ /**
17979
+ * Clears the list making it empty but non-null.
17980
+ * @return {!proto.cms.FooterPartnersItem} returns this
17981
+ */
17982
+ proto.cms.FooterPartnersItem.prototype.clearItemsList = function() {
17983
+ return this.setItemsList([]);
17984
+ };
17985
+
17986
+
17987
+
17988
+
17989
+
17990
+ if (jspb.Message.GENERATE_TO_OBJECT) {
17991
+ /**
17992
+ * Creates an object representation of this proto.
17993
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
17994
+ * Optional fields that are not set will be set to undefined.
17995
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
17996
+ * For the list of reserved names please see:
17997
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
17998
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
17999
+ * JSPB instance for transitional soy proto support:
18000
+ * http://goto/soy-param-migration
18001
+ * @return {!Object}
18002
+ */
18003
+ proto.cms.FooterPartnersResponse.prototype.toObject = function(opt_includeInstance) {
18004
+ return proto.cms.FooterPartnersResponse.toObject(opt_includeInstance, this);
18005
+ };
18006
+
18007
+
18008
+ /**
18009
+ * Static version of the {@see toObject} method.
18010
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18011
+ * the JSPB instance for transitional soy proto support:
18012
+ * http://goto/soy-param-migration
18013
+ * @param {!proto.cms.FooterPartnersResponse} msg The msg instance to transform.
18014
+ * @return {!Object}
18015
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18016
+ */
18017
+ proto.cms.FooterPartnersResponse.toObject = function(includeInstance, msg) {
18018
+ var f, obj = {
18019
+ data: (f = msg.getData()) && proto.cms.FooterPartnersItem.toObject(includeInstance, f)
18020
+ };
18021
+
18022
+ if (includeInstance) {
18023
+ obj.$jspbMessageInstance = msg;
18024
+ }
18025
+ return obj;
18026
+ };
18027
+ }
18028
+
18029
+
18030
+ /**
18031
+ * Deserializes binary data (in protobuf wire format).
18032
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18033
+ * @return {!proto.cms.FooterPartnersResponse}
18034
+ */
18035
+ proto.cms.FooterPartnersResponse.deserializeBinary = function(bytes) {
18036
+ var reader = new jspb.BinaryReader(bytes);
18037
+ var msg = new proto.cms.FooterPartnersResponse;
18038
+ return proto.cms.FooterPartnersResponse.deserializeBinaryFromReader(msg, reader);
18039
+ };
18040
+
18041
+
18042
+ /**
18043
+ * Deserializes binary data (in protobuf wire format) from the
18044
+ * given reader into the given message object.
18045
+ * @param {!proto.cms.FooterPartnersResponse} msg The message object to deserialize into.
18046
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18047
+ * @return {!proto.cms.FooterPartnersResponse}
18048
+ */
18049
+ proto.cms.FooterPartnersResponse.deserializeBinaryFromReader = function(msg, reader) {
18050
+ while (reader.nextField()) {
18051
+ if (reader.isEndGroup()) {
18052
+ break;
18053
+ }
18054
+ var field = reader.getFieldNumber();
18055
+ switch (field) {
18056
+ case 1:
18057
+ var value = new proto.cms.FooterPartnersItem;
18058
+ reader.readMessage(value,proto.cms.FooterPartnersItem.deserializeBinaryFromReader);
18059
+ msg.setData(value);
18060
+ break;
18061
+ default:
18062
+ reader.skipField();
18063
+ break;
18064
+ }
18065
+ }
18066
+ return msg;
18067
+ };
18068
+
18069
+
18070
+ /**
18071
+ * Serializes the message to binary data (in protobuf wire format).
18072
+ * @return {!Uint8Array}
18073
+ */
18074
+ proto.cms.FooterPartnersResponse.prototype.serializeBinary = function() {
18075
+ var writer = new jspb.BinaryWriter();
18076
+ proto.cms.FooterPartnersResponse.serializeBinaryToWriter(this, writer);
18077
+ return writer.getResultBuffer();
18078
+ };
18079
+
18080
+
18081
+ /**
18082
+ * Serializes the given message to binary data (in protobuf wire
18083
+ * format), writing to the given BinaryWriter.
18084
+ * @param {!proto.cms.FooterPartnersResponse} message
18085
+ * @param {!jspb.BinaryWriter} writer
18086
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18087
+ */
18088
+ proto.cms.FooterPartnersResponse.serializeBinaryToWriter = function(message, writer) {
18089
+ var f = undefined;
18090
+ f = message.getData();
18091
+ if (f != null) {
18092
+ writer.writeMessage(
18093
+ 1,
18094
+ f,
18095
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter
18096
+ );
18097
+ }
18098
+ };
18099
+
18100
+
18101
+ /**
18102
+ * optional FooterPartnersItem data = 1;
18103
+ * @return {?proto.cms.FooterPartnersItem}
18104
+ */
18105
+ proto.cms.FooterPartnersResponse.prototype.getData = function() {
18106
+ return /** @type{?proto.cms.FooterPartnersItem} */ (
18107
+ jspb.Message.getWrapperField(this, proto.cms.FooterPartnersItem, 1));
18108
+ };
18109
+
18110
+
18111
+ /**
18112
+ * @param {?proto.cms.FooterPartnersItem|undefined} value
18113
+ * @return {!proto.cms.FooterPartnersResponse} returns this
18114
+ */
18115
+ proto.cms.FooterPartnersResponse.prototype.setData = function(value) {
18116
+ return jspb.Message.setWrapperField(this, 1, value);
18117
+ };
18118
+
18119
+
18120
+ /**
18121
+ * Clears the message field making it undefined.
18122
+ * @return {!proto.cms.FooterPartnersResponse} returns this
18123
+ */
18124
+ proto.cms.FooterPartnersResponse.prototype.clearData = function() {
18125
+ return this.setData(undefined);
18126
+ };
18127
+
18128
+
18129
+ /**
18130
+ * Returns whether this field is set.
18131
+ * @return {boolean}
18132
+ */
18133
+ proto.cms.FooterPartnersResponse.prototype.hasData = function() {
18134
+ return jspb.Message.getField(this, 1) != null;
18135
+ };
18136
+
18137
+
18138
+
18139
+
18140
+
18141
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18142
+ /**
18143
+ * Creates an object representation of this proto.
18144
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18145
+ * Optional fields that are not set will be set to undefined.
18146
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18147
+ * For the list of reserved names please see:
18148
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18149
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18150
+ * JSPB instance for transitional soy proto support:
18151
+ * http://goto/soy-param-migration
18152
+ * @return {!Object}
18153
+ */
18154
+ proto.cms.GetFooterPartnersRequest.prototype.toObject = function(opt_includeInstance) {
18155
+ return proto.cms.GetFooterPartnersRequest.toObject(opt_includeInstance, this);
18156
+ };
18157
+
18158
+
18159
+ /**
18160
+ * Static version of the {@see toObject} method.
18161
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18162
+ * the JSPB instance for transitional soy proto support:
18163
+ * http://goto/soy-param-migration
18164
+ * @param {!proto.cms.GetFooterPartnersRequest} msg The msg instance to transform.
18165
+ * @return {!Object}
18166
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18167
+ */
18168
+ proto.cms.GetFooterPartnersRequest.toObject = function(includeInstance, msg) {
18169
+ var f, obj = {
18170
+ id: jspb.Message.getFieldWithDefault(msg, 1, 0),
18171
+ adminSide: jspb.Message.getBooleanFieldWithDefault(msg, 2, false)
18172
+ };
18173
+
18174
+ if (includeInstance) {
18175
+ obj.$jspbMessageInstance = msg;
18176
+ }
18177
+ return obj;
18178
+ };
18179
+ }
18180
+
18181
+
18182
+ /**
18183
+ * Deserializes binary data (in protobuf wire format).
18184
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18185
+ * @return {!proto.cms.GetFooterPartnersRequest}
18186
+ */
18187
+ proto.cms.GetFooterPartnersRequest.deserializeBinary = function(bytes) {
18188
+ var reader = new jspb.BinaryReader(bytes);
18189
+ var msg = new proto.cms.GetFooterPartnersRequest;
18190
+ return proto.cms.GetFooterPartnersRequest.deserializeBinaryFromReader(msg, reader);
18191
+ };
18192
+
18193
+
18194
+ /**
18195
+ * Deserializes binary data (in protobuf wire format) from the
18196
+ * given reader into the given message object.
18197
+ * @param {!proto.cms.GetFooterPartnersRequest} msg The message object to deserialize into.
18198
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18199
+ * @return {!proto.cms.GetFooterPartnersRequest}
18200
+ */
18201
+ proto.cms.GetFooterPartnersRequest.deserializeBinaryFromReader = function(msg, reader) {
18202
+ while (reader.nextField()) {
18203
+ if (reader.isEndGroup()) {
18204
+ break;
18205
+ }
18206
+ var field = reader.getFieldNumber();
18207
+ switch (field) {
18208
+ case 1:
18209
+ var value = /** @type {number} */ (reader.readInt32());
18210
+ msg.setId(value);
18211
+ break;
18212
+ case 2:
18213
+ var value = /** @type {boolean} */ (reader.readBool());
18214
+ msg.setAdminSide(value);
18215
+ break;
18216
+ default:
18217
+ reader.skipField();
18218
+ break;
18219
+ }
18220
+ }
18221
+ return msg;
18222
+ };
18223
+
18224
+
18225
+ /**
18226
+ * Serializes the message to binary data (in protobuf wire format).
18227
+ * @return {!Uint8Array}
18228
+ */
18229
+ proto.cms.GetFooterPartnersRequest.prototype.serializeBinary = function() {
18230
+ var writer = new jspb.BinaryWriter();
18231
+ proto.cms.GetFooterPartnersRequest.serializeBinaryToWriter(this, writer);
18232
+ return writer.getResultBuffer();
18233
+ };
18234
+
18235
+
18236
+ /**
18237
+ * Serializes the given message to binary data (in protobuf wire
18238
+ * format), writing to the given BinaryWriter.
18239
+ * @param {!proto.cms.GetFooterPartnersRequest} message
18240
+ * @param {!jspb.BinaryWriter} writer
18241
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18242
+ */
18243
+ proto.cms.GetFooterPartnersRequest.serializeBinaryToWriter = function(message, writer) {
18244
+ var f = undefined;
18245
+ f = message.getId();
18246
+ if (f !== 0) {
18247
+ writer.writeInt32(
18248
+ 1,
18249
+ f
18250
+ );
18251
+ }
18252
+ f = /** @type {boolean} */ (jspb.Message.getField(message, 2));
18253
+ if (f != null) {
18254
+ writer.writeBool(
18255
+ 2,
18256
+ f
18257
+ );
18258
+ }
18259
+ };
18260
+
18261
+
18262
+ /**
18263
+ * optional int32 id = 1;
18264
+ * @return {number}
18265
+ */
18266
+ proto.cms.GetFooterPartnersRequest.prototype.getId = function() {
18267
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
18268
+ };
18269
+
18270
+
18271
+ /**
18272
+ * @param {number} value
18273
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18274
+ */
18275
+ proto.cms.GetFooterPartnersRequest.prototype.setId = function(value) {
18276
+ return jspb.Message.setProto3IntField(this, 1, value);
18277
+ };
18278
+
18279
+
18280
+ /**
18281
+ * optional bool admin_side = 2;
18282
+ * @return {boolean}
18283
+ */
18284
+ proto.cms.GetFooterPartnersRequest.prototype.getAdminSide = function() {
18285
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 2, false));
18286
+ };
18287
+
18288
+
18289
+ /**
18290
+ * @param {boolean} value
18291
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18292
+ */
18293
+ proto.cms.GetFooterPartnersRequest.prototype.setAdminSide = function(value) {
18294
+ return jspb.Message.setField(this, 2, value);
18295
+ };
18296
+
18297
+
18298
+ /**
18299
+ * Clears the field making it undefined.
18300
+ * @return {!proto.cms.GetFooterPartnersRequest} returns this
18301
+ */
18302
+ proto.cms.GetFooterPartnersRequest.prototype.clearAdminSide = function() {
18303
+ return jspb.Message.setField(this, 2, undefined);
18304
+ };
18305
+
18306
+
18307
+ /**
18308
+ * Returns whether this field is set.
18309
+ * @return {boolean}
18310
+ */
18311
+ proto.cms.GetFooterPartnersRequest.prototype.hasAdminSide = function() {
18312
+ return jspb.Message.getField(this, 2) != null;
18313
+ };
18314
+
18315
+
18316
+
18317
+
18318
+
18319
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18320
+ /**
18321
+ * Creates an object representation of this proto.
18322
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18323
+ * Optional fields that are not set will be set to undefined.
18324
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18325
+ * For the list of reserved names please see:
18326
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18327
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18328
+ * JSPB instance for transitional soy proto support:
18329
+ * http://goto/soy-param-migration
18330
+ * @return {!Object}
18331
+ */
18332
+ proto.cms.FooterPartnersStatusResponse.prototype.toObject = function(opt_includeInstance) {
18333
+ return proto.cms.FooterPartnersStatusResponse.toObject(opt_includeInstance, this);
18334
+ };
18335
+
18336
+
18337
+ /**
18338
+ * Static version of the {@see toObject} method.
18339
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18340
+ * the JSPB instance for transitional soy proto support:
18341
+ * http://goto/soy-param-migration
18342
+ * @param {!proto.cms.FooterPartnersStatusResponse} msg The msg instance to transform.
18343
+ * @return {!Object}
18344
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18345
+ */
18346
+ proto.cms.FooterPartnersStatusResponse.toObject = function(includeInstance, msg) {
18347
+ var f, obj = {
18348
+ status: jspb.Message.getFieldWithDefault(msg, 1, "")
18349
+ };
18350
+
18351
+ if (includeInstance) {
18352
+ obj.$jspbMessageInstance = msg;
18353
+ }
18354
+ return obj;
18355
+ };
18356
+ }
18357
+
18358
+
18359
+ /**
18360
+ * Deserializes binary data (in protobuf wire format).
18361
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18362
+ * @return {!proto.cms.FooterPartnersStatusResponse}
18363
+ */
18364
+ proto.cms.FooterPartnersStatusResponse.deserializeBinary = function(bytes) {
18365
+ var reader = new jspb.BinaryReader(bytes);
18366
+ var msg = new proto.cms.FooterPartnersStatusResponse;
18367
+ return proto.cms.FooterPartnersStatusResponse.deserializeBinaryFromReader(msg, reader);
18368
+ };
18369
+
18370
+
18371
+ /**
18372
+ * Deserializes binary data (in protobuf wire format) from the
18373
+ * given reader into the given message object.
18374
+ * @param {!proto.cms.FooterPartnersStatusResponse} msg The message object to deserialize into.
18375
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18376
+ * @return {!proto.cms.FooterPartnersStatusResponse}
18377
+ */
18378
+ proto.cms.FooterPartnersStatusResponse.deserializeBinaryFromReader = function(msg, reader) {
18379
+ while (reader.nextField()) {
18380
+ if (reader.isEndGroup()) {
18381
+ break;
18382
+ }
18383
+ var field = reader.getFieldNumber();
18384
+ switch (field) {
18385
+ case 1:
18386
+ var value = /** @type {string} */ (reader.readString());
18387
+ msg.setStatus(value);
18388
+ break;
18389
+ default:
18390
+ reader.skipField();
18391
+ break;
18392
+ }
18393
+ }
18394
+ return msg;
18395
+ };
18396
+
18397
+
18398
+ /**
18399
+ * Serializes the message to binary data (in protobuf wire format).
18400
+ * @return {!Uint8Array}
18401
+ */
18402
+ proto.cms.FooterPartnersStatusResponse.prototype.serializeBinary = function() {
18403
+ var writer = new jspb.BinaryWriter();
18404
+ proto.cms.FooterPartnersStatusResponse.serializeBinaryToWriter(this, writer);
18405
+ return writer.getResultBuffer();
18406
+ };
18407
+
18408
+
18409
+ /**
18410
+ * Serializes the given message to binary data (in protobuf wire
18411
+ * format), writing to the given BinaryWriter.
18412
+ * @param {!proto.cms.FooterPartnersStatusResponse} message
18413
+ * @param {!jspb.BinaryWriter} writer
18414
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18415
+ */
18416
+ proto.cms.FooterPartnersStatusResponse.serializeBinaryToWriter = function(message, writer) {
18417
+ var f = undefined;
18418
+ f = message.getStatus();
18419
+ if (f.length > 0) {
18420
+ writer.writeString(
18421
+ 1,
18422
+ f
18423
+ );
18424
+ }
18425
+ };
18426
+
18427
+
18428
+ /**
18429
+ * optional string status = 1;
18430
+ * @return {string}
18431
+ */
18432
+ proto.cms.FooterPartnersStatusResponse.prototype.getStatus = function() {
18433
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
18434
+ };
18435
+
18436
+
18437
+ /**
18438
+ * @param {string} value
18439
+ * @return {!proto.cms.FooterPartnersStatusResponse} returns this
18440
+ */
18441
+ proto.cms.FooterPartnersStatusResponse.prototype.setStatus = function(value) {
18442
+ return jspb.Message.setProto3StringField(this, 1, value);
18443
+ };
18444
+
18445
+
18446
+
18447
+ /**
18448
+ * List of repeated fields within this message type.
18449
+ * @private {!Array<number>}
18450
+ * @const
18451
+ */
18452
+ proto.cms.FooterPartnersItemsResponse.repeatedFields_ = [1];
18453
+
18454
+
18455
+
18456
+ if (jspb.Message.GENERATE_TO_OBJECT) {
18457
+ /**
18458
+ * Creates an object representation of this proto.
18459
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
18460
+ * Optional fields that are not set will be set to undefined.
18461
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
18462
+ * For the list of reserved names please see:
18463
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
18464
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
18465
+ * JSPB instance for transitional soy proto support:
18466
+ * http://goto/soy-param-migration
18467
+ * @return {!Object}
18468
+ */
18469
+ proto.cms.FooterPartnersItemsResponse.prototype.toObject = function(opt_includeInstance) {
18470
+ return proto.cms.FooterPartnersItemsResponse.toObject(opt_includeInstance, this);
18471
+ };
18472
+
18473
+
18474
+ /**
18475
+ * Static version of the {@see toObject} method.
18476
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
18477
+ * the JSPB instance for transitional soy proto support:
18478
+ * http://goto/soy-param-migration
18479
+ * @param {!proto.cms.FooterPartnersItemsResponse} msg The msg instance to transform.
18480
+ * @return {!Object}
18481
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18482
+ */
18483
+ proto.cms.FooterPartnersItemsResponse.toObject = function(includeInstance, msg) {
18484
+ var f, obj = {
18485
+ itemsList: jspb.Message.toObjectList(msg.getItemsList(),
18486
+ proto.cms.FooterPartnersItem.toObject, includeInstance),
18487
+ totalPages: jspb.Message.getFieldWithDefault(msg, 2, 0),
18488
+ totalItems: jspb.Message.getFieldWithDefault(msg, 3, 0)
18489
+ };
18490
+
18491
+ if (includeInstance) {
18492
+ obj.$jspbMessageInstance = msg;
18493
+ }
18494
+ return obj;
18495
+ };
18496
+ }
18497
+
18498
+
18499
+ /**
18500
+ * Deserializes binary data (in protobuf wire format).
18501
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
18502
+ * @return {!proto.cms.FooterPartnersItemsResponse}
18503
+ */
18504
+ proto.cms.FooterPartnersItemsResponse.deserializeBinary = function(bytes) {
18505
+ var reader = new jspb.BinaryReader(bytes);
18506
+ var msg = new proto.cms.FooterPartnersItemsResponse;
18507
+ return proto.cms.FooterPartnersItemsResponse.deserializeBinaryFromReader(msg, reader);
18508
+ };
18509
+
18510
+
18511
+ /**
18512
+ * Deserializes binary data (in protobuf wire format) from the
18513
+ * given reader into the given message object.
18514
+ * @param {!proto.cms.FooterPartnersItemsResponse} msg The message object to deserialize into.
18515
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
18516
+ * @return {!proto.cms.FooterPartnersItemsResponse}
18517
+ */
18518
+ proto.cms.FooterPartnersItemsResponse.deserializeBinaryFromReader = function(msg, reader) {
18519
+ while (reader.nextField()) {
18520
+ if (reader.isEndGroup()) {
18521
+ break;
18522
+ }
18523
+ var field = reader.getFieldNumber();
18524
+ switch (field) {
18525
+ case 1:
18526
+ var value = new proto.cms.FooterPartnersItem;
18527
+ reader.readMessage(value,proto.cms.FooterPartnersItem.deserializeBinaryFromReader);
18528
+ msg.addItems(value);
18529
+ break;
18530
+ case 2:
18531
+ var value = /** @type {number} */ (reader.readInt32());
18532
+ msg.setTotalPages(value);
18533
+ break;
18534
+ case 3:
18535
+ var value = /** @type {number} */ (reader.readInt32());
18536
+ msg.setTotalItems(value);
18537
+ break;
18538
+ default:
18539
+ reader.skipField();
18540
+ break;
18541
+ }
18542
+ }
18543
+ return msg;
18544
+ };
18545
+
18546
+
18547
+ /**
18548
+ * Serializes the message to binary data (in protobuf wire format).
18549
+ * @return {!Uint8Array}
18550
+ */
18551
+ proto.cms.FooterPartnersItemsResponse.prototype.serializeBinary = function() {
18552
+ var writer = new jspb.BinaryWriter();
18553
+ proto.cms.FooterPartnersItemsResponse.serializeBinaryToWriter(this, writer);
18554
+ return writer.getResultBuffer();
18555
+ };
18556
+
18557
+
18558
+ /**
18559
+ * Serializes the given message to binary data (in protobuf wire
18560
+ * format), writing to the given BinaryWriter.
18561
+ * @param {!proto.cms.FooterPartnersItemsResponse} message
18562
+ * @param {!jspb.BinaryWriter} writer
18563
+ * @suppress {unusedLocalVariables} f is only used for nested messages
18564
+ */
18565
+ proto.cms.FooterPartnersItemsResponse.serializeBinaryToWriter = function(message, writer) {
18566
+ var f = undefined;
18567
+ f = message.getItemsList();
18568
+ if (f.length > 0) {
18569
+ writer.writeRepeatedMessage(
18570
+ 1,
18571
+ f,
18572
+ proto.cms.FooterPartnersItem.serializeBinaryToWriter
18573
+ );
18574
+ }
18575
+ f = /** @type {number} */ (jspb.Message.getField(message, 2));
18576
+ if (f != null) {
18577
+ writer.writeInt32(
18578
+ 2,
18579
+ f
18580
+ );
18581
+ }
18582
+ f = /** @type {number} */ (jspb.Message.getField(message, 3));
18583
+ if (f != null) {
18584
+ writer.writeInt32(
18585
+ 3,
18586
+ f
18587
+ );
18588
+ }
18589
+ };
18590
+
18591
+
18592
+ /**
18593
+ * repeated FooterPartnersItem items = 1;
18594
+ * @return {!Array<!proto.cms.FooterPartnersItem>}
18595
+ */
18596
+ proto.cms.FooterPartnersItemsResponse.prototype.getItemsList = function() {
18597
+ return /** @type{!Array<!proto.cms.FooterPartnersItem>} */ (
18598
+ jspb.Message.getRepeatedWrapperField(this, proto.cms.FooterPartnersItem, 1));
18599
+ };
18600
+
18601
+
18602
+ /**
18603
+ * @param {!Array<!proto.cms.FooterPartnersItem>} value
18604
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18605
+ */
18606
+ proto.cms.FooterPartnersItemsResponse.prototype.setItemsList = function(value) {
18607
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
18608
+ };
18609
+
18610
+
18611
+ /**
18612
+ * @param {!proto.cms.FooterPartnersItem=} opt_value
18613
+ * @param {number=} opt_index
18614
+ * @return {!proto.cms.FooterPartnersItem}
18615
+ */
18616
+ proto.cms.FooterPartnersItemsResponse.prototype.addItems = function(opt_value, opt_index) {
18617
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.cms.FooterPartnersItem, opt_index);
18618
+ };
18619
+
18620
+
18621
+ /**
18622
+ * Clears the list making it empty but non-null.
18623
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18624
+ */
18625
+ proto.cms.FooterPartnersItemsResponse.prototype.clearItemsList = function() {
18626
+ return this.setItemsList([]);
18627
+ };
18628
+
18629
+
18630
+ /**
18631
+ * optional int32 total_pages = 2;
18632
+ * @return {number}
18633
+ */
18634
+ proto.cms.FooterPartnersItemsResponse.prototype.getTotalPages = function() {
18635
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
18636
+ };
18637
+
18638
+
18639
+ /**
18640
+ * @param {number} value
18641
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18642
+ */
18643
+ proto.cms.FooterPartnersItemsResponse.prototype.setTotalPages = function(value) {
18644
+ return jspb.Message.setField(this, 2, value);
18645
+ };
18646
+
18647
+
18648
+ /**
18649
+ * Clears the field making it undefined.
18650
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18651
+ */
18652
+ proto.cms.FooterPartnersItemsResponse.prototype.clearTotalPages = function() {
18653
+ return jspb.Message.setField(this, 2, undefined);
18654
+ };
18655
+
18656
+
18657
+ /**
18658
+ * Returns whether this field is set.
18659
+ * @return {boolean}
18660
+ */
18661
+ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalPages = function() {
18662
+ return jspb.Message.getField(this, 2) != null;
18663
+ };
18664
+
18665
+
18666
+ /**
18667
+ * optional int32 total_items = 3;
18668
+ * @return {number}
18669
+ */
18670
+ proto.cms.FooterPartnersItemsResponse.prototype.getTotalItems = function() {
18671
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
18672
+ };
18673
+
18674
+
18675
+ /**
18676
+ * @param {number} value
18677
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18678
+ */
18679
+ proto.cms.FooterPartnersItemsResponse.prototype.setTotalItems = function(value) {
18680
+ return jspb.Message.setField(this, 3, value);
18681
+ };
18682
+
18683
+
18684
+ /**
18685
+ * Clears the field making it undefined.
18686
+ * @return {!proto.cms.FooterPartnersItemsResponse} returns this
18687
+ */
18688
+ proto.cms.FooterPartnersItemsResponse.prototype.clearTotalItems = function() {
18689
+ return jspb.Message.setField(this, 3, undefined);
18690
+ };
18691
+
18692
+
18693
+ /**
18694
+ * Returns whether this field is set.
18695
+ * @return {boolean}
18696
+ */
18697
+ proto.cms.FooterPartnersItemsResponse.prototype.hasTotalItems = function() {
18698
+ return jspb.Message.getField(this, 3) != null;
18699
+ };
18700
+
18701
+
16069
18702
  goog.object.extend(exports, proto.cms);